interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / docs / adr / 0012-shell-dispatch-then-landing.md

15 lines · 1485 bytes Raw Blame History Rendered
1# ADR 0012: One Shell Dispatch, Then a Landing Split
2
3**Status:** Accepted
4
5## Context
6
7Shell 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.
8
9## Decision
10
11Every 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.
12
13## Consequences
14
15Callers 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.