omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / ARGUS / repin / REPIN.md
| 1 | # ARGUS producer re-pin to aienos d39dd5b (native authority observer) |
| 2 | |
| 3 | Branch feat/argus-producer, from cf6f45d. Date 2026-09-29. |
| 4 | |
| 5 | ## What moved |
| 6 | - aienos.lock: c8ab65e (32-bit generations + backport patch) -> d39dd5bc3deb1a24e26a5059477a1342c110c71b |
| 7 | (aienos main; 64-bit generations with a boot-time floor, observer hook 12add16 native). Same line as omega PR #72. |
| 8 | - tools/argus/aienos-cap-observer-c8ab65e.patch removed. The separate patched authority build |
| 9 | (ARGUS_CAP_REPO/BASE/PATCH/DIR and its rule) is gone; ARGUS targets link $(AIENOS_CAP_LIB), the |
| 10 | same aienos.lock extraction the default targets use. |
| 11 | - argus.lock: kept at b375dca. It IS on origin now (`git branch -r --contains b375dca`: |
| 12 | origin/feat/argus-0, origin/feat/argus-1-spec), so CI can fetch it. Comment updated. |
| 13 | `git diff --stat b375dca a64bc55 -- native/argus`: docs only, |
| 14 | ARGUS0_GATES.md +102, HOSTILE_REVIEW.md +87/-5 (2 files, 184+/5-); no code or ABI change. |
| 15 | - .github/workflows/rx-host.yml: aienos.lock and argus.lock added to both trigger path lists. |
| 16 | Note: the workflow builds no ARGUS target; a pin change re-runs the default R3/R7/R8/R9/... suites. |
| 17 | |
| 18 | ## 64-bit generations: taken from main, not re-derived |
| 19 | Omega main already carries the 32->64-bit migration (PR #62). Cherry-picked verbatim (-x) from main: |
| 20 | 607515f, f5b6ff1, 50e8bea, dce48cf, 9ef49b7 (all applied without conflict). Main's two aienos.lock |
| 21 | commits (96b27c2, 40b64d0) were skipped. The branch still needs a merge of main before it can land. |
| 22 | |
| 23 | Omega hand-copies the authority header: src/runtime/aienos_cap.h is a name/layout copy of aienos |
| 24 | native/capability/aienos_capability.h (the aienos header says so). After the cherry-picks it matched |
| 25 | d39dd5b's structs and prototypes except the observer; the observer typedef, AIENOS_CAP_OBS_* (1..8), |
| 26 | aienos_cap_set_observer and aienos_cap_authorize were added. Prototypes and struct bodies were |
| 27 | diffed against d39dd5b: identical. rx_argus.c dropped its local copy of the observer declarations. |
| 28 | No other producer change was needed: rx_argus already carried generations as uint64_t. |
| 29 | |
| 30 | Files touched by this round (beyond the cherry-picks): aienos.lock, argus.lock, Makefile, |
| 31 | .github/workflows/rx-host.yml, src/runtime/aienos_cap.h, src/runtime/rx_argus.c, |
| 32 | tools/argus/aienos-cap-observer-c8ab65e.patch (deleted), evidence/ARGUS/repin/. |
| 33 | rx_aegis.c and rx_generation.c: no hand edits (rx_generation.c changed only via cherry-pick f5b6ff1). |
| 34 | |
| 35 | ## Build |
| 36 | - RX_ARGUS undefined: default test-r7 (oracle match), test-r8 (checks 116 failures 0), test-r9 (barrier |
| 37 | kept one generation) PASS against d39dd5b (raw/default-r7-r8-r9.txt). |
| 38 | - RX_ARGUS=0, 1, 2 (ARGUS_AUTH=observer) build with -Werror. |
| 39 | |
| 40 | ## Correctness (RX_ARGUS=2 ingest, ARGUS_AUTH=observer, detectors b375dca; two runs of make test-argus-runtime) |
| 41 | Streams: ~/workspace/argus-runtime-streams/repin-d39dd5b-run1, -run2. |
| 42 | |
| 43 | | suite | before (cf6f45d, c8ab65e+patch) | after (d39dd5b), run1 / run2 | |
| 44 | |---|---|---| |
| 45 | | R7 | 320 events, 2 findings (code 13 AUTHORITY_REPLAY) | 329 / 329 events, **0 findings** | |
| 46 | | R8 | 1,989 / 2,393 events, 0 findings | 1,842 / 707 events, 0 findings (204,987 / 202,913 uses -> 1,363 / 532 summaries) | |
| 47 | | R9 | 37 events, 0 findings | 37 / 37 events, 0 findings | |
| 48 | |
| 49 | Every run: ring_refused 0, summary_refused 0, lost_transitions 0, late_events 0, ingest_errors 0, |
| 50 | events_rejected 0, received == pushed. |
| 51 | R7 code 13 is gone: the 64-bit authority takes each boot generation from a process-wide monotonic, |
| 52 | time-seeded counter, so the second authority instance (pair_stop + pair_start) and restart start above |
| 53 | every generation already seen. R7 now has 329 events because main's R7 test (607515f) adds authority |
| 54 | operations (observer calls: mint 289, revoke 6, reclaim 3, epoch 2, clock 3, kill 1, restart 2). |
| 55 | |
| 56 | ## Determinism |
| 57 | Every stream replayed twice gives the same state digest, 0 findings (raw/replay-digests.txt). |
| 58 | R7 live streams are no longer byte-identical across runs: generations are time-seeded. With cap |
| 59 | generations and the summary min-generation field masked, the two R7 runs are identical event for |
| 60 | event (same kinds, caps, codes, order). R8/R9 live streams differ run to run (flush timing), as before. |
| 61 | |
| 62 | ## Performance |
| 63 | Not re-measured (by instruction). The speed-2 evidence at cf6f45d stands. The observer cost should be |
| 64 | unchanged: the backport patch was the same hook (one NULL check per admin op with no observer; calls |
| 65 | after the table lock is released). |