diff --git a/CONTEXT.md b/CONTEXT.md index 09ad508..4beb10f 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -27,7 +27,7 @@ The durable memory system. _Avoid_: cortex_recall, vector database **AEGIS**: -The effect boundary that decides whether an action is permitted. +The cross-cutting invariant and contract verifier. It checks admissibility and compliance; it does not mint capabilities or execute actions. _Avoid_: AIENOS, OpenClaw, inference runtime, Effect Broker **Effect Broker**: diff --git a/CURRENT_EXECUTION_PLAN.md b/CURRENT_EXECUTION_PLAN.md index 5c5b291..a1fb02e 100644 --- a/CURRENT_EXECUTION_PLAN.md +++ b/CURRENT_EXECUTION_PLAN.md @@ -45,7 +45,7 @@ Addendum, 2026-09-29 (from live evidence): - ADR 0016 R16 (orchestrator retirement) is IN PROGRESS: `aien-dev/omega#68` draft, spec and loop inventory pre-registered, no receipt on `main`. - Omega effect capabilities now carry 64-bit generations (`aien-dev/omega#71`, `8e7a445`); 32-bit v1 effect payloads are refused. - The FORGE v1 realize/verify seam is still open in `aien-dev/physics#13` (M19R Gates 3-4, unmerged, no review/CI). -- ADR 0018 (substrate-neutral physical realization) is PROPOSED; see §6 C3. +- ADR 0018 (substrate-neutral physical realization) is ACCEPTED and merged (641bd3c); AR0 is satisfied; see §6 C3. ## 3. Program rule @@ -169,12 +169,12 @@ FORGE does not own human intent, semantic truth, capability policy, or learned p ### C3. Substrate-neutral realization (ADR 0018, workstream AR0–AR7) -ADR 0018 (PROPOSED) extends FORGE from the digital CPU+GPU Machine to any physical substrate (analog, neuromorphic, FPGA/CGRA, optical/photonic, future) attached as a capability provider. AR0–AR7 are **workstream gates, not roadmap milestones**; they carry no M-number and do not reorder §17. Supporting documents: `docs/plans/analog-realization/` (NOT A MASTER PLAN). +ADR 0018 (ACCEPTED, merged 641bd3c) extends FORGE from the digital CPU+GPU Machine to any physical substrate (analog, neuromorphic, FPGA/CGRA, optical/photonic, future) attached as a capability provider. AR0–AR7 are **workstream gates, not roadmap milestones**; they carry no M-number and do not reorder §17. Supporting documents: `docs/plans/analog-realization/` (NOT A MASTER PLAN). | Gate | Scope | Blocked on | |---|---|---| -| AR0 | ADR 0018 accepted and merged | **Open:** ADR proposed, not accepted by the operator | -| AR1 | FORGE substrate-neutral descriptor contract (V2 descriptor + evidence, KATs, v1 KAT digest wrapped) | `aien-dev/physics#13` merge (C1 seam); companion draft `aien-dev/physics#16` (branch `feat/forge-substrate-v2`) | +| AR0 | ADR 0018 accepted and merged | **PASS:** Accepted by operator Drake Stapleton, merged 641bd3c | +| AR1 | FORGE substrate-neutral descriptor contract (V2 descriptor + evidence, KATs, v1 KAT digest wrapped) | V2 contract landed early in physics#16 (1f7c321); AR1 does not PASS until the C1/physics#13 foundation is merged and combined gates pass | | AR2 | Analog **simulation** provider + digital oracle parity, receipts `SIMULATED_DEVELOPMENT` | AR1. May proceed as new files; must not touch `omega/src/runtime/` | | AR3 | Calibration, uncertainty and evidence qualification | AR2. Same file rule as AR2 | | AR4 | First physical analog operation (matvec, digital oracle vs physical analog, same contract) | AR3 + R16 closed (`aien-dev/omega#68`) + an operator decision on a physical device | @@ -182,7 +182,7 @@ ADR 0018 (PROPOSED) extends FORGE from the digital CPU+GPU Machine to any physic | AR6 | Fabric-connected analog Machine | Phase F5 (Fabric) | | AR7 | J-Space / RSI multi-substrate optimization | Phase H3 (RSI optimization loop) | -Order inside the existing sequence: AR1 follows the C1 FORGE boundary; AR2–AR3 run beside Phase C/E without touching Omega runtime code; AR4–AR5 follow R16; AR6 follows F5; AR7 follows H3. +Order inside the existing sequence: V2 contract landed early in physics#16, but AR1 completion follows the C1 FORGE boundary (physics#13); AR2-AR3 run beside Phase C/E without touching Omega runtime code; AR4-AR5 follow R16; AR6 follows F5; AR7 follows H3. **Exit gate (AR4):** one matvec realized on a physical analog substrate satisfies the same SemanticResultContract as its digital oracle, with bounded error, repeatability, a fresh bound calibration, complete evidence, no authority bypass, no vendor identity in the semantic program, clean digital fallback, and no way for a faulted device to corrupt the World. diff --git a/docs/adr/0017-argus-defensive-plane.md b/docs/adr/0017-argus-defensive-plane.md index 98110a3..af4550a 100644 --- a/docs/adr/0017-argus-defensive-plane.md +++ b/docs/adr/0017-argus-defensive-plane.md @@ -1,6 +1,6 @@ # ADR 0017: ARGUS Is the Defensive Plane; It Observes, Detects, and Proposes, but Never Authorizes -**Status:** Proposed, awaiting operator ratification (Drake). Amended 2026-09-29 after the hostile review and the first live performance measurement (event ABI v1.1); amended again 2026-09-29 with the final ARGUS-0 gate results (performance gate FAIL, ARGUS-0 not complete), the authority observer hook, the reconciled milestone ladder, and the ARGUS-1 pre-registration pointer; amended a third time 2026-09-29 with the closing ARGUS-0 results (speed test passes with a condition, runtime findings gone, 2% target amendment pending Drake). +**Status:** Accepted by operator Drake Stapleton, 2026-09-29. Amended 2026-09-29 after the hostile review and the first live performance measurement (event ABI v1.1); amended again 2026-09-29 with the final ARGUS-0 gate results (performance gate FAIL, ARGUS-0 not complete), the authority observer hook, the reconciled milestone ladder, and the ARGUS-1 pre-registration pointer; amended a third time 2026-09-29 with the closing ARGUS-0 results (speed test passes with a condition, runtime findings gone, 2% target amendment pending Drake). **Date:** 2026-09-28 (amended 2026-09-29) **Status 2026-09-29:** ARGUS-0 is **complete under documented limits**: 9 of its 10 checks pass outright, and the other two ("hostile review" and "performance") pass with their limits written down (section 13). ARGUS-1 (containment, section 17) has its specification pre-registered, meaning its tests were fixed in writing before any code (aienos #162 and #163), and its code has started. One new operator setting exists, `RX_ARGUS_CONSUMER_CPU` (values `auto`, `none`, or a list of cores), which chooses the processor core the watchman's reader runs on; the hostile review records it as something that can only make things slower if set badly, never something that widens what ARGUS is allowed to do. **Related:** ADR 0005 (effect broker), ADR 0006 (vault-only secrets), ADR 0013/0014 (FORGE realizes, AEGIS verifies, AIENOS owns capabilities), ADR 0015 (resident semantic store), ADR 0016 (resident reaction architecture; §31 failure containment), [`docs/07-security-effects-secrets.md`](../07-security-effects-secrets.md). diff --git a/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md b/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md index 5f4730c..9000089 100644 --- a/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md +++ b/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md @@ -57,7 +57,18 @@ The pieces worth keeping are primitives, not runtimes: | R2 `R2_CROSS_ENGINE_ABI_PASS` | NOT CLAIMED | The ABI exists on unmerged branch `m20-shared-world` (58/58 host checks). There is no silicon run. | | R3 `R3_REACTION_CORE_PASS` | **PASS (host reference, CPU only)** | omega `tests/runtime/rx_heartbeat_test.c` (`make test-r3`). Receipt `omega/evidence/R3/ef3e5565b9deda5226b58caf00c3e05f467cf03f6ae91984c10898d98e28c321.json`: candidate `9dd9594`, clean tree, 15/15 tests, 8,948 checks, 0 failures. | | R4 `R4_CAUSAL_TRACE_PASS` | **PASS (host reference, CPU only)** | Same receipt. Every reaction crumb in every test is audited for trigger, inputs, authority, outputs, and ancestry: 1,727 audited, 7,016 digests re-verified. | -| R5–R16 | NOT STARTED | — | +| R5 `R5_RESOURCE_ARBITRATION` | PASS | host reference, not silicon (#36-#38) | +| R6 `R6_REACTION_STABILITY` | PASS | host reference, not silicon (#36-#38) | +| R7 `R7_NATIVE_AUTHORITY` | PASS | host, against the native C authority (#41, #43) | +| R8 `R8_CONSTITUTIONAL_AEGIS` | PASS | host (#48, `fe4924a`) | +| R9 `R9_GENERATION_BARRIER` | PASS | host (#42, `00be7ae`) | +| R10 `R10_CONTINUOUS_OMEGA` | PASS | DGX Spark CPU (#46, `0a787ee`) | +| R11 `R11_CONTINUOUS_COGNITION` | PASS | DGX Spark CPU (#47, `628daf5`) | +| R12 resident GPU seat | PASS | GB10 silicon (#44, `05b0692`; hardening #45, `4331bf3`) | +| R13 faculties as one causal system | PASS (causal verification PASS, AIEN goal MET) | GB10 silicon (#49, `fcb5793`) | +| R14 living recovery | PASS | GB10 silicon (#50, `f70ae10`) | +| R15 quantitative performance | PASS | DGX Spark (#67, `bba3bd3`, 16/16 gates) | +| R16 orchestrator retirement | IN PROGRESS | DGX Spark (#68 draft, spec pre-registered, active inventory) | The R3/R4 claims are scoped to the host reference runtime. They say nothing about GPU execution (R12) or about the native AIENOS capability root (R7). diff --git a/docs/specs/EVOLUTION_ARENA_SPEC_V1.md b/docs/specs/EVOLUTION_ARENA_SPEC_V1.md index cdba3bf..9b16def 100644 --- a/docs/specs/EVOLUTION_ARENA_SPEC_V1.md +++ b/docs/specs/EVOLUTION_ARENA_SPEC_V1.md @@ -7,8 +7,8 @@ | Classification | Frozen contract. Docs only. No runtime change is authorized by this document. | | Status | PROPOSED (draft for orchestrator review) | | Opened | 2026-09-29 | -| Authority | ARCH-0016 (resident reaction architecture), ARCH-0015 (Resident Semantic Store), ARCH-0014 (FORGE realizes, AEGIS verifies), ARCH-0007 (J-Space effect boundary), OS-0012 (self-construction, capability growth, generations), ARCH-0017 (ARGUS defensive plane; aien-architecture branch `docs/adr-0017-argus`, not yet on main) | -| Lineage | Omega `OMEGA_COGNITIVE_ROUTING_PASS` (#57), `OMEGA_PLAN_REUSE_PASS` (#58), `OMEGA_EMPIRICAL_OPTIMIZER_PASS` (#60, open), R9 generation barrier (`rx_generation`), physics #13 FORGE-0 / FORGE-HWID (open) | +| Authority | ARCH-0016 (resident reaction architecture), ARCH-0015 (Resident Semantic Store), ARCH-0014 (FORGE realizes, AEGIS verifies), ARCH-0007 (J-Space effect boundary), OS-0012 (self-construction, capability growth, generations), ARCH-0017 (ARGUS defensive plane, merged on main) | +| Lineage | Omega `OMEGA_COGNITIVE_ROUTING_PASS` (#57), `OMEGA_PLAN_REUSE_PASS` (#58), `OMEGA_EMPIRICAL_OPTIMIZER_PASS` (#60, merged), R9 generation barrier (`rx_generation`), physics #13 FORGE-0 / FORGE-HWID (open) | --- @@ -41,7 +41,7 @@ Nothing in this document may become runtime behaviour until all of the following | Authority instance identity across restart | after a reboot the permission system can prove it is the same one as before | replay determinism proven; instance identity is an open question for the next version of the binary interface (ABI v2, decision D7; which machine identifier to use is pending) | D7 decided and a receipt recorded for it | | ARGUS-0 | the watchdog's first stage is finished within stated limits | ARGUS-0 complete under documented limits 2026-09-29 (R8 +3.87 % with a spare core; runtime findings cleared at aienos d39dd5b), per aienos `feat/argus-0` c30f168 `ARGUS0_GATES.md` | closed as recorded; ARGUS-1 continues in parallel | | ARGUS-1 containment live | the watchdog can actually fence off a misbehaving piece | code started (aienos feat/argus-1-l0, spec #162); gates not yet run | `ARGUS1_G1`..`G13` PASS. Until then the Arena is **observe-and-record only**: Candidates may be proposed, verified and measured in draft Worlds, but no Candidate may act with real permissions and no promotion request may be created | -| Omega empirical optimizer | the existing "try several versions and measure" tool is accepted | omega #60 open, unmerged | #60 merged (its arm / judge / learner vocabulary becomes canonical) | +| Omega empirical optimizer | the existing "try several versions and measure" tool is accepted | omega #60 merged | #60 merged (its arm / judge / learner vocabulary becomes canonical) | | OSC-0B machine semantics freeze | the rules for how numbers and IDs are laid out as bytes are settled | omega #76 draft, 4 owner decisions pending | accepted and identity-break timing decided; Arena schemas re-checked | OSC-0B is on this list for identity stability, not because the Arena needs the Omega compiler (V1 generates no code): its pending decisions (u64 generations everywhere, and the identity break for canonical payloads, R9 generation-store rows and crumb digests) change the exact bytes the frozen `candidate_id`, `objective_id` and Evidence digests, and the EA-G1 byte-for-byte reconstruction, are computed over. @@ -402,7 +402,7 @@ These naming and rule collisions were found while aligning this spec with main. 2. **World:** single object world; J-Space draft Worlds are speculative branches within it (Ephemeral until promoted). 3. **Generation:** ARCH-0016 / `rx_generation` generation, committed through ADR 0015. OS-0012 machine Generations are out of scope for V1. 4. **Pipeline shape:** the research document's arrow diagram is responsibilities, not a loop. Implementation is reactions (R13/R16). -5. **Independent promotion authority:** the holder of `RX_GEN_RIGHT_PROMOTE` on the native authority (in Flagship 1, the operator-held promotion principal). Not AEGIS (decides, does not mint), not ARGUS (observes), not the proposer, never an Arena principal. +5. **Independent promotion authority:** the holder of `RX_GEN_RIGHT_PROMOTE` on the native authority (in Flagship 1, the operator-held promotion principal). Not AEGIS (verifies, does not mint), not ARGUS (observes), not the proposer, never an Arena principal. 6. **RSI:** docs/09's Hypothesis → Candidate → Evaluation Plan → Judge → Canary → Promote/Rollback is the same flow; this spec is its in-band form and keeps its must-not list. V1 omits the Canary step (§6.1). 7. **"Admission":** three senses kept distinct. OS-0012 deterministic admission gates (verification), Cortex Signed Admission Receipt (knowledge), capability admission (authority). This spec uses "verified", "admitted to Cortex", and "granted" respectively. 8. **Rollback:** automatic pre-commit fallback vs operator-only post-commit rollback (§5.3). @@ -415,7 +415,7 @@ These naming and rule collisions were found while aligning this spec with main. 15. **PROPOSED / REJECTED:** Candidate statuses (§2.2) vs the ADR 0015 §14 Evidence lifecycle states of the same names. Context names which is meant; Evidence states are only used in §4.4. 16. **I-numbers:** ADR 0016 invariants I1–I16 (used unqualified in this spec) vs ARGUS-1 spec I1–I5 (always written "ARGUS-1 I…"); ADR 0017 uses finding codes 1–16, not I-numbers. 17. **oracle:** the Omega semantic oracle (correctness reference for a workload) vs ADR 0016 Part I "legacy orchestrated paths become the reference oracle" (a migration reference). This spec means the former. -18. **ADR 0006 / ADR 0017:** aien-architecture's ADR 0006 is "Production Secrets Are Vault-Only"; the offline operator authority cited via ADR 0015 §9 is aienos `docs/adr/0006`. Likewise aienos `docs/adr/0017` is the M5 key hierarchy ADR, while ARCH-0017 (ARGUS) is on an aien-architecture branch. +18. **ADR 0006 / ADR 0017:** aien-architecture's ADR 0006 is "Production Secrets Are Vault-Only"; the offline operator authority cited via ADR 0015 §9 is aienos `docs/adr/0006`. Likewise aienos `docs/adr/0017` is the M5 key hierarchy ADR, while ARCH-0017 (ARGUS) is merged on main. --- diff --git a/doctrine/ROADMAP.md b/doctrine/ROADMAP.md index 3e1cb45..5c128ca 100644 --- a/doctrine/ROADMAP.md +++ b/doctrine/ROADMAP.md @@ -238,7 +238,7 @@ One nontrivial abstraction not present in the initial library that: - Ratification binding: implementation `beaa1185154051f147a5588e9fa78410a879b9a1`, evidence `5a850796c6e0e843178ade5374034066539d4697`, merge `ae2476d2c16beedff6507cbfc36701bb740203de`, physics authority `b64753d95bacb1114ba48decde48239f0c542e12`. - Independent rerun (2026-09-27, DGX Spark): all 175 gates (M4-M19) re-executed and passed at `omega ae2476d`, with binary SHA-256, manifest digest, and rolling state digest reproduced byte-for-byte against the committed receipt. The M19 receipt's `157`/`175` counts were asserted literals at qualification time; this independent rerun corroborates that the underlying gates did pass on silicon. - Naming: the machine realization subsystem is renamed FORGE per ADR 0014 ("FORGE REALIZES; AEGIS VERIFIES"). This is not a history rewrite: M19's own artifacts (`aien-dev/physics` M16 commit `b64753d`), the `is_physics_authorized` field serialized in historical fingerprints, and identifiers such as `PHYSICS_ACCELERATOR_LINK` keep their historical names. -- Substrate-neutral realization (analog, neuromorphic, FPGA/CGRA, photonic, future substrates) is ADR 0018 (ARCH-0018, PROPOSED); its workstream gates AR0-AR7 are sequenced in `CURRENT_EXECUTION_PLAN.md` §6 C3 and carry no M-number. +- Substrate-neutral realization (analog, neuromorphic, FPGA/CGRA, photonic, future substrates) is ADR 0018 (ARCH-0018, ACCEPTED, merged 641bd3c); its workstream gates AR0-AR7 are sequenced in `CURRENT_EXECUTION_PLAN.md` §6 C3 and carry no M-number. - Reopened: errata E-M19-1 through E-M19-10 are recorded in `docs/errata/m19-errata.md`, mapping each gap the receipt did not derive or enforce to the M19R recovery gate that closes it. M19 re-closes when the M19R Combined Foundation Admission Gate (`docs/m19r-recovery-program.md`) passes. ### M19R: `FOUNDATION_REPAIR`