Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

docs(odd): disable subagents until stage 2

Alan Buscaglia522ba2f4dd24
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 2e6b515..8b7fa52 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -161,4 +161,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **L47 (2026-10-08, T18a adversarial verification):** 2 BLOCKERS, reproduced with the real engine (scratch copy, fake model/MCP/CLI, temp HOME). B1: with one bash call from `<data>/workspace`, the agent edited `../agent/mcp.json` and `../connectors.json` (enabled, recomputed sha256 or deleted hash), ran `kill $PPID`, and the supervisor restarted it; `prepareSpawn` trusted the altered registry and `notion-search` ran without a card on a connector the user had disabled (catalog-only; sends still ask after the mode flip). B2: `read ../agent/mcp-auth.json` (the guard checks only write/edit) and `cat` returned the token to the model. Root cause: textual bash blocking (`approval-guard.ts:113-119`) and an integrity hash stored in the same agent-writable file. Passing: write asks/decline blocks/no UI blocks; read-only hides write tools; curated-list fail-closed; malformed policy asks; sign-in redirect validation against all variants; one flow at a time; clean logs; mcp.json valid and restored; rotation 3/3 at HEAD vs 2/3 failing at baseline; typecheck, lint, e2e 16/16, cargo 42/42. Advisories: gentle-pi subagent children do not load the guard (subagent tools not exposed today); project `.pi/mcp.json` and session_start re-reads bypass the restore; the preview shows at most 6 fields × 160 chars; orphaned private Engram; `fetch` follows redirects; the guard loads only with `agentHome`. Fundamental limit: the agent runs as the user with unrestricted bash, so file-based protections cannot be airtight.
- **L48 (2026-10-08, user decision):** "A ahora, B después (Recomendado)". T22 hardens now (residual risk documented: an agent tricked into using unrestricted bash can still read what the user's account can read). T23/S25 adds the daemon-side MCP proxy with Keychain tokens as stage 2, before publishing to other users.
- **L49 (2026-10-08, T22 finding):** The T22 writer found that `<data>/token` (the daemon access key) was readable by the agent. With it, the agent could open the WebSocket like a window and answer its own approval asks (`ui_response confirmed:true`), a self-approval bypass. T22 blocks reading it (best-effort, like the other file checks); a real fix is in S25's scope (the approval channel outside the agent's reach).
+- **L50 (2026-10-08, T22 finding + user decision):** The real-engine probe showed that the assistant's engine DOES offer `subagent_*` tools (and `orchestrator_*`). Children are spawned as `pi --mode rpc --tools <agent tools>` with only gentle-pi's internal child extensions, without the approval guard, and they inherit env, so a child's bash/read is unguarded and it could use connector tools without approval. Forwarding the guard to children has no supported hook. User: "Desactivar subagentes hasta S25". T22 sets `GENTLE_PI_AGENTS=0` in the engine env, with a probe assertion; S25 must cover children before subagents return. This narrows S3's "everything like Gentle Shell" until stage 2.
- **Next step:** T22 (running); then T18b, T14, T21; T23 before any public release.