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/0005-effect-broker.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 / 0005-effect-broker.md` 41 lines ยท 1561 bytes Raw Blame History Source # ADR 0005: Irreversible Effects Execution Adapter and Contract Verification Status: Accepted (Reconciled with ADR 0013) ## Context Speculative branches and model-driven tools must not directly mutate external reality or physical hardware without verified contracts. ## Decision The execution flow for irreversible external and physical effects is: - AIEN proposes an effect. - OMEGA formalizes an Effect Program with semantic bounds and invariants. - PHYSICS lowers that effect program into concrete device, storage, network, or memory operations. - AEGIS verifies the effect contract and resulting physical realization against capability constraints. - The protocol-specific Effect Broker acts only as a small execution adapter for external protocol drivers. - HARDWARE or external systems perform the verified effect. - AEGIS verifies observable postconditions where verifiable. - EVIDENCE records the immutable execution receipt. AEGIS does not make arbitrary authorization decisions or censor intent. Capabilities are machine-verifiable execution constraints: ``` CapabilityContract { principal resource permitted_operations bounds generation lifetime revocation_state provenance } ``` AEGIS checks capability contracts and invariants. PHYSICS realizes operations within those verified bounds. ## Consequences J-Space can speculate safely. External actions flow through formal lowering, continuous invariant verification, and an auditable execution adapter boundary with cryptographic provenance.