No description
  • Go 90.4%
  • Lua 6.9%
  • Python 2.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-28 00:45:23 -05:00
docs release: include rpc dependency license 2026-10-28 00:45:23 -05:00
LICENSES release: include rpc dependency license 2026-10-28 00:45:23 -05:00
public Initialize agent-filesystem scaffold 2026-05-07 01:31:26 -05:00
scripts tool-skills: bind filesystem manifest records 2026-05-16 11:26:44 -05:00
src plugin: emit filesystem provider diagnostics 2026-05-23 23:55:39 -05:00
templates Initialize agent-filesystem scaffold 2026-05-07 01:31:26 -05:00
tool-skills tool-skills: align filesystem side effects 2026-05-16 11:23:56 -05:00
vendor release: vendor pinned rpc dependency 2026-10-28 00:42:43 -05:00
workflow plugin: emit filesystem provider diagnostics 2026-05-23 23:55:39 -05:00
.gitattributes release: vendor pinned rpc dependency 2026-10-28 00:42:43 -05:00
.gitignore workflow: ignore local feature worktrees 2026-05-15 20:32:59 -05:00
go.mod plugin: emit filesystem provider diagnostics 2026-05-23 23:55:39 -05:00
go.sum plugin: emit filesystem provider diagnostics 2026-05-23 23:55:39 -05:00
LICENSE release: prepare v1.0.0 candidate 2026-10-28 00:32:18 -05:00
PRD.md docs: propagate provider diagnostic constraints 2026-05-23 23:37:19 -05:00
README.md release: vendor pinned rpc dependency 2026-10-28 00:42:43 -05:00
workflow.events.jsonl workflow: decompose filesystem v1 features 2026-05-15 20:13:47 -05:00
workflow.toml tool-skills: verify filesystem fixtures 2026-05-16 11:22:31 -05:00

agent-filesystem

agent-filesystem is the host filesystem provider for the agent system.

It exposes admitted, scoped filesystem capabilities. It is not an ambient disk-access backdoor.

Purpose

agent-filesystem owns host filesystem operations for provider/plugin use:

  • scoped file reads
  • scoped file writes
  • directory listing
  • metadata/stat inspection
  • safe create/update flows
  • atomic write/replace helpers
  • bounded content reads
  • explicit delete/move/copy operations when admitted
  • filesystem audit events

Authority boundaries

agent-filesystem is not the action authority.

  • agent-core-system owns action admission, approval, policy, audit, execution envelopes, and host-admitted filesystem scopes.
  • rpc-plugin-system owns substrate runtime, transport, lifecycle, plugin identity/generation, and supervision.
  • agent-keyring owns credentials and secrets; filesystem access must not become secret exfiltration.
  • agent-filesystem owns filesystem operation mechanics, scope enforcement, and local path safety.

Filesystem access is not automatically authorized because a process can reach the host disk. All filesystem operations must be scoped and admitted.

Provider diagnostics

Filesystem provider diagnostics are structured, redacted observability facts emitted through the inherited rpc-plugin-system SDK/helper path. They may report provider/plugin generation, capability, operation, correlation IDs, bounded status, coarse error/degraded classes, counts, sizes, and non-authoritative digest facts.

They must not contain raw request paths, normalized backend paths, admitted roots, provider-private paths, file descriptors, path handles, COW/trash/snapshot storage paths, reusable rollback/artifact refs, raw authority_use_ref values, sockets, sessions, credentials, read/write/patch payload bytes, upstream bodies, or reusable handles. Diagnostics do not grant filesystem authority and do not replace agent-core-system admission.

Non-goals

  • Do not provide ambient root filesystem access.
  • Do not bypass agent-core-system admission.
  • Do not silently follow symlinks across scope boundaries.
  • Do not treat path strings from models/providers as trusted.
  • Do not store credentials here.
  • Do not hide destructive operations behind convenience helpers.

First useful implementation slice

  1. Define filesystem capability contracts.
  2. Define host-admitted filesystem scope model.
  3. Define path normalization and symlink policy.
  4. Add fake filesystem backend tests.
  5. Add local backend only after scope checks are tested.
  6. Add rpc-plugin-system plugin wiring after contract stability.

Release status

This source tree defines agent-filesystem v1.0.0. The repository workflow records the V1 implementation as complete. Tagging, publication, deployment, and hosted Release status are separate distribution facts and are not asserted here.

License

Licensed under the MIT License. See LICENSE.