aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
GitHub aien-dev/aien-architecture-mv#52 (code only)
Apply it
git checkout -b patch-c466347837a3101c 641bd3c94f6c5ff508a3aef04d6ba69ff90d771a curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/c466347837a3101c.patch | git am
Provenance
github-import 1
aien-dev/aien-architecture-mv
52
43a3fbc77ee7cb6c31ce6176c0d5d37c973bb6c2
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":52,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/52","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:06Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/docs/adr/0017-argus-defensive-plane.md b/docs/adr/0017-argus-defensive-plane.md index 321cd9c..98110a3 100644 --- a/docs/adr/0017-argus-defensive-plane.md +++ b/docs/adr/0017-argus-defensive-plane.md @@ -429,7 +429,7 @@ Only the ARGUS-0 scope is binding in this ADR. Later rungs are a proposed order, | Rung | Scope | |---|---| | **ARGUS-0** | **Substrate only.** Event ABI (revision 1.1), bounded queues (one per producer thread, each single-producer/single-consumer) with class drop policy, resident deterministic shadow state, the sixteen hard-invariant detectors, findings, digest chain, benchmarks, hostile tests, test wiring into Omega's runtime behind a switch that is off by default, and the performance gate. Takes no containment action. **Complete under documented limits** (gate table below). | -| ARGUS-1 | **Containment**, specified in section 17. ABI v1.2, core proposal state, the live capability-revoke bridge, synthetic handling of the other nine types, and hostile tests are implemented. Only RevokeCapability has production effect and observer confirmation. Findings 11, 12, 13, and 16 never propose containment while producer attestation is absent. ARGUS-1 remains in progress: the containment corpus is PR #171, and G6 (offline chain checker), full G13 invariant coverage, G11 symbol checks, and the complete G12 sanitizer/regression run are not yet recorded as passed. | +| ARGUS-1 | **Containment**, specified in section 17. ABI v1.2, core proposal state, the live capability-revoke bridge, synthetic handling of the other nine types, and hostile tests are implemented. Only RevokeCapability has production effect and observer confirmation. Findings 11, 12, 13, and 16 never propose containment while producer attestation is absent. ARGUS-1 remains in progress: the containment corpus (PR #171) and dependency-direction checks (PR #172) are merged. G11 passes, and the Spark `make test` plus `make sanitize` runs pass. G6 (offline chain checker) remains unfinished; G12 still requires its Mac run, and G13 remains open because its evidence checks depend on G6. | | ARGUS-2 | Live producers in Omega's reaction runtime beyond test wiring (switch on in normal runs), with the ARGUS-0 performance criterion held as a regression gate. | | ARGUS-3 | Evidence and producer identity: epoch roots persisted, ARGUS restart and reconstruction from its own chain, and **cryptographic producer attestation** (closes section 16 item 1, hostile G-5). | | ARGUS-4 | Live producers for credential leases, providers (stable provider identity from a provider registry; closes section 16 item 2, hostile G-9), and artifact admission as those exist in C (detectors 4 to 8 and 10 go live). | @@ -500,9 +500,9 @@ Items 1 to 7 are limits of event ABI version 1 (or of its producers) that the fi ARGUS-1 containment has a draft, pre-registered specification (target location `native/argus/docs/ARGUS1_SPEC.md` in `aien-dev/aienos`, with an implementation plan). Pre-registered means its gates are written and fixed before any ARGUS-1 production code exists; changing a gate criterion needs a new specification commit and a full rerun of every gate. -- **Thirteen gates, G1 to G13:** ABI v1.2 round trip; proposal determinism; accepted and denied live paths; refusal tolerance without retry storms; evidence completeness including an offline chain checker; bounded memory; hot-path non-regression; hostile review; zero false-positive containment across benign and recorded R7/R8/R9 streams; synchronous policy; ARGUS-0 regression; and invariant tests I1-I5. The specification defines the full criteria. The recorded results currently cover G8, G9, and G10; G6, G11, G12, and G13 remain unfinished, and the other gates require their final combined verification before ARGUS-1 can close. +- **Thirteen gates, G1 to G13:** ABI v1.2 round trip; proposal determinism; accepted and denied live paths; refusal tolerance without retry storms; evidence completeness including an offline chain checker; bounded memory; hot-path non-regression; hostile review; zero false-positive containment across benign and recorded R7/R8/R9 streams; synchronous policy; ARGUS-0 regression; and invariant tests I1-I5. The specification defines the full criteria. The recorded results cover G8, G9, G10, and G11; the Spark portion of G12 passes, while the required Mac run remains outstanding. G6 remains unfinished and G13 remains open because its evidence checks depend on G6. The other gates still need their final combined verification before ARGUS-1 can close. - **LIVE = RevokeCapability only.** One of the ten containment types has a real C executor: the capability authority's revoke, called through a revoke-only executor capability, confirmed only when the authority's observer announces the revocation. The other nine are typed and decided for real but executed only by a labelled synthetic test executor. No machine, provider, lease, artifact, policy, or effect-pause containment exists, and no principal freeze exists. -- **Preconditions:** the ARGUS-0 closing commit (all ARGUS-0 gates recorded) and the observer hook merged or pinned. Both are met: the ARGUS-0 gates are recorded (aienos `c30f168`), the specification is pre-registered (aienos #162, #163), and implementation has been reviewed in merged PRs #167-#170. Lane E is under review in #171; passing the remaining gates is still required for closure. +- **Preconditions:** the ARGUS-0 closing commit (all ARGUS-0 gates recorded) and the observer hook merged or pinned. Both are met: the ARGUS-0 gates are recorded (aienos `c30f168`), the specification is pre-registered (aienos #162, #163), and implementation and containment corpora are merged in PRs #167-#171, with the G11 dependency-direction and regression wiring merged in #172. Passing the remaining gates is still required for closure. ### Consequences