interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / CAND1-R16INV-cb06d08 / map-after.md

877 lines · 174952 bytes Raw Blame History Rendered
1# R16 orchestrator retirement map (R16-G1)
2
3Status: INVENTORY. Written under `spec/r16-orchestrator-retirement.md` §4, after that
4spec's commit and before any retirement code. No rows were changed after the
5inventory tool (`tools/r16_loop_inventory.c`, R16-G2) was run against them except to
6fill classes. Scope decisions: spec §3.1 (Q1 = A, Q2 = A, decided by Drake 2026-09-28).
7
8The machine-readable part of this file is the two marked tables. The tool reads only
9those. Everything else is explanation.
10
11## 1. Repositories scanned
12
13Each at its `origin/main` commit on 2026-09-29. omega was scanned in the R16 worktree
14at branch commit `d6c8630` (= omega main `193a7e7` plus the R16 spec only, before this map and tool; no code
15differences). Rescanned 2026-09-30 for the G3-G5 branch on omega main `6d1ff1d` (the
16R16 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,
17which 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); since §8.5 it holds the frozen CAND-1 commits.
18
19<!-- r16-inventory:shas -->
20| repo | sha |
21|---|---|
22| omega | cb06d081901c03063945a99ffed1c58d33397e9c |
23| aien-sovereign-core | 2eec75b08aeb8f9d11f950070e13f6c2c046cf24 |
24| aegis-runtime | f4e870953a466bb1cf68f1d88285929024cf1ba9 |
25| aienos | bbad5e4250e57f8cbd1be4cf1390109aa65ef92c |
26| physics | 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf |
27<!-- /r16-inventory:shas -->
28
29## 2. Method (what counts as a loop site)
30
31Output of `r16_loop_inventory --patterns`:
32
33```
34R16 loop inventory patterns (tools/r16_loop_inventory.c)
35files: git ls-files '*.c' '*.h' '*.rs' (tracked only); excluded path prefixes: vendor/ third_party/ tests/r16_inventory/ (vendor/ and third_party/ also at any depth)
36comments and string/char literal contents blanked before matching
37loop heads: C while( for( do{ ; Rust while, for..in, loop{ ; C do-while tails not double-counted
38unbounded: while(1) while(true) while(!0) for(;;) Rust loop{} Rust while true
39body words (identifier words, split at _ digits and case): sleep usleep nanosleep msleep poll recv heartbeat tick dispatch schedule scheduler orchestrate orchestrator turn turns pulse yield epoll
40flagged loop = unbounded OR a body word in condition or body
41named terms (any code line; case/underscore-insensitive; run_until_complete anywhere in an identifier, max_steps and max_turns only as the whole identifier; hit counts use substring): run_until_complete max_steps max_turns
42cli-mode (C): a code line testing argv[ against a "--demonstrate-...", "--reference-..." or "--run-..." literal
43manual rows (line cell starts with "manual"): evidence line must still exist in the file
44 (symbol not verified); same class rules apply
45join key: repo + path + enclosing symbol + whitespace-collapsed source line
46class-A reachability (omega only, naming proxy; G3 checks the link map): path or symbol must contain legacy_oracle or reference
47class N (not a central loop): data/control-flow idiom; reason must name allowed idiom; body must not contain wait words
48```
49
50Notes:
51- Only C and Rust files are in the gate's file-type scope. Assembly (physics `m3/*.s`,
52 the historical capability/effect-broker oracle), shell and Mojo are not scanned;
53 none of them is on the omega production path.
54- `vendor/` and `third_party/` are copies of outside libraries (aienos `vendor/`
55 holds syn, serde, uefi, etc.), not our code. `tests/r16_inventory/` in omega holds
56 the tool's own planted-loop fixtures.
57- "Unbounded" loops are included on purpose: a planted `while (1)` must fail the gate
58 even if its body has no wait word. This also pulls in data idioms (CAS retries, hash
59 probes, parsers, list walks); those rows are classified as class N under clarification C1.
60- A plain bounded data loop (`for (i = 0; i < n; i++)` with no wait or hand-off word)
61 is not a site. A bounded loop that polls, sleeps, receives, dispatches, schedules or
62 takes turns is.
63- Straight-line sequencers that no loop pattern can see are listed as manual rows (§4):
64 the tool checks their source line still exists and applies the class rules to them.
65 omegatool's hand-sequenced modes are caught by the `cli-mode` pattern (a C line
66 testing `argv[` against `"--demonstrate-…"`, `"--reference-…"` or `"--run-…"`). The
67 16 reference demonstrations are dispatched from one table and have no such line;
68 manual row OM-M02 covers them.
69
70## 3. Search-term hit counts (spec §4)
71
72Word hits in code (comments and strings removed; identifier words split at `_` and
73case changes). These are mentions, not loops; every loop they sit in is a row below.
74Counted by the tool on the R16 branch tree (omega main `6d1ff1d` plus the R16 spec, map,
75tools and tests; rescanned 2026-09-30) and the four other repos at the SHAs above.
76
77| term (spec §4) | pattern word(s) | omega | sovereign-core | aegis-runtime | aienos | physics |
78|---|---|---|---|---|---|---|
79| run_until_complete | run_until_complete | 2 | 7 | 0 | 0 | 0 |
80| max_steps | max_steps (substring count; gated only as a whole identifier) | 86 | 7 | 3 | 0 | 0 |
81| max_turns | max_turns | 0 | 0 | 13 | 0 | 0 |
82| for/while semantic step loops | step, steps (counted, not a gate word: names plan steps and data arrays everywhere; step loops are caught as unbounded, by max_steps, or by a wait word) | 965 | 389 | 70 | 90 | 0 |
83| polling for semantic readiness | poll | 34 | 0 | 0 | 13 | 0 |
84| (waiting) | sleep, usleep, nanosleep, msleep | 78 | 27 | 0 | 0 | 3 |
85| (waiting) | wait (counted, not a gate word: too common in condvar code) | 236 | 18 | 0 | 29 | 13 |
86| heartbeat task dispatch | heartbeat | 24 | 15 | 71 | 0 | 0 |
87| heartbeat task dispatch | tick | 68 | 4 | 26 | 32 | 0 |
88| heartbeat task dispatch | pulse | 18 | 30 | 27 | 0 | 0 |
89| central dispatch / manual faculty invocation | dispatch | 73 | 51 | 16 | 25 | 0 |
90| duplicate schedulers | schedule, scheduler, sched | 150 | 173 | 0 | 110 | 2 |
91| orchestration | orchestrate, orchestrator, orchestration | 10 | 0 | 8 | 0 | 0 |
92| turn loops | turn, turns | 0 | 60 | 69 | 0 | 0 |
93| message hand-off | recv | 3 | 21 | 2 | 17 | 0 |
94| cooperative hand-off | yield | 20 | 3 | 0 | 4 | 0 |
95
96Loop sites found (rows in §4): see the per-class counts in §6.
97
98Terms that are not greppable (synchronous AIEN→Omega / Omega→AEGIS calls, duplicate
99world / authority / queue / generation / resource-pool / causal-state ownership,
100RPC boundaries replaced by reactions) are answered structurally in §5.
101
102## 4. Loop rows
103
104Columns (spec §4): id, repo, path, line (at the recorded SHA; several lines when the
105same source line repeats in one function), symbol (enclosing function, `-` at file
106scope), old role, new role, class (A–F, or `?` with the question in the reason),
107authoritative (after R16, for the reaction production path; `false` for every A and D
108row), reason, evidence (the flagged source line, whitespace-collapsed; this plus repo,
109path and symbol is the join key the tool uses).
110
111Class-A rows in the Rust repositories are retired by non-use (spec §3.1 Q2 = A): the
112code stays, labelled LEGACY / NOT-IN-CHARGE, and R16-G3 proves omega never links or
113execs it. Test, benchmark and example code is class D by path (it is not built into
114any production binary); in-file Rust `#[cfg(test)]` modules likewise.
115
116<!-- r16-inventory:rows -->
117| id | repo | path | line | symbol | old role | new role | class | authoritative | reason | evidence |
118|---|---|---|---|---|---|---|---|---|---|---|
119| OM-001 | omega | `research/m15/spbm/sample.c` | 79 | `main` | M15 PMU research sampler | research measurement tool | D | false | research sampling loop; not built into any production binary | `for (unsigned int seq=0;seq<=seconds*10;seq++) {` |
120| OM-002 | omega | `research/m15/spbm/sample.c` | 85 | `main` | M15 PMU research sampler | research measurement tool | D | false | EINTR retry of clock_nanosleep inside the research sampler | `do { rc=clock_nanosleep(CLOCK_MONOTONIC,TIMER_ABSTIME,&when,NULL); } while(rc==EINTR);` |
121| OM-003 | omega | `src/crumbline/cl_search.c` | 97 | `equiv_seen` | hash-set probe | - | N | false | N: probe: hash-set probe walk without wait or hand-off | `for (;;) {` |
122| OM-004 | omega | `src/language/omega_lex.c` | 120 | `omega_language_lex` | lexer token loop | - | N | false | N: parse: lexer token loop without wait or hand-off | `while (1) {` |
123| OM-005 | omega | `src/language/omega_lower.c` | 320 | `omega_language_lower_program` | lowering walk | - | N | false | N: walk: AST lowering walk without wait or hand-off | `while (1) {` |
124| OM-006 | omega | `src/language/omega_parse.c` | 263 | `parse_clause` | clause parse loop | - | N | false | N: parse: clause parse loop without wait or hand-off | `while (1) {` |
125| OM-007 | omega | `src/omega_accelerator_world.c` | 21 | `allocate_handle_epoch` | handle-epoch CAS retry | - | N | false | N: CAS retry: atomic handle-epoch allocation retry without wait or hand-off | `for (;;) {` |
126| OM-008 | omega | `src/omega_accelerator_world.c` | 733 | `omega_world_drain` | M19 world drain of in-flight submissions | known-good fallback (M19 world) | C | true | M19 accelerator world is the protected known-good fallback (spec §4 starting verdict C); retires GPFIFO entries, decides no faculty order | `for (uint32_t i = 0; i < world->in_flight_count; i++) {` |
127| 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++) {` |
128| 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) {` |
129| 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++) {` |
130| 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++) {` |
131| 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++) {` |
132| 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++) {` |
133| 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++) {` |
134| OM-016 | omega | `src/runtime/rx_caproot.c` | 63 | `take_boot_gen` | boot-generation CAS retry | - | N | false | N: CAS retry: boot generation allocation retry without wait or hand-off | `for (;;) {` |
135| OM-017 | omega | `src/runtime/rx_caproot.c` | 572 | `rx_caproot_inspect` | seqlock read retry | - | N | false | N: seqlock retry: seqlock read retry without wait or hand-off | `for (;;) {` |
136| OM-018 | omega | `src/runtime/rx_caproot.c` | 594 | `rx_caproot_validate` | seqlock read retry | - | N | false | N: seqlock retry: seqlock validation retry without wait or hand-off | `for (;;) {` |
137| OM-019 | omega | `src/runtime/rx_coherent.c` | 835 | `rx_resident_seat_step` | resident seat drains CPU-to-GPU ring | resident seat ring consumer | E | true | moves descriptors off a hardware-shared ring until empty; schedules GPU work, not faculty order | `for (;;) {` |
138| OM-020 | omega | `src/runtime/rx_contract.c` | 1200 | `rc_from_json` | JSON object parse | - | N | false | N: parse: JSON object parser without wait or hand-off | `for (;;) {` |
139| OM-021 | omega | `src/runtime/rx_generation.c` | 412 | `file_matches` | file read loop | - | N | false | N: read: file content read loop without wait or hand-off | `for (;;) {` |
140| OM-022 | omega | `src/runtime/rx_generation.c` | 1226 | `exec_main` | generation job worker | generation mechanism job worker (protected) | E | true | condvar worker runs pending generation jobs in sequence order; physical job execution for the protected generation mechanism, picks no faculty | `for (;;) {` |
141| OM-023 | omega | `src/runtime/rx_graph.c` | 919 | `rx_graph_optimize` | optimizer fixpoint | - | N | false | N: arithmetic: graph optimization fixpoint rewrite without wait or hand-off | `for (;;) {` |
142| OM-024 | omega | `src/runtime/rx_omega.c` | 478 | `sandbox_run` | sandbox report read | sandboxed realization pipe protocol | F | true | poll()-with-deadline read of a sandboxed child's report; I/O mechanics, decides no faculty order | `while (got < sizeof(*rep)) {` |
143| OM-025 | omega | `src/runtime/rx_plan_arrange.c` | 45 | `pla_goal_read` | goal max_steps field read | plan-length resource bound inside one reaction | E | true | max_steps is a plan-length bound read from the goal (spec §4: listed, D or E); bounds search work inside the plan-arrange reaction, no step loop | `g->max_steps = gf[2];` |
144| OM-026 | omega | `src/runtime/rx_plan_arrange.c` | 240 | `heur` | heuristic path walk | - | N | false | N: walk: heuristic path search walk without wait or hand-off | `for (;;) {` |
145| OM-027 | omega | `src/runtime/rx_plan_arrange.c` | 277 | `heap_pop` | heap sift-down | - | N | false | N: sift: binary heap sift-down without wait or hand-off | `for (;;) {` |
146| OM-028 | omega | `src/runtime/rx_plan_arrange.h` | 41 | `-` | goal max_steps field | plan-length resource bound | E | true | struct field for the plan-length bound (spec §4: D or E); no loop | `uint64_t seq, kind, max_steps, energy;` |
147| OM-029 | omega | `src/runtime/rx_resident_gpu.c` | 709 | `wait_marker_or_abort` | wait for GPU marker or abort | GPU seat completion wait | E | true | bounded usleep poll on a GPU completion marker; hardware scheduling | `for (int i = 0; i < timeout_ms * 20; i++) {` |
148| OM-030 | omega | `src/runtime/rx_resident_gpu.c` | 862 | `wait_heartbeat` | wait for seat heartbeat | GPU seat liveness wait | E | true | bounded usleep poll on the resident seat heartbeat word; hardware liveness, not task dispatch | `for (int i = 0; i < 2000; i++) {` |
149| OM-031 | omega | `src/runtime/rx_resident_gpu.c` | 899 | `lease_main` | seat lease writer | GPU seat lease (03d2820) | E | true | writes the seat lease word every tick so the seat quits if the host dies; physical resource lease | `while (s->lease_run) {` |
150| OM-032 | omega | `src/runtime/rx_resident_gpu.c` | 957 | `rx_gpu_seat_kill` | seat kill waits for quit | GPU seat stop / recovery | C | true | operator/recovery stop path of the resident seat (R12 seat-loss, rule 7); protected | `for (int i = 0; i < 2000 && !s->marker_ok; i++) usleep(1000);` |
151| OM-033 | omega | `src/runtime/rx_seq_reference.c` | 52 | `rx_seq_pulse` | SEQ pulse | SEQ reference oracle | D | false | rx_seq_reference is the REFERENCE ORACLE ONLY central-loop control for R15 (spec §4 starting verdict D) | `for (uint32_t i = 0; i < plan->n && rc == RX_OK; i++) {` |
152| OM-034 | omega | `src/runtime/rx_seq_reference.c` | 79 | `rx_seq_pulse` | SEQ pulse wait | SEQ reference oracle | D | false | reference oracle; waits for a reaction to go dormant in the SEQ control | `while (r->state != RX_DORMANT) {` |
153| OM-035 | omega | `src/runtime/rx_seq_reference.c` | 101 | `-` | SEQ run_until_complete | SEQ reference oracle | D | false | reference oracle definition; name already carries reference | `int rx_seq_run_until_complete(RxWorld *w, const RxSeqPlan *plan, uint32_t max_pulses,` |
154| OM-036 | omega | `src/runtime/rx_seq_reference.c` | 105 | `rx_seq_run_until_complete` | SEQ run_until_complete loop | SEQ reference oracle | D | false | the central loop the reaction world is benchmarked against (R15); reference only | `for (; p < max_pulses; p++) {` |
155| OM-037 | omega | `src/runtime/rx_seq_reference.h` | 56 | `-` | SEQ run_until_complete decl | SEQ reference oracle | D | false | reference oracle declaration | `int rx_seq_run_until_complete(RxWorld *w, const RxSeqPlan *plan, uint32_t max_pulses,` |
156| OM-038 | omega | `src/runtime/rx_world.c` | 416 | `try_admit` | reaction admission | reaction world admission | E | true | admits ready reactions against resource budgets until none fit; the reaction runtime's physical scheduler | `for (;;) {` |
157| OM-039 | omega | `src/runtime/rx_world.c` | 552 | `drain_deferred` | deferred drain | reaction world deferred queue | E | true | drains deferred wakeups with a quota; reaction runtime mechanics | `for (;;) {` |
158| OM-040 | omega | `src/runtime/rx_world.c` | 910 | `release_parked` | release parked reactions | reaction world yield handling | E | true | unparks reactions whose yield budget ran out; worker scheduling, no faculty order | `for (uint32_t i = 0; i < w->n_reactions; i++) {` |
159| OM-041 | omega | `src/runtime/rx_world.c` | 923 | `tick_parked` | tick parked reactions | reaction world yield handling | E | true | decrements yield budgets of parked reactions; worker scheduling | `for (uint32_t i = 0; i < w->n_reactions; i++) {` |
160| OM-042 | omega | `src/runtime/rx_world.c` | 1293 | `worker_main` | reaction worker thread | reaction world worker | E | true | worker thread pops ready reactions and runs them; the production scheduler that replaced central sequencing | `for (;;) {` |
161| OM-043 | omega | `src/visor/visor_console.c` | 462 | `run_loop` | Visor REPL / script line loop | operator console (Omega Visor V1) | B | false | reads one operator line, runs that one command, waits for the next; the operator decides every step, the loop decides no faculty order (merged #69 after the spec; see §5) | `for (;;) {` |
162| OM-044 | omega | `src/visor/visor_evidence.c` | 127 | `j_value` | JSON value parse | - | N | false | N: parse: JSON value recursive parser without wait or hand-off | `for (;;) {` |
163| OM-045 | omega | `src/visor/visor_parse_command.c` | 135 | `visor_parse_command` | command tokenizer | - | N | false | N: token: command tokenizer without wait or hand-off | `for (;;) {` |
164| OM-046 | omega | `tests/runtime/r15_gpu_load.c` | 105 | `main` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (now_ns() < end) {` |
165| OM-047 | omega | `tests/runtime/r15_gpu_load.c` | 115 | `main` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
166| OM-048 | omega | `tests/runtime/r15_measure.c` | 239 | `sampler_main` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (!__atomic_load_n(&e->stop, __ATOMIC_ACQUIRE)) {` |
167| OM-049 | omega | `tests/runtime/rx_branch_reuse.c` | 321 | `energy_by_repetition` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
168| OM-050 | omega | `tests/runtime/rx_cog_engines.c` | 268 | `plan_sample` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
169| OM-051 | omega | `tests/runtime/rx_cog_engines.c` | 312 | `heap_pop` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
170| OM-052 | omega | `tests/runtime/rx_heartbeat_test.c` | 623 | `t_concurrent_publication` | 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++) {` |
171| OM-053 | omega | `tests/runtime/rx_heartbeat_test.c` | 1304 | `fn_hold` | test/benchmark loop (while:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (g_hold) sleep_ms(1);` |
172| OM-054 | omega | `tests/runtime/rx_heartbeat_test.c` | 1348 | `t_resource_admission` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int n = 0; n < 200; n++) {` |
173| OM-055 | omega | `tests/runtime/rx_heartbeat_test.c` | 1527 | `t_priority_ladder` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t p = 0; p < RX_PRIORITY_CLASSES; p++) {` |
174| OM-056 | omega | `tests/runtime/rx_plan_reuse.c` | 145 | `-` | test/benchmark loop (named:max_steps) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `uint64_t world_gen, cog_gen, max_steps;` |
175| OM-057 | omega | `tests/runtime/rx_plan_reuse.c` | 284 | `env_build` | test/benchmark loop (named:max_steps) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `uint64_t gl[RX_MAX_FIELDS] = { 1000u + sp->seed, PLA_GOAL_ARRANGE, sp->max_steps, 1000, pl_ref_pack(fr) };` |
176| OM-058 | omega | `tests/runtime/rx_plan_reuse.c` | 709 | `adversarial_case` | test/benchmark loop (named:max_steps) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `if (p == PERT_GOAL) sp.max_steps = stored ? stored->n_steps - 1 : 1;` |
177| OM-059 | omega | `tests/runtime/rx_r10_omega.c` | 166 | `request` | test/benchmark loop (while:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (fld(e, e->f.o.result, 0) != seq) {` |
178| OM-060 | omega | `tests/runtime/rx_r11_aien.c` | 717 | `request` | test/benchmark loop (while:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (fld(e, e->f.o.result, 0) != seq) {` |
179| OM-061 | omega | `tests/runtime/rx_r12_resident.c` | 35 | `CHECK` | test/benchmark loop (do:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `#define CHECK(cond, ...) do { \` |
180| OM-062 | omega | `tests/runtime/rx_r12_resident.c` | 167 | `wait_seat` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 2000; i++) {` |
181| OM-063 | omega | `tests/runtime/rx_r12_silicon.c` | 204 | `wait_claimed` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 3000; i++) {` |
182| OM-064 | omega | `tests/runtime/rx_r12_silicon.c` | 217 | `wait_chip` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 3000; i++) {` |
183| OM-065 | omega | `tests/runtime/rx_r12_silicon.c` | 226 | `poll_accept` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 3000; i++) {` |
184| OM-066 | omega | `tests/runtime/rx_r12_silicon.c` | 363 | `acceptor_main` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (!atomic_load(&a->stop)) {` |
185| OM-067 | omega | `tests/runtime/rx_r12_silicon.c` | 392 | `loader_main` | test/benchmark loop (for:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint64_t n = 0; !atomic_load(&l->stop); n++) {` |
186| OM-068 | omega | `tests/runtime/rx_r12_silicon.c` | 770 | `main` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 3000 && !moved; i++) {` |
187| OM-069 | omega | `tests/runtime/rx_r12_silicon.c` | 802 | `main` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < 3000 && !held; i++) {` |
188| OM-070 | omega | `tests/runtime/rx_r12_silicon.c` | 900 | `main` | test/benchmark loop (for:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int i = 0; i < rounds && !g_fail; i++) {` |
189| OM-071 | omega | `tests/runtime/rx_r14_recovery.c` | 2159 | `f_reporter` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
190| OM-072 | omega | `tests/runtime/rx_r14_recovery.c` | 2297 | `run_child` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
191| OM-073 | omega | `tests/runtime/rx_r15_g7.c` | 84 | `disk_hook` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (now_ns() - t0 < 2000000000ull) {` |
192| OM-074 | omega | `tests/runtime/rx_r15_instr.c` | 375 | `main` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (size_t i = 0; i < sizeof fanouts / sizeof fanouts[0]; i++)` |
193| OM-075 | omega | `tests/runtime/rx_r15_perf.c` | 48 | `sleep_ns` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (nanosleep(&ts, &ts) != 0) {}` |
194| OM-076 | omega | `tests/runtime/rx_r15_perf.c` | 119 | `thermal_wait` | test/benchmark loop (while:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while ((hot = max_temp_mc()) > 55000 && r15_now_ns() - t0 < 120000000000ull) sleep_ns(1000000000ull);` |
195| OM-077 | omega | `tests/runtime/rx_r15_perf.c` | 149 | `sampler_main` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (!s->stop) {` |
196| OM-078 | omega | `tests/runtime/rx_r15_perf.c` | 752 | `l1_orch` | test/benchmark loop (while:body:pulse) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (!atomic_load(&e->stop)) {` |
197| OM-079 | omega | `tests/runtime/rx_r15_perf.c` | 1142 | `l1_rig` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int b = 0; b < 30 && ok; b++) {` |
198| OM-080 | omega | `tests/runtime/rx_r15_perf.c` | 1272 | `run_l2` | test/benchmark loop (for:body:heartbeat) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t i = 0; i < CLAIMS && ok; i++) {` |
199| OM-081 | omega | `tests/runtime/rx_r15_rig.c` | 137 | `transport_main` | test/benchmark loop (while:body:yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (!atomic_load(&r->transport_stop)) {` |
200| OM-082 | omega | `tests/runtime/rx_r15_rig.c` | 214 | `orchestrator_main` | test/benchmark loop (while:body:pulse) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (!atomic_load(&r->orch_stop)) {` |
201| OM-083 | omega | `tests/runtime/rx_sem_incremental.c` | 992 | `replay` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int tick = 0; tick < TRACE_TICKS; tick++) {` |
202| OM-084 | omega | `tests/runtime/rx_sem_incremental.c` | 993 | `replay` | 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 < N_NOISE; i++) put(&x, x.noise[i], (uint32_t)(tick % 4), splitmix(&rng));` |
203| OM-085 | omega | `tests/runtime/rx_sem_incremental.c` | 1027 | `replay` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int c = 0; c < JSPACE_WIDTH; c++) {` |
204| OM-086 | omega | `tests/runtime/rx_sem_incremental.c` | 1153 | `sleep_ns` | test/benchmark loop (while:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while (nanosleep(&ts, &ts) != 0) {}` |
205| OM-087 | omega | `tests/runtime/rx_sp_workloads.c` | 392 | `sp_build` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint64_t x = 1; x <= S && !rc; x++) {` |
206| OM-088 | omega | `tools/crumbline_learner.c` | 188 | `serve` | learner frame server | Crumbline learner stdin/stdout protocol | F | false | reads framed requests from the curriculum driver; protocol loop, decides no faculty order | `for (;;) {` |
207| OM-089 | omega | `tools/omegatool.c` | 3749 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-gates") == 0) {` |
208| OM-090 | omega | `tools/omegatool.c` | 3753 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m5-gates") == 0) {` |
209| OM-091 | omega | `tools/omegatool.c` | 3757 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m6-gates") == 0) {` |
210| OM-093 | omega | `tools/omegatool.c` | 3766 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m7-gates") == 0) {` |
211| OM-095 | omega | `tools/omegatool.c` | 3775 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m8-gates") == 0) {` |
212| OM-097 | omega | `tools/omegatool.c` | 3784 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m9-gates") == 0) {` |
213| OM-098 | omega | `tools/omegatool.c` | 3788 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m10-gates") == 0) {` |
214| OM-100 | omega | `tools/omegatool.c` | 3797 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m11-gates") == 0) {` |
215| OM-102 | omega | `tools/omegatool.c` | 3806 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m12-gates") == 0) {` |
216| OM-104 | omega | `tools/omegatool.c` | 3815 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m13-gates") == 0) {` |
217| OM-106 | omega | `tools/omegatool.c` | 3824 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m14-gates") == 0) {` |
218| OM-108 | omega | `tools/omegatool.c` | 3833 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m15-gates") == 0) {` |
219| OM-110 | omega | `tools/omegatool.c` | 3842 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-world-lifecycle-gates") == 0) {` |
220| OM-111 | omega | `tools/omegatool.c` | 3845 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m19r-soak") == 0) {` |
221| OM-112 | omega | `tools/omegatool.c` | 3848 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m19-gates") == 0) {` |
222| OM-114 | omega | `tools/omegatool.c` | 3862 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m18-gates") == 0) {` |
223| OM-116 | omega | `tools/omegatool.c` | 3871 | `main` | deterministic gate runner | maintenance control | B | false | spec 4 starting verdict: --run-*-gates = B (deterministic maintenance / qualification control) | `if (strcmp(argv[1], "--run-m17-gates") == 0) {` |
224| OM-123 | omega | `tools/r15_reduce.c` | 82,102 | `jparse` | JSON parse in R15 reducer | R15 evidence reducer | D | false | evidence reduction tool, not on the production path | `for (;;) {` |
225| OM-124 | omega | `tools/r15_reduce.c` | 325 | `read_file` | file read in R15 reducer | R15 evidence reducer | D | false | evidence reduction tool, not on the production path | `while (1) {` |
226| OM-125 | omega | `src/runtime/rx_argus.c` | 435 | `merge` | ARGUS event stream merge | - | N | false | N: merge: event stream merge pass across producer rings without wait or hand-off | `for (;;) {` |
227| OM-126 | omega | `src/runtime/rx_argus.c` | 498 | `consumer_main` | ARGUS telemetry consumer thread | resident telemetry consumer | E | true | background consumer thread merges and drains telemetry event rings; physical telemetry worker, decides no faculty order | `while (!atomic_load_explicit(&g.stop, memory_order_acquire)) {` |
228| OM-127 | omega | `tests/runtime/rx_empirical_optimizer.c` | 264 | `cpu_busy` | test/benchmark loop (for:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (int s = 0; s < 2; s++) {` |
229| OM-128 | omega | `tests/runtime/rx_empirical_optimizer.c` | 874 | `judge` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t k = 0; k < RX_CM_CORES; k++)` |
230| OM-129 | omega | `tests/runtime/rx_empirical_optimizer.c` | 875 | `judge` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t i = 0; i < g_val.n[k]; i++) {` |
231| OM-130 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1143 | `heldout` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t i = 0; i < n; i++) {` |
232| OM-131 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1282 | `judge_gate` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t k = 0; k < RX_CM_CORES; k++) {` |
233| OM-132 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1284 | `judge_gate` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t d = 0; d < N_DIST; d++) {` |
234| OM-133 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1401 | `write_receipt` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t k = 0; k < RX_CM_CORES; k++) {` |
235| OM-134 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1405 | `write_receipt` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t d = 0; d < N_DIST; d++) {` |
236| OM-135 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1520 | `main` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t k = 0; k < RX_CM_CORES; k++) {` |
237| OM-136 | omega | `tests/runtime/rx_empirical_optimizer.c` | 1538 | `main` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t d = 0; d < N_DIST; d++) {` |
238| OM-137 | omega | `src/polyglot/omx_bench.c` | 38 | `slurp` | whole-file read into a growing buffer | - | N | false | N: read: file read into a growing buffer until end of file, without wait or hand-off | `for (;;) {` |
239| OM-138 | omega | `src/turing/ty_prd.c` | 106 | `ty_prd_read` | whole-file read into a growing buffer | - | N | false | N: read: file read into a growing buffer until end of file, without wait or hand-off | `for (;;) {` |
240| OM-139 | omega | `src/turing/ty_qrecord.c` | 554 | `split_line` | split one record line into fields | - | N | false | N: parse: splits one text line into space-separated fields, without wait or hand-off | `for (;;) {` |
241| OM-140 | omega | `tests/algebra/bench_mixed_algebra.c` | 469 | `energy_shape` | test/benchmark loop (for:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (size_t r = 0; r < oma_rz_count(); r++) {` |
242| OM-141 | omega | `tests/polyglot/bench_polyglot.c` | 223 | `x_predict` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (long k = reps - 1; k >= 0; k--) /* undo, newest first */` |
243| OM-142 | omega | `tests/polyglot/bench_polyglot.c` | 913 | `main` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
244| OM-143 | omega | `tests/polyglot/polyglot_explain.c` | 121 | `jparse` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
245| OM-144 | omega | `tests/polyglot/test_encoder.c` | 301 | `read_file` | test/benchmark loop (for:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (;;) {` |
246| OM-145 | omega | `tests/realize/test_program_realize.c` | 187 | `test_realize` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (size_t k = 0; k < g_named_n; ++k) {` |
247| OM-146 | omega | `tools/estimation/est_replay.c` | 150 | `read_index` | whole-file read in the EST replay tool | EST evidence replay tool | N | false | N: read: file read into a growing buffer until end of file, without wait or hand-off; offline evidence tool, not on the production path | `for (;;) {` |
248| OM-147 | omega | `tools/json_canon.c` | 153 | `parse_string` | JSON string parse in the canonical-JSON helper | M19R qualifier helper | N | false | N: parse: JSON string parser without wait or hand-off; host tool, not on the production path | `for (;;) {` |
249| OM-148 | omega | `tools/json_canon.c` | 284,313 | `parse_value` | JSON object/array parse in the canonical-JSON helper | M19R qualifier helper | N | false | N: parse: JSON value recursive parser without wait or hand-off; host tool, not on the production path | `for (;;) {` |
250| OM-149 | omega | `tools/omegatool.c` | 3811 | `main` | surface-check resolver (R16-G5) | reference mode dry run | D | false | `--reference-dispatch-dry-run <name>` resolves a mode through the real dispatch and runs nothing; used only by tests/r16_surface/run.sh | `if (strcmp(argv[1], "--reference-dispatch-dry-run") == 0) {` |
251| OM-150 | omega | `tests/runtime/rx_r16_negative.c` | 625 | `main` | test/benchmark loop (for:body:nanosleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary (R16-G4 waits for one honest production request) | `for (int i = 0; i < 50 && r->served == served0; i++) nanosleep(&ts, NULL);` |
252| OM-151 | omega | `tests/path/test_path_identity.c` | 281 | `realization_separation` | test/benchmark loop (for:body:schedule) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (unsigned field = 0; field < 5; field++) {` |
253| OM-152 | omega | `src/compiler/model/osc_model_gen.c` | 282 | `teardown` | compiler test-model event generator | - | N | false | N: walk: drains the open borrows of one object by picking and ending them until none is left, without wait or hand-off; generates test events only | `for (;;) {` |
254| OM-153 | omega | `src/compiler/osc_interp.c` | 142 | `run_func` | reference interpreter basic-block loop | reference / test path (non-authoritative) | D | false | reference interpreter of compiled OSC IR, used to check the compiler (src/compiler and tests only); runs one function's blocks, bounded by OSC_INTERP_MAX_STEPS; sequences no faculties | `for (;;) {` |
255| OM-154 | omega | `src/compiler/osc_lex.c` | 66 | `osc_lex` | OSC lexer token loop | - | N | false | N: parse: lexer token loop without wait or hand-off | `for (;;) {` |
256| OM-155 | omega | `src/compiler/osc_parse.c` | 463 | `parse_call` | call-argument parse loop | - | N | false | N: parse: call argument list parse loop without wait or hand-off | `for (;;) {` |
257| OM-156 | omega | `src/compiler/osc_parse.c` | 608 | `parse_level` | binary-operator level parse loop | - | N | false | N: parse: precedence-level operator parse loop without wait or hand-off | `for (;;) {` |
258| OM-157 | omega | `src/compiler/osc_parse.c` | 1049 | `parse_fn` | parameter list parse loop | - | N | false | N: parse: function parameter list parse loop without wait or hand-off | `for (;;) {` |
259| OM-158 | omega | `src/compiler/oscc_main.c` | 33 | `main` | source file read in the oscc driver | - | N | false | N: read: file read into a growing buffer until end of file, without wait or hand-off | `for (;;) {` |
260| OM-159 | omega | `src/estimation/est_mix.c` | 39 | `each_term` | multinomial composition enumeration | - | N | false | N: walk: enumerates the count vectors of a mixture term in odometer order, calling a callback per term, without wait or hand-off | `for (;;) {` |
261| OM-160 | omega | `src/fabric/fab_dispatch.c` | 46 | `pump_locked` | in-process simulated-machine fabric pump | reference / test path (non-authoritative) | D | false | F5-0 in-process simulated-machine dispatcher, a test-build piece (carries aien_test_build_fab_dispatch; r16_prod_hygiene refuses it in production binaries); drains one node mailbox with fab_poll, decides no faculty order | `for (;;) {` |
262| OM-161 | omega | `src/omega_numeric_reduce.c` | 133 | `cpu_sum_like` | CPU tile-reduction passes | - | N | false | N: arithmetic: repeated 32-wide tile reduction of a float buffer until one value is left, without wait or hand-off | `for (;;) {` |
263| OM-162 | omega | `src/omega_numeric_reduce_gb10.c` | 459 | `omega_reduce_gb10` | GB10 reduction level loop | physical scheduler | E | false | GPU reduction launcher: launches the reduction kernel chunk by chunk and folds tile results level by level until one value is left; schedules physical GPU work, decides no faculty order, not on the reaction path | `for (;;) {` |
264| OM-163 | omega | `src/runtime/aien_machine_id.c` | 54 | `aien_mid_load` | machine id file read | - | N | false | N: read: file read until end of file or one byte past a record, without wait or hand-off | `for (;;) { /* read one byte past a record so a longer file is caught */` |
265| OM-164 | omega | `src/runtime/rx_compose.c` | 84 | `hold_point` | test hold point spin | reference / test path (non-authoritative) | D | false | hold point exists only under RXC_TEST_HOOKS (test builds); spins until the test releases it; no production path | `while (!__atomic_load_n(&c->test.release, __ATOMIC_ACQUIRE)) nanosleep(&ts, NULL);` |
266| OM-165 | omega | `src/runtime/rx_compose.c` | 885 | `wait_own` | composition close drain wait | explicit maintenance mechanism | B | false | explicit operator close of an attached composition: waits (with timeout) until its own in-flight steps finish; drains, orders no faculty work | `while (own_busy(c)) {` |
267| OM-166 | omega | `src/runtime/rx_compose.c` | 910 | `leave_world` | composition leave-world drain wait | explicit maintenance mechanism | B | false | explicit operator close of an attached composition: waits until its own revoked steps finish (no cutoff); drains, orders no faculty work | `while (own_busy(c)) nanosleep(&ts, NULL);` |
268| OM-167 | omega | `src/runtime/rx_compose.c` | 925 | `leave_world` | composition leave-world reaction removal | explicit maintenance mechanism | B | false | explicit close step 5: walks the composition's own reactions (at most 4) to remove them from the World; orders no faculty work | `for (uint32_t i = 0; i < c->n_rx && i < 4; i++)` |
269| OM-168 | omega | `src/runtime/rx_compose.c` | 926 | `leave_world` | composition leave-world BUSY retry | explicit maintenance mechanism | B | false | explicit close step 5: retries removal of one of its own reactions while a step is still finishing (RX_ERR_BUSY); orders no faculty work | `while (rx_world_remove_reaction(c->world, ids[i]) == RX_ERR_BUSY) nanosleep(&ts, NULL);` |
270| OM-169 | omega | `src/runtime/rx_cortex.c` | 488 | `cx_provenance` | provenance link walk | - | N | false | N: walk: breadth-first walk of cortex object links with a seen check, without wait or hand-off | `for (;;) {` |
271| OM-170 | omega | `src/searchtrace/st_holdout.c` | 612 | `read_file` | whole-file read | - | N | false | N: read: file read into a growing buffer until end of file, without wait or hand-off | `for (;;) {` |
272| OM-171 | omega | `src/searchtrace/st_holdout.c` | 838 | `read_key_file` | key file read | - | N | false | N: read: key file read with EINTR retry until end of file, without wait or hand-off | `for (;;) {` |
273| OM-172 | omega | `src/searchtrace/st_tool.c` | 22 | `read_file` | whole-file read | - | N | false | N: read: file read into a growing buffer until end of file, without wait or hand-off | `for (;;) {` |
274| OM-173 | omega | `src/train/tg_store.c` | 568 | `tg_commit` | dispatch record append walk | - | N | false | N: walk: appends this step's optimizer dispatch records to the hash chain; the records are a training log, not faculty dispatch; no wait or hand-off | `for (uint32_t i = 0; i < sh->n_dispatch; i++) {` |
275| OM-174 | omega | `src/train/tg_store.c` | 674 | `tg_verify_history` | generation history walk | - | N | false | N: walk: walks stored generations backward verifying the digest chain, without wait or hand-off | `for (;;) {` |
276| OM-175 | omega | `tests/fabric/fab_living_phase.h` | 173 | `fl_pump_b` | test rig mailbox drain | reference / test path (non-authoritative) | D | false | fabric test rig: drains node B mailbox with fab_poll; test code, not built into any production binary | `while (fab_poll(&r->node_b, now, &v) == 1) {}` |
277| OM-176 | omega | `tests/fabric/fabric_test.c` | 114 | `pump` | test pump rounds | reference / test path (non-authoritative) | D | false | fabric test: delivers pending messages in rounds, bounded at 64; test code, not built into any production binary | `for (int round = 0; round < 64 && fab_loop_pending(&h->loop); round++)` |
278| OM-177 | omega | `tests/fabric/fabric_test.c` | 115 | `pump` | test pump node order | reference / test path (non-authoritative) | D | false | fabric test: visits the three test nodes in fixed order; test code, not built into any production binary | `for (int i = 0; i < 3; i++) {` |
279| 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)` |
280| 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);` |
281| 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);` |
282| 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);` |
283| 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 &&` |
284| 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++) {` |
285| 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++) {` |
286| OM-185 | omega | `tests/test_omega_transc.c` | 442 | `pool_worker` | test worker pool | reference / test path (non-authoritative) | D | false | numeric transcendental test: worker thread claims items by atomic counter until exhausted; test code, not built into any production binary | `for (;;) {` |
287| OM-186 | omega | `tests/train/test_train.c` | 190 | `t_crash` | test crash matrix | reference / test path (non-authoritative) | D | false | training store test: crash-injection matrix; test code, not built into any production binary | `for (int torn = 0; torn < 2; torn++)` |
288| OM-187 | omega | `tests/train/test_train.c` | 191 | `t_crash` | test crash failpoints | reference / test path (non-authoritative) | D | false | training store test: crash-injection failpoint loop; test code, not built into any production binary | `for (int fp = 1; fp < TG_FP_COUNT; fp++) {` |
289| OM-188 | omega | `tests/train/test_train.c` | 272 | `t_reader_race` | test reader race | reference / test path (non-authoritative) | D | false | training store test: concurrent reader loop until stop pipe fires; test code, not built into any production binary | `for (;;) {` |
290| OM-189 | omega | `tests/train/test_train.c` | 289 | `t_reader_race` | test writer race | reference / test path (non-authoritative) | D | false | training store test: concurrent writer commits with short sleeps; test code, not built into any production binary | `for (int k = 0; k < 150 && st; k++) {` |
291| OM-190 | omega | `tests/train/test_train.c` | 423 | `t_cost` | test cost sizes | reference / test path (non-authoritative) | D | false | training store test: cost measurement over two sizes; test code, not built into any production binary | `for (int k = 0; k < 2; k++) {` |
292| OM-191 | omega | `tests/train/test_train.c` | 474 | `t_replay` | test replay steps | reference / test path (non-authoritative) | D | false | training store test: replays steps checking the generation chain; test code, not built into any production binary | `for (uint64_t k = 1; k <= (uint64_t)STEPS; k++) {` |
293| OM-192 | omega | `tools/estimation/est3c_common.c` | 30 | `c3_json_field` | JSON field parse | - | N | false | N: parse: JSON object field parse loop without wait or hand-off; offline evidence tool, not on the production path | `for (;;) {` |
294| OM-193 | omega | `tools/estimation/est3c_common.c` | 112 | `c3_ticks_build` | EST3c tick build line walk | - | N | false | N: walk: walks the input lines of recorded estimation data to build ticks (data ticks, not a scheduler tick), without wait or hand-off; offline evidence tool | `for (size_t li = 0; li < f->nlines; li++) {` |
295| OM-194 | omega | `tools/estimation/est3c_common.c` | 135 | `c3_ticks_build` | EST3c inserted-tick walk | - | N | false | N: walk: builds the capped run of inserted-missing ticks for a gap in recorded data, without wait or hand-off; offline evidence tool | `for (uint64_t j = 0; j < ins; j++) {` |
296| OM-195 | omega | `tools/estimation/est3c_common.c` | 403 | `c3_score` | EST3c scoring walk | - | N | false | N: walk: scores recorded ticks in order, without wait or hand-off; offline evidence tool | `for (size_t t = 0; t < tk->n && !rc; t++) {` |
297| OM-196 | omega | `tools/estimation/est_load.c` | 47 | `spin` | load generator spin worker | reference / test path (non-authoritative) | D | false | EST measurement load generator: busy worker that spins or naps at a set level; measurement tool, not built into any production binary | `while (!atomic_load(&g_quit)) {` |
298| 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++) {` |
299| 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 (;;) {` |
300| 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++) {` |
301| 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++)` |
302| 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++)` |
303| 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++) {` |
304| 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); }` |
305| 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++) {` |
306| 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 (;;) {` |
307| 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 (;;) {` |
308| 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 (;;) {` |
309| 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 (;;) {` |
310| 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 (;;) {` |
311| 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 (;;) {` |
312| 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 (;;) {` |
313| 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;` |
314| 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; }` |
315| 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;` |
316| 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;` |
317| 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; }` |
318| 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++) {` |
319| 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 (;;) {` |
320| 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++) {` |
321| 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++) {` |
322| 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++) {` |
323| 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 (;;) {` |
324| 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);` |
325| 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);` |
326| 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);` |
327| 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; }` |
328| 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++) {` |
329| 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);` |
330| 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);` |
331| 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++) {` |
332| 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++) {` |
333| 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++) {` |
334| 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 (;;) {` |
335| 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++) {` |
336| 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 (;;) {` |
337| 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++) {` |
338| 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++) {` |
339| 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++) {` |
340| 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++) {` |
341| 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++) {` |
342| 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++)` |
343| 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++) {` |
344| 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 (;;) {` |
345| 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++) {` |
346| 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 */` |
347| 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++) {` |
348| 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++)` |
349| 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++)` |
350| 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++) {` |
351| 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++) {` |
352| 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);` |
353| 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));` |
354| 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;` |
355| 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;` |
356| 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 (;;) {` |
357| 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 (;;) {` |
358| 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++) {` |
359| 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++) {` |
360| 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); }` |
361| 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;` |
362| 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));` |
363| 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++; }` |
364| 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); }` |
365| 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++) {` |
366| 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 (;;) {` |
367| 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 (;;) {` |
368| 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 { \` |
369| 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 (;;) {` |
370| 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();` |
371| 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 (;;) {` |
372| 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 (;;) {` |
373| 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 (;;) {` |
374| 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)) {` |
375| OM-274 | omega | `evidence/FB1-CUT4B-0396844/gpu_attention_test.c` | 467 | `sim_launch` | test/benchmark loop (for:unbounded) | test / reference path | D | false | immutable evidence copy (ADR 0028) of the FB-1 cut 4b attention test source at 0396844, kept beside its receipt; never compiled by any build; same loop as OM-233 | `for (;;) {` |
376| OM-275 | omega | `evidence/FB1-CUT5-b016322/gpu_attention_test.c` | 461 | `sim_launch` | test/benchmark loop (for:unbounded) | test / reference path | D | false | immutable evidence copy (ADR 0028) of the FB-1 cut 5 attention test source at b016322, kept beside its receipt; never compiled by any build; same loop as OM-233 | `for (;;) {` |
377| OM-276 | omega | `evidence/FB1-CUT5-cd80bf4/gpu_attention_test.c` | 573 | `sim_launch` | test/benchmark loop (for:unbounded) | test / reference path | D | false | immutable evidence copy (ADR 0028) of the FB-1 cut 5 attention test source at cd80bf4, kept beside its receipt; never compiled by any build; same loop as OM-233 | `for (;;) {` |
378| 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 {` |
379| 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) {` |
380| 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 {` |
381| SC-004 | aien-sovereign-core | `crates/aien-cli/src/commands.rs` | 1216 | `handle_start_command` | start command waits for runtime socket | operator start command | B | false | operator 'start' waits up to 60 s for the runtime daemon socket; process readiness, not semantic readiness. LEGACY / NOT-IN-CHARGE (Q2=A) | `for _ in 0..60 {` |
382| SC-005 | aien-sovereign-core | `crates/aien-cli/src/hooks.rs` | 43 | `run_pre_turn` | pre-turn hooks | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for h in &self.hooks {` |
383| SC-006 | aien-sovereign-core | `crates/aien-cli/src/hooks.rs` | 50 | `run_post_turn` | post-turn hooks | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for h in &self.hooks {` |
384| SC-007 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 278 | `main` | interactive REPL input loop | terminal I/O loop | F | false | reads operator lines and hands them on; terminal protocol mechanics (the tool-turn loops inside it are separate rows). LEGACY / NOT-IN-CHARGE | `loop {` |
385| SC-008 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 306 | `main` | LLM tool-turn loop | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `while max_tool_steps > 0 {` |
386| SC-009 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 332 | `main` | tool-call dispatch | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for (tool_name, tool_args) in tool_calls {` |
387| SC-010 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 401 | `run_single_prompt` | LLM tool-turn loop (single prompt) | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `while max_tool_steps > 0 {` |
388| SC-011 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 416 | `run_single_prompt` | tool-call dispatch | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for (tool_name, tool_args) in tool_calls {` |
389| SC-012 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 476 | `run_autonomous_goal` | autonomous goal milestone loop | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for m in &goal.milestones {` |
390| SC-013 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 520 | `run_autonomous_goal` | LLM tool-turn loop (autonomous goal) | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `while max_tool_steps > 0 {` |
391| SC-014 | aien-sovereign-core | `crates/aien-cli/src/main.rs` | 539 | `run_autonomous_goal` | tool-call dispatch | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for (tool_name, tool_args) in tool_calls {` |
392| SC-015 | aien-sovereign-core | `crates/aien-cli/src/subagents.rs` | 148 | `execute_subagent` | subagent max_steps | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `let mut max_steps = 10;` |
393| SC-016 | aien-sovereign-core | `crates/aien-cli/src/subagents.rs` | 152 | `execute_subagent` | subagent tool-turn loop | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `while max_steps > 0 {` |
394| SC-017 | aien-sovereign-core | `crates/aien-cli/src/subagents.rs` | 153 | `execute_subagent` | subagent max_steps decrement | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `max_steps -= 1;` |
395| SC-018 | aien-sovereign-core | `crates/aien-cli/src/subagents.rs` | 176 | `execute_subagent` | subagent tool-call dispatch | - | A | false | retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface; LEGACY / NOT-IN-CHARGE | `for (tool_name, tool_args) in &tool_calls {` |
396| SC-019 | aien-sovereign-core | `crates/aien-cli/tests/test_cli_runtime_ipc.rs` | 40 | `test_cli_runtime_ipc_lifecycle` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..50 {` |
397| SC-020 | aien-sovereign-core | `crates/aien-inference-runtime/tests/runtime_tests.rs` | 18 | `test_embedded_inference_service_reference_weights` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while let Some(evt) = rx.recv().await {` |
398| SC-021 | aien-sovereign-core | `crates/aien-proof/src/board.rs` | 163 | `tee` | test-board log tee | aien-proof test board tooling | D | false | copies a child's output to the board log; test infrastructure only | `loop {` |
399| SC-022 | aien-sovereign-core | `crates/aien-proof/src/board.rs` | 244 | `acquire_cpu_slot` | test-board CPU slot wait | test-board CPU admission | E | false | waits for a free CPU slot before a test job runs; physical resource admission for test runs | `loop {` |
400| SC-023 | aien-sovereign-core | `crates/aien-proof/src/board.rs` | 424 | `wait_for_memory` | test-board memory wait | test-board memory admission | E | false | waits for free memory before a test job; physical resource admission | `while let Some(free) = mem_available() {` |
401| SC-024 | aien-sovereign-core | `crates/aien-proof/src/lib.rs` | 33 | `temp_dir` | unique temp dir retry | aien-proof test tooling | D | false | test infrastructure helper | `loop {` |
402| SC-025 | aien-sovereign-core | `crates/aien-proof/src/lock.rs` | 29 | `acquire` | flock EINTR retry | aien-proof test tooling | D | false | test-board file lock; test infrastructure | `loop {` |
403| SC-026 | aien-sovereign-core | `crates/aien-proof/tests/store_qualification_adversarial.rs` | 14 | `temp_store` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` |
404| SC-027 | aien-sovereign-core | `crates/aien-runtime/src/client.rs` | 175 | `stream_turn` | client reads streamed turn events | runtime IPC client stream | F | false | socket stream reader; protocol mechanics. LEGACY / NOT-IN-CHARGE | `loop {` |
405| SC-028 | aien-sovereign-core | `crates/aien-runtime/src/server.rs` | 106 | `run` | spine worker calls step() while work exists | LLM request serving driver | E | false | drives AienRuntimeSpine::step, one batched forward pass per call. Spec §3.1: LLM request serving, not replaced; retirement deferred to the planned C rewrite of sovereign-core. NOT RETIRED by R16; LEGACY / NOT-IN-CHARGE of faculty order (still serves LLM requests, spec §3.1) | `while is_running_worker.load(Ordering::Relaxed) {` |
406| SC-029 | aien-sovereign-core | `crates/aien-runtime/src/server.rs` | 129 | `run` | socket accept loop | runtime IPC server | F | false | Unix-socket accept loop; protocol mechanics. LEGACY / NOT-IN-CHARGE | `loop {` |
407| SC-030 | aien-sovereign-core | `crates/aien-runtime/src/server.rs` | 252 | `stream_turn` | stream turn events to client | runtime IPC server | F | false | forwards events on a socket; protocol mechanics | `loop {` |
408| SC-031 | aien-sovereign-core | `crates/aien-runtime/src/server.rs` | 307 | `handle_connection` | per-connection request reader | runtime IPC server | F | false | line-protocol reader; protocol mechanics | `while let Ok(n) = buf_reader.read_line(&mut line).await {` |
409| SC-032 | aien-sovereign-core | `crates/aien-runtime/src/spine.rs` | 112 | `run_until_complete` | run_until_complete definition | LLM request serving (not replaced) | E | false | spec §3.1 Q1=A: each step is one batched LLM forward pass; LLM request serving, not replaced; retirement deferred to the planned C rewrite of sovereign-core. NOT RETIRED by R16; LEGACY / NOT-IN-CHARGE of faculty order (still serves LLM requests, spec §3.1) | `pub async fn run_until_complete<B: AienInferenceBackend>(` |
410| SC-033 | aien-sovereign-core | `crates/aien-runtime/src/spine.rs` | 115 | `run_until_complete` | run_until_complete max_steps bound | LLM request serving (not replaced) | E | false | spec §3.1 Q1=A: bound on engine steps of LLM request serving, not replaced; retirement deferred to the planned C rewrite of sovereign-core; LEGACY / NOT-IN-CHARGE of faculty order (still serves LLM requests, spec §3.1) | `max_steps: usize,` |
411| SC-034 | aien-sovereign-core | `crates/aien-runtime/src/spine.rs` | 118 | `run_until_complete` | run_until_complete step loop | LLM request serving (not replaced) | E | false | spec §3.1 Q1=A: LLM request serving, not replaced; retirement deferred to the planned C rewrite of sovereign-core. NOT RETIRED by R16; LEGACY / NOT-IN-CHARGE of faculty order (still serves LLM requests, spec §3.1) | `for _ in 0..max_steps {` |
412| SC-035 | aien-sovereign-core | `crates/aien-runtime/src/spine.rs` | 200 | `launch_swarm` | swarm branch enqueue | token scheduler admission | E | false | enqueues branch sequences into the token scheduler; part of the spine (spec §3.1); LEGACY / NOT-IN-CHARGE of faculty order (still serves LLM requests, spec §3.1) | `for &child_seq in &swarm.branch_sequences {` |
413| SC-036 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_500_branch_benchmark.rs` | 80 | `test_runtime_spine_500_branch_benchmark` | 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)` |
414| SC-037 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 136 | `test_end_to_end_ticket_submission_and_channel_streaming_cpu` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `let metrics = spine.run_until_complete(&mut backend, 20).await.unwrap();` |
415| SC-038 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 143 | `test_end_to_end_ticket_submission_and_channel_streaming_cpu` | 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() {` |
416| SC-039 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 266 | `test_end_to_end_subagent_branching_with_independent_sinks` | 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, 30).await.unwrap();` |
417| 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() {` |
418| 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() {` |
419| 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() {` |
420| 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();` |
421| 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() {` |
422| 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();` |
423| 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() {` |
424| 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() {` |
425| SC-048 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_ipc_test.rs` | 40 | `test_runtime_server_client_ipc_lifecycle` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..50 {` |
426| SC-049 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_ipc_test.rs` | 74 | `test_runtime_server_client_ipc_lifecycle` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..100 {` |
427| SC-050 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_socket_permissions_test.rs` | 35 | `runtime_socket_is_owner_only` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..250 {` |
428| SC-051 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_spine_integration.rs` | 161 | `test_swarm_launch_and_step_execution` | 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` |
429| SC-052 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_completion_test.rs` | 47 | `swarm_natural_completion_reclaims_everything` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `.run_until_complete(&mut backend, 200)` |
430| SC-053 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_inspect_scoping_test.rs` | 90 | `inspect_swarm_is_scoped_to_the_requested_swarm` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `.run_until_complete(&mut backend, 200)` |
431| SC-054 | aien-sovereign-core | `crates/aien-scheduler/src/bin/bench_inference_stack.rs` | 216 | `bench_scheduler_step_overhead` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for &concurrency in &concurrency_levels {` |
432| SC-055 | aien-sovereign-core | `crates/aien-scheduler/src/bin/bench_inference_stack.rs` | 217 | `bench_scheduler_step_overhead` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for i in 0..concurrency {` |
433| SC-056 | aien-sovereign-core | `crates/aien-scheduler/src/bin/bench_inference_stack.rs` | 301 | `bench_continuous_batching_scheduler_throughput` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for &concurrency in &concurrency_tiers {` |
434| SC-057 | aien-sovereign-core | `crates/aien-scheduler/src/bin/bench_inference_stack.rs` | 314 | `bench_continuous_batching_scheduler_throughput` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for i in 0..concurrency {` |
435| SC-058 | aien-sovereign-core | `crates/aien-scheduler/src/bin/bench_inference_stack.rs` | 336 | `bench_continuous_batching_scheduler_throughput` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while scheduler.running_count() > 0 \|\| scheduler.waiting_count() > 0 {` |
436| SC-059 | aien-sovereign-core | `crates/aien-scheduler/src/bin/bench_inference_stack.rs` | 384 | `bench_context_window_scaling` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for &ctx_len in &context_lengths {` |
437| SC-060 | aien-sovereign-core | `crates/cortex-rs/src/db.rs` | 54 | `new` | cortex SQLite writer thread | batched disk writer | E | false | single writer thread drains a write queue; physical I/O batching, no faculty order. LEGACY / NOT-IN-CHARGE | `while let Ok(task) = rx.recv() {` |
438| SC-061 | aien-sovereign-core | `crates/cortex-rs/src/db.rs` | 56 | `new` | cortex writer batch drain | batched disk writer | E | false | drains queued writes in one batch; physical I/O batching | `while let Ok(next) = rx.try_recv() {` |
439| SC-062 | aien-sovereign-core | `crates/cortex-rs/src/db.rs` | 2406 | `test_sqlite_wal_persistence_under_concurrency` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..4 {` |
440| SC-063 | aien-sovereign-core | `crates/cortex-rs/src/db.rs` | 2409 | `test_sqlite_wal_persistence_under_concurrency` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..15 {` |
441| SC-064 | aien-sovereign-core | `crates/cortex-rs/src/db.rs` | 2944 | `test_episodic_concurrency_and_writer_throughput` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..4 {` |
442| SC-065 | aien-sovereign-core | `crates/cortex-rs/src/db.rs` | 2947 | `test_episodic_concurrency_and_writer_throughput` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..25 {` |
443| SC-066 | aien-sovereign-core | `crates/crumbs/src/bin/crumbs-probe-learner.rs` | 29 | `main` | probe learner frame relay | Crumbline probe protocol | F | false | reads frames and records them; protocol mechanics | `loop {` |
444| SC-067 | aien-sovereign-core | `crates/crumbs/src/gen/mechanisms.rs` | 768 | `nibble_permute` | permutation rejection sampling | - | N | false | N: sample: permutation rejection sampling without wait or hand-off | `loop {` |
445| SC-068 | aien-sovereign-core | `crates/crumbs/src/gen/rng.rs` | 50 | `below` | rejection sampling | - | N | false | N: sample: bounded RNG rejection sampling without wait or hand-off | `loop {` |
446| SC-069 | aien-sovereign-core | `crates/crumbs/src/program.rs` | 19 | `-` | crumb program MAX_STEPS | program-length resource bound | E | false | length limit of a crumb program (same kind as rx_plan_arrange max_steps, spec §4 D or E); no loop | `pub const MAX_STEPS: usize = 64;` |
447| SC-070 | aien-sovereign-core | `crates/crumbs/src/program.rs` | 140 | `decode` | decode length check | program-length resource bound | E | false | decoder rejects programs longer than MAX_STEPS; no loop | `if n > MAX_STEPS {` |
448| SC-071 | aien-sovereign-core | `crates/crumbs/src/protocol.rs` | 311 | `run_crumb` | crumb learner frame protocol | Crumbline learner protocol | F | false | reads framed replies from the learner process; protocol mechanics | `loop {` |
449| SC-072 | aien-sovereign-core | `crates/spark-adapters/src/bin/spark_distill.rs` | 305 | `run_cli` | distill CLI input loop | terminal I/O loop | F | false | interactive prompt loop of an offline tool; decides no faculty order. LEGACY / NOT-IN-CHARGE | `loop {` |
450| SC-073 | aien-sovereign-core | `crates/spark-adapters/tests/challenger_m1_concurrency_bounds.rs` | 129 | `test_challenge1_concurrency_50_threads_mixed_read_write_invalidation` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for thread_idx in 0..num_threads {` |
451| SC-074 | aien-sovereign-core | `crates/spark-adapters/tests/challenger_m1_concurrency_bounds.rs` | 136 | `test_challenge1_concurrency_50_threads_mixed_read_write_invalidation` | test/benchmark loop (for:body:sleep) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for i in 0..iterations {` |
452| SC-075 | aien-sovereign-core | `crates/spark-adapters/tests/challenger_m1_concurrency_bounds.rs` | 406 | `test_challenge4_cortex_dynamic_auth_and_zero_disk_touches` | test/benchmark loop (loop:unbounded) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `loop {` |
453| SC-076 | aien-sovereign-core | `crates/spark-cockpit-rs/src/main.rs` | 954 | `main` | forge lease reaper every 30 s | maintenance: expired-lease reclaim | B | false | periodic reclamation of expired forge task leases; deterministic maintenance, dispatches no work. LEGACY / NOT-IN-CHARGE | `loop {` |
454| SC-077 | aien-sovereign-core | `crates/spark-cockpit-rs/src/main.rs` | 1317 | `handle_terminal_socket` | terminal websocket | web terminal protocol | F | false | websocket/PTY relay; protocol mechanics | `loop {` |
455| SC-078 | aien-sovereign-core | `crates/spark-cockpit-rs/src/main.rs` | 1331 | `handle_terminal_socket` | PTY input relay | web terminal protocol | F | false | channel-to-PTY relay; protocol mechanics | `while let Some(bytes) = pty_in_rx.blocking_recv() {` |
456| SC-079 | aien-sovereign-core | `crates/spark-cockpit-rs/src/main.rs` | 1341 | `handle_terminal_socket` | PTY output relay | web terminal protocol | F | false | PTY-to-socket relay; protocol mechanics | `while let Some(data) = pty_rx.recv().await {` |
457| SC-080 | aien-sovereign-core | `crates/spark-cockpit-rs/src/main.rs` | 2440 | `handle_chat_stream` | chat stream chunk reader | HTTP stream protocol | F | false | reads streamed HTTP chunks; protocol mechanics | `while let Some(chunk_result) = byte_stream.next().await {` |
458| SC-081 | aien-sovereign-core | `crates/spark-cockpit-rs/src/main.rs` | 2445 | `handle_chat_stream` | chat stream line splitter | HTTP stream protocol | F | false | splits buffered stream into lines; protocol mechanics | `while let Some(pos) = line_buffer.find('\n') {` |
459| SC-082 | aien-sovereign-core | `crates/spark-debugger/src/daemon.rs` | 21 | `run_watchdog_daemon` | service health watchdog | maintenance: health audit | B | false | periodic reachability audit of services with alerting; operator maintenance. LEGACY / NOT-IN-CHARGE (AI services off 2026-09-28) | `loop {` |
460| SC-083 | aien-sovereign-core | `crates/spark-discord-hub/src/gateway.rs` | 42,111 | `run` | Discord gateway reconnect loop | Discord gateway protocol | F | false | websocket session loop; external protocol | `loop {` |
461| SC-084 | aien-sovereign-core | `crates/spark-discord-hub/src/gateway.rs` | 53 | `run` | Discord outbound sender | Discord gateway protocol | F | false | forwards queued messages to the socket; external protocol | `while let Some(msg) = outbound_rx.recv().await {` |
462| SC-085 | aien-sovereign-core | `crates/spark-discord-hub/src/gateway.rs` | 64 | `run` | Discord inbound reader | Discord gateway protocol | F | false | reads gateway events incl. protocol heartbeats; external protocol | `while let Some(msg_result) = read.next().await {` |
463| SC-086 | aien-sovereign-core | `crates/spark-dream/src/main.rs` | 91 | `main` | idle-time dream cycle timer | - | A | false | retired by non-use: legacy idle-time consolidation service, disabled since 2026-09-28; LEGACY / NOT-IN-CHARGE | `loop {` |
464| SC-087 | aien-sovereign-core | `crates/spark-mail-rs/src/smtp_server.rs` | 19 | `run_smtp_server` | SMTP accept loop | SMTP server | F | false | TCP accept loop; external protocol | `loop {` |
465| 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 {` |
466| 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 {` |
467| 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 {` |
468| 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 {` |
469| 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,` |
470| 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 {` |
471| 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` |
472| 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 {` |
473| 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() {` |
474| 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 {` |
475| 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 {` |
476| 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` |
477| 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 {` |
478| 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` |
479| 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 {` |
480| 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 {` |
481| 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)` |
482| 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` |
483| 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` |
484| 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)` |
485| 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` |
486| 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 {` |
487| 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 {` |
488| 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 {` |
489| 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` |
490| 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() {` |
491| 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 {` |
492| 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 {` |
493| 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 {` |
494| 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"] {` |
495| 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 {` |
496| 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 {` |
497| 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 {` |
498| 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 {` |
499| 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 {` |
500| 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 {` |
501| 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 {` |
502| 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 {` |
503| SC-126 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 347 | `run_decode_batch` | test/benchmark loop (named:run_until_complete) | test / reference path | D | false | test helper (sovereign-core #213): drives a multi-sequence decode through the spine, at most 4 * (max_tokens + 4) steps; not built into any production binary | `.run_until_complete(&mut runner, 4 * (max_tokens + 4))` |
504| SC-127 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 351 | `run_decode_batch` | test/benchmark loop (for:body:recv) | test / reference path | D | false | test helper (sovereign-core #213): walks the per-sequence completion channels after the run; not built into any production binary | `for mut rx in sinks {` |
505| SC-128 | aien-sovereign-core | `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` | 353 | `run_decode_batch` | test/benchmark loop (while:body:recv) | test / reference path | D | false | test helper (sovereign-core #213): drains already-sent events with try_recv, no wait; not built into any production binary | `while let Ok(event) = rx.try_recv() {` |
506| SC-129 | aien-sovereign-core | `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` | 912 | `sampled_swarm_run` | test/benchmark loop (while:body:scheduler) | test / reference path | D | false | test helper (sovereign-core #209): steps the spine until the swarm finishes, capped at 100 steps; not built into any production binary | `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0)` |
507| 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,` |
508| 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 {` |
509| 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);` |
510| AR-004 | aegis-runtime | `src/agent.rs` | 236 | `execute_task` | max_turns exhausted result | retired by non-use | A | false | end of the agent.rs:130 loop. LEGACY / NOT-IN-CHARGE | `max_turns` |
511| AR-005 | aegis-runtime | `src/gateway.rs` | 127 | `chat_handler` | chat request max_turns field | retired by non-use | A | false | HTTP entry into the agent loop. LEGACY / NOT-IN-CHARGE | `pub max_turns: Option<usize>,` |
512| AR-006 | aegis-runtime | `src/gateway.rs` | 145 | `agent_run_handler` | agent_run handler max_turns | retired by non-use | A | false | HTTP entry into the agent loop. LEGACY / NOT-IN-CHARGE | `let max_turns = payload.max_turns.unwrap_or(8);` |
513| AR-007 | aegis-runtime | `src/gateway.rs` | 148 | `agent_run_handler` | agent_run handler calls execute_task | retired by non-use | A | false | HTTP entry into the agent loop. LEGACY / NOT-IN-CHARGE | `.execute_task(&payload.prompt, payload.system.as_deref(), max_turns)` |
514| AR-008 | aegis-runtime | `src/gateway.rs` | 498 | `handle_socket` | websocket loop: relays heartbeat pulses, starts agent runs | retired by non-use | A | false | websocket front end of the heartbeat/agent orchestration (starts execute_task at 547); retired by non-use with aegis-runtime. LEGACY / NOT-IN-CHARGE | `loop {` |
515| AR-009 | aegis-runtime | `src/gateway.rs` | 546 | `handle_socket` | websocket agent run max_turns | retired by non-use | A | false | websocket entry into the agent loop. LEGACY / NOT-IN-CHARGE | `let max_turns = parsed.get("max_turns").and_then(\|v\| v.as_u64()).unwrap_or(8) as usize;` |
516| AR-010 | aegis-runtime | `src/gateway.rs` | 547 | `handle_socket` | websocket calls execute_task | retired by non-use | A | false | websocket entry into the agent loop. LEGACY / NOT-IN-CHARGE | `let res = state.agent.execute_task(prompt, None, max_turns).await;` |
517| AR-011 | aegis-runtime | `src/heartbeat.rs` | 102 | `pulse_once` | heartbeat pending-task dispatch | retired by non-use | A | false | migration map heartbeat.rs:94 pulse_once dispatches pending SQLite tasks (heartbeat task dispatch); spec §3.1 class A, retired by non-use. LEGACY / NOT-IN-CHARGE | `for task in pending_tasks {` |
518| AR-012 | aegis-runtime | `src/heartbeat.rs` | 228 | `start_loop` | HeartbeatEngine::start_loop timer | retired by non-use | A | false | timed polling loop calling pulse_once; spec §3.1 class A. LEGACY / NOT-IN-CHARGE | `loop {` |
519| AR-013 | aegis-runtime | `src/main.rs` | 86 | `-` | CLI max_turns option | retired by non-use | A | false | CLI entry into the agent loop. LEGACY / NOT-IN-CHARGE | `max_turns: usize,` |
520| AR-014 | aegis-runtime | `src/main.rs` | 251 | `main` | daemon polling loop | retired by non-use | A | false | migration map main.rs:251 polling; spec §3.1 class A. LEGACY / NOT-IN-CHARGE | `loop {` |
521| AR-015 | aegis-runtime | `src/main.rs` | 293 | `main` | CLI passes max_turns | retired by non-use | A | false | CLI entry into the agent loop. LEGACY / NOT-IN-CHARGE | `max_turns,` |
522| AR-016 | aegis-runtime | `src/main.rs` | 311 | `main` | CLI calls execute_task | retired by non-use | A | false | CLI entry into the agent loop. LEGACY / NOT-IN-CHARGE | `match agent.execute_task(&prompt, None, max_turns).await {` |
523| AR-017 | aegis-runtime | `src/orchestration/budget.rs` | 5 | `-` | orchestration RunBudget.max_steps | retired by non-use | A | false | step budget of the legacy orchestration module; retired by non-use with aegis-runtime. LEGACY / NOT-IN-CHARGE | `pub max_steps: u32,` |
524| AR-018 | aegis-runtime | `src/orchestration/budget.rs` | 14 | `default` | RunBudget default max_steps 25 | retired by non-use | A | false | step budget of the legacy orchestration module. LEGACY / NOT-IN-CHARGE | `max_steps: 25,` |
525| AR-019 | aegis-runtime | `src/persistence/legacy.rs` | 135 | `list_recent_turns` | DB rows to turn records | - | N | false | N: read: database row iterator read without wait or hand-off | `for r in rows {` |
526| AR-020 | aegis-runtime | `tests/stage2_primitives_tests.rs` | 103 | `test_orchestration_run_and_budget` | test/benchmark loop (named:max_steps) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `max_steps: 10,` |
527| AR-021 | aegis-runtime | `src/enforcement.rs` | 90 | `destructive_shell_refused` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | `#[cfg(test)] mod tests`: walks a fixed list of 10 refused shell commands through pre_dispatch_check; not built into any production binary (aegis-runtime 7288fa6, #35) | `for cmd in [` |
528| AR-022 | aegis-runtime | `src/enforcement.rs` | 114 | `catalogued_shell_allowed` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | `#[cfg(test)] mod tests`: walks a fixed list of 4 allowed commands; not built into any production binary (aegis-runtime 7288fa6, #35) | `for cmd in ["git status", "git diff", "git log -1 --oneline", "ls"] {` |
529| AR-023 | aegis-runtime | `src/enforcement.rs` | 121 | `unknown_or_disguised_skill_names_refused` | test/benchmark loop (for:body:dispatch) | test / reference path | D | false | `#[cfg(test)] mod tests`: walks a fixed list of refused skill names; not built into any production binary (aegis-runtime 7288fa6, #35) | `for name in [` |
530| AR-024 | aegis-runtime | `tests/gateway_auth_tests.rs` | 325 | `serve_must_refuse` | test/benchmark loop (loop:unbounded+sleep) | test / reference path | D | false | test file: waits for a spawned `aegis serve` to exit, 50 ms polls, panics after a 30 s deadline; not built into any production binary (aegis-runtime 7288fa6, #35) | `let status = loop {` |
531| AO-001 | aienos | `crates/aienos-boot/src/handoff.rs` | 128 | `alloc` | bump-allocator CAS retry | - | N | false | N: CAS retry: bump allocator atomic CAS retry without wait or hand-off | `loop {` |
532| AO-002 | aienos | `crates/aienos-boot/src/rollback_mock.rs` | 295 | `run_candidate` | mock candidate hang spin | rollback test mock | D | false | deliberate hang in the rollback mock candidate (timeout mode) used to test rollback; test path | `loop {` |
533| AO-003 | aienos | `crates/aienos-boot/src/usb_keyboard.rs` | 393 | `run` | USB keyboard poll until deadline | boot keyboard hardware poll | E | true | polls the xHCI keyboard for operator input until a deadline; hardware polling | `while !exit && counter_ticks().wrapping_sub(start) < deadline && !keyboard.is_halted() {` |
534| AO-004 | aienos | `crates/aienos-capability/src/lib.rs` | 106 | `take_boot_gen` | boot-generation CAS retry | - | N | false | N: CAS retry: boot generation allocation retry without wait or hand-off | `loop {` |
535| AO-005 | aienos | `crates/aienos-capability/src/lib.rs` | 336 | `chain_ok` | capability chain walk | - | N | false | N: walk: capability delegation chain walk without wait or hand-off | `loop {` |
536| AO-006 | aienos | `crates/aienos-capability/src/lib.rs` | 358 | `ancestor_hops` | ancestor hop count walk | - | N | false | N: walk: ancestor hop count traversal walk without wait or hand-off | `loop {` |
537| AO-007 | aienos | `crates/aienos-capability/src/lib.rs` | 501 | `cascade_revoke` | cascade revoke worklist | - | N | false | N: walk: capability revocation tree walk without wait or hand-off | `loop {` |
538| AO-008 | aienos | `crates/aienos-evidence/src/capture.rs` | 126 | `file_sha256` | file hash read loop | - | N | false | N: read: file chunk read loop for hashing without wait or hand-off | `loop {` |
539| AO-009 | aienos | `crates/aienos-evidence/src/http.rs` | 124 | `send` | HTTP header reader | evidence upload HTTP client | F | true | reads HTTP response headers; external protocol | `loop {` |
540| AO-010 | aienos | `crates/aienos-kernel/src/arch/aarch64.rs` | 409 | `halt` | CPU halt loop | kernel halt | E | true | final wfe/wfi halt of the CPU; physical | `loop {` |
541| AO-011 | aienos | `crates/aienos-kernel/src/arch/aarch64.rs` | 494 | `write_u64` | decimal digit conversion | - | N | false | N: arithmetic: decimal digit conversion without wait or hand-off | `loop {` |
542| AO-012 | aienos | `crates/aienos-kernel/src/arch/aarch64.rs` | 519 | `read_byte` | UART blocking read | UART hardware poll | E | true | polls the UART until a byte arrives; hardware polling | `loop {` |
543| AO-013 | aienos | `crates/aienos-kernel/src/artifact_loader_tests.rs` | 605 | `sealed_address_space_is_wx_with_read_only_code_alias` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for map in MAPS {` |
544| AO-014 | aienos | `crates/aienos-kernel/src/artifact_loader_tests.rs` | 952 | `full_scheduler_fails_closed_at_admission` | test/benchmark loop (for:body:scheduler) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for id in 0..LOADED_TASK_SLOTS as u32 {` |
545| AO-015 | aienos | `crates/aienos-kernel/src/gic.rs` | 83 | `wake` | GIC wake poll | interrupt controller poll | E | true | bounded poll of the GIC redistributor wake bit; hardware | `for _ in 0..poll_limit {` |
546| AO-016 | aienos | `crates/aienos-kernel/src/infer/tokenizer.rs` | 151 | `encode_bytes` | BPE merge loop | - | N | false | N: merge: BPE merge loop without wait or hand-off | `loop {` |
547| AO-017 | aienos | `crates/aienos-kernel/src/scheduler.rs` | 287 | `equal_priority_tasks_share_n_ticks_fairly` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..20 {` |
548| AO-018 | aienos | `crates/aienos-kernel/src/scheduler.rs` | 310 | `background_runs_within_configured_interval_under_latency_load` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..INTERVAL {` |
549| AO-019 | aienos | `crates/aienos-kernel/src/scheduler.rs` | 324 | `latency_keeps_large_majority_of_ticks_with_background_budget` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..TICKS {` |
550| AO-020 | aienos | `crates/aienos-kernel/src/scheduler.rs` | 375 | `removed_tasks_free_their_slot_and_leave_the_queue` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..4 {` |
551| AO-021 | aienos | `crates/aienos-kernel/src/thread.rs` | 310 | `yield_now` | yield_now | kernel thread scheduler | E | true | kernel cooperative yield; physical CPU scheduling | `for _ in 0..MAX {` |
552| AO-022 | aienos | `crates/aienos-kernel/src/thread.rs` | 340 | `park` | park | kernel thread scheduler | E | true | park until woken, yielding the CPU; physical CPU scheduling | `loop {` |
553| AO-023 | aienos | `crates/aienos-kernel/src/thread.rs` | 389 | `worker_a` | preemption demo worker A | kernel preemption self-test | D | false | spin worker that proves timer preemption; self-test only | `loop {` |
554| AO-024 | aienos | `crates/aienos-kernel/src/thread.rs` | 396 | `worker_b` | preemption demo worker B | kernel preemption self-test | D | false | spin worker that proves timer preemption; self-test only | `loop {` |
555| AO-025 | aienos | `crates/aienos-kernel/src/thread.rs` | 532 | `worker` | test/benchmark loop (for:body:yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..5 {` |
556| AO-026 | aienos | `crates/aienos-kernel/src/thread.rs` | 547 | `worker` | test/benchmark loop (while:body:yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `while RUNNABLE.iter().any(\|r\| *r) {` |
557| AO-027 | aienos | `crates/aienos-kernel/src/usb/xhci/controller.rs` | 583 | `wait_event` | xHCI event wait | USB controller event poll | E | true | polls the xHCI event ring; hardware | `loop {` |
558| AO-028 | aienos | `crates/aienos-kernel/src/usb/xhci/ring.rs` | 201 | `take` | xHCI ring consume | USB ring consumer | E | true | consumes TRBs by cycle bit; hardware ring mechanics | `loop {` |
559| AO-029 | aienos | `crates/aienos-kernel/tests/nvme_completion.rs` | 606 | `completion_queue_phase_flips_at_depth_eight` | test/benchmark loop (for:body:poll) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for _ in 0..8 {` |
560| 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 (;;) {` |
561| 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 (;;) {` |
562| 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 (;;) {` |
563| 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 {}` |
564| 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 {` |
565| 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 {` |
566| 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 {` |
567| 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 {` |
568| 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++) {` |
569| 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++) {` |
570| 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 (;;) {` |
571| 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;i<ARGUS_CONTAIN_TIMEOUT_EVENTS;i++) {` |
572| AO-042 | aienos | `native/argus/tests/test_argus_contain.c` | 284 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for(unsigned window=0;window<2;window++) {` |
573| AO-043 | aienos | `native/argus/tests/test_argus_contain.c` | 297 | `main` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `if(window==0) for(uint64_t i=0;i<4090;i++) {` |
574| AO-044 | aienos | `native/argus/tests/test_argus_contain.c` | 302 | `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;i<4080;i++) {` |
575| AO-045 | aienos | `native/argus/tests/test_argus_detect.c` | 1101 | `check_stream_shape` | 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 i = 0; i < n; i++) {` |
576| AO-046 | aienos | `native/argus/tests/test_argus_determinism.c` | 53 | `gen` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t i = 0; i < N_EVENTS; i++) {` |
577| AO-047 | aienos | `native/argus/tests/test_argus_determinism.c` | 358 | `fx_build` | test/benchmark loop (for:body:tick) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (uint32_t i = 0; i <= ARGUS_CONTAIN_TIMEOUT_EVENTS; i++) { /* benign: valid use of the live cap */` |
578| AO-048 | aienos | `native/argus/tests/test_argus_integration.c` | 350 | `producer_main` | test/benchmark loop (for:body:yield) | test / reference path | D | false | test, benchmark or example code; not built into any production binary | `for (size_t i = 0; i < p->n; i++) {` |
579| 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 (;;) {` |
580| 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 (;;) {` |
581| 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 (;;) {` |
582| 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 (;;) {` |
583| 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 (;;) {` |
584| 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++) {` |
585| 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++) {` |
586| 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 (;;)` |
587| 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++) {` |
588| 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]))` |
589| 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 (;;) {` |
590| 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 (;;)` |
591| 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 (;;)` |
592| 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 (;;) {` |
593| 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 (;;) {` |
594| 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 (;;) {` |
595| 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");` |
596| 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");` |
597| 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++)` |
598| 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++)` |
599| 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++)` |
600| 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++)` |
601| 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++)` |
602| 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 (;;) {` |
603| 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 (;;) {` |
604| 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 (;;) {` |
605| 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 (;;) {` |
606| 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++) {` |
607| 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++) {` |
608| 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 (;;) {` |
609| 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++;` |
610| 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++) {` |
611| 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++) {` |
612| 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++) {` |
613| 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++) {` |
614| 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++) {` |
615| 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++) {` |
616| 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);` |
617| 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);` |
618| 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);` |
619| 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);` |
620| 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);` |
621| 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++) {` |
622| 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++) {` |
623| 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);` |
624| 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++) {` |
625| 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 (;;) {` |
626| 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 (;;) {` |
627| 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) {` |
628| 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);` |
629| 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) {` |
630| PH-004 | physics | `m3/tools/m3tool.c` | 50 | `read_file` | file read in M3 tool | M3 qualification tooling | D | false | tool helper, not a production path | `for (;;) {` |
631| PH-005 | physics | `nvrm/nvrm.c` | 194 | `acquire_va_slot` | VA-slot CAS retry | - | N | false | N: CAS retry: virtual address slot allocation CAS retry without wait or hand-off | `for (;;) {` |
632<!-- /r16-inventory:rows -->
633
634### 4.1 Manual rows (straight-line sequencers and glue)
635
636The loop patterns cannot see these. The tool checks that each evidence line still
637exists in the file (symbol not verified) and applies the same class rules.
638
639<!-- r16-inventory:rows -->
640| id | repo | path | line | symbol | old role | new role | class | authoritative | reason | evidence |
641|---|---|---|---|---|---|---|---|---|---|---|
642| AO-M01 | aienos | `crates/aienos-boot/src/handoff.rs` | manual (1621) | `main` | fixed boot stage sequence, then halt | boot / awakening sequence; deterministic maintenance and recovery path | C | true | migration map `handoff.rs:1621`: keep, "must never be removed (§49)"; spec §4 starting verdict C | `fn main() -> Status {` |
643| SC-M01 | aien-sovereign-core | `crates/aien-cli/src/commands.rs` | manual (1536) | `-` | CLI shells out to `spark-aegis` | legacy service glue, kept (Q2 = A) | A | false | spec §3.3 item 3: service glue used only by the retired aegis-runtime sequencing; not removed under Q2 = A, retired by non-use; omega never execs `spark-aegis` (G3 checks). LEGACY / NOT-IN-CHARGE | `let status = std::process::Command::new("spark-aegis")` |
644| OM-M01 | omega | `tools/omegatool.c` | manual (2642) | `legacy_oracle_run_demonstration_living_matvec` | body of the hand-sequenced living-matvec demonstration | retire with `--demonstrate-living-matvec` (W5) | A | false | the function the class-A dispatcher row calls; moved behind a `legacy_oracle` name (W5) | `static void legacy_oracle_run_demonstration_living_matvec(void) {` |
645| OM-103 | omega | `tools/omegatool.c` | manual (3749) | `legacy_oracle_demonstrate_living_matvec` | hand-sequenced living matvec demonstration (spec -> machine -> kernel -> benchmark -> select) | retire: legacy oracle only, under the explicit mode `--legacy-oracle-living-matvec` (R16-G5); the old `--demonstrate-living-matvec` mode is gone | A | false | spec 3.1 / 4: the omega hand-sequenced tool path replaced by the R13 living system; retired behind legacy_oracle symbol names (W5) and, for G5, an explicit legacy mode name; moved to the manual rows because the renamed mode no longer matches the cli-mode pattern | `if (strcmp(arg, "--legacy-oracle-living-matvec") == 0) {` |
646| OM-M02 | omega | `tools/omegatool.c` | manual (3821) | `main` | hand-sequenced milestone demonstrations (16 modes: arithmetic, physics, realization, self-host, verify, program, synthesis, library, discovery, machine, realization-synthesis, accelerator, accelerator-world, blackwell-matmul, blackwell-codegen, blackwell-vector) | reference oracle (legacy orchestrated runtime) | D | false | historical milestone demonstrations; migration map: omegatool = Oracle; not a production entry point; G5: kept only under `--reference-demonstrate-<name>`, dispatched from the one `reference_modes` table that also prints usage; replaces the 16 per-mode cli-mode rows, which the table-driven dispatch no longer shows to the pattern | `int ref_rc = reference_demonstrate(argv[1], 0);` |
647<!-- /r16-inventory:rows -->
648
649## 5. Structural findings (non-greppable §4 terms)
650
651| §4 term | finding | authoritative side | class / status |
652|---|---|---|---|
653| synchronous AIEN → Omega calls | omega's AIEN faculty (`src/runtime/rx_aien.c`) reaches Omega only through world publications; R11 spec: `rx_aien.o` must not have an undefined omega symbol. sovereign-core links no omega symbol; its only omega contact is the `crumbs` curriculum gates (`crates/crumbs/src/gates.rs`, `protocol.rs`), which start omega's `crumbline-learner` as a child process and talk to it over a framed stdin/stdout protocol (F rows SC `protocol.rs:311` and OM `crumbline_learner.c:188`); that is a curriculum/test harness, not the living-system path (word search `omega` over sovereign-core `*.rs`/`*.toml`: 4 hits, all in `crates/crumbs`). | omega reaction world | no central call on the production path; G3 re-checks from the link map |
654| synchronous Omega → AEGIS calls | omega calls the native AIENOS capability library (`AIENOS_CAP_LIB`, `native/capability/libaienos_capability.a`) for authority; it never execs or links aegis-runtime or `spark-aegis` (grep of omega `src/`, `tools/`, Makefile: zero hits). | native AIENOS capability authority | aegis-runtime path: class A by non-use (AR rows) |
655| duplicate schedulers | (1) omega `rx_world.c` reaction scheduler (E, authoritative); (2) sovereign-core `aien-scheduler` token batching for LLM serving (E, spec §3.1, not on the reaction path); (3) aienos kernel CPU scheduler `scheduler.rs` / `thread.rs` (E, physical); (4) aegis-runtime heartbeat task polling (A, retired by non-use). Only (1) orders faculty work. | omega `rx_world.c` | no duplicate semantic scheduler after R16 within scope |
656| duplicate world ownership | omega has the reaction world (`rx_world.c`, authoritative) and the M19 accelerator world (`omega_accelerator_world.c`), which the spec keeps as the known-good fallback (C). | reaction world; M19 world = fallback | C row OM for `omega_world_drain`; fallback status proved in G6 |
657| duplicate authority ownership | (1) aienos `native/capability/aienos_capability.c` (C, "native AIENOS capability authority"); (2) aienos `crates/aienos-capability` (Rust twin of the same design); (3) omega `rx_caproot.c`, self-described "host reference capability root … R7 is not claimed"; (4) physics `m3/capability.s` historical assembly oracle. | (1) | C3: native C library is authoritative; Rust crate is legacy; omega rx_caproot.c is a host reference root |
658| duplicate semantic task queues | aegis-runtime SQLite pending-task queue (A, non-use); sovereign-core cortex writer queue is a disk-write batcher (E), not a task queue. | omega reaction world | none remaining in scope |
659| duplicate generation model | omega `rx_generation.c` is the generation mechanism (protected, §49). Other "promotion" code (word search `promot` over the four other repos, vendor/third_party excluded): sovereign-core `cortex-rs/src/promotion.rs` promotes memory candidates, `crumbs/src/promotion.rs` promotes curriculum operations; aienos `crates/aienos-aegis/src/world.rs` has a Rust J-Space sandbox world with a `Promoted` state (`mark_promoted` used only in that file), `aienos-cortex/src/store.rs` and the capability library use the word for other things; aegis-runtime and physics have none. None of them promotes a reaction-world generation; none is linked by omega (G3 checks). | omega `rx_generation.c` | protected; G6 |
660| duplicate resource pool | omega `rx_world.c` admission budgets; aien-proof test-board CPU/memory slots are test infrastructure (E, non-authoritative). | omega `rx_world.c` | none in scope |
661| duplicate causal state | not assessed by grep; the R4 causal-trace target is still to be named (spec §2 precondition 4). | — | open, belongs to spec §2 item 4 |
662| service/RPC boundaries replaced by reactions | aegis-runtime HTTP/websocket gateway (A rows, non-use); sovereign-core runtime IPC socket (F, serves the LLM loop that stays per §3.1). | — | as rows |
663| operator consoles (Omega Visor V1, merged #69 after the spec) | `src/visor/` REPL runs one operator command per line; commands call Omega functions directly on operator request, never on their own. `tools/qualify_visor.py` is Python and outside the gate's file types. | operator | B row for `run_loop`; W5 / G5 should state that Visor is an operator console, not the production entry point |
664
665## 6. Questions for the orchestrator (resolved 2026-09-29)
666
667All 44 pending questions have been decided by Drake Stapleton (2026-09-29) and
668resolved in the map:
669
670- **Question N (30 rows)**: Adopted class N (NOT A CENTRAL LOOP) via spec
671 clarification C1 for data and control-flow idioms (CAS retry, seqlock retry,
672 probe, parse, walk, read, arithmetic, sift, sample, merge). All 30 rows
673 reclassified as class N, authoritative = false, with reason starting with
674 `N: <idiom>: <description>`.
675- **Question CLI (13 rows)**: Reclassified as class A (retired by non-use),
676 authoritative = false. Reason: "retired by non-use: legacy terminal operator
677 CLI, superseded by orchestrator interface". Added to spec §7 not-claimed list
678 via clarification C2.
679- **Question DREAM (1 row)**: Reclassified as class A (retired by non-use),
680 authoritative = false. Reason: "retired by non-use: legacy idle-time
681 consolidation service, disabled since 2026-09-28". Added to spec §7 not-claimed
682 list via clarification C2.
683- **Question AUTH (structural, §5)**: Resolved via clarification C3. The native
684 C library is authoritative; the Rust capability crate is legacy under the
685 no-Rust port; omega rx_caproot.c is a host reference root.
686
687## 7. Counts
688
689Filled from the tool's JSON output on this map (§8).
690
691| repo | A | B | C | D | E | F | N | ? | loop/named/cli sites | manual rows |
692|---|---|---|---|---|---|---|---|---|---|---|
693| omega | 0 | 18 | 2 | 76 | 13 | 2 | 22 | 0 | 133 | 3 |
694| aien-sovereign-core | 14 | 5 | 0 | 40 | 11 | 18 | 2 | 0 | 90 | 1 |
695| aegis-runtime | 18 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 20 | 0 |
696| aienos | 0 | 0 | 0 | 12 | 8 | 1 | 11 | 0 | 32 | 1 |
697| physics | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 0 | 5 | 0 |
698
699Manual rows: omega OM-M01 = A and OM-103 = A (moved to the manual rows in W5: the
700renamed `--legacy-oracle-living-matvec` mode no longer matches the cli-mode pattern),
701omega OM-M02 = D (the 16 `--reference-demonstrate-*` modes, dispatched from one table
702since the G5 review, so the per-mode cli-mode rows are gone),
703sovereign-core SC-M01 = A, aienos AO-M01 = C.
704Total (rescan 2026-09-30, omega at `6d1ff1d` plus the R16 branch): 280 pattern sites +
7055 manual rows; 0 unclassified; 0 questions remaining; 37 class N data/control-flow
706idiom sites. The omega rows OM-137..OM-148 were added for code merged to main after
707the first scan.
708
709## 8. Gate result on this map (R16-G2 tool, after W5 retirement)
710
711`make r16-inventory` -> exit 0, PASS:
712
713`sites=280 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS`
714(rescan 2026-09-30 after the G5 review made omegatool's reference modes table-driven:
71516 per-mode rows replaced by manual row OM-M02; before that `sites=294`; first scan: `sites=283`)
716
7171. `question=0`: all 44 question rows are resolved and reclassified (§6).
7182. `a_reachable=0`: omegatool `--demonstrate-living-matvec` (OM-103 dispatcher line and
719 OM-M01 function, class A) retired behind `legacy_oracle` symbol names (W5) and, for
720 G5, the explicit mode `--legacy-oracle-living-matvec`; the old mode is gone.
7213. G5: the 16 omegatool milestone demonstration modes (class D reference oracle) run
722 only under the explicit reference name `--reference-demonstrate-*`; the tool counts
723 `"--reference-` literals as cli-mode sites.
724
725The tool prints `WARN omega: scanned HEAD ... differs from map SHA`, because the
726R16 branch builds on top of omega main. Expected.
727
728### 8.1 Update 2026-10-01 (Lane 32, R16 re-qualification follow-up)
729
730The R16 re-qualification on candidate `3108fc2` (omega main of 2026-10-01) ran this tool
731and found `sites=328 unclassified=47` (receipt `evidence/REQUAL-3108fc2/`, G1 and G2
732FAIL). The 47 sites came from code added after this map's last update (compiler,
733estimation, fabric, rx_compose, searchtrace, train, tests, tools). Rows OM-152 to
734OM-199 classify them (48 sites: the 47 first found plus est4.c:237, found by the forge run on b765cd6, Round 3), each from reading the loop, with a one-line reason: 20 class N,
73523 class D, 1 class E (`omega_numeric_reduce_gb10.c`, GPU reduction launcher, not on the
736reaction path), 4 class B (explicit close/drain of an attached composition in
737`rx_compose.c`), 0 class A. (Line numbers in these rows are at omega main `9ca297c`;
738the join key does not use them.) No new site sequences faculties on the production
739path, so none is an orchestrator-shaped finding. The map is not a gate result: the
740gate result is whatever `make r16-inventory` prints on the candidate, recorded in the
741qualification receipt. The tool now prints `SCANNED <repo> HEAD <sha> (<path>)` for every
742repository it scans, so a run records exactly which commits it saw (the JSON already
743carried `head`). The five-repository scope is unchanged.
744
745### 8.2 Update 2026-10-05 (overnight lane L12-R16, inventory reconciliation)
746
747The ALLEN host receipt `evidence/ALLEN/18cfa250….json` recorded this gate as FAIL
748(`76 unclassified sites and 2 stale rows`) and attributed them to "the local survey
749checkouts of other repos". Rerun with `tools/r16_loop_inventory.sh` on omega main
750`b544d81` and on the CAND-0 omega commit `e5593ae`, the other four repositories at the
751SHAs in §1 (`~/workspace/r16-survey/*`, heads printed by the tool): every one of the
75276 unclassified sites and both stale rows is in **omega**; the four other repositories
753have 0. Both commits gave the same result, line for line:
754`sites=403 unclassified=76 question=0 bad_class=0 a_reachable=0 stale=2 map_errors=0 skipped=0 -> FAIL`.
755ALLEN (`b544d81` over `e5593ae`) adds no site.
756
757Origin (fixed tool and this map, run over every first-parent omega commit from
758`38919c8~3` to `b544d81`): 16 sites (`tests/model/`) came with #174 (0d8b057), merged
759about 12 minutes before §8.1's #172 and never covered by it, so the gate was already FAIL on
760main right after #172. The other 60 came with later merges (DUAL-0a/0b/1a/1b and the
761DUAL applicability experiment, PD-0 substrate cut 1, D3, D4, D5 and learner cut 4, VC1 stages 3-4,
762HD-09, HD-13 quietlock, M20 tensor store, C4 requalify, I11, GPU Engine, FB-1 cut 5,
763CHIPWAIT-1 and 1c). The two stale rows are loops edited in place: OM-012 by CHIPWAIT-1
764(fc96141, the inline marker spin became the shared wait primitive) and OM-181 by I11
765(f523edd, the settle condition gained `+ upstream_held()`).
766
767Reconciliation, each row from reading the loop (no tool, pattern, threshold or class
768rule changed):
769- Rows OM-200 to OM-273 (74 sites): 21 class N (parse, read, decode, format, scan,
770 walk, sift, sample, arithmetic; the `tick` hits in `src/dual/` are recorded data
771 ticks and the `schedule` hits in `src/physics0/` are experiment input schedules, as
772 in OM-193), 50 class D (49 test files under `tests/`, plus the DUAL-1b replay
773 `rx_dual_replay_run`, linked only into `test-dual-replay`), 1 class F (PD-0 world
774 framed fd request/response server, same shape as OM-088), 2 class B (`quietlock hold`
775 operator lock waits), 0 class A, 0 class C or E. No new site sequences faculties on
776 the production path.
777- OM-012 and OM-181 re-anchored to the edited loops (same function, same role, same
778 class D); the old evidence line is kept in each reason.
779
780Result after this update, same command, same five-repository set:
781`sites=403 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS`
782on omega `e5593ae` (CAND-0) and on omega `b544d81` (main). omega per class:
783A 0, B 24, C 2, D 150, E 14, F 3, N 63 (256 sites). `make test-r16-inventory`
784(planted loops, stale row, class-N rules): PASS. This is the G1/G2 inventory only; it
785is not an R16 qualification receipt (G3-G8 are separate).
786
787Limit: the scan set for aien-sovereign-core, aegis-runtime, aienos and physics is
788still the §1 SHAs of 2026-09-29. Scanning them at the CAND-0 SHAs instead
789(sovereign-core `0c1d249`, aienos `9d41efc`, physics `6d7cf0d`; aegis-runtime
790unchanged) adds 37 unclassified sovereign-core sites, 64 aienos sites and 2 stale
791sovereign-core rows (SC-043, SC-044); physics adds none. Moving the §1 SHAs is a
792separate update to this map (done in §8.3).
793
794### 8.3 Update 2026-10-05 (L12-R16): scan set re-pinned to CAND-0
795
796Orchestrator decision (Drake's order): R16 is reconciled against the frozen candidate
797CAND-0 (`aien-architecture` `qualification/candidates/CAND-0.toml`, merged a44d5da).
798The §1 table now holds omega `e5593ae`, aien-sovereign-core `0c1d249`, aienos `9d41efc`
799and physics `6d7cf0d`. aegis-runtime is not part of CAND-0 (archived, no candidate
800pin) and stays at `2bbce76`. `~/workspace/r16-survey/*` still sits at the old SHAs, so a
801CAND-0 run must point the tool at CAND-0 checkouts:
802`R16_REPO_SOVEREIGN_CORE=<sc@0c1d249> R16_REPO_AIENOS=<aienos@9d41efc> R16_REPO_PHYSICS=<physics@6d7cf0d> tools/r16_loop_inventory.sh`
803(run from omega at `e5593ae`; aegis-runtime from the survey checkout at `2bbce76`).
804
805Before (this map up to §8.2, repos at CAND-0):
806`sites=502 unclassified=101 question=0 bad_class=0 a_reachable=0 stale=2 map_errors=0 skipped=0 -> FAIL`
807(sovereign-core 37 unclassified + stale SC-043/SC-044, aienos 64, physics 0, omega 0).
808
809Reconciliation, each row from reading the loop (no tool, pattern, threshold or class
810rule changed):
811- SC-091 to SC-125 (35 sovereign-core sites): 31 class D (test files and
812 `#[cfg(test)]` code, plus the `tools/aien-test` gate runner, test infrastructure like
813 the aien-proof rows), 3 class E (spine swarm prefill and swarm-cancel slot reclaim,
814 LLM request serving kept under §3.1 Q1=A; the `aien-switchboard` AI-account
815 failover, at most one try per account), 1 class N (file hash read), 0 class A.
816- AO-033 to AO-096 (64 aienos sites): 47 class D (test files, the TEST-ONLY
817 continuity/store-crash halts, the QEMU UDP echo helper, the m3.c M3 isolation
818 self-check), 8 class E (NVMe completion/shutdown polls, SMP bring-up wait and park,
819 reset halt, virtio-net TX reclaim, FPU-probe panic halt), 9 class N (token, bpe,
820 walk, read, sift), 0 class A.
821- SC-043 and SC-044 re-anchored: the enclosing test was renamed
822 (`…blackwell…` -> `test_end_to_end_gb10_hardware_execution_if_available`, sovereign-core
823 14126c6, #189); loop lines unchanged, class D.
824No new site sequences faculties on the omega production path; no genuine violation
825was found, so no code change in any repository.
826
827After, same command:
828`sites=502 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS`
829on omega `e5593ae` (no WARN: every scanned head equals §1) and on omega main `b544d81`
830(WARN for omega only, expected). Per repo after: omega A0 B24 C2 D150 E14 F3 N63
831(256); sovereign-core A14 B5 D71 E14 F18 N3 (125); aegis-runtime A18 D1 N1 (20);
832aienos D59 E16 F1 N20 (96); physics B1 D2 E1 N1 (5). This is the G1/G2 inventory for
833CAND-0, not an R16 qualification receipt.
834
835### 8.4 Update 2026-10-05 (overnight C1): scan set re-pinned to CAND-1 prep
836
837The §1 table now holds omega `ddf200d` (main after #283), aien-sovereign-core `69340c7`
838(main), aegis-runtime `f4e8709` (main), aienos `bbad5e4` (main after #263, the CAND-1
839aienos pin) and physics `6d7cf0d` (omega `physics.lock`). aegis-runtime moved from
840`2bbce76` (gateway hardening #35, relicense #36), so this is the first scan of it since §8.3.
841OM-274 to OM-276 (class D, immutable evidence copies of `gpu_attention_test.c`) came in
842with #283.
843
844Before, same command with each repo pointed at a clean checkout of those commits:
845`sites=509 unclassified=4 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> FAIL`
846(all 4 in aegis-runtime #35).
847
848Reconciliation, each row from reading the loop (no tool, pattern, threshold or class
849rule changed): AR-021 to AR-024, class D. Three are `#[cfg(test)]` walks over fixed
850lists of shell commands and skill names in `src/enforcement.rs`; one is a test helper in
851`tests/gateway_auth_tests.rs` that waits up to 30 s for a spawned `aegis serve` to exit.
852None runs in a production binary.
853
854After:
855`sites=509 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS`.
856aien-sovereign-core still has open changes before the CAND-1 pin; the CAND-1 R16 receipt
857reruns this scan on the final commits.
858
859### 8.5 Update 2026-10-05 (overnight C1): CAND-1 frozen
860
861The §1 table now holds the frozen CAND-1 commits: omega `cb06d08`, aien-sovereign-core
862`2eec75b`, aegis-runtime `f4e8709`, aienos `bbad5e4`, physics `6d7cf0d`.
863
864Before, omega at `cb06d08` with the map as of `cb06d08`, the other repos at the commits above:
865`sites=513 unclassified=4 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> FAIL`
866(all 4 in sovereign-core test code added by #209 and #213).
867
868Reconciliation, each row from reading the loop (no tool, pattern, threshold or class
869rule changed): SC-126 to SC-129, class D. SC-126 to SC-128 are the multi-sequence decode
870helper of the native `paged_attention_batch` test (#213): a spine run capped at
8714 * (max_tokens + 4) steps, then a walk over the result channels with non-blocking
872`try_recv`. SC-129 is the sampled swarm helper of the KV lifecycle tests (#209), capped at
873100 spine steps. None runs in a production binary.
874
875After:
876`sites=513 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS`
877(omega code `cb06d08`; this map change touches no code, so the CAND-1 omega commit stays `cb06d08`).