Marks / Runtime
goose
Programmable capabilities
- 2 Capability interface Extensions are MCP servers (plugins bundle MCP); platform extensions compiled in; one mechanism, so L3 unmet
Review finding
Built in. MCP extensions (stdio, streamable HTTP, in-memory builtins) and in-process platform extensions are merged into a per-session tool snapshot with
ext__toolnames. The ACP host can add or remove extensions per session. Providers that run their own tool loop lose stdio/HTTP extensions. P13P14P15P16 Note P-2 - 3 ↑4 Reusable computation opt: goose serve --enable-scheduler Recipes re-run as unit with typed parameters, each run a session; cron scheduling only with --enable-scheduler
Review finding
Built in. Recipes are YAML/JSON files with instructions, parameters, extensions, sub-recipes, a response schema and retry checks, discovered from project and home directories. [opt:
serve --enable-scheduler] runs recipes on cron. [opt: code_execution] JS is not retained between runs. P17P18P19P20P21 - 2 Capability transfer Git-cloned plugins and shared skill dirs; binaries not bundled and no dependency check found (level 3 unmet)
Review finding
Skills, agent
.mdfiles and recipes are files in shared directories (including.claude/and.agents/). A fresh session sees them without conversation state. Sessions can be exported, imported (goose JSON, Claude Code, Codex, Pi) or forked. Delegates receive only instructions and source content. Plugins bundle MCP servers; binaries are not bundled. P22P23P24P25P26
Evidence and memory
- 2 Durable evidence Full messages in sessions.db; no retention policy; replace/retry delete rows (level 3 unmet)
- 2 Context recovery Compacted rows stored agent-invisible; chatrecall off, LIKE search, first/last 3 messages. unresolved: compacted-row visibility
- 0 ↑2 Memory maintenance opt: bundled memory MCP server No default memory facility shown; opt memory server gives remember/retrieve/remove; no consolidation (level 3 unmet)
Specialist collaboration
- 3 Specialist definition Recipes set instructions, model, extension set; L4 unmet: recipe extensions not intersected with parent's, only goose_mode copied
- 3 Continuation Persisted SubAgent session resumable via delegate(resume) incl. after restart; L4 unmet: no durable queue for busy child
Review finding
Built in. The child is a persisted
SubAgentsession.delegate(resume=id)appends follow-ups even after completion, failure or cancel. Results return as tool results. After a restart, undelivered children are found by scanning the parent conversation, but only once the parent steps again C23C24C31; Note C-2. - 3 Coordination Depth 1 hard, 5 concurrent, shared cancel token; L4 unmet: no peer messaging, no tree-wide budget (separate max_turns)
Execution controls
- 0 ↑2 Confinement opt: --container (stdio/goose-mcp extensions only) Default Auto allows all calls, no OS boundary; --container confines only a subset, developer shell/edit stay on host
Review finding
No OS boundary by default; tools run as the user with full filesystem and network access. Default
GOOSE_MODE=autoallows every call in the permission inspector before userNeverAllowrules are read. [opt: approve/smart_approve; PreToolUse hooks, fail-open unlesson_failure: block;--containerdocker exec for stdio and goose-mcp extensions, but not developer shell/edit]. X18X19X20X21X22X23X24X25 Note X-2 - 1 Credential handling Keychain option exists, but shell/hooks/stdio inherit full env; L2 unmet: no default env denylist
Review finding
Secrets resolve from env, then OS keychain (
keyring3.6.3), thensecrets.yaml. Shell, hooks, recipe checks and stdio extensions inherit goose's full environment (noenv_clear), so env-supplied keys are readable. Only configured extension env is filtered, and only for loader variables. Tool output and request logs are not redacted. X20X22X26X27X28 - 1 ↑2 Budget enforcement opt: lower GOOSE_MAX_TURNS Default 1000-turn ceiling is coarse (L1); a practical turn cap via the named setting is a level-2 work limit (R3)
Review finding
Turn count only:
GOOSE_MAX_TURNSdefaults to 1000 assistant turns per user turn, checked after each turn; children have separate caps. Per-call tokens and $ are written to a usage ledger (provider price, then user config, then bundled registry) for reporting only. No $/token admission check, no cumulative or descendant cap. X29X30X31X32
Product integration
- 4 Embedding interfaces ACP over stdio and HTTP+WS, with typed session updates, new/prompt/cancel/load, and
request_permissionapprovals to the clientReview finding
- 1 Declarative configuration Free-form YAML, keys read ad hoc, unknown keys silently ignored; only a few keys parse strictly. No general type validation
- 2 Durable execution Second run rejected, steps persisted. An interrupted turn is lost except confirmation-paused ones, so level 3 detect/close-out is unmet
Review finding
Operations and verification
- E * Service dependencies CLI is one process with embedded SQLite and stdio MCP children;
goose servestays resident - 2 Execution records Transcript with error messages and optional OTel; whether aborts are structured events is unresolved, so the lower level is kept
- 3 Result checks Recipe
retry.checksretry up tomax_retries, then emit an error (fails closed). No default verifier, so not level 4
Reproducibility
- Repository
- https://github.com/aaif-goose/goose
- Branch
- main
- Exact revision
c546eaa1cd02696e4cd628e203df51429e158175- Commit date
- 2026-11-26T23:01:24Z
Metadata
- Exact revision
c546eaa1cd02696e4cd628e203df51429e158175, committed 2026-11-26T23:01:24Z- Version (source)
- 1.61.0 (
Cargo.toml[workspace.package]); in-treeoi-kit-*crates 0.1.0-alpha.16 M5 - License
- Apache-2.0 (
LICENSE;Cargo.toml) M5 - Audited component / deployment
crates/goose(services, ACP server, sessions, permissions, hooks, scheduler),crates/oi-kit-agent(loop, compaction, subagents, MCP),crates/goose-cli. Default embedded:goose serve(ACP over HTTP/WS) orgoose acp(stdio)- Supported runtime platforms
- macOS, Linux, Windows (MSYS2/Git Bash/WSL), Android/Termux; x86_64/arm64 per installer [D]; Rust MSRV 1.95.0 M5M6
- Evidence coverage
- Deep: state machine, ACP server, sessions, permissions/security, hooks, compaction, subagents, recipes. Skimmed: providers, bundled MCP servers, gateway, voice, desktop. Not:
services/,oidc-proxy/,evals/, most ofui/desktop
Pinned external dependencies (capability-supplying)
- Package@version
rmcp@3.11.0;agent-client-protocol@2.2.0(+-http2.2.0,-schema1.9.1)- Role
- MCP client/server; ACP
- Lockfile / source
Cargo.lock:8064-8065,:58-59M6
- Package@version
sqlx@0.9.1;keyring@3.6.3;jsonschema@0.62.0;boa_engine@0.22.0;tokio-cron-scheduler@0.15.1;opentelemetry-otlp@0.33.1;axum@0.8.9;iroh@1.5.0(optroaming)- Role
- sessions; keychain; output validation; code mode; scheduler; traces; HTTP; p2p
- Lockfile / source
Cargo.lock
Specialist collaboration: Supporting table: parent→child authority
- Approval / permission policy passed to child
- Parent
goose_modecopied; child approval requests go to the parent's client C18C25 - OS-level confinement of child
- Same as the parent (no OS boundary by default; see group 4)
- Widening path found
- None found;
working_dirstays under the parent dir but is not an fs boundary C22
Operations and verification: Notes
- Finished process
- Turn ends
- Delivered answer
- ACP stop reason (
EndTurn/MaxTokens/Cancelled) O26 - Structural validity
final_outputschema- Task correctness
- Opt-in only (see below)
Operations and verification: Notes
Part A: platforms, clients, IDE, messaging
- Native platforms
- macOS, Linux, Windows CLI; Android/Termux installer [D] M6
- Terminal / web / desktop clients
- CLI
goose session/goose runA5; Electron desktop spawnsgoose serve(outside audited component) A6; HTML session export; no web client found - IDE & coding integrations
- ACP agent for Zed and other ACP clients [D] A7; imports Claude Code / Codex / Pi transcripts [S]
- Messaging channels
- Telegram gateway with pairing (single gateway type) A8
Part B: voice/media, onboarding/routing, fleet administration
- Voice / media
- Live voice (default-on CLI feature
live-voice), whisper dictation [S skimmed]; image tool A45 - Onboarding & session routing
- ACP onboarding and provider-setup methods; OpenRouter/Tetrate signup; optional p2p "roaming" over iroh A46
- Fleet administration
/etc/goose/config.yamlsystem layer (lowest precedence);GOOSE_ALLOWLISTfor extension installs; custom distros [D]; no central management server found A47
Source/doc conflicts
- Conflict
--containerhelp says built-in extensions run in the container M52; code runs platform extensions (developer shell/file tools) on the host- Which side the audit entry follows
- code (experiment proposed)
- Conflict
- v1.25 blog headline (macOS seatbelt) is marked removed in the same post M53; code has no sandbox
- Which side the audit entry follows
- code and doc agree on removal
- Conflict
- In
GooseMode::Auto,PermissionInspectorreturns Allow before consulting user rules such as NeverAllow M54; scope: this inspector only - Which side the audit entry follows
- code (behavioural experiment proposed)
Coordinator re-checks
- Claim
- Auto mode ignores user
NeverAllow - Lines read
crates/goose/src/permission/permission_inspector.rs:159-170- Result
- Confirmed for the permission inspector:
GooseMode::Auto => Allowprecedes the user-permission lookup. Other inspectors not assessed by this check