Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-architecture-mv/blob/main/docs/adr/0012-shell-dispatch-then-landing.md # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-architecture-mv / docs / adr / 0012-shell-dispatch-then-landing.md` 15 lines ยท 1485 bytes Raw Blame History Source # ADR 0012: One Shell Dispatch, Then a Landing Split Status: Accepted ## Context Shell execution has more than one entry, and a shell request can ask for an effect that leaves the machine. ADR 0005 already reconciles irreversible external effects through the Effect Broker adapter after AEGIS verifies them. ## Decision Every shell request enters one AEGIS shell dispatch. The dispatch applies invariant verification checks and workspace bounds. Local execution inside AEGIS is allowed only when the dispatch has positive evidence that the effect stays on the machine. Failure to recognize an external effect is not that evidence, and unclassified shell text does not take the local path. A command that is not eligible for local execution is requested as a typed effect Tool, verified by AEGIS, lowered by PHYSICS, and externalized by the Effect Broker adapter. Shell text does not exempt an external effect. A Tool may prepare that effect. This path is workspace-bound execution under continuous verification. It is not an OS sandbox. ## Consequences Callers do not assemble the invariant verifier and the workspace check themselves. Positive evidence is membership in a closed catalog of whole command forms. The first word of a command is not membership. A pipe, a substitution, a sequencer, or a script file is not a form. A command outside the catalog is requested as a typed Tool, verified by AEGIS, lowered by PHYSICS, and externalized by the Effect Broker adapter.