Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/patches/c1665ca0d991ded8 # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-mv#279 (code only) closed derived `c1665ca0d991ded8` #279 Imported from GitHub aien-dev/omega-mv#279 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `b56e89b01fbcc4c3360dda60b0ca1c91f108dabe` · Head `3d88c8282e5c8b87197a73039ab4b7b350641d00` greptile-apps[bot] reviewed (COMMENTED) on 2026-10-05 03:39 UTC `aien-dev` has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan . ### Apply it ``` git checkout -b patch-c1665ca0d991ded8 b56e89b01fbcc4c3360dda60b0ca1c91f108dabe curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/c1665ca0d991ded8.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 279 3d88c8282e5c8b87197a73039ab4b7b350641d00 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":279,"url":"https://github.com/aien-dev/omega-mv/pull/279","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:06Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index b701ab135..9d624ad99 100644 --- a/.crumb +++ b/.crumb @@ -52,7 +52,7 @@ }, { "digest": "e4131510711c62d46378596fc17892088d9fe5724dc37f63eee3993e19070a2e", - "last_commit": "e5593ae", + "last_commit": "b56e89b", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -81,8 +81,8 @@ "purpose": "Directory research. Purpose not yet described by a human." }, { - "digest": "032680dfce130753a0c00794f741e4b3fb920d39b32342db6a9862609ae0a392", - "last_commit": "b544d81", + "digest": "c126b5b07a5cd9f114bfd9de1ea7d088170990eda3a25efa21037b6c11177748", + "last_commit": "5347f13", "name": "spec", "purpose": "Directory spec. Purpose not yet described by a human." }, @@ -94,7 +94,7 @@ }, { "digest": "6613e15a29e55246a9939492011b26ec53c87eef79764f87ef6eecc7d46f8e54", - "last_commit": "b544d81", + "last_commit": "b56e89b", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, @@ -105,15 +105,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:414c6e899ef028d51e16400548f0606212dcba2d7105fcad536b3517aecc4061", - "compiled_at": "2026-10-05T03:52:02Z", + "children_root": "sha256:b5a33e5ae3a85e66c3a93c5d56135626685c4ce66bbe9a89250dba6316414d54", + "compiled_at": "2026-10-05T04:01:50Z", "compiler": "crumb-compile/1", - "digest": "sha256:d439887f337ce2974a405954db80453ce6ecf5dc71e4ee491477cf9b8a42ff55", + "digest": "sha256:d447d4052063e5a4585318d406fd1ee8d799306d3ffdfd350aca2ef55225c59f", "evidence_files": 1733, "evidence_root": "sha256:0b92d15f30b595de70a79ce6c93f76d3b90cbb8bb113f4bcd543fd4787e47532", "files": 3499, - "generated_at_commit": "8f5bae12afb1287e426aa42552d330a33b2eb916", - "source_tree": "sha256:42b8f68cd7b7d359317b6f478cb27c77bb1a7f4d81c67c1e6235bee685b831dd" + "generated_at_commit": "5347f1309fb0f489d55e3005c9b529ea386ff9d2", + "source_tree": "sha256:f52d2cf1433ff7fb07e21bc4370ab24130fce04d1be625c73ff29b509ec27221" }, "owner_lane": "", "provenance": { diff --git a/spec/.crumb b/spec/.crumb index ceb5f9483..2d1257b23 100644 --- a/spec/.crumb +++ b/spec/.crumb @@ -14,20 +14,20 @@ "children": [ { "digest": "851e0dc0f5a16f7b103752ff2da976003f56c2d2a53c1e82c3a770eadad83111", - "last_commit": "e5593ae", + "last_commit": "f3467db", "name": "searchtrace", "purpose": "Directory spec/searchtrace. Purpose not yet described by a human." } ], "children_root": "sha256:6834a3241647d3a098283d4eafedbdb1428dfa4d834f9ed5f22025b6d2303093", - "compiled_at": "2026-10-05T00:54:08Z", + "compiled_at": "2026-10-05T03:44:03Z", "compiler": "crumb-compile/1", - "digest": "sha256:032680dfce130753a0c00794f741e4b3fb920d39b32342db6a9862609ae0a392", + "digest": "sha256:c126b5b07a5cd9f114bfd9de1ea7d088170990eda3a25efa21037b6c11177748", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 55, - "generated_at_commit": "e5593ae488fcb9038557a4317a07faa7625649a3", - "source_tree": "sha256:1913ef7188eeb53a669566710eaa2b2a136f7c30d565a0542250fd5110116273" + "generated_at_commit": "4d3cce82590f9b9ba5b0c5932857de2c9316cc4e", + "source_tree": "sha256:b0d4be143720ed900690c5c8e4fefebeb2073ee0c8b31a6c0fda2cff180e6d5c" }, "owner_lane": "", "provenance": { diff --git a/spec/r16-orchestrator-retirement-map.md b/spec/r16-orchestrator-retirement-map.md index 156a5681e..d3fac41be 100644 --- a/spec/r16-orchestrator-retirement-map.md +++ b/spec/r16-orchestrator-retirement-map.md @@ -14,16 +14,16 @@ Each at its `origin/main` commit on 2026-09-29. omega was scanned in the R16 wor at branch commit `d6c8630` (= omega main `193a7e7` plus the R16 spec only, before this map and tool; no code differences). Rescanned 2026-09-30 for the G3-G5 branch on omega main `6d1ff1d` (the R16 work rebased onto current main); the omega row below is that base. The tool prints a WARN when a scanned tree differs from this table, -which is expected for omega on the R16 candidate. +which is expected for omega on the R16 candidate. Since 2026-10-05 (§8.3) the table holds the CAND-0 commits (aegis-runtime, not in CAND-0, unchanged). | repo | sha | |---|---| -| omega | 6d1ff1dbcb15972dcc5195239ddd4085e6ff6de7 | -| aien-sovereign-core | 63fe7a782a57445c299b11d4dbcb7db3a03af5f6 | +| omega | e5593ae488fcb9038557a4317a07faa7625649a3 | +| aien-sovereign-core | 0c1d249f2d119c7c2d726a2d252dc913e6185d28 | | aegis-runtime | 2bbce76b056d39dfdf6c2417d4ffc7919a76749c | -| aienos | 8706fb8bdfe8a5c4ffc6f16ad96af5ab5e6922a4 | -| physics | fecbedb1b9cea9e4de0fa3c88fe795934fb361f9 | +| aienos | 9d41efc9d1bea31be0640ca70eeeec9d1d000fad | +| physics | 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf | ## 2. Method (what counts as a loop site) @@ -127,7 +127,7 @@ any production binary); in-file Rust `#[cfg(test)]` modules likewise. | OM-009 | omega | `src/omega_world_gates.c` | 234 | `test_m19_gate3_channel_reuse` | M19 gate 3 body | M19 qualification gate (regression oracle) | D | false | gate test body run by --run-m19-gates; migration map: regression oracle | `for (uint32_t step = 0; step < 4 && ok; step++) {` | | OM-010 | omega | `src/omega_world_gates.c` | 664 | `test_m19_gate7_queue_wrap` | M19 gate 7 body | M19 qualification gate (regression oracle) | D | false | gate test body run by --run-m19-gates | `while (submitted < stress_count) {` | | OM-011 | omega | `src/omega_world_gates.c` | 668 | `test_m19_gate7_queue_wrap` | M19 gate 7 body | M19 qualification gate (regression oracle) | D | false | gate test body run by --run-m19-gates | `for (uint32_t k = 0; k < batch; k++) {` | -| OM-012 | omega | `src/omega_world_gates.c` | 685 | `test_m19_gate7_queue_wrap` | M19 gate 7 completion wait | M19 qualification gate (regression oracle) | D | false | gate test waits on a completion marker; test path only | `while (*world.completion.cpu_marker < dispatch_id) {` | +| OM-012 | omega | `src/omega_world_gates.c` | 763 | `test_m19_gate7_queue_wrap` | M19 gate 7 completion wait | M19 qualification gate (regression oracle) | D | false | gate test waits for the completion marker, then the marker2 sentinel, through the shared primitive omega_gpu_wait_sequence; test path only. Re-anchored 2026-10-05 (§8.2): the same wait was an inline spin `while (*world.completion.cpu_marker < dispatch_id) {` until CHIPWAIT-1 (fc96141, #232) and CHIPWAIT-1c (4e82e50, #236) | `for (int stage = 0; stage < 2; stage++) {` | | OM-013 | omega | `src/omega_world_gates.c` | 1153 | `test_m19_gate8_1000_op` | M19 gate 8 body | M19 qualification gate (regression oracle) | D | false | gate test body run by --run-m19-gates | `for (uint32_t cycle = 0; cycle < 250; cycle++) {` | | OM-014 | omega | `src/omega_world_gates.c` | 1593 | `test_m19_gate13_memory_bound` | M19 gate 13 body | M19 qualification gate (regression oracle) | D | false | gate test body run by --run-m19-gates | `for (int i = 0; i < 10; i++) {` | | OM-015 | omega | `src/omega_world_gates.c` | 1597 | `test_m19_gate13_memory_bound` | M19 gate 13 body | M19 qualification gate (regression oracle) | D | false | gate test body run by --run-m19-gates | `for (int i = 0; i < 200; i++) {` | @@ -279,7 +279,7 @@ any production binary); in-file Rust `#[cfg(test)]` modules likewise. | OM-178 | omega | `tests/fabric/fabric_test.c` | 117 | `pump` | test mailbox drain | reference / test path (non-authoritative) | D | false | fabric test: drains one node mailbox with fab_poll; test code, not built into any production binary | `while (fab_poll(&h->node[i], now, &v) == 1)` | | OM-179 | omega | `tests/runtime/rx_compose_attach_test.c` | 229 | `rogue_refused` | test remove-reaction retry | reference / test path (non-authoritative) | D | false | composition attach test: retries reaction removal while BUSY; test code, not built into any production binary | `while (rx_world_remove_reaction(&g_w, rid) == RX_ERR_BUSY) sleep_us(1000);` | | OM-180 | omega | `tests/runtime/rx_compose_attach_test.c` | 385 | `t_close_waits` | test wait for held step | reference / test path (non-authoritative) | D | false | composition attach test: sleep-polls until the held step is reported; test code, not built into any production binary | `while (!__atomic_load_n(&c->test.held, __ATOMIC_ACQUIRE) && waited++ < 10000) sleep_us(1000);` | -| OM-181 | omega | `tests/runtime/rx_compose_attach_test.c` | 388 | `t_close_waits` | test wait for settle | reference / test path (non-authoritative) | D | false | composition attach test: sleep-polls until one step is in flight; test code, not built into any production binary | `for (waited = 0; in_flight() != 1 && waited < 10000; waited++) sleep_us(1000);` | +| OM-181 | omega | `tests/runtime/rx_compose_attach_test.c` | 403 | `t_close_waits` | test wait for settle | reference / test path (non-authoritative) | D | false | composition attach test: sleep-polls until the held step (plus, since I11, the one step parked behind it) is in flight; test code, not built into any production binary. Re-anchored 2026-10-05 (§8.2): condition was `in_flight() != 1` until f523edd (#195) | `for (waited = 0; in_flight() != 1 + upstream_held() && waited < 10000; waited++) sleep_us(1000);` | | OM-182 | omega | `tests/runtime/rx_compose_attach_test.c` | 402 | `t_close_waits` | test wait for revoke | reference / test path (non-authoritative) | D | false | composition attach test: sleep-polls until the write right is revoked; test code, not built into any production binary | `for (waited = 0; waited < 5000 &&` | | OM-183 | omega | `tests/runtime/rx_jspace_prod.c` | 598 | `test_world` | test race writers | reference / test path (non-authoritative) | D | false | J-Space production test: two racing writers; test code, not built into any production binary | `for (int k = 0; k < 2; k++) {` | | OM-184 | omega | `tests/runtime/rx_jspace_prod.c` | 617 | `test_world` | test tick publisher | reference / test path (non-authoritative) | D | false | J-Space production test: publishes 40 external tick mutations; test code, not built into any production binary | `for (unsigned t = 1; t <= 40; t++) {` | @@ -298,6 +298,80 @@ any production binary); in-file Rust `#[cfg(test)]` modules likewise. | OM-197 | omega | `tools/estimation/est_load.c` | 110 | `main` | load generator segment schedule | reference / test path (non-authoritative) | D | false | EST measurement load generator: steps through the load level schedule; measurement tool, not built into any production binary | `for (int i = 0; i < nseg && !g_stop; i++) {` | | OM-198 | omega | `tools/estimation/est_load.c` | 120 | `main` | load generator segment timer | reference / test path (non-authoritative) | D | false | EST measurement load generator: sleeps until the segment ends; measurement tool, not built into any production binary | `for (;;) {` | | OM-199 | omega | `tools/estimation/est4.c` | 237 | `e4_score` | EST4 scoring walk | - | N | false | N: walk: scores recorded ticks in order (data ticks, not a scheduler tick), without wait or hand-off; offline evidence tool, same shape as OM-195 | `for (size_t t = 0; t < tk->n && !rc; t++) {` | +| OM-200 | omega | `src/dual/rx_dual_replay.c` | 46 | `rx_dual_check_trace` | DUAL trace tick validation | - | N | false | N: scan: validates each tick of a recorded DUAL measurement trace (data ticks, not a scheduler tick); no wait or hand-off | `for (uint32_t i = 0; i < tr->n_ticks; i++)` | +| OM-201 | omega | `src/dual/rx_dual_replay.c` | 71 | `rx_dual_encode_trace` | DUAL trace encoding | - | N | false | N: format: encodes each recorded trace tick into the canonical byte layout; no wait or hand-off | `for (uint32_t i = 0; i < tr->n_ticks; i++)` | +| OM-202 | omega | `src/dual/rx_dual_replay.c` | 89 | `rx_dual_decode_trace` | DUAL trace decoding | - | N | false | N: decode: decodes each trace tick from canonical bytes; no wait or hand-off | `for (uint32_t i = 0; i < n; i++) {` | +| OM-203 | omega | `src/dual/rx_dual_replay.c` | 110 | `rx_dual_digest_trace` | DUAL trace digest | - | N | false | N: walk: hashes each encoded trace tick into the trace digest; no wait or hand-off | `for (uint32_t i = 0; i < tr->n_ticks; i++) { enc_tick(&tr->t[i], tick); sha256_update(&ctx, tick, sizeof tick); }` | +| OM-204 | omega | `src/dual/rx_dual_replay.c` | 194 | `rx_dual_replay_run` | DUAL-1b deterministic replay | reference / test path (non-authoritative) | D | false | DUAL-1b replay of a recorded trace through the pure reference price controller; linked only into test-dual-replay (mk/dual.mk DUAL_REPLAY_SRCS), no production caller (DUAL production influence is disabled by gate); one controller update per recorded data tick, no wait or hand-off, decides no faculty order | `for (uint32_t i = 0; i < tr->n_ticks; i++) {` | +| OM-205 | omega | `src/dual_experiment/applic_metrics.c` | 24 | `sift` | heap sift-down | - | N | false | N: sift: binary heap sift-down in the offline DUAL applicability metrics; no wait or hand-off | `for (;;) {` | +| OM-206 | omega | `src/omega_receipt.c` | 161 | `jstring` | JSON string parse | - | N | false | N: parse: receipt JSON string parser; no wait or hand-off | `for (;;) {` | +| OM-207 | omega | `src/omega_receipt.c` | 215 | `jcontainer` | JSON container parse | - | N | false | N: parse: receipt JSON object/array parser; no wait or hand-off | `for (;;) {` | +| OM-208 | omega | `src/omega_resolve.c` | 101 | `parse_version` | version string parse | - | N | false | N: parse: dotted version number parser in OSC import resolution; no wait or hand-off | `for (;;) {` | +| OM-209 | omega | `src/omega_resolve.c` | 226 | `read_file` | whole-file read | - | N | false | N: read: grows a buffer and reads a whole file (size-capped); no wait or hand-off | `for (;;) {` | +| OM-210 | omega | `src/omega_vcstore.c` | 683 | `omega_vcstore_load` | crumb store file read | - | N | false | N: read: reads the Verified Crumb Store file into memory before parsing; no wait or hand-off | `for (;;) {` | +| OM-211 | omega | `src/oscv_main.c` | 48 | `slurp` | source file read | - | N | false | N: read: reads one source file (size-capped) in the oscv driver; no wait or hand-off | `for (;;) {` | +| OM-212 | omega | `src/physics0/ladder/pd0_ladder.c` | 297 | `try_t5` | PD-0 T5 schedule-reuse check | - | N | false | N: scan: scans recorded episodes for a reused pre-registered experiment schedule (an experiment input sequence, data, not a task scheduler); verifier check, no wait or hand-off | `for (uint32_t i = 0; i < c->nep; i++) { const episode *ep = &c->ep[i]; if (!ep->has_tag \|\| ep->tag > TAG_HOLDOUT \|\| ep->n == 0) continue;` | +| OM-213 | omega | `src/physics0/ladder/pd0_ladder.c` | 299 | `try_t5` | PD-0 T5 pre-registration reuse check | - | N | false | N: scan: scans earlier pre-registrations for the same experiment schedule hash (data); verifier check, no wait or hand-off | `for (uint32_t i = 0; i < c->npre; i++) if (!memcmp(c->pre[i].e.schedule_hash, e->schedule_hash, PD0_HASH)) { set_code(c, 5, PD0V_T5_SCHEDULE_REUSED); return PD0V_T5_SCHEDULE_REUSED; }` | +| OM-214 | omega | `src/physics0/ladder/pd0_ladder.c` | 345 | `try_t7` | PD-0 T7 batch walk | - | N | false | N: walk: walks recorded replication batches and scores them (experiment schedules are data); verifier check, no wait or hand-off | `for (uint32_t b = 0; b < c->nbat; b++) { nrmse_acc a; memset(&a, 0, sizeof a); const pd0_rec *first = NULL, *last = NULL; if (batch_voids(c, b) > 3) continue;` | +| OM-215 | omega | `src/physics0/ladder/pd0_ladder.c` | 346 | `try_t7` | PD-0 T7 episode walk | - | N | false | N: walk: walks the episodes of one batch and scores their rollouts; verifier check, no wait or hand-off | `for (uint32_t i = 0; i < c->nep; i++) { const episode *ep = &c->ep[i]; if (!(ep->has_tag && ep->tag == TAG_REP && ep->batch_id == c->bat[b].b.batch_id && ep_ok_steps(c, ep) >= n)) continue;` | +| OM-216 | omega | `src/physics0/ladder/pd0_ladder.c` | 349 | `try_t7` | PD-0 T7 stream-reuse check | - | N | false | N: scan: compares one episode's schedule hash against every other episode (freshness check, data); no wait or hand-off | `for (uint32_t j = 0; j < c->nep; j++) if (j != i && c->ep[j].n && ep_schedule_hash(c, &c->ep[j], (uint8_t)n, h2) && !memcmp(h1, h2, PD0_HASH)) { set_code(c, 7, PD0V_T7_STREAM_REUSED); return PD0V_T7_STREAM_REUSED; }` | +| OM-217 | omega | `src/physics0/learner/pd0_learner.c` | 251 | `pd0_learner_propose` | PD-0 learner candidate experiment sampling | - | N | false | N: sample: samples random candidate experiment schedules and keeps the most discriminating one; no wait or hand-off | `for (uint32_t idx = 0; idx < n_random; idx++) {` | +| OM-218 | omega | `src/physics0/pd0_world.c` | 215 | `pd0_world_serve` | PD-0 world request/response server | PD-0 world framed fd protocol | F | false | reads one length-framed request from the learner, answers it, writes one framed response, until EOF (pd0-world binary and physics0 tests; same shape as OM-088); I/O mechanics, the peer chooses every request, decides no faculty order | `for (;;) {` | +| OM-219 | omega | `src/physics0/planner/pd0_planner.c` | 170 | `pd0p_propose` | PD-0 planner candidate sampling | - | N | false | N: sample: draws and evaluates random candidate experiments; no wait or hand-off | `for (uint32_t i = 0; i < PD0P_CANDIDATES; i++) {` | +| OM-220 | omega | `src/physics0/planner/pd0_planner.c` | 178 | `pd0p_propose` | PD-0 planner refinement of top candidates | - | N | false | N: arithmetic: local random refinement of the best candidates (bounded rounds); no wait or hand-off | `for (uint32_t t = 0; t < PD0P_REFINE_TOP && t < PD0P_CANDIDATES; t++) {` | +| OM-221 | omega | `src/physics0/planner/pd0_planner.c` | 179 | `pd0p_propose` | PD-0 planner refinement rounds | - | N | false | N: arithmetic: bounded refinement rounds of one candidate; no wait or hand-off | `for (uint32_t round = 0; round < PD0P_REFINE_ROUNDS; round++) {` | +| OM-222 | omega | `src/tensor/omega_tensor_store.c` | 133 | `read_upto` | tensor file read | - | N | false | N: read: bounded file read with EINTR retry that also detects a longer-than-expected file; no wait or hand-off | `for (;;) {` | +| OM-223 | omega | `tests/dual/dual_traces.c` | 18 | `dual_trace_constant` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < n; i++) tick(out, i, gen0 + i, est, sd);` | +| OM-224 | omega | `tests/dual/dual_traces.c` | 31 | `dual_trace_scenario` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, (i < 100) ? 4000.0 : 6000.0, DUAL_SD);` | +| OM-225 | omega | `tests/dual/dual_traces.c` | 35 | `dual_trace_scenario` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, ((i % 50) < 25) ? 6000.0 : 4000.0, DUAL_SD);` | +| OM-226 | omega | `tests/dual/dual_traces.c` | 45 | `dual_trace_scenario` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < N; i++) { tick(out, i, i + 1, 5500.0, DUAL_SD); out->t[i].regime_change = (i >= 80 && i < 120) ? 1u : 0u; }` | +| OM-227 | omega | `tests/dual/dual_traces.c` | 50 | `dual_trace_scenario` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < N; i++) {` | +| OM-228 | omega | `tests/dual/dual_traces.c` | 67 | `dual_trace_scenario` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, 3000.0 + 4000.0 * (double)i / 199.0, DUAL_SD);` | +| OM-229 | omega | `tests/dual/dual_traces.c` | 71 | `dual_trace_scenario` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL test trace generator (synthetic data ticks); test code, not built into any production binary | `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, (i < 100) ? 6000.0 : 5000.0, DUAL_SD);` | +| OM-230 | omega | `tests/dual/test_dual_types.c` | 384 | `test_properties` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL-0a contract test property rounds; test code, not built into any production binary | `for (int round = 0; round < PROP_ROUNDS; round++) {` | +| OM-231 | omega | `tests/dual/test_dual_update.c` | 170 | `test_properties` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL-1a reference update test property rounds; test code, not built into any production binary | `for (int round = 0; round < PROP_ROUNDS; round++) {` | +| OM-232 | omega | `tests/dual/test_dual_update.c` | 178 | `test_properties` | test/benchmark loop (for:body:tick) | test / reference path | D | false | DUAL-1a reference update test property rounds; test code, not built into any production binary | `for (uint64_t t = 2; t <= 40; t++) {` | +| OM-233 | omega | `tests/gpu_attention_test.c` | 573 | `sim_launch` | test/benchmark loop (for:unbounded) | test / reference path | D | false | FB-1 cut 5 attention gate, host simulator launch; test code, not built into any production binary | `for (;;) {` | +| OM-234 | omega | `tests/model/world_diff.c` | 205 | `model_obs` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (uint32_t r = 0; r < WM_N; r++) {` | +| OM-235 | omega | `tests/model/world_diff.c` | 228 | `settle` | test/benchmark loop (for:unbounded+yield) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (;;) {` | +| OM-236 | omega | `tests/model/world_diff.c` | 237 | `settle` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (uint32_t r = 0; r < WM_N; r++) {` | +| OM-237 | omega | `tests/model/world_diff.c` | 276 | `obs_diff` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (uint32_t i = 0; i < WM_N; i++) {` | +| OM-238 | omega | `tests/model/world_diff.c` | 375 | `replay` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (int i = 0; i < n && !mismatch; i++) {` | +| OM-239 | omega | `tests/model/world_diff.c` | 453 | `directed_cancel` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (int i = 0; i < n; i++) {` | +| OM-240 | omega | `tests/model/world_diff.c` | 528 | `directed_deadline` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (int i = 0; i < n; i++) {` | +| OM-241 | omega | `tests/model/world_diff.c` | 540 | `directed_deadline` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (uint32_t x = 0; x < WM_N; x++)` | +| OM-242 | omega | `tests/model/world_diff.c` | 615 | `stress_tick` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary | `for (int i = 0; i < 200; i++) {` | +| OM-243 | omega | `tests/model/world_model.c` | 59 | `try_admit` | test/benchmark loop (for:unbounded) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (;;) {` | +| OM-244 | omega | `tests/model/world_model.c` | 97 | `release_parked` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (uint32_t i = 0; i < WM_N; i++) {` | +| OM-245 | omega | `tests/model/world_model.c` | 120 | `end_activation` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (uint32_t i = 0; i < WM_N; i++) /* tick_parked */` | +| OM-246 | omega | `tests/model/world_model.c` | 153 | `cancel` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (uint32_t x = 0; x < WM_N; x++) {` | +| OM-247 | omega | `tests/model/world_model.c` | 187 | `check` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (uint32_t r = 0; r < WM_N; r++)` | +| OM-248 | omega | `tests/model/world_model.c` | 204 | `wm_step` | test/benchmark loop (for:body:tick) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (uint32_t i = 0; i < WM_N; i++)` | +| OM-249 | omega | `tests/model/world_model.c` | 263 | `wm_key` | test/benchmark loop (for:body:yield) | test / reference path | D | false | lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary | `for (uint32_t r = 0; r < WM_N; r++) {` | +| OM-250 | omega | `tests/physics0/learner/pd0_harness.c` | 203 | `main` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 learner development harness; test code, not built into any production binary | `for (uint32_t a = 0; a < 3; a++) {` | +| OM-251 | omega | `tests/physics0/learner/pd0_harness.c` | 218 | `main` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 learner development harness; test code, not built into any production binary | `for (int t = 0, voids = 0; t < 5 + voids; t++) { static pd0_exp x; memset(&x, 0, sizeof x);` | +| OM-252 | omega | `tests/physics0/learner/pd0_harness.c` | 236 | `main` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 learner development harness; test code, not built into any production binary | `for (uint32_t bt = 0; bt < 3; bt++) for (uint32_t redraw = 0; redraw <= 3; redraw++) { pd0_batch bb = { bt + 1 + 10 * redraw, R.seed * 100 + bt + 1 + 50 * redraw, 10 }; append(&R, LEDG_BATCH, pl, (uint32_t)pd0_batch_write(&bb, pl));` | +| OM-253 | omega | `tests/physics0/learner/pd0_harness.c` | 238 | `main` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 learner development harness; test code, not built into any production binary | `for (uint32_t e = 0; good < 10 && voids <= 3; e++) { uint8_t origin = (good & 1) ? ORIGIN_RANDOM : ORIGIN_PLANNER; static pd0_exp x;` | +| OM-254 | omega | `tests/physics0/learner/pd0_harness.c` | 268 | `main` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 learner development harness; test code, not built into any production binary | `for (int i = 0; i < 20 && n_score_eps < 20; ) { pd0_score_episode *e = &eps[n_score_eps]; memset(e, 0, sizeof *e); e->in_box = i < 10;` | +| OM-255 | omega | `tests/physics0/pd0_calib.c` | 83,90 | `pd0_calib_gather` | test/benchmark loop (for:unbounded) | test / reference path | D | false | PD-0 oracle calibration helper (test/calibration build only, mk/physics0.mk P0_CALIB); test code, not built into any production binary | `for (;;) {` | +| OM-256 | omega | `tests/physics0/pd0_sparse.c` | 15 | `build_library` | test/benchmark loop (for:unbounded) | test / reference path | D | false | PD-0 sparse-regression calibration helper (test/calibration build only, mk/physics0.mk P0_CALIB); test code, not built into any production binary | `for (;;) {` | +| OM-257 | omega | `tests/physics0/planner/pd0_plan_eff.c` | 124 | `run_strategy` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 planner efficiency comparison (development evidence); test code, not built into any production binary | `for (ep = 0; ep < EP_CAP; ep++) {` | +| OM-258 | omega | `tests/physics0/planner/pd0_plan_eff2.c` | 155 | `run_strategy` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 planner efficiency comparison cut 2 (development evidence); test code, not built into any production binary | `for (ep = 0; ep < EP_CAP && !done; ep++) {` | +| OM-259 | omega | `tests/physics0/verify/bundle.h` | 58 | `b_build` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary | `for (int e = 0; e < 10; e++) { b_random_schedule(b, reset, steps, 100); b_episode(b, reset, steps, 100, w); }` | +| OM-260 | omega | `tests/physics0/verify/bundle.h` | 84 | `b_build` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary | `for (int t = 0; t < n_trials; t++) { memset(x, 0, sizeof *x); x->n_obs = 2; x->n_hyp = 2; x->n_steps = 20; b->oob_at = (o->void_trial && t == 2) ? 5 : 0;` | +| OM-261 | omega | `tests/physics0/verify/bundle.h` | 97 | `b_build` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary | `for (uint32_t bt = 0; bt < n_batches; bt++) { pd0_batch bb = { bt + 1, o->batch_seed_reuse ? 1000u : 1000u + bt, 10 }; b_append(b, LEDG_BATCH, pl, (uint32_t)pd0_batch_write(&bb, pl));` | +| OM-262 | omega | `tests/physics0/verify/bundle.h` | 99 | `b_build` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary | `for (int e = 0, good = 0; e < n_run; e++) { int is_void = e < n_void; b->oob_at = is_void ? 5 : 0; int idx = is_void ? e : good; b_tag(b, b->episode, TAG_REP, bt + 1, o->all_planner ? ORIGIN_PLANNER : (idx & 1) ? ORIGIN_RANDOM : ORIGIN_PLANNER); b_random_schedule(b, reset, steps, 20); b_episode(b, reset, steps, 20, w); if (!is_void) good++; }` | +| OM-263 | omega | `tests/physics0/verify/test_pd0_score.c` | 62 | `main` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | PD-0 scorer and negative-control test; test code, not built into any production binary | `for (uint64_t s = 1; s <= 5; s++) { bundle b; b_init(&b, 1, s); int64_t reset[2]; pd0_step steps[100]; for (int e = 0; e < 10; e++) { b_random_schedule(&b, reset, steps, 100); b_episode(&b, reset, steps, 100, &b.w); }` | +| OM-264 | omega | `tests/runtime/rx_c4_requal.c` | 298 | `kill_sweep` | test/benchmark loop (for:body:nanosleep) | test / reference path | D | false | C4 local-runtime requalification kill sweep; test code, not built into any production binary | `for (int i = 0; i < n; i++) {` | +| OM-265 | omega | `tests/runtime/rx_deadline_cancel.c` | 102 | `wait_both_in_fn` | test/benchmark loop (for:unbounded+nanosleep) | test / reference path | D | false | HD-09 deadline-cancel test waits and CHECK macro; test code, not built into any production binary | `for (;;) {` | +| OM-266 | omega | `tests/runtime/rx_deadline_cancel.c` | 117 | `wait_d_ended` | test/benchmark loop (for:unbounded+nanosleep) | test / reference path | D | false | HD-09 deadline-cancel test waits and CHECK macro; test code, not built into any production binary | `for (;;) {` | +| OM-267 | omega | `tests/runtime/rx_deadline_cancel.c` | 145 | `CHECK` | test/benchmark loop (do:body:tick) | test / reference path | D | false | HD-09 deadline-cancel test waits and CHECK macro; test code, not built into any production binary | `#define CHECK(cond, ...) do { \` | +| OM-268 | omega | `tests/runtime/rx_i11_wake_merge.c` | 67 | `gate` | test/benchmark loop (for:unbounded+yield) | test / reference path | D | false | I11 wake-merge test gate; test code, not built into any production binary | `for (;;) {` | +| OM-269 | omega | `tests/test_omega_gpu_engine_gb10.c` | 52 | `park_if_blocked` | test/benchmark loop (for:unbounded) | test / reference path | D | false | Omega GPU Engine chip test park helper; test code, not built into any production binary | `for (;;) pause();` | +| OM-270 | omega | `tests/test_omega_gpu_wait.c` | 72 | `mut_loop` | test/benchmark loop (for:unbounded) | test / reference path | D | false | host test of the GPU wait primitive (mutant loop); test code, not built into any production binary | `for (;;) {` | +| OM-271 | omega | `tests/test_omega_resolve.c` | 397 | `slurp_file` | test/benchmark loop (for:unbounded) | test / reference path | D | false | OSC import-resolution test file read; test code, not built into any production binary | `for (;;) {` | +| OM-272 | omega | `tools/quietlock/quietlock.c` | 794 | `cmd_hold` | quiet-flag hold waits for its command | operator quiet-flag lock (HD-13) | B | false | explicit operator/maintenance mechanism: `quietlock hold` waits (waitpid) for the one command it started, logs one advisory overrun warning, never kills; decides no faculty order | `for (;;) {` | +| OM-273 | omega | `tools/quietlock/quietlock.c` | 829 | `cmd_hold` | quiet-flag hold waits for leftover group members | operator quiet-flag lock (HD-13) | B | false | explicit operator/maintenance mechanism: keeps the quiet flag until the held job's process group is empty, checking once a second, never kills; decides no faculty order | `while (group_alive((long)child)) {` | | SC-001 | aien-sovereign-core | `benchmarks/crates/bench_apples_to_apples/src/engine_max.rs` | 55 | `start` | test/benchmark loop (while:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while start.elapsed() < timeout {` | | SC-002 | aien-sovereign-core | `benchmarks/crates/bench_apples_to_apples/src/telemetry.rs` | 96 | `start` | test/benchmark loop (while:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while !stop_clone.load(Ordering::Relaxed) {` | | SC-003 | aien-sovereign-core | `benchmarks/crates/bench_apples_to_apples/src/telemetry.rs` | 168 | `enforce_thermal_cooldown` | test/benchmark loop (while:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while start.elapsed() < max_wait {` | @@ -340,8 +414,8 @@ any production binary); in-file Rust `#[cfg(test)]` modules likewise. | SC-040 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 270 | `test_end_to_end_subagent_branching_with_independent_sinks` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Ok(event) = rx_parent.try_recv() {` | | SC-041 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 282 | `test_end_to_end_subagent_branching_with_independent_sinks` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Ok(event) = rx_child1.try_recv() {` | | SC-042 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 294 | `test_end_to_end_subagent_branching_with_independent_sinks` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Ok(event) = rx_child2.try_recv() {` | -| SC-043 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 387 | `test_end_to_end_blackwell_hardware_execution_if_available` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `let _ = spine.run_until_complete(&mut backend, 15).await.unwrap();` | -| SC-044 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 390 | `test_end_to_end_blackwell_hardware_execution_if_available` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Ok(event) = rx.try_recv() {` | +| SC-043 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 387 | `test_end_to_end_gb10_hardware_execution_if_available` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test, benchmark or example code; not built into any production binary. Re-anchored 2026-10-05 (§8.3): enclosing test renamed from `test_end_to_end_blackwell_hardware_execution_if_available` in sovereign-core 14126c6 (#189), loop unchanged | `let _ = spine.run_until_complete(&mut backend, 15).await.unwrap();` | +| SC-044 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 390 | `test_end_to_end_gb10_hardware_execution_if_available` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary. Re-anchored 2026-10-05 (§8.3): enclosing test renamed from `test_end_to_end_blackwell_hardware_execution_if_available` in sovereign-core 14126c6 (#189), loop unchanged | `while let Ok(event) = rx.try_recv() {` | | SC-045 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 496 | `release_golden_path_records_whether_gb10_ran` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `let _ = spine.run_until_complete(&mut backend, 20).await.unwrap();` | | SC-046 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 498 | `release_golden_path_records_whether_gb10_ran` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Ok(event) = rx.try_recv() {` | | SC-047 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 504 | `release_golden_path_records_whether_gb10_ran` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Ok(event) = child_rx.try_recv() {` | @@ -388,6 +462,41 @@ any production binary); in-file Rust `#[cfg(test)]` modules likewise. | SC-088 | aien-sovereign-core | `crates/spark-mail-rs/src/smtp_server.rs` | 56,85 | `handle_smtp_session` | SMTP session loop | SMTP server | F | false | SMTP command loop; external protocol | `loop {` | | SC-089 | aien-sovereign-core | `crates/spark-supervisor/src/supervisor.rs` | 80 | `run_daemon` | supervisor signal wait | maintenance: service supervisor | B | false | waits for termination signal and stops managed services; operator control. LEGACY / NOT-IN-CHARGE | `loop {` | | SC-090 | aien-sovereign-core | `crates/spark-supervisor/src/supervisor.rs` | 129 | `supervise_loop` | child restart loop | maintenance: service supervisor | B | false | restarts a managed process when it exits; process supervision, not faculty order | `loop {` | +| SC-091 | aien-sovereign-core | `crates/aien-cli/src/commands.rs` | 1130 | `sha256_file_hex` | checkpoint file hash read | - | N | false | N: read: reads a file in 1 MiB chunks to hash it; no wait or hand-off. LEGACY / NOT-IN-CHARGE (Q2=A) | `loop {` | +| SC-092 | aien-sovereign-core | `crates/aien-dual-observation/tests/snapshot_conservation.rs` | 113 | `run_and_snapshot` | test/benchmark loop (named:max_steps) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `max_steps: usize,` | +| SC-093 | aien-sovereign-core | `crates/aien-dual-observation/tests/snapshot_conservation.rs` | 126 | `run_and_snapshot` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for r in requests {` | +| SC-094 | aien-sovereign-core | `crates/aien-dual-observation/tests/snapshot_conservation.rs` | 136 | `run_and_snapshot` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while steps < max_steps` | +| SC-095 | aien-sovereign-core | `crates/aien-inference-abi/tests/tinyllama_noise_floor.rs` | 133 | `sha256_file` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` | +| SC-096 | aien-sovereign-core | `crates/aien-runtime/src/spine.rs` | 264 | `prefill_pending_swarm_roots` | swarm root prompt prefill | LLM request serving (not replaced) | E | false | spec §3.1 Q1=A: prefills each pending swarm root prompt in the token scheduler and forks its branches; part of the spine's LLM request serving (same kind as SC-035), not replaced; LEGACY / NOT-IN-CHARGE of faculty order | `for (swarm_id, root_kv_id, prompt) in self.swarm_manager.pending_root_prefills() {` | +| SC-097 | aien-sovereign-core | `crates/aien-runtime/src/spine.rs` | 390 | `handle_control_command` | swarm cancel frees scheduler sequence ids | LLM request serving (not replaced) | E | false | spec §3.1 Q1=A: on an operator swarm-cancel command, frees the released sequence ids in the token scheduler arena so they are never admitted again; physical slot reclaim of the spine, not replaced; LEGACY / NOT-IN-CHARGE of faculty order | `for &id in &released {` | +| SC-098 | aien-sovereign-core | `crates/aien-runtime/tests/prefill_e2e0.rs` | 137 | `sha256_file_hex` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` | +| SC-099 | aien-sovereign-core | `crates/aien-runtime/tests/prefill_e2e0.rs` | 908 | `prefill_e2e0_real_checkpoint_swarm_gate` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (spine.scheduler.running_count() > 0` | +| SC-100 | aien-sovereign-core | `crates/aien-runtime/tests/prefill_e2e1.rs` | 140 | `sha256_file_hex` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` | +| SC-101 | aien-sovereign-core | `crates/aien-runtime/tests/prefill_e2e1.rs` | 964 | `run_one` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while spine.scheduler.running_count() > 0` | +| SC-102 | aien-sovereign-core | `crates/aien-runtime/tests/prefill_e2e2.rs` | 173 | `sha256_file_hex` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` | +| SC-103 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_cancel_readmit_test.rs` | 143 | `cancelled_swarm_branches_are_never_readmitted` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (backend.decodes == 0 \|\| spine.scheduler.waiting_count() == 0) && steps < 20 {` | +| SC-104 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` | 181 | `prefill_gate_swarm_branches_never_decode_before_root_prompt_prefill` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0)` | +| SC-105 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` | 577 | `branch_first_decode_logits_equal_root_continuation_logits` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0) && steps < 50` | +| SC-106 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` | 679 | `backend_fork_carries_parent_pending_prefill_token` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0) && steps < 50` | +| SC-107 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` | 753 | `sampled_branches_diverge_and_each_matches_its_own_teacher_forced_control` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0)` | +| SC-108 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_reclaim_test.rs` | 206 | `swarm_completion_reclaims_backend_kv_arena_and_worlds` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0) && steps < 50` | +| SC-109 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_common/mod.rs` | 306 | `run` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for action in &scenario.actions {` | +| SC-110 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_common/mod.rs` | 322 | `run` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for child in child_slots {` | +| SC-111 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_common/mod.rs` | 330 | `run` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..*n {` | +| SC-112 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_common/mod.rs` | 336 | `run` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while ran < *max` | +| SC-113 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_decision_golden.rs` | 91 | `drained_scenarios_leak_nothing` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for s in scenarios() {` | +| SC-114 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_observer_overhead_bench.rs` | 76 | `arm` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..ROUNDS {` | +| SC-115 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_observer_overhead_bench.rs` | 83 | `arm` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for s in &set {` | +| SC-116 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_observer_overhead_bench.rs` | 201 | `dual_observer_overhead_interleaved` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for s in &set {` | +| SC-117 | aien-sovereign-core | `crates/aien-scheduler/tests/dual_observer_parity.rs` | 266 | `fanout_children_enter_decode_on_existing_tables` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for name in ["fanout_32_way", "fanout_500_way"] {` | +| SC-118 | aien-sovereign-core | `crates/aien-switchboard/src/dispatch.rs` | 49 | `run_job` | AI-account failover for one job | account router (ADR 0030) | E | false | routes one job to one of our own AI accounts and, on a usage-limit hit, re-routes to the next; each account tried at most once, so it always ends; schedules a rate-limited account resource for one job, decides no faculty order; pure library, omega does not link it (`dispatch` is the crate's job word, not faculty dispatch) | `loop {` | +| SC-119 | aien-sovereign-core | `crates/spark-mail-rs/src/relay.rs` | 185 | `relay_case` | test fake SMTP relay session | test / reference path | D | false | inside `#[cfg(test)] mod tests`: scripted fake relay for the relay tests; test code, not built into any production binary | `loop {` | +| SC-120 | aien-sovereign-core | `crates/spark-mail-rs/src/relay.rs` | 281 | `fake_relay` | test fake SMTP relay session | test / reference path | D | false | inside `#[cfg(test)] mod tests`: scripted fake relay for the relay tests; test code, not built into any production binary | `loop {` | +| SC-121 | aien-sovereign-core | `tools/aien-test/src/process.rs` | 110 | `spawn` | gate runner spawn ETXTBSY retry | aien-test gate runner (ADR 0028) tooling | D | false | test infrastructure: retries spawning a gate command up to 40 times while a just-written script is busy (ETXTBSY); runs test gates, not production | `loop {` | +| SC-122 | aien-sovereign-core | `tools/aien-test/src/resources.rs` | 425 | `flock_exclusive` | gate runner flock EINTR retry | aien-test gate runner (ADR 0028) tooling | D | false | test infrastructure: resource-pool file lock with EINTR retry (same kind as SC-025) | `loop {` | +| SC-123 | aien-sovereign-core | `tools/aien-test/src/resources.rs` | 633 | `gpu_lock_release_waits_for_a_child_between_fork_and_exec` | test/benchmark loop (for:body:poll) | test / reference path | D | false | inside the module's `#[cfg(test)]` tests (from line 474): GPU-lock release test rounds; test code, not built into any production binary | `for round in 0..3 {` | +| SC-124 | aien-sovereign-core | `tools/aien-test/src/runner.rs` | 872 | `worker` | gate runner worker thread | aien-test gate runner (ADR 0028) tooling | D | false | test infrastructure: worker thread runs ready test gates (dependencies first, resource pools honoured) until none remain; orders test gates, not faculties | `loop {` | +| SC-125 | aien-sovereign-core | `tools/aien-test/src/runner.rs` | 875 | `worker` | gate runner worker pick wait | aien-test gate runner (ADR 0028) tooling | D | false | test infrastructure: worker waits on a condvar until a test gate is ready; orders test gates, not faculties | `let pick = loop {` | | AR-001 | aegis-runtime | `src/agent.rs` | 99 | `execute_task` | execute_task max_turns parameter | retired by non-use | A | false | AgentEngine::execute_task tool-turn loop bound; migration map 'Oracle -> retire'; spec §3.1 class A, retired by non-use (Q2=A, no Rust edit). LEGACY / NOT-IN-CHARGE | `max_turns: usize,` | | AR-002 | aegis-runtime | `src/agent.rs` | 130 | `execute_task` | LLM agent tool-turn loop | retired by non-use | A | false | migration map agent.rs:130 tool-turn loop; spec §3.1 class A, retired by non-use; omega links/execs nothing from aegis-runtime. LEGACY / NOT-IN-CHARGE | `for turn in 1..=max_turns {` | | AR-003 | aegis-runtime | `src/agent.rs` | 132 | `execute_task` | tool-turn loop log line | retired by non-use | A | false | inside the agent.rs:130 loop. LEGACY / NOT-IN-CHARGE | `info!("Agent loop turn {}/{}", turn, max_turns);` | @@ -440,6 +549,70 @@ any production binary); in-file Rust `#[cfg(test)]` modules likewise. | AO-030 | aienos | `native/capability/aienos_capability.c` | 65 | `take_boot_gen` | boot-generation CAS retry | - | N | false | N: CAS retry: boot generation atomic CAS retry without wait or hand-off | `for (;;) {` | | AO-031 | aienos | `native/capability/aienos_capability.c` | 174 | `chain_ok` | capability chain walk | - | N | false | N: walk: capability delegation chain walk without wait or hand-off | `for (;;) {` | | AO-032 | aienos | `native/capability/aienos_capability.c` | 190 | `ancestor_hops` | ancestor hop count walk | - | N | false | N: walk: ancestor hop count traversal walk without wait or hand-off | `for (;;) {` | +| AO-033 | aienos | `crates/aienos-fpu-probe/src/lib.rs` | 12 | `panic` | FPU probe panic halt | probe halt | E | false | `#[panic_handler]` of the FPU probe staticlib: spins forever after a panic; final CPU halt (same kind as AO-010), decides nothing | `loop {}` | +| AO-034 | aienos | `crates/aienos-infer-kernel/src/lib.rs` | 226 | `run` | kernel-side greedy decode loop | - | N | false | N: token: greedy decode of one inference request, argmax then forward per token, bounded by EOT or MAX_NEW; no wait or hand-off | `loop {` | +| AO-035 | aienos | `crates/aienos-infer/examples/l6_host.rs` | 144 | `main` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` | +| AO-036 | aienos | `crates/aienos-infer/src/tokenizer.rs` | 188 | `encode` | tokenizer special-token split | - | N | false | N: token: splits input text at special tokens while encoding; no wait or hand-off | `loop {` | +| AO-037 | aienos | `crates/aienos-infer/src/tokenizer.rs` | 265 | `bpe_word` | BPE merge loop | - | N | false | N: bpe: repeatedly applies the best-ranked BPE merge (same kind as AO-016); no wait or hand-off | `loop {` | +| AO-038 | aienos | `native/argus/argus_core.c` | 996 | `argus_core_state_digest` | ARGUS state digest capability walk | - | N | false | N: walk: walks capability shadows to fold them into the state digest; no wait or hand-off | `for (uint32_t i = 0; i < ARGUS_CORE_CAPS; i++) {` | +| AO-039 | aienos | `native/argus/argus_core.c` | 1011 | `argus_core_state_digest` | ARGUS state digest machine walk | - | N | false | N: walk: walks machine shadows to fold them into the state digest; no wait or hand-off | `for (uint32_t i = 0; i < v->n_machines; i++) {` | +| AO-040 | aienos | `native/argus/tests/bench_argus_ring.c` | 89 | `consumer` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-041 | aienos | `native/argus/tests/test_argus_contain.c` | 238 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for(uint64_t i=0;in; i++) {` | +| AO-049 | aienos | `native/argus/tests/test_argus_integration.c` | 352 | `producer_main` | test/benchmark loop (for:unbounded+yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-050 | aienos | `native/argus/tests/test_argus_integration.c` | 410 | `consumer_main` | test/benchmark loop (for:unbounded+sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-051 | aienos | `native/argus/tests/test_argus_integration.c` | 598 | `sat_consumer_main` | test/benchmark loop (for:unbounded+yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-052 | aienos | `native/argus/tests/test_argus_integration.c` | 649 | `gate_saturation` | test/benchmark loop (for:unbounded+yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-053 | aienos | `native/argus/tests/test_argus_ring.c` | 305 | `consumer` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-054 | aienos | `native/disk/disk_nvme.c` | 145 | `submit` | NVMe completion poll | NVMe completion poll | E | true | bounded poll of the NVMe completion-queue phase bit with fatal-status and timeout guards; hardware polling | `for (uint64_t i = 0;; i++) {` | +| AO-055 | aienos | `native/kernel/core/m3.c` | 55 | `yield_now` | M3 check cooperative yield | C-kernel M3 isolation self-check | D | false | m3.c is the M3 isolation self-check (port of the Rust thread.rs demos, cf. AO-023/024); picks the next runnable demo thread from the check's own run queue; self-test only | `for (unsigned i = 0; i < TMAX; i++) {` | +| AO-056 | aienos | `native/kernel/core/m3.c` | 75 | `ck_thread_exit` | M3 check thread exit | C-kernel M3 isolation self-check | D | false | M3 self-check: an exited demo thread yields forever; self-test only | `for (;;)` | +| AO-057 | aienos | `native/kernel/core/m3.c` | 100 | `thread_worker` | M3 check demo worker | C-kernel M3 isolation self-check | D | false | M3 self-check: demo worker records its tag and yields five times (ABAB trace); self-test only | `for (int i = 0; i < 5; i++) {` | +| AO-058 | aienos | `native/kernel/core/m3.c` | 115 | `check_threads` | M3 check driver | C-kernel M3 isolation self-check | D | false | M3 self-check: yields until both demo threads finish, then prints the interleave; self-test only | `while (ok && (runnable[0] \|\| runnable[1] \|\| runnable[2] \|\| runnable[3]))` | +| AO-059 | aienos | `native/kernel/core/m3.c` | 134 | `preempt_worker` | M3 preemption demo worker | C-kernel M3 isolation self-check | D | false | M3 self-check: spinning worker that proves timer preemption (same kind as AO-023/024); self-test only | `for (;;) {` | +| AO-060 | aienos | `native/kernel/core/report.c` | 73 | `ck_reset` | reset/power-off halt | kernel halt | E | true | after PSCI SYSTEM_RESET / SYSTEM_OFF, final wfi halt of the CPU (same kind as AO-010); physical | `for (;;)` | +| AO-061 | aienos | `native/kernel/core/smp.c` | 74 | `ck_smp_secondary_main` | secondary core park | kernel SMP bring-up | E | true | secondary core checks in, then parks in wfe; physical CPU state | `for (;;)` | +| AO-062 | aienos | `native/kernel/core/smp.c` | 203 | `ck_smp_run` | SMP check-in wait | kernel SMP bring-up | E | true | bounded wait (CK_SMP_TIMEOUT_US) for started secondary cores to check in; hardware bring-up polling | `for (;;) {` | +| AO-063 | aienos | `native/kernel/dev/nvme_shutdown.c` | 29 | `ck_nvme_shutdown` | NVMe shutdown status poll | NVMe shutdown | E | true | bounded poll of NVMe CSTS for shutdown complete, fatal or gone; hardware polling | `for (;;) {` | +| AO-064 | aienos | `native/kernel/dev/nvme_shutdown.c` | 62 | `ck_nvme_disable` | NVMe disable status poll | NVMe shutdown | E | true | bounded poll of NVMe CSTS for ready-clear; hardware polling | `for (;;) {` | +| AO-065 | aienos | `native/kernel/svc/continuity_boot.c` | 238 | `cont_hook` | continuity test halt | test / reference path | D | false | file is TEST-ONLY (empty unless CK_TEST_CONTINUITY=1): halts at the planned checkpoint so the host can kill QEMU; test code | `for (;;) __asm__ volatile("wfi");` | +| AO-066 | aienos | `native/kernel/svc/store_crash.c` | 236 | `power_cut` | store crash test power-cut halt | test / reference path | D | false | file is TEST-ONLY (empty unless CK_TEST_STORE_CRASH=1): simulated power cut halts so the host can kill QEMU; test code | `for (;;) __asm__ volatile("wfi");` | +| AO-067 | aienos | `native/kernel/tests/test_sched.c` | 29 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 20; i++)` | +| AO-068 | aienos | `native/kernel/tests/test_sched.c` | 39 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 8; i++)` | +| AO-069 | aienos | `native/kernel/tests/test_sched.c` | 54 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 7; i++)` | +| AO-070 | aienos | `native/kernel/tests/test_sched.c` | 62 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 80; i++)` | +| AO-071 | aienos | `native/kernel/tests/test_sched.c` | 97 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 4; i++)` | +| AO-072 | aienos | `native/kernel/tools/ck_artifact_tool.c` | 53 | `readf` | host tool input read | - | N | false | N: read: host tool reads its input into a growing buffer (64 MiB cap); no wait or hand-off | `for (;;) {` | +| AO-073 | aienos | `native/kernel/tools/ck_udp_echo.c` | 77 | `main` | QEMU net test UDP echo | test / reference path | D | false | host-side UDP echo helper for the AIENOS_CK_NET QEMU gate; test tooling only, never in the kernel image | `for (;;) {` | +| AO-074 | aienos | `native/m5/tools/m5_migsig.c` | 93 | `read_small` | host tool file read | - | N | false | N: read: small-file read with EINTR retry in the M5 migration-record tool; no wait or hand-off | `for (;;) {` | +| AO-075 | aienos | `native/net/aienos_virtio_net.c` | 298 | `vnet_tx_reclaim` | virtio-net TX reclaim | virtio-net TX ring | E | true | reclaims used TX descriptors from the device ring until none are left; hardware ring mechanics (same kind as AO-028) | `for (;;) {` | +| AO-076 | aienos | `native/net/tests/ctl_test.c` | 84 | `run` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint64_t now = 0; now < limit; now++) {` | +| AO-077 | aienos | `native/net/tests/ctl_test.c` | 85 | `run` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int e = 0; e < 2; e++) {` | +| AO-078 | aienos | `native/net/tests/ctl_test.c` | 93 | `run` | test/benchmark loop (for:unbounded+poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` | +| AO-079 | aienos | `native/net/tests/ctl_test.c` | 305 | `test_refusals` | test/benchmark loop (while:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (ct_poll_tx(&a, t, f, sizeof f, &n) != CT_ERR_LINK_DOWN) t++;` | +| AO-080 | aienos | `native/net/tests/ctl_test.c` | 351 | `tx_schedule` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint64_t t = 0; t < 100000; t++) {` | +| AO-081 | aienos | `native/net/tests/ctl_test.c` | 363 | `test_resend_schedule` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t q = 0; q < 64; q++) {` | +| AO-082 | aienos | `native/net/tests/ctl_test.c` | 386 | `test_resend_schedule` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t q = 0; q < 16; q++) {` | +| AO-083 | aienos | `native/net/tests/sec_test.c` | 202 | `sys_tick` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 2; i++) {` | +| AO-084 | aienos | `native/net/tests/sec_test.c` | 204 | `sys_tick` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int k = 0; k < 8; k++) {` | +| AO-085 | aienos | `native/net/tests/sec_test.c` | 217 | `sys_tick` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int k = 0; k < cap_frames; k++) {` | +| AO-086 | aienos | `native/net/tests/sec_test.c` | 262 | `run_handshake` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int t = 0; t < ticks && !(established(S) && S->m[0].s.confirmed); t++) sys_tick(S);` | +| AO-087 | aienos | `native/net/tests/sec_test.c` | 341 | `run_ct` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int t = 0; t < 20000 && !(S.m[0].delivered == NMSG && S.m[1].delivered == NMSG); t++) sys_tick(&S);` | +| AO-088 | aienos | `native/net/tests/sec_test.c` | 375,384 | `test_loss` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int t = 0; t < 200; t++) sys_tick(&S);` | +| AO-089 | aienos | `native/net/tests/sec_test.c` | 399,410 | `test_wrong_identity` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int t = 0; t < 200; t++) sys_tick(&S);` | +| AO-090 | aienos | `native/net/tests/sec_test.c` | 432,442 | `test_impersonation` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int t = 0; t < 200; t++) sys_tick(&S);` | +| AO-091 | aienos | `native/net/tests/sec_test.c` | 453,475 | `test_transcript_tamper` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (size_t t = 0; t < 3; t++) {` | +| AO-092 | aienos | `native/net/tests/sec_test.c` | 454 | `test_transcript_tamper` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (size_t pos = 0; pos < T[t].len; pos++) {` | +| AO-093 | aienos | `native/net/tests/sec_test.c` | 460,480 | `test_transcript_tamper` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int k = 0; k < 60; k++) sys_tick(&S);` | +| AO-094 | aienos | `native/net/tests/sec_test.c` | 841 | `test_close` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint64_t t = 11; t < 200; t++) {` | +| AO-095 | aienos | `native/store/store_v1.c` | 324 | `sift_extents` | store extent heap sift-down | - | N | false | N: sift: heap sift-down while sorting extents; no wait or hand-off | `for (;;) {` | +| AO-096 | aienos | `native/store/store_v1.c` | 397 | `sift_entries` | store entry heap sift-down | - | N | false | N: sift: heap sift-down while sorting entries; no wait or hand-off | `for (;;) {` | | PH-001 | physics | `m15/tools/m15tool.c` | 638 | `main` | --demonstrate-accelerator | M15 demonstration (oracle) | D | false | historical M15 demonstration mode of the physics tool; not a production entry point | `if (argc >= 2 && strcmp(argv[1], "--demonstrate-accelerator") == 0) {` | | PH-002 | physics | `m15/tools/m15tool.c` | 647 | `main` | --run-m15-gates | maintenance: M15 gate runner | B | false | deterministic gate runner (spec §4: --run-*-gates B) | `bool run_all = (argc >= 2 && strcmp(argv[1], "--run-m15-gates") == 0);` | | PH-003 | physics | `m16/m16_native.c` | 102 | `m16_native_wait_marker_ge` | wait for GPU marker | GPU completion wait | E | true | bounded usleep poll on a GPU completion marker; hardware | `while (now_ns() < end) {` | @@ -557,3 +730,93 @@ gate result is whatever `make r16-inventory` prints on the candidate, recorded i qualification receipt. The tool now prints `SCANNED HEAD ()` for every repository it scans, so a run records exactly which commits it saw (the JSON already carried `head`). The five-repository scope is unchanged. + +### 8.2 Update 2026-10-05 (overnight lane L12-R16, inventory reconciliation) + +The ALLEN host receipt `evidence/ALLEN/18cfa250….json` recorded this gate as FAIL +(`76 unclassified sites and 2 stale rows`) and attributed them to "the local survey +checkouts of other repos". Rerun with `tools/r16_loop_inventory.sh` on omega main +`b544d81` and on the CAND-0 omega commit `e5593ae`, the other four repositories at the +SHAs in §1 (`~/workspace/r16-survey/*`, heads printed by the tool): every one of the +76 unclassified sites and both stale rows is in **omega**; the four other repositories +have 0. Both commits gave the same result, line for line: +`sites=403 unclassified=76 question=0 bad_class=0 a_reachable=0 stale=2 map_errors=0 skipped=0 -> FAIL`. +ALLEN (`b544d81` over `e5593ae`) adds no site. + +Origin (fixed tool and this map, run over every first-parent omega commit from +`38919c8~3` to `b544d81`): 16 sites (`tests/model/`) came with #174 (0d8b057), merged +about 12 minutes before §8.1's #172 and never covered by it, so the gate was already FAIL on +main right after #172. The other 60 came with later merges (DUAL-0a/0b/1a/1b and the +DUAL applicability experiment, PD-0 substrate cut 1, D3, D4, D5 and learner cut 4, VC1 stages 3-4, +HD-09, HD-13 quietlock, M20 tensor store, C4 requalify, I11, GPU Engine, FB-1 cut 5, +CHIPWAIT-1 and 1c). The two stale rows are loops edited in place: OM-012 by CHIPWAIT-1 +(fc96141, the inline marker spin became the shared wait primitive) and OM-181 by I11 +(f523edd, the settle condition gained `+ upstream_held()`). + +Reconciliation, each row from reading the loop (no tool, pattern, threshold or class +rule changed): +- Rows OM-200 to OM-273 (74 sites): 21 class N (parse, read, decode, format, scan, + walk, sift, sample, arithmetic; the `tick` hits in `src/dual/` are recorded data + ticks and the `schedule` hits in `src/physics0/` are experiment input schedules, as + in OM-193), 50 class D (49 test files under `tests/`, plus the DUAL-1b replay + `rx_dual_replay_run`, linked only into `test-dual-replay`), 1 class F (PD-0 world + framed fd request/response server, same shape as OM-088), 2 class B (`quietlock hold` + operator lock waits), 0 class A, 0 class C or E. No new site sequences faculties on + the production path. +- OM-012 and OM-181 re-anchored to the edited loops (same function, same role, same + class D); the old evidence line is kept in each reason. + +Result after this update, same command, same five-repository set: +`sites=403 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS` +on omega `e5593ae` (CAND-0) and on omega `b544d81` (main). omega per class: +A 0, B 24, C 2, D 150, E 14, F 3, N 63 (256 sites). `make test-r16-inventory` +(planted loops, stale row, class-N rules): PASS. This is the G1/G2 inventory only; it +is not an R16 qualification receipt (G3-G8 are separate). + +Limit: the scan set for aien-sovereign-core, aegis-runtime, aienos and physics is +still the §1 SHAs of 2026-09-29. Scanning them at the CAND-0 SHAs instead +(sovereign-core `0c1d249`, aienos `9d41efc`, physics `6d7cf0d`; aegis-runtime +unchanged) adds 37 unclassified sovereign-core sites, 64 aienos sites and 2 stale +sovereign-core rows (SC-043, SC-044); physics adds none. Moving the §1 SHAs is a +separate update to this map (done in §8.3). + +### 8.3 Update 2026-10-05 (L12-R16): scan set re-pinned to CAND-0 + +Orchestrator decision (Drake's order): R16 is reconciled against the frozen candidate +CAND-0 (`aien-architecture` `qualification/candidates/CAND-0.toml`, merged a44d5da). +The §1 table now holds omega `e5593ae`, aien-sovereign-core `0c1d249`, aienos `9d41efc` +and physics `6d7cf0d`. aegis-runtime is not part of CAND-0 (archived, no candidate +pin) and stays at `2bbce76`. `~/workspace/r16-survey/*` still sits at the old SHAs, so a +CAND-0 run must point the tool at CAND-0 checkouts: +`R16_REPO_SOVEREIGN_CORE= R16_REPO_AIENOS= R16_REPO_PHYSICS= tools/r16_loop_inventory.sh` +(run from omega at `e5593ae`; aegis-runtime from the survey checkout at `2bbce76`). + +Before (this map up to §8.2, repos at CAND-0): +`sites=502 unclassified=101 question=0 bad_class=0 a_reachable=0 stale=2 map_errors=0 skipped=0 -> FAIL` +(sovereign-core 37 unclassified + stale SC-043/SC-044, aienos 64, physics 0, omega 0). + +Reconciliation, each row from reading the loop (no tool, pattern, threshold or class +rule changed): +- SC-091 to SC-125 (35 sovereign-core sites): 31 class D (test files and + `#[cfg(test)]` code, plus the `tools/aien-test` gate runner, test infrastructure like + the aien-proof rows), 3 class E (spine swarm prefill and swarm-cancel slot reclaim, + LLM request serving kept under §3.1 Q1=A; the `aien-switchboard` AI-account + failover, at most one try per account), 1 class N (file hash read), 0 class A. +- AO-033 to AO-096 (64 aienos sites): 47 class D (test files, the TEST-ONLY + continuity/store-crash halts, the QEMU UDP echo helper, the m3.c M3 isolation + self-check), 8 class E (NVMe completion/shutdown polls, SMP bring-up wait and park, + reset halt, virtio-net TX reclaim, FPU-probe panic halt), 9 class N (token, bpe, + walk, read, sift), 0 class A. +- SC-043 and SC-044 re-anchored: the enclosing test was renamed + (`…blackwell…` -> `test_end_to_end_gb10_hardware_execution_if_available`, sovereign-core + 14126c6, #189); loop lines unchanged, class D. +No new site sequences faculties on the omega production path; no genuine violation +was found, so no code change in any repository. + +After, same command: +`sites=502 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS` +on omega `e5593ae` (no WARN: every scanned head equals §1) and on omega main `b544d81` +(WARN for omega only, expected). Per repo after: omega A0 B24 C2 D150 E14 F3 N63 +(256); sovereign-core A14 B5 D71 E14 F18 N3 (125); aegis-runtime A18 D1 N1 (20); +aienos D59 E16 F1 N20 (96); physics B1 D2 E1 N1 (5). This is the G1/G2 inventory for +CAND-0, not an R16 qualification receipt. ```