aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / argus / docs / ARGUS1_GATES.md
| 1 | # ARGUS-1 gate evidence (2026-09-29) |
| 2 | |
| 3 | This file records the gates measured by lanes F and H. The full pre-registered criteria |
| 4 | remain in `ARGUS1_SPEC.md`; unmeasured gates are not counted as passed here. |
| 5 | |
| 6 | ## G8 — hot-path non-regression: PASS |
| 7 | |
| 8 | DGX Spark, GCC 13.3.0, core 7 pinned, paired A/B x5, each timing round processes 5,000 |
| 9 | identical benign events in 100-event batches. Measurements ran with |
| 10 | `~/workspace/.argus-bench.lock` held and no `.spark-quiet` marker. |
| 11 | |
| 12 | | Measurement | ARGUS-0 reference (`a64bc55`) | ARGUS-1 | Result | |
| 13 | |---|---:|---:|---| |
| 14 | | Ring push, single-thread p50 | 4.00 ns | 4.00 ns | Same median (0.00 ns change; within 0.5 ns limit) | |
| 15 | | Ring push, single-thread p99 | 5.00 ns | 6.00 ns | +1 ns observed; p99 is reported, not the registered median gate | |
| 16 | | Core ingest p50 | 1,055 ns/event | 1,070 ns/event with containment observe/propose attached | +1.42% (within +3% limit) | |
| 17 | | Core ingest p99 | 1,076 ns/event | 1,092 ns/event with containment observe/propose attached | Reported for context | |
| 18 | | `aienos_cap_validate` instruction count | — | 179 | Matches the registered count | |
| 19 | |
| 20 | The authority implementation file has no diff from the ARGUS-1 main base. The ring source |
| 21 | is unchanged; the ring benchmark was re-run on both commits under the same pin and lock. |
| 22 | Benchmark numbers vary with host scheduling, so the registered comparisons are the result. |
| 23 | The two-thread ring throughput output is not used as a gate because pinning both worker |
| 24 | threads to one core measures scheduler contention rather than the normal two-core path. |
| 25 | |
| 26 | Reproduce with `make -C native/argus bench`. The target refuses to run if |
| 27 | `~/workspace/.spark-quiet` exists, takes the lock, and pins the benchmark to core 7. |
| 28 | |
| 29 | ## G10 — false-positive containment: PASS |
| 30 | |
| 31 | `make -C native/argus test-contain-fp` processed the nine benign generated corpora |
| 32 | (45,000 events total) and the recorded R7/R8/R9 streams (2,283 events total) through the |
| 33 | real core and containment proposal path while a real AEGIS gate and capability authority |
| 34 | with an observer and auto-grant policy were active. Each candidate proposal would be |
| 35 | submitted to the gate; the test found none. Result: |
| 36 | |
| 37 | `GATE ARGUS1_FALSE_POSITIVE_PASS PASS events=47283 proposals=0 authority_calls=0` |
| 38 | |
| 39 | The authority observer count was unchanged after gate creation, so the replay caused no |
| 40 | mint, revoke, decision, or execution. The recorded streams were captured from the |
| 41 | observer-backed runtime runs listed in the fixture README. They are replayed through an |
| 42 | isolated core because their original authority slot numbers cannot be transplanted into a |
| 43 | new authority instance. The streams are fixed test fixtures under |
| 44 | `tests/fixtures/argus1/`; their source and SHA-256 values are in that directory's README. |
| 45 | |
| 46 | ## Lane H hostile evidence |
| 47 | |
| 48 | The current hostile containment suite reports 103 checks, 0 failures. See the containment |
| 49 | section in `HOSTILE_REVIEW.md` for defended cases and limits. Correct-secret human resolve |
| 50 | remains untested because the office secret is not exposed to the harness. Producer |
| 51 | attestation and validator enforcement of reserved stream 16383 remain outside ARGUS-1. |
| 52 | |
| 53 | ## G11 — synchronous policy and dependency direction: implementation check PASS |
| 54 | |
| 55 | The full `make test` integration run reports the sync table equal to its ratified mask: |
| 56 | `0x453e == 0x453e`. The dependency-direction check runs through |
| 57 | `make -C native/argus test-contain-symbols`; it inspects the event, ring, and capability |
| 58 | authority objects and reports `GATE ARGUS1_AUTHORITY_DIRECTION PASS`. The authority, event, |
| 59 | and ring objects have no references into detection, containment, the gate, or bridge. The |
| 60 | capability gate's own `contain-checks` also verifies the opposite direction. |
| 61 | |
| 62 | ## G12 — regression and sanitizers: Linux PASS, Mac pending |
| 63 | |
| 64 | On the DGX Spark, `make -C native/argus test` and `make -C native/argus sanitize` both pass, |
| 65 | including the authority containment suite, ARGUS containment tests, bridge tests, and hostile |
| 66 | tests. The sanitizer run includes ASan/UBSan and TSan; the bridge TSan run passed. The separate |
| 67 | capability suite passes 664 checks in regular and ASan/UBSan builds. The registered Mac `make |
| 68 | test` run has not been performed, so G12 is not yet closed. |
| 69 | |
| 70 | ## G13 — invariants I1–I5: partial, dependency G6 open |
| 71 | |
| 72 | `make -C native/capability test-contain` prints PASS for its implemented I1/I2/I3/I4/I5 |
| 73 | checks and reports 664 checks with 0 failures. I1.c/I1.d evidence correlation and I5.d's |
| 74 | observer-only independent audit still depend on the unimplemented G6 offline checker. G13 |
| 75 | therefore remains open until G6 is delivered and the full invariant set is rerun together. |