colibri/docs
Sam & Claude 87c075d6ba
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
feat(mcp): confine external MCP servers in a jail (reuse spawner primitive)
External MCP servers are arbitrary third-party binaries — at least as untrusted
as the agents the spawner already jails — but the #36 prototype spawned them
directly on the host. Close that gap by reusing the existing confinement
primitive instead of growing a second one.

- ExternalMcpServer gains `jail: Option<JailConfig>` (#[serde(default)]).
- ExternalMcpSession::start routes Command::new through
  colibri_daemon::spawner::jail_wrap with the shared COLIBRI_JAIL_PRIV_MODE
  policy (mdo live / helper deploy). No jail => unchanged. stdio (incl. the
  piped JSON-RPC stdin/stdout) flows through jexec/jail/mdo unaffected.
- docs/COLIBRI-EXTERNAL-MCP-PROTOTYPE: document the `jail` field + confinement.
- 3 tests (no-jail passthrough, jexec wrap, registry jail deserialize).

colibri-mcp already depends on colibri-daemon, so no new dep. Build/test/clippy/
fmt green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 20:08:24 +02:00
..
CLAWDIE-STUDIO-PROPOSAL.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
COLIBRI-DAEMON-GLASSPANE-INTEGRATION.md docs: clarify Herdr as optional Linux display (Sam & Codex) 2026-06-13 12:29:11 +02:00
COLIBRI-EXTERNAL-MCP-PROTOTYPE.md feat(mcp): confine external MCP servers in a jail (reuse spawner primitive) 2026-06-13 20:08:24 +02:00
COLIBRI-GLASSPANE-DESIGN.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
COLIBRI-JAILED-AGENT-SPAWN-DESIGN.md feat(mcp): prototype external MCP host tools (Sam & Codex) 2026-06-13 19:53:21 +02:00
COLIBRI-SKILLS-PLAN.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
COLIBRI-TOKENOMICS-TRIFECTA.md cleanup: drop the experimental clawdie mini-binary 2026-06-13 19:19:07 +02:00
HERDR-HUB-RUNBOOK.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
HERDR-VS-COLIBRI-GRAPH.md docs: clarify Herdr as optional Linux display (Sam & Codex) 2026-06-13 12:29:11 +02:00
ISO-ACCEPTANCE-RUNBOOK.md docs: add ISO acceptance tracker and staging helper 2026-05-27 22:52:59 +02:00
ISO-INTEGRATION-PLAN.md docs: clarify Herdr as optional Linux display (Sam & Codex) 2026-06-13 12:29:11 +02:00
ISO-SERVICE-LAYOUT.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
MULTIAGENT-WORKFLOW-IMPROVEMENTS.md docs: clarify Herdr as optional Linux display (Sam & Codex) 2026-06-13 12:29:11 +02:00
T1.4-CACHE-WARMING-DESIGN.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
T1.4-PROMPT-DISCIPLINE-PLAN.md chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00