Expand description
Bounded direct execution of static agent resources. Runtime persistence is intentionally writable; model-requested retrieval uses read-only connections.
Modulesยง
- checkpoint ๐
- Versioned, bounded snapshots at model boundaries. Recovery never replays a tool from a partially persisted turn, even if it appears to have completed.
- cli
- CLI wiring. Inspection is read-only and independent of model credentials.
- context ๐
- Deterministic request projection. Compatibility remains the default; bounded projection is enabled only by an explicit resource budget.
- control ๐
- delegation ๐
- Explicit, sequential delegation with inherited authority and shared budgets.
- developer ๐
- Workspace developer tools. Path checks protect ordinary filesystem access; process execution is an explicit, unsandboxed capability.
- files ๐
- Durable, immutable artifact files and process-lifetime ownership of local runs. Files are synced before their metadata is recorded in SQLite. A crash between those steps can leave an unreferenced file; files are never overwritten or implicitly removed. The persistent lock inode must never be unlinked.
- mcp ๐
- Per-run external tool discovery. Even initialization starts an unsandboxed process, so it passes through durable authorization before connecting.
- mcp_
client ๐ - Bounded stdio MCP sessions. Authorization must precede
connect: spawning a server is process execution even when its advertised tools claim read-only. - policy
- Host-owned permission ceilings and per-invocation approval. Agent resources can restrict this policy, never widen it.
- terminal ๐
- A cancellable terminal-only approval reader. Piped stdin never grants consent.
- tools ๐
- Read-only runtime adapters using the existing Tool/ToolRegistry and core retrieval implementation. No connector processes, embeddings or sidecars.
Structsยง
Constantsยง
- MAX_
TOOL_ ๐CALLS_ PER_ TURN - MAX_
TOOL_ ๐RESULT_ BYTES
Functionsยง
- cancelled ๐
- canonical_
json ๐ - classified_
tool_ ๐error - recoverable_
observation ๐ - repetition_
key ๐ - run_
budgets ๐ - static_
tool_ ๐identity - Resolve the exact advertised schemas and non-secret binding metadata used by accepted tasks without opening the database or binding/executing a tool.
- workspace_
id - Workspace binding for the existing cwd-scoped CLI. Registry-based workspace selection is not added here. Canonical roots retain identity across symlinks.