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 / docs / turing / TURING_AGENT_WAVE_1.md
| 1 | # TURING Wave 1: ownership manifest |
| 2 | |
| 3 | Update 2026-09-30: R16 is CLOSED (omega#112, `3dd5eaa`, all gates G1 to G8 PASS) and the `src/runtime/` edit freeze is LIFTED (aien-architecture #70, `e89ba94`). Statements below that the runtime is frozen "until R16" describe the state when this was written. |
| 4 | |
| 5 | Correction 2026-10-01 (recorded now, not at merge time): omega#112 (merge `3dd5eaa`) merged while the evidence-immutable check was FAILED (run 36799862685, head `6831117`), because `evidence/R16/inventory.json` was edited in place by commits `1edb56b` and `6831117`. The exception was not recorded at the time. The R16 receipt `evidence/R16/22d7a79a985514ac38139d39c71c9638d9b6b0a6e05425b6810bdb4833d1ea64.json` is QUALIFIED at candidate `850fc545` only. All R13 to R16 candidate-bound receipts predate omega#126 (`4f8485b`), so the current living build is IMPLEMENTED / NOT QUALIFIED and re-qualification is owed. |
| 6 | |
| 7 | Branch: feat/turing-w1 (from omega origin/main 4b217aa). Scope: Field records + control-arm selector, post hoc over |
| 8 | stored receipts. Kill test FAILED (K.6); reframed 2026-09-29 as the record-keeping layer (K.7). Spec: TURING_W0_PROPOSAL.md sections F, I, J, K. No PR is opened from this wave by the lanes. |
| 9 | |
| 10 | ## Lanes |
| 11 | |
| 12 | | Lane | Owns (may create and edit) | Reads only | Status | |
| 13 | |---|---|---|---| |
| 14 | | FIELD | src/turing/field.h, src/turing/field.c, src/turing/field_select.c (v1), src/turing/field_select_v0_retired.c (frozen, reproduces the FAIL), src/turing/select.h, src/turing/replay.c, tools/turing_field.c, tests/turing/test_turing.c | src/algebra/realize_common.h (registry), src/omega_canonical.{h,c}, src/omega_types.h, src/sha256.{h,c}, evidence/MIXED_ALGEBRA/*.json | built, test-turing PASS | |
| 15 | | CONTROL ARM | src/turing/history_selector.c (control arm + the shared ranking core) | select.h, field.h | built, test-turing PASS | |
| 16 | | INTEGRATION | Makefile: the TURING block at the end only (targets test-turing, turing-field); docs/turing/* | everything | done | |
| 17 | | REVIEW (hostile) | nothing (report only) | everything on the branch | next | |
| 18 | |
| 19 | ## Forbidden in this wave |
| 20 | - Any edit under src/runtime/ (frozen until R16), src/algebra/, src/polyglot/, or to branch feat/polyglot-0. |
| 21 | - New or changed Omega semantic ids (OSC-0B, omega PR #76). The V0 contract_digest is PROVISIONAL and domain-separated. |
| 22 | - Rust, Python, systemd, outside dependencies, timed benchmarks, GPU work. |
| 23 | - Editing receipts under evidence/: adapters read them; tamper tests work on copies in /tmp. |
| 24 | |
| 25 | ## Interfaces between lanes |
| 26 | - `turing_store` (field.h) is the only shared state: specs, evidence, receipts, contract digest. |
| 27 | - Both selectors emit `turing_decision`; only the Field selector fills `cite[]`. |
| 28 | - `turing_rank_min_cost` (history_selector.c) is the one ranking rule; the Field v1 selector calls it, never a copy. |
| 29 | - `turing_compare` / `turing_compare_online` (replay.c) score both against the same oracle. |
| 30 | |
| 31 | ## Commands |
| 32 | - `make test-turing`: plain and ASan+UBSan suites, then the rebuild check (spec ids from the plain and ASan builds must |
| 33 | be byte-identical), then `turing-field` under ASan. |
| 34 | - `make turing-field`: history view, winners per shape, selector comparison, kill-test dry run. |
| 35 | - Precondition for any build: ~/workspace/.spark-quiet must not exist. |
| 36 | |
| 37 | ## Next steps (after the K.7 reframe) |
| 38 | - PR to main from feat/turing-w1 with the recorded FAIL, the reframe and the v1 tests; not merged by the lanes. |
| 39 | - **Wave 2: ARGUS realization event class** (observation levels, proposal G and H2). BLOCKED until the src/runtime |
| 40 | freeze lifts at R16 close (omega#68). No src/runtime edit before then. |
| 41 | - **omx_candidate adapter** (18 language candidates) after feat/polyglot-0 merges to main; gate J then covers 28. |
| 42 | - H1 live run with cpu frequency state, quiet flag and seeded shuffle order in its receipt; it measures the control |
| 43 | rule live and checks every live decision record verifies. It does not re-score Q1 (K.7). |
| 44 | - rx_costmodel writing decision records, after the runtime freeze lifts. |