Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/evidence/CAND1-R16INV-cb06d08/map-after.md # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / evidence / CAND1-R16INV-cb06d08 / map-after.md` 877 lines · 174952 bytes Raw Blame History Source # R16 orchestrator retirement map (R16-G1) Status: INVENTORY. Written under `spec/r16-orchestrator-retirement.md` §4, after that spec's commit and before any retirement code. No rows were changed after the inventory tool (`tools/r16_loop_inventory.c`, R16-G2) was run against them except to fill classes. Scope decisions: spec §3.1 (Q1 = A, Q2 = A, decided by Drake 2026-09-28). The machine-readable part of this file is the two marked tables. The tool reads only those. Everything else is explanation. ## 1. Repositories scanned Each at its `origin/main` commit on 2026-09-29. omega was scanned in the R16 worktree at branch commit `d6c8630` (= omega main `193a7e7` plus the R16 spec only, before this map and tool; no code differences). Rescanned 2026-09-30 for the G3-G5 branch on omega main `6d1ff1d` (the R16 work rebased onto current main); the omega row below is that base. The tool prints a WARN when a scanned tree differs from this table, which is expected for omega on the R16 candidate. 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. repo sha omega `cb06d081901c03063945a99ffed1c58d33397e9c` aien-sovereign-core `2eec75b08aeb8f9d11f950070e13f6c2c046cf24` aegis-runtime `f4e870953a466bb1cf68f1d88285929024cf1ba9` aienos `bbad5e4250e57f8cbd1be4cf1390109aa65ef92c` physics `6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf` ## 2. Method (what counts as a loop site) Output of `r16_loop_inventory --patterns`: ``` R16 loop inventory patterns (tools/r16_loop_inventory.c) files: 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) comments and string/char literal contents blanked before matching loop heads: C while( for( do{ ; Rust while, for..in, loop{ ; C do-while tails not double-counted unbounded: while(1) while(true) while(!0) for(;;) Rust loop{} Rust while true body 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 flagged loop = unbounded OR a body word in condition or body named 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 cli-mode (C): a code line testing argv[ against a "--demonstrate-...", "--reference-..." or "--run-..." literal manual rows (line cell starts with "manual"): evidence line must still exist in the file (symbol not verified); same class rules apply join key: repo + path + enclosing symbol + whitespace-collapsed source line class-A reachability (omega only, naming proxy; G3 checks the link map): path or symbol must contain legacy_oracle or reference class N (not a central loop): data/control-flow idiom; reason must name allowed idiom; body must not contain wait words ``` Notes: - Only C and Rust files are in the gate's file-type scope. Assembly (physics `m3/*.s`, the historical capability/effect-broker oracle), shell and Mojo are not scanned; none of them is on the omega production path. - `vendor/` and `third_party/` are copies of outside libraries (aienos `vendor/` holds syn, serde, uefi, etc.), not our code. `tests/r16_inventory/` in omega holds the tool's own planted-loop fixtures. - "Unbounded" loops are included on purpose: a planted `while (1)` must fail the gate even if its body has no wait word. This also pulls in data idioms (CAS retries, hash probes, parsers, list walks); those rows are classified as class N under clarification C1. - A plain bounded data loop (`for (i = 0; i < n; i++)` with no wait or hand-off word) is not a site. A bounded loop that polls, sleeps, receives, dispatches, schedules or takes turns is. - Straight-line sequencers that no loop pattern can see are listed as manual rows (§4): the tool checks their source line still exists and applies the class rules to them. omegatool's hand-sequenced modes are caught by the `cli-mode` pattern (a C line testing `argv[` against `"--demonstrate-…"`, `"--reference-…"` or `"--run-…"`). The 16 reference demonstrations are dispatched from one table and have no such line; manual row OM-M02 covers them. ## 3. Search-term hit counts (spec §4) Word hits in code (comments and strings removed; identifier words split at `_` and case changes). These are mentions, not loops; every loop they sit in is a row below. Counted by the tool on the R16 branch tree (omega main `6d1ff1d` plus the R16 spec, map, tools and tests; rescanned 2026-09-30) and the four other repos at the SHAs above. term (spec §4) pattern word(s) omega sovereign-core aegis-runtime aienos physics run_until_complete run_until_complete 2 7 0 0 0 max_steps max_steps (substring count; gated only as a whole identifier) 86 7 3 0 0 max_turns max_turns 0 0 13 0 0 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 polling for semantic readiness poll 34 0 0 13 0 (waiting) sleep, usleep, nanosleep, msleep 78 27 0 0 3 (waiting) wait (counted, not a gate word: too common in condvar code) 236 18 0 29 13 heartbeat task dispatch heartbeat 24 15 71 0 0 heartbeat task dispatch tick 68 4 26 32 0 heartbeat task dispatch pulse 18 30 27 0 0 central dispatch / manual faculty invocation dispatch 73 51 16 25 0 duplicate schedulers schedule, scheduler, sched 150 173 0 110 2 orchestration orchestrate, orchestrator, orchestration 10 0 8 0 0 turn loops turn, turns 0 60 69 0 0 message hand-off recv 3 21 2 17 0 cooperative hand-off yield 20 3 0 4 0 Loop sites found (rows in §4): see the per-class counts in §6. Terms that are not greppable (synchronous AIEN→Omega / Omega→AEGIS calls, duplicate world / authority / queue / generation / resource-pool / causal-state ownership, RPC boundaries replaced by reactions) are answered structurally in §5. ## 4. Loop rows Columns (spec §4): id, repo, path, line (at the recorded SHA; several lines when the same source line repeats in one function), symbol (enclosing function, `-` at file scope), old role, new role, class (A–F, or `?` with the question in the reason), authoritative (after R16, for the reaction production path; `false` for every A and D row), reason, evidence (the flagged source line, whitespace-collapsed; this plus repo, path and symbol is the join key the tool uses). Class-A rows in the Rust repositories are retired by non-use (spec §3.1 Q2 = A): the code stays, labelled LEGACY / NOT-IN-CHARGE, and R16-G3 proves omega never links or execs it. Test, benchmark and example code is class D by path (it is not built into any production binary); in-file Rust `#[cfg(test)]` modules likewise. id repo path line symbol old role new role class authoritative reason evidence 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++) {` 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);` 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 (;;) {` 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) {` 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) {` 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) {` 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 (;;) {` 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++) {` OM-009 omega `src/omega_world_gates.c` 234 `test_m19_gate3_channel_reuse` M19 gate 3 body M19 qualification gate (regression oracle) D false gate test body run by --run-m19-gates; migration map: regression oracle `for (uint32_t step = 0; step < 4 && ok; step++) {` OM-010 omega `src/omega_world_gates.c` 664 `test_m19_gate7_queue_wrap` M19 gate 7 body M19 qualification gate (regression oracle) D false gate test body run by --run-m19-gates `while (submitted < stress_count) {` OM-011 omega `src/omega_world_gates.c` 668 `test_m19_gate7_queue_wrap` M19 gate 7 body M19 qualification gate (regression oracle) D false gate test body run by --run-m19-gates `for (uint32_t k = 0; k < batch; k++) {` OM-012 omega `src/omega_world_gates.c` 763 `test_m19_gate7_queue_wrap` M19 gate 7 completion wait M19 qualification gate (regression oracle) D false gate test waits for the completion marker, then the marker2 sentinel, through the shared primitive omega_gpu_wait_sequence; test path only. Re-anchored 2026-10-05 (§8.2): the same wait was an inline spin `while (*world.completion.cpu_marker < dispatch_id) {` until CHIPWAIT-1 (`fc96141`, #232) and CHIPWAIT-1c (`4e82e50`, #236) `for (int stage = 0; stage < 2; stage++) {` OM-013 omega `src/omega_world_gates.c` 1153 `test_m19_gate8_1000_op` M19 gate 8 body M19 qualification gate (regression oracle) D false gate test body run by --run-m19-gates `for (uint32_t cycle = 0; cycle < 250; cycle++) {` OM-014 omega `src/omega_world_gates.c` 1593 `test_m19_gate13_memory_bound` M19 gate 13 body M19 qualification gate (regression oracle) D false gate test body run by --run-m19-gates `for (int i = 0; i < 10; i++) {` OM-015 omega `src/omega_world_gates.c` 1597 `test_m19_gate13_memory_bound` M19 gate 13 body M19 qualification gate (regression oracle) D false gate test body run by --run-m19-gates `for (int i = 0; i < 200; i++) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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)) {` 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];` 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 (;;) {` 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 (;;) {` 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;` 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++) {` 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++) {` 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) {` 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);` 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++) {` 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) {` 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,` 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++) {` 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,` 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 (;;) {` 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 (;;) {` 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++) {` 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++) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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) {` 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 (;;) {` 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)) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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++) {` 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);` 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++) {` 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++) {` 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;` 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) };` 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;` 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) {` 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) {` 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 { \` 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++) {` 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++) {` 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++) {` 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++) {` 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)) {` 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++) {` 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++) {` 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++) {` 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++) {` 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 (;;) {` 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 (;;) {` 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) {` 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++)` 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) {}` 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);` 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) {` 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)) {` 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++) {` 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++) {` 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)) {` 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)) {` 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++) {` 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));` 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++) {` 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) {}` 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++) {` 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 (;;) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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) {` 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 (;;) {` 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) {` 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 (;;) {` 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)) {` 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++) {` 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++)` 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++) {` 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++) {` 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++) {` 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++) {` 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++) {` 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++) {` 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++) {` 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++) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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++) {` 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 */` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` OM-149 omega `tools/omegatool.c` 3811 `main` surface-check resolver (R16-G5) reference mode dry run D false `--reference-dispatch-dry-run ` 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) {` 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);` 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++) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 */` 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);` 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)) {` 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);` 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++)` 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);` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` 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++) {` 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 (;;) {` 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) {}` 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++)` 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++) {` OM-178 omega `tests/fabric/fabric_test.c` 117 `pump` test mailbox drain reference / test path (non-authoritative) D false fabric test: drains one node mailbox with fab_poll; test code, not built into any production binary `while (fab_poll(&h->node[i], now, &v) == 1)` OM-179 omega `tests/runtime/rx_compose_attach_test.c` 229 `rogue_refused` test remove-reaction retry reference / test path (non-authoritative) D false composition attach test: retries reaction removal while BUSY; test code, not built into any production binary `while (rx_world_remove_reaction(&g_w, rid) == RX_ERR_BUSY) sleep_us(1000);` OM-180 omega `tests/runtime/rx_compose_attach_test.c` 385 `t_close_waits` test wait for held step reference / test path (non-authoritative) D false composition attach test: sleep-polls until the held step is reported; test code, not built into any production binary `while (!__atomic_load_n(&c->test.held, __ATOMIC_ACQUIRE) && waited++ < 10000) sleep_us(1000);` OM-181 omega `tests/runtime/rx_compose_attach_test.c` 403 `t_close_waits` test wait for settle reference / test path (non-authoritative) D false composition attach test: sleep-polls until the held step (plus, since I11, the one step parked behind it) is in flight; test code, not built into any production binary. Re-anchored 2026-10-05 (§8.2): condition was `in_flight() != 1` until `f523edd` (#195) `for (waited = 0; in_flight() != 1 + upstream_held() && waited < 10000; waited++) sleep_us(1000);` OM-182 omega `tests/runtime/rx_compose_attach_test.c` 402 `t_close_waits` test wait for revoke reference / test path (non-authoritative) D false composition attach test: sleep-polls until the write right is revoked; test code, not built into any production binary `for (waited = 0; waited < 5000 &&` OM-183 omega `tests/runtime/rx_jspace_prod.c` 598 `test_world` test race writers reference / test path (non-authoritative) D false J-Space production test: two racing writers; test code, not built into any production binary `for (int k = 0; k < 2; k++) {` OM-184 omega `tests/runtime/rx_jspace_prod.c` 617 `test_world` test tick publisher reference / test path (non-authoritative) D false J-Space production test: publishes 40 external tick mutations; test code, not built into any production binary `for (unsigned t = 1; t <= 40; t++) {` 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 (;;) {` 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++)` 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++) {` 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 (;;) {` 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++) {` 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++) {` 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++) {` 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 (;;) {` 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++) {` 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++) {` 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++) {` 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)) {` OM-197 omega `tools/estimation/est_load.c` 110 `main` load generator segment schedule reference / test path (non-authoritative) D false EST measurement load generator: steps through the load level schedule; measurement tool, not built into any production binary `for (int i = 0; i < nseg && !g_stop; i++) {` OM-198 omega `tools/estimation/est_load.c` 120 `main` load generator segment timer reference / test path (non-authoritative) D false EST measurement load generator: sleeps until the segment ends; measurement tool, not built into any production binary `for (;;) {` OM-199 omega `tools/estimation/est4.c` 237 `e4_score` EST4 scoring walk - N false N: walk: scores recorded ticks in order (data ticks, not a scheduler tick), without wait or hand-off; offline evidence tool, same shape as OM-195 `for (size_t t = 0; t < tk->n && !rc; t++) {` OM-200 omega `src/dual/rx_dual_replay.c` 46 `rx_dual_check_trace` DUAL trace tick validation - N false N: scan: validates each tick of a recorded DUAL measurement trace (data ticks, not a scheduler tick); no wait or hand-off `for (uint32_t i = 0; i < tr->n_ticks; i++)` OM-201 omega `src/dual/rx_dual_replay.c` 71 `rx_dual_encode_trace` DUAL trace encoding - N false N: format: encodes each recorded trace tick into the canonical byte layout; no wait or hand-off `for (uint32_t i = 0; i < tr->n_ticks; i++)` OM-202 omega `src/dual/rx_dual_replay.c` 89 `rx_dual_decode_trace` DUAL trace decoding - N false N: decode: decodes each trace tick from canonical bytes; no wait or hand-off `for (uint32_t i = 0; i < n; i++) {` OM-203 omega `src/dual/rx_dual_replay.c` 110 `rx_dual_digest_trace` DUAL trace digest - N false N: walk: hashes each encoded trace tick into the trace digest; no wait or hand-off `for (uint32_t i = 0; i < tr->n_ticks; i++) { enc_tick(&tr->t[i], tick); sha256_update(&ctx, tick, sizeof tick); }` OM-204 omega `src/dual/rx_dual_replay.c` 194 `rx_dual_replay_run` DUAL-1b deterministic replay reference / test path (non-authoritative) D false DUAL-1b replay of a recorded trace through the pure reference price controller; linked only into test-dual-replay (mk/dual.mk DUAL_REPLAY_SRCS), no production caller (DUAL production influence is disabled by gate); one controller update per recorded data tick, no wait or hand-off, decides no faculty order `for (uint32_t i = 0; i < tr->n_ticks; i++) {` OM-205 omega `src/dual_experiment/applic_metrics.c` 24 `sift` heap sift-down - N false N: sift: binary heap sift-down in the offline DUAL applicability metrics; no wait or hand-off `for (;;) {` OM-206 omega `src/omega_receipt.c` 161 `jstring` JSON string parse - N false N: parse: receipt JSON string parser; no wait or hand-off `for (;;) {` OM-207 omega `src/omega_receipt.c` 215 `jcontainer` JSON container parse - N false N: parse: receipt JSON object/array parser; no wait or hand-off `for (;;) {` OM-208 omega `src/omega_resolve.c` 101 `parse_version` version string parse - N false N: parse: dotted version number parser in OSC import resolution; no wait or hand-off `for (;;) {` OM-209 omega `src/omega_resolve.c` 226 `read_file` whole-file read - N false N: read: grows a buffer and reads a whole file (size-capped); no wait or hand-off `for (;;) {` OM-210 omega `src/omega_vcstore.c` 683 `omega_vcstore_load` crumb store file read - N false N: read: reads the Verified Crumb Store file into memory before parsing; no wait or hand-off `for (;;) {` OM-211 omega `src/oscv_main.c` 48 `slurp` source file read - N false N: read: reads one source file (size-capped) in the oscv driver; no wait or hand-off `for (;;) {` OM-212 omega `src/physics0/ladder/pd0_ladder.c` 297 `try_t5` PD-0 T5 schedule-reuse check - N false N: scan: scans recorded episodes for a reused pre-registered experiment schedule (an experiment input sequence, data, not a task scheduler); verifier check, no wait or hand-off `for (uint32_t i = 0; i < c->nep; i++) { const episode *ep = &c->ep[i]; if (!ep->has_tag \|\| ep->tag > TAG_HOLDOUT \|\| ep->n == 0) continue;` OM-213 omega `src/physics0/ladder/pd0_ladder.c` 299 `try_t5` PD-0 T5 pre-registration reuse check - N false N: scan: scans earlier pre-registrations for the same experiment schedule hash (data); verifier check, no wait or hand-off `for (uint32_t i = 0; i < c->npre; i++) if (!memcmp(c->pre[i].e.schedule_hash, e->schedule_hash, PD0_HASH)) { set_code(c, 5, PD0V_T5_SCHEDULE_REUSED); return PD0V_T5_SCHEDULE_REUSED; }` OM-214 omega `src/physics0/ladder/pd0_ladder.c` 345 `try_t7` PD-0 T7 batch walk - N false N: walk: walks recorded replication batches and scores them (experiment schedules are data); verifier check, no wait or hand-off `for (uint32_t b = 0; b < c->nbat; b++) { nrmse_acc a; memset(&a, 0, sizeof a); const pd0_rec *first = NULL, *last = NULL; if (batch_voids(c, b) > 3) continue;` OM-215 omega `src/physics0/ladder/pd0_ladder.c` 346 `try_t7` PD-0 T7 episode walk - N false N: walk: walks the episodes of one batch and scores their rollouts; verifier check, no wait or hand-off `for (uint32_t i = 0; i < c->nep; i++) { const episode *ep = &c->ep[i]; if (!(ep->has_tag && ep->tag == TAG_REP && ep->batch_id == c->bat[b].b.batch_id && ep_ok_steps(c, ep) >= n)) continue;` OM-216 omega `src/physics0/ladder/pd0_ladder.c` 349 `try_t7` PD-0 T7 stream-reuse check - N false N: scan: compares one episode's schedule hash against every other episode (freshness check, data); no wait or hand-off `for (uint32_t j = 0; j < c->nep; j++) if (j != i && c->ep[j].n && ep_schedule_hash(c, &c->ep[j], (uint8_t)n, h2) && !memcmp(h1, h2, PD0_HASH)) { set_code(c, 7, PD0V_T7_STREAM_REUSED); return PD0V_T7_STREAM_REUSED; }` OM-217 omega `src/physics0/learner/pd0_learner.c` 251 `pd0_learner_propose` PD-0 learner candidate experiment sampling - N false N: sample: samples random candidate experiment schedules and keeps the most discriminating one; no wait or hand-off `for (uint32_t idx = 0; idx < n_random; idx++) {` OM-218 omega `src/physics0/pd0_world.c` 215 `pd0_world_serve` PD-0 world request/response server PD-0 world framed fd protocol F false reads one length-framed request from the learner, answers it, writes one framed response, until EOF (pd0-world binary and physics0 tests; same shape as OM-088); I/O mechanics, the peer chooses every request, decides no faculty order `for (;;) {` OM-219 omega `src/physics0/planner/pd0_planner.c` 170 `pd0p_propose` PD-0 planner candidate sampling - N false N: sample: draws and evaluates random candidate experiments; no wait or hand-off `for (uint32_t i = 0; i < PD0P_CANDIDATES; i++) {` OM-220 omega `src/physics0/planner/pd0_planner.c` 178 `pd0p_propose` PD-0 planner refinement of top candidates - N false N: arithmetic: local random refinement of the best candidates (bounded rounds); no wait or hand-off `for (uint32_t t = 0; t < PD0P_REFINE_TOP && t < PD0P_CANDIDATES; t++) {` OM-221 omega `src/physics0/planner/pd0_planner.c` 179 `pd0p_propose` PD-0 planner refinement rounds - N false N: arithmetic: bounded refinement rounds of one candidate; no wait or hand-off `for (uint32_t round = 0; round < PD0P_REFINE_ROUNDS; round++) {` OM-222 omega `src/tensor/omega_tensor_store.c` 133 `read_upto` tensor file read - N false N: read: bounded file read with EINTR retry that also detects a longer-than-expected file; no wait or hand-off `for (;;) {` OM-223 omega `tests/dual/dual_traces.c` 18 `dual_trace_constant` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < n; i++) tick(out, i, gen0 + i, est, sd);` OM-224 omega `tests/dual/dual_traces.c` 31 `dual_trace_scenario` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, (i < 100) ? 4000.0 : 6000.0, DUAL_SD);` OM-225 omega `tests/dual/dual_traces.c` 35 `dual_trace_scenario` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, ((i % 50) < 25) ? 6000.0 : 4000.0, DUAL_SD);` OM-226 omega `tests/dual/dual_traces.c` 45 `dual_trace_scenario` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < N; i++) { tick(out, i, i + 1, 5500.0, DUAL_SD); out->t[i].regime_change = (i >= 80 && i < 120) ? 1u : 0u; }` OM-227 omega `tests/dual/dual_traces.c` 50 `dual_trace_scenario` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < N; i++) {` OM-228 omega `tests/dual/dual_traces.c` 67 `dual_trace_scenario` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, 3000.0 + 4000.0 * (double)i / 199.0, DUAL_SD);` OM-229 omega `tests/dual/dual_traces.c` 71 `dual_trace_scenario` test/benchmark loop (for:body:tick) test / reference path D false DUAL test trace generator (synthetic data ticks); test code, not built into any production binary `for (uint32_t i = 0; i < N; i++) tick(out, i, i + 1, (i < 100) ? 6000.0 : 5000.0, DUAL_SD);` OM-230 omega `tests/dual/test_dual_types.c` 384 `test_properties` test/benchmark loop (for:body:tick) test / reference path D false DUAL-0a contract test property rounds; test code, not built into any production binary `for (int round = 0; round < PROP_ROUNDS; round++) {` OM-231 omega `tests/dual/test_dual_update.c` 170 `test_properties` test/benchmark loop (for:body:tick) test / reference path D false DUAL-1a reference update test property rounds; test code, not built into any production binary `for (int round = 0; round < PROP_ROUNDS; round++) {` OM-232 omega `tests/dual/test_dual_update.c` 178 `test_properties` test/benchmark loop (for:body:tick) test / reference path D false DUAL-1a reference update test property rounds; test code, not built into any production binary `for (uint64_t t = 2; t <= 40; t++) {` OM-233 omega `tests/gpu_attention_test.c` 573 `sim_launch` test/benchmark loop (for:unbounded) test / reference path D false FB-1 cut 5 attention gate, host simulator launch; test code, not built into any production binary `for (;;) {` OM-234 omega `tests/model/world_diff.c` 205 `model_obs` test/benchmark loop (for:body:yield) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (uint32_t r = 0; r < WM_N; r++) {` OM-235 omega `tests/model/world_diff.c` 228 `settle` test/benchmark loop (for:unbounded+yield) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (;;) {` OM-236 omega `tests/model/world_diff.c` 237 `settle` test/benchmark loop (for:body:yield) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (uint32_t r = 0; r < WM_N; r++) {` OM-237 omega `tests/model/world_diff.c` 276 `obs_diff` test/benchmark loop (for:body:yield) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (uint32_t i = 0; i < WM_N; i++) {` OM-238 omega `tests/model/world_diff.c` 375 `replay` test/benchmark loop (for:body:tick) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (int i = 0; i < n && !mismatch; i++) {` OM-239 omega `tests/model/world_diff.c` 453 `directed_cancel` test/benchmark loop (for:body:tick) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (int i = 0; i < n; i++) {` OM-240 omega `tests/model/world_diff.c` 528 `directed_deadline` test/benchmark loop (for:body:tick) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (int i = 0; i < n; i++) {` OM-241 omega `tests/model/world_diff.c` 540 `directed_deadline` test/benchmark loop (for:body:tick) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (uint32_t x = 0; x < WM_N; x++)` OM-242 omega `tests/model/world_diff.c` 615 `stress_tick` test/benchmark loop (for:body:tick) test / reference path D false lifecycle-model differential harness against rx_world (hardening lane LG, host only); test code, not built into any production binary `for (int i = 0; i < 200; i++) {` OM-243 omega `tests/model/world_model.c` 59 `try_admit` test/benchmark loop (for:unbounded) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (;;) {` OM-244 omega `tests/model/world_model.c` 97 `release_parked` test/benchmark loop (for:body:yield) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (uint32_t i = 0; i < WM_N; i++) {` OM-245 omega `tests/model/world_model.c` 120 `end_activation` test/benchmark loop (for:body:yield) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (uint32_t i = 0; i < WM_N; i++) /* tick_parked */` OM-246 omega `tests/model/world_model.c` 153 `cancel` test/benchmark loop (for:body:yield) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (uint32_t x = 0; x < WM_N; x++) {` OM-247 omega `tests/model/world_model.c` 187 `check` test/benchmark loop (for:body:tick) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (uint32_t r = 0; r < WM_N; r++)` OM-248 omega `tests/model/world_model.c` 204 `wm_step` test/benchmark loop (for:body:tick) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (uint32_t i = 0; i < WM_N; i++)` OM-249 omega `tests/model/world_model.c` 263 `wm_key` test/benchmark loop (for:body:yield) test / reference path D false lifecycle model of rx_world used only by the differential harness and proof targets (mk/proof.mk); test code, not built into any production binary `for (uint32_t r = 0; r < WM_N; r++) {` OM-250 omega `tests/physics0/learner/pd0_harness.c` 203 `main` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 learner development harness; test code, not built into any production binary `for (uint32_t a = 0; a < 3; a++) {` OM-251 omega `tests/physics0/learner/pd0_harness.c` 218 `main` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 learner development harness; test code, not built into any production binary `for (int t = 0, voids = 0; t < 5 + voids; t++) { static pd0_exp x; memset(&x, 0, sizeof x);` OM-252 omega `tests/physics0/learner/pd0_harness.c` 236 `main` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 learner development harness; test code, not built into any production binary `for (uint32_t bt = 0; bt < 3; bt++) for (uint32_t redraw = 0; redraw <= 3; redraw++) { pd0_batch bb = { bt + 1 + 10 * redraw, R.seed * 100 + bt + 1 + 50 * redraw, 10 }; append(&R, LEDG_BATCH, pl, (uint32_t)pd0_batch_write(&bb, pl));` OM-253 omega `tests/physics0/learner/pd0_harness.c` 238 `main` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 learner development harness; test code, not built into any production binary `for (uint32_t e = 0; good < 10 && voids <= 3; e++) { uint8_t origin = (good & 1) ? ORIGIN_RANDOM : ORIGIN_PLANNER; static pd0_exp x;` OM-254 omega `tests/physics0/learner/pd0_harness.c` 268 `main` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 learner development harness; test code, not built into any production binary `for (int i = 0; i < 20 && n_score_eps < 20; ) { pd0_score_episode *e = &eps[n_score_eps]; memset(e, 0, sizeof *e); e->in_box = i < 10;` OM-255 omega `tests/physics0/pd0_calib.c` 83,90 `pd0_calib_gather` test/benchmark loop (for:unbounded) test / reference path D false PD-0 oracle calibration helper (test/calibration build only, mk/physics0.mk P0_CALIB); test code, not built into any production binary `for (;;) {` OM-256 omega `tests/physics0/pd0_sparse.c` 15 `build_library` test/benchmark loop (for:unbounded) test / reference path D false PD-0 sparse-regression calibration helper (test/calibration build only, mk/physics0.mk P0_CALIB); test code, not built into any production binary `for (;;) {` OM-257 omega `tests/physics0/planner/pd0_plan_eff.c` 124 `run_strategy` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 planner efficiency comparison (development evidence); test code, not built into any production binary `for (ep = 0; ep < EP_CAP; ep++) {` OM-258 omega `tests/physics0/planner/pd0_plan_eff2.c` 155 `run_strategy` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 planner efficiency comparison cut 2 (development evidence); test code, not built into any production binary `for (ep = 0; ep < EP_CAP && !done; ep++) {` OM-259 omega `tests/physics0/verify/bundle.h` 58 `b_build` test/benchmark loop (for:body:schedule) test / reference path D false TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary `for (int e = 0; e < 10; e++) { b_random_schedule(b, reset, steps, 100); b_episode(b, reset, steps, 100, w); }` OM-260 omega `tests/physics0/verify/bundle.h` 84 `b_build` test/benchmark loop (for:body:schedule) test / reference path D false TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary `for (int t = 0; t < n_trials; t++) { memset(x, 0, sizeof *x); x->n_obs = 2; x->n_hyp = 2; x->n_steps = 20; b->oob_at = (o->void_trial && t == 2) ? 5 : 0;` OM-261 omega `tests/physics0/verify/bundle.h` 97 `b_build` test/benchmark loop (for:body:schedule) test / reference path D false TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary `for (uint32_t bt = 0; bt < n_batches; bt++) { pd0_batch bb = { bt + 1, o->batch_seed_reuse ? 1000u : 1000u + bt, 10 }; b_append(b, LEDG_BATCH, pl, (uint32_t)pd0_batch_write(&bb, pl));` OM-262 omega `tests/physics0/verify/bundle.h` 99 `b_build` test/benchmark loop (for:body:schedule) test / reference path D false TEST-ONLY PD-0 evidence-bundle builder with dishonesty mutants; test code, not built into any production binary `for (int e = 0, good = 0; e < n_run; e++) { int is_void = e < n_void; b->oob_at = is_void ? 5 : 0; int idx = is_void ? e : good; b_tag(b, b->episode, TAG_REP, bt + 1, o->all_planner ? ORIGIN_PLANNER : (idx & 1) ? ORIGIN_RANDOM : ORIGIN_PLANNER); b_random_schedule(b, reset, steps, 20); b_episode(b, reset, steps, 20, w); if (!is_void) good++; }` OM-263 omega `tests/physics0/verify/test_pd0_score.c` 62 `main` test/benchmark loop (for:body:schedule) test / reference path D false PD-0 scorer and negative-control test; test code, not built into any production binary `for (uint64_t s = 1; s <= 5; s++) { bundle b; b_init(&b, 1, s); int64_t reset[2]; pd0_step steps[100]; for (int e = 0; e < 10; e++) { b_random_schedule(&b, reset, steps, 100); b_episode(&b, reset, steps, 100, &b.w); }` OM-264 omega `tests/runtime/rx_c4_requal.c` 298 `kill_sweep` test/benchmark loop (for:body:nanosleep) test / reference path D false C4 local-runtime requalification kill sweep; test code, not built into any production binary `for (int i = 0; i < n; i++) {` OM-265 omega `tests/runtime/rx_deadline_cancel.c` 102 `wait_both_in_fn` test/benchmark loop (for:unbounded+nanosleep) test / reference path D false HD-09 deadline-cancel test waits and CHECK macro; test code, not built into any production binary `for (;;) {` OM-266 omega `tests/runtime/rx_deadline_cancel.c` 117 `wait_d_ended` test/benchmark loop (for:unbounded+nanosleep) test / reference path D false HD-09 deadline-cancel test waits and CHECK macro; test code, not built into any production binary `for (;;) {` OM-267 omega `tests/runtime/rx_deadline_cancel.c` 145 `CHECK` test/benchmark loop (do:body:tick) test / reference path D false HD-09 deadline-cancel test waits and CHECK macro; test code, not built into any production binary `#define CHECK(cond, ...) do { \` OM-268 omega `tests/runtime/rx_i11_wake_merge.c` 67 `gate` test/benchmark loop (for:unbounded+yield) test / reference path D false I11 wake-merge test gate; test code, not built into any production binary `for (;;) {` OM-269 omega `tests/test_omega_gpu_engine_gb10.c` 52 `park_if_blocked` test/benchmark loop (for:unbounded) test / reference path D false Omega GPU Engine chip test park helper; test code, not built into any production binary `for (;;) pause();` OM-270 omega `tests/test_omega_gpu_wait.c` 72 `mut_loop` test/benchmark loop (for:unbounded) test / reference path D false host test of the GPU wait primitive (mutant loop); test code, not built into any production binary `for (;;) {` OM-271 omega `tests/test_omega_resolve.c` 397 `slurp_file` test/benchmark loop (for:unbounded) test / reference path D false OSC import-resolution test file read; test code, not built into any production binary `for (;;) {` OM-272 omega `tools/quietlock/quietlock.c` 794 `cmd_hold` quiet-flag hold waits for its command operator quiet-flag lock (HD-13) B false explicit operator/maintenance mechanism: `quietlock hold` waits (waitpid) for the one command it started, logs one advisory overrun warning, never kills; decides no faculty order `for (;;) {` OM-273 omega `tools/quietlock/quietlock.c` 829 `cmd_hold` quiet-flag hold waits for leftover group members operator quiet-flag lock (HD-13) B false explicit operator/maintenance mechanism: keeps the quiet flag until the held job's process group is empty, checking once a second, never kills; decides no faculty order `while (group_alive((long)child)) {` 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 (;;) {` 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 (;;) {` 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 (;;) {` SC-001 aien-sovereign-core `benchmarks/crates/bench_apples_to_apples/src/engine_max.rs` 55 `start` test/benchmark loop (while:body:sleep) test / reference path D false test, benchmark or example code; not built into any production binary `while start.elapsed() < timeout {` SC-002 aien-sovereign-core `benchmarks/crates/bench_apples_to_apples/src/telemetry.rs` 96 `start` test/benchmark loop (while:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `while !stop_clone.load(Ordering::Relaxed) {` SC-003 aien-sovereign-core `benchmarks/crates/bench_apples_to_apples/src/telemetry.rs` 168 `enforce_thermal_cooldown` test/benchmark loop (while:body:sleep) test / reference path D false test, benchmark or example code; not built into any production binary `while start.elapsed() < max_wait {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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;` 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 {` 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;` 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 {` 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 {` 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 {` 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 {` 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 {` 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() {` 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 {` 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 {` 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 {` 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 {` 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) {` 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 {` 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 {` 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 {` 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(` 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,` 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 {` 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 {` 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)` 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();` 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() {` 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();` SC-040 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 270 `test_end_to_end_subagent_branching_with_independent_sinks` test/benchmark loop (while:body:recv) test / reference path D false test, benchmark or example code; not built into any production binary `while let Ok(event) = rx_parent.try_recv() {` SC-041 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 282 `test_end_to_end_subagent_branching_with_independent_sinks` test/benchmark loop (while:body:recv) test / reference path D false test, benchmark or example code; not built into any production binary `while let Ok(event) = rx_child1.try_recv() {` SC-042 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 294 `test_end_to_end_subagent_branching_with_independent_sinks` test/benchmark loop (while:body:recv) test / reference path D false test, benchmark or example code; not built into any production binary `while let Ok(event) = rx_child2.try_recv() {` SC-043 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 387 `test_end_to_end_gb10_hardware_execution_if_available` test/benchmark loop (named:run_until_complete) test / reference path D false test, benchmark or example code; not built into any production binary. Re-anchored 2026-10-05 (§8.3): enclosing test renamed from `test_end_to_end_blackwell_hardware_execution_if_available` in sovereign-core `14126c6` (#189), loop unchanged `let _ = spine.run_until_complete(&mut backend, 15).await.unwrap();` SC-044 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 390 `test_end_to_end_gb10_hardware_execution_if_available` test/benchmark loop (while:body:recv) test / reference path D false test, benchmark or example code; not built into any production binary. Re-anchored 2026-10-05 (§8.3): enclosing test renamed from `test_end_to_end_blackwell_hardware_execution_if_available` in sovereign-core `14126c6` (#189), loop unchanged `while let Ok(event) = rx.try_recv() {` SC-045 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 496 `release_golden_path_records_whether_gb10_ran` test/benchmark loop (named:run_until_complete) test / reference path D false test, benchmark or example code; not built into any production binary `let _ = spine.run_until_complete(&mut backend, 20).await.unwrap();` SC-046 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 498 `release_golden_path_records_whether_gb10_ran` test/benchmark loop (while:body:recv) test / reference path D false test, benchmark or example code; not built into any production binary `while let Ok(event) = rx.try_recv() {` SC-047 aien-sovereign-core `crates/aien-runtime/tests/runtime_end_to_end_tests.rs` 504 `release_golden_path_records_whether_gb10_ran` test/benchmark loop (while:body:recv) test / reference path D false test, benchmark or example code; not built into any production binary `while let Ok(event) = child_rx.try_recv() {` 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 {` 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 {` 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 {` 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` 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)` 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)` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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() {` 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() {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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;` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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() {` 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 {` 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 {` 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') {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` SC-088 aien-sovereign-core `crates/spark-mail-rs/src/smtp_server.rs` 56,85 `handle_smtp_session` SMTP session loop SMTP server F false SMTP command loop; external protocol `loop {` SC-089 aien-sovereign-core `crates/spark-supervisor/src/supervisor.rs` 80 `run_daemon` supervisor signal wait maintenance: service supervisor B false waits for termination signal and stops managed services; operator control. LEGACY / NOT-IN-CHARGE `loop {` SC-090 aien-sovereign-core `crates/spark-supervisor/src/supervisor.rs` 129 `supervise_loop` child restart loop maintenance: service supervisor B false restarts a managed process when it exits; process supervision, not faculty order `loop {` SC-091 aien-sovereign-core `crates/aien-cli/src/commands.rs` 1130 `sha256_file_hex` checkpoint file hash read - N false N: read: reads a file in 1 MiB chunks to hash it; no wait or hand-off. LEGACY / NOT-IN-CHARGE (Q2=A) `loop {` SC-092 aien-sovereign-core `crates/aien-dual-observation/tests/snapshot_conservation.rs` 113 `run_and_snapshot` test/benchmark loop (named:max_steps) test / reference path D false test, benchmark or example code; not built into any production binary `max_steps: usize,` SC-093 aien-sovereign-core `crates/aien-dual-observation/tests/snapshot_conservation.rs` 126 `run_and_snapshot` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for r in requests {` SC-094 aien-sovereign-core `crates/aien-dual-observation/tests/snapshot_conservation.rs` 136 `run_and_snapshot` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while steps < max_steps` SC-095 aien-sovereign-core `crates/aien-inference-abi/tests/tinyllama_noise_floor.rs` 133 `sha256_file` test/benchmark loop (loop:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `loop {` SC-096 aien-sovereign-core `crates/aien-runtime/src/spine.rs` 264 `prefill_pending_swarm_roots` swarm root prompt prefill LLM request serving (not replaced) E false spec §3.1 Q1=A: prefills each pending swarm root prompt in the token scheduler and forks its branches; part of the spine's LLM request serving (same kind as SC-035), not replaced; LEGACY / NOT-IN-CHARGE of faculty order `for (swarm_id, root_kv_id, prompt) in self.swarm_manager.pending_root_prefills() {` SC-097 aien-sovereign-core `crates/aien-runtime/src/spine.rs` 390 `handle_control_command` swarm cancel frees scheduler sequence ids LLM request serving (not replaced) E false spec §3.1 Q1=A: on an operator swarm-cancel command, frees the released sequence ids in the token scheduler arena so they are never admitted again; physical slot reclaim of the spine, not replaced; LEGACY / NOT-IN-CHARGE of faculty order `for &id in &released {` SC-098 aien-sovereign-core `crates/aien-runtime/tests/prefill_e2e0.rs` 137 `sha256_file_hex` test/benchmark loop (loop:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `loop {` SC-099 aien-sovereign-core `crates/aien-runtime/tests/prefill_e2e0.rs` 908 `prefill_e2e0_real_checkpoint_swarm_gate` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (spine.scheduler.running_count() > 0` SC-100 aien-sovereign-core `crates/aien-runtime/tests/prefill_e2e1.rs` 140 `sha256_file_hex` test/benchmark loop (loop:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `loop {` SC-101 aien-sovereign-core `crates/aien-runtime/tests/prefill_e2e1.rs` 964 `run_one` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while spine.scheduler.running_count() > 0` SC-102 aien-sovereign-core `crates/aien-runtime/tests/prefill_e2e2.rs` 173 `sha256_file_hex` test/benchmark loop (loop:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `loop {` SC-103 aien-sovereign-core `crates/aien-runtime/tests/swarm_cancel_readmit_test.rs` 143 `cancelled_swarm_branches_are_never_readmitted` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (backend.decodes == 0 \|\| spine.scheduler.waiting_count() == 0) && steps < 20 {` SC-104 aien-sovereign-core `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` 181 `prefill_gate_swarm_branches_never_decode_before_root_prompt_prefill` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0)` SC-105 aien-sovereign-core `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` 577 `branch_first_decode_logits_equal_root_continuation_logits` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0) && steps < 50` SC-106 aien-sovereign-core `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` 679 `backend_fork_carries_parent_pending_prefill_token` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0) && steps < 50` SC-107 aien-sovereign-core `crates/aien-runtime/tests/swarm_prefill_gate_test.rs` 753 `sampled_branches_diverge_and_each_matches_its_own_teacher_forced_control` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0)` SC-108 aien-sovereign-core `crates/aien-runtime/tests/swarm_reclaim_test.rs` 206 `swarm_completion_reclaims_backend_kv_arena_and_worlds` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while (spine.scheduler.running_count() > 0 \|\| spine.scheduler.waiting_count() > 0) && steps < 50` SC-109 aien-sovereign-core `crates/aien-scheduler/tests/dual_common/mod.rs` 306 `run` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for action in &scenario.actions {` SC-110 aien-sovereign-core `crates/aien-scheduler/tests/dual_common/mod.rs` 322 `run` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for child in child_slots {` SC-111 aien-sovereign-core `crates/aien-scheduler/tests/dual_common/mod.rs` 330 `run` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for _ in 0..*n {` SC-112 aien-sovereign-core `crates/aien-scheduler/tests/dual_common/mod.rs` 336 `run` test/benchmark loop (while:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `while ran < *max` SC-113 aien-sovereign-core `crates/aien-scheduler/tests/dual_decision_golden.rs` 91 `drained_scenarios_leak_nothing` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for s in scenarios() {` SC-114 aien-sovereign-core `crates/aien-scheduler/tests/dual_observer_overhead_bench.rs` 76 `arm` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for _ in 0..ROUNDS {` SC-115 aien-sovereign-core `crates/aien-scheduler/tests/dual_observer_overhead_bench.rs` 83 `arm` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for s in &set {` SC-116 aien-sovereign-core `crates/aien-scheduler/tests/dual_observer_overhead_bench.rs` 201 `dual_observer_overhead_interleaved` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for s in &set {` SC-117 aien-sovereign-core `crates/aien-scheduler/tests/dual_observer_parity.rs` 266 `fanout_children_enter_decode_on_existing_tables` test/benchmark loop (for:body:scheduler) test / reference path D false test, benchmark or example code; not built into any production binary `for name in ["fanout_32_way", "fanout_500_way"] {` SC-118 aien-sovereign-core `crates/aien-switchboard/src/dispatch.rs` 49 `run_job` AI-account failover for one job account router (ADR 0030) E false routes one job to one of our own AI accounts and, on a usage-limit hit, re-routes to the next; each account tried at most once, so it always ends; schedules a rate-limited account resource for one job, decides no faculty order; pure library, omega does not link it (`dispatch` is the crate's job word, not faculty dispatch) `loop {` SC-119 aien-sovereign-core `crates/spark-mail-rs/src/relay.rs` 185 `relay_case` test fake SMTP relay session test / reference path D false inside `#[cfg(test)] mod tests`: scripted fake relay for the relay tests; test code, not built into any production binary `loop {` SC-120 aien-sovereign-core `crates/spark-mail-rs/src/relay.rs` 281 `fake_relay` test fake SMTP relay session test / reference path D false inside `#[cfg(test)] mod tests`: scripted fake relay for the relay tests; test code, not built into any production binary `loop {` SC-121 aien-sovereign-core `tools/aien-test/src/process.rs` 110 `spawn` gate runner spawn ETXTBSY retry aien-test gate runner (ADR 0028) tooling D false test infrastructure: retries spawning a gate command up to 40 times while a just-written script is busy (ETXTBSY); runs test gates, not production `loop {` SC-122 aien-sovereign-core `tools/aien-test/src/resources.rs` 425 `flock_exclusive` gate runner flock EINTR retry aien-test gate runner (ADR 0028) tooling D false test infrastructure: resource-pool file lock with EINTR retry (same kind as SC-025) `loop {` SC-123 aien-sovereign-core `tools/aien-test/src/resources.rs` 633 `gpu_lock_release_waits_for_a_child_between_fork_and_exec` test/benchmark loop (for:body:poll) test / reference path D false inside the module's `#[cfg(test)]` tests (from line 474): GPU-lock release test rounds; test code, not built into any production binary `for round in 0..3 {` SC-124 aien-sovereign-core `tools/aien-test/src/runner.rs` 872 `worker` gate runner worker thread aien-test gate runner (ADR 0028) tooling D false test infrastructure: worker thread runs ready test gates (dependencies first, resource pools honoured) until none remain; orders test gates, not faculties `loop {` SC-125 aien-sovereign-core `tools/aien-test/src/runner.rs` 875 `worker` gate runner worker pick wait aien-test gate runner (ADR 0028) tooling D false test infrastructure: worker waits on a condvar until a test gate is ready; orders test gates, not faculties `let pick = loop {` 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))` 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 {` 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() {` 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)` AR-001 aegis-runtime `src/agent.rs` 99 `execute_task` execute_task max_turns parameter retired by non-use A false AgentEngine::execute_task tool-turn loop bound; migration map 'Oracle -> retire'; spec §3.1 class A, retired by non-use (Q2=A, no Rust edit). LEGACY / NOT-IN-CHARGE `max_turns: usize,` AR-002 aegis-runtime `src/agent.rs` 130 `execute_task` LLM agent tool-turn loop retired by non-use A false migration map agent.rs:130 tool-turn loop; spec §3.1 class A, retired by non-use; omega links/execs nothing from aegis-runtime. LEGACY / NOT-IN-CHARGE `for turn in 1..=max_turns {` AR-003 aegis-runtime `src/agent.rs` 132 `execute_task` tool-turn loop log line retired by non-use A false inside the agent.rs:130 loop. LEGACY / NOT-IN-CHARGE `info!("Agent loop turn {}/{}", turn, max_turns);` 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` 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,` 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);` 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)` 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 {` 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;` 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;` 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 {` 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 {` 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,` 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 {` 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,` 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 {` 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,` 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,` 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 {` 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,` 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 [` 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"] {` 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 [` 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 {` 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 {` 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 {` 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() {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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 {` 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) {` 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 {` 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 {` 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 {` AO-030 aienos `native/capability/aienos_capability.c` 65 `take_boot_gen` boot-generation CAS retry - N false N: CAS retry: boot generation atomic CAS retry without wait or hand-off `for (;;) {` AO-031 aienos `native/capability/aienos_capability.c` 174 `chain_ok` capability chain walk - N false N: walk: capability delegation chain walk without wait or hand-off `for (;;) {` AO-032 aienos `native/capability/aienos_capability.c` 190 `ancestor_hops` ancestor hop count walk - N false N: walk: ancestor hop count traversal walk without wait or hand-off `for (;;) {` AO-033 aienos `crates/aienos-fpu-probe/src/lib.rs` 12 `panic` FPU probe panic halt probe halt E false `#[panic_handler]` of the FPU probe staticlib: spins forever after a panic; final CPU halt (same kind as AO-010), decides nothing `loop {}` AO-034 aienos `crates/aienos-infer-kernel/src/lib.rs` 226 `run` kernel-side greedy decode loop - N false N: token: greedy decode of one inference request, argmax then forward per token, bounded by EOT or MAX_NEW; no wait or hand-off `loop {` AO-035 aienos `crates/aienos-infer/examples/l6_host.rs` 144 `main` test/benchmark loop (loop:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `loop {` AO-036 aienos `crates/aienos-infer/src/tokenizer.rs` 188 `encode` tokenizer special-token split - N false N: token: splits input text at special tokens while encoding; no wait or hand-off `loop {` AO-037 aienos `crates/aienos-infer/src/tokenizer.rs` 265 `bpe_word` BPE merge loop - N false N: bpe: repeatedly applies the best-ranked BPE merge (same kind as AO-016); no wait or hand-off `loop {` AO-038 aienos `native/argus/argus_core.c` 996 `argus_core_state_digest` ARGUS state digest capability walk - N false N: walk: walks capability shadows to fold them into the state digest; no wait or hand-off `for (uint32_t i = 0; i < ARGUS_CORE_CAPS; i++) {` AO-039 aienos `native/argus/argus_core.c` 1011 `argus_core_state_digest` ARGUS state digest machine walk - N false N: walk: walks machine shadows to fold them into the state digest; no wait or hand-off `for (uint32_t i = 0; i < v->n_machines; i++) {` AO-040 aienos `native/argus/tests/bench_argus_ring.c` 89 `consumer` test/benchmark loop (for:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-041 aienos `native/argus/tests/test_argus_contain.c` 238 `main` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for(uint64_t i=0;in; i++) {` AO-049 aienos `native/argus/tests/test_argus_integration.c` 352 `producer_main` test/benchmark loop (for:unbounded+yield) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-050 aienos `native/argus/tests/test_argus_integration.c` 410 `consumer_main` test/benchmark loop (for:unbounded+sleep) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-051 aienos `native/argus/tests/test_argus_integration.c` 598 `sat_consumer_main` test/benchmark loop (for:unbounded+yield) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-052 aienos `native/argus/tests/test_argus_integration.c` 649 `gate_saturation` test/benchmark loop (for:unbounded+yield) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-053 aienos `native/argus/tests/test_argus_ring.c` 305 `consumer` test/benchmark loop (for:unbounded) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-054 aienos `native/disk/disk_nvme.c` 145 `submit` NVMe completion poll NVMe completion poll E true bounded poll of the NVMe completion-queue phase bit with fatal-status and timeout guards; hardware polling `for (uint64_t i = 0;; i++) {` AO-055 aienos `native/kernel/core/m3.c` 55 `yield_now` M3 check cooperative yield C-kernel M3 isolation self-check D false m3.c is the M3 isolation self-check (port of the Rust thread.rs demos, cf. AO-023/024); picks the next runnable demo thread from the check's own run queue; self-test only `for (unsigned i = 0; i < TMAX; i++) {` AO-056 aienos `native/kernel/core/m3.c` 75 `ck_thread_exit` M3 check thread exit C-kernel M3 isolation self-check D false M3 self-check: an exited demo thread yields forever; self-test only `for (;;)` AO-057 aienos `native/kernel/core/m3.c` 100 `thread_worker` M3 check demo worker C-kernel M3 isolation self-check D false M3 self-check: demo worker records its tag and yields five times (ABAB trace); self-test only `for (int i = 0; i < 5; i++) {` AO-058 aienos `native/kernel/core/m3.c` 115 `check_threads` M3 check driver C-kernel M3 isolation self-check D false M3 self-check: yields until both demo threads finish, then prints the interleave; self-test only `while (ok && (runnable[0] \|\| runnable[1] \|\| runnable[2] \|\| runnable[3]))` AO-059 aienos `native/kernel/core/m3.c` 134 `preempt_worker` M3 preemption demo worker C-kernel M3 isolation self-check D false M3 self-check: spinning worker that proves timer preemption (same kind as AO-023/024); self-test only `for (;;) {` AO-060 aienos `native/kernel/core/report.c` 73 `ck_reset` reset/power-off halt kernel halt E true after PSCI SYSTEM_RESET / SYSTEM_OFF, final wfi halt of the CPU (same kind as AO-010); physical `for (;;)` AO-061 aienos `native/kernel/core/smp.c` 74 `ck_smp_secondary_main` secondary core park kernel SMP bring-up E true secondary core checks in, then parks in wfe; physical CPU state `for (;;)` AO-062 aienos `native/kernel/core/smp.c` 203 `ck_smp_run` SMP check-in wait kernel SMP bring-up E true bounded wait (CK_SMP_TIMEOUT_US) for started secondary cores to check in; hardware bring-up polling `for (;;) {` AO-063 aienos `native/kernel/dev/nvme_shutdown.c` 29 `ck_nvme_shutdown` NVMe shutdown status poll NVMe shutdown E true bounded poll of NVMe CSTS for shutdown complete, fatal or gone; hardware polling `for (;;) {` AO-064 aienos `native/kernel/dev/nvme_shutdown.c` 62 `ck_nvme_disable` NVMe disable status poll NVMe shutdown E true bounded poll of NVMe CSTS for ready-clear; hardware polling `for (;;) {` AO-065 aienos `native/kernel/svc/continuity_boot.c` 238 `cont_hook` continuity test halt test / reference path D false file is TEST-ONLY (empty unless CK_TEST_CONTINUITY=1): halts at the planned checkpoint so the host can kill QEMU; test code `for (;;) __asm__ volatile("wfi");` AO-066 aienos `native/kernel/svc/store_crash.c` 236 `power_cut` store crash test power-cut halt test / reference path D false file is TEST-ONLY (empty unless CK_TEST_STORE_CRASH=1): simulated power cut halts so the host can kill QEMU; test code `for (;;) __asm__ volatile("wfi");` AO-067 aienos `native/kernel/tests/test_sched.c` 29 `main` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int i = 0; i < 20; i++)` AO-068 aienos `native/kernel/tests/test_sched.c` 39 `main` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int i = 0; i < 8; i++)` AO-069 aienos `native/kernel/tests/test_sched.c` 54 `main` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int i = 0; i < 7; i++)` AO-070 aienos `native/kernel/tests/test_sched.c` 62 `main` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int i = 0; i < 80; i++)` AO-071 aienos `native/kernel/tests/test_sched.c` 97 `main` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int i = 0; i < 4; i++)` AO-072 aienos `native/kernel/tools/ck_artifact_tool.c` 53 `readf` host tool input read - N false N: read: host tool reads its input into a growing buffer (64 MiB cap); no wait or hand-off `for (;;) {` AO-073 aienos `native/kernel/tools/ck_udp_echo.c` 77 `main` QEMU net test UDP echo test / reference path D false host-side UDP echo helper for the AIENOS_CK_NET QEMU gate; test tooling only, never in the kernel image `for (;;) {` AO-074 aienos `native/m5/tools/m5_migsig.c` 93 `read_small` host tool file read - N false N: read: small-file read with EINTR retry in the M5 migration-record tool; no wait or hand-off `for (;;) {` AO-075 aienos `native/net/aienos_virtio_net.c` 298 `vnet_tx_reclaim` virtio-net TX reclaim virtio-net TX ring E true reclaims used TX descriptors from the device ring until none are left; hardware ring mechanics (same kind as AO-028) `for (;;) {` AO-076 aienos `native/net/tests/ctl_test.c` 84 `run` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (uint64_t now = 0; now < limit; now++) {` AO-077 aienos `native/net/tests/ctl_test.c` 85 `run` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (int e = 0; e < 2; e++) {` AO-078 aienos `native/net/tests/ctl_test.c` 93 `run` test/benchmark loop (for:unbounded+poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (;;) {` AO-079 aienos `native/net/tests/ctl_test.c` 305 `test_refusals` test/benchmark loop (while:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `while (ct_poll_tx(&a, t, f, sizeof f, &n) != CT_ERR_LINK_DOWN) t++;` AO-080 aienos `native/net/tests/ctl_test.c` 351 `tx_schedule` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (uint64_t t = 0; t < 100000; t++) {` AO-081 aienos `native/net/tests/ctl_test.c` 363 `test_resend_schedule` test/benchmark loop (for:body:schedule) test / reference path D false test, benchmark or example code; not built into any production binary `for (uint32_t q = 0; q < 64; q++) {` AO-082 aienos `native/net/tests/ctl_test.c` 386 `test_resend_schedule` test/benchmark loop (for:body:schedule) test / reference path D false test, benchmark or example code; not built into any production binary `for (uint32_t q = 0; q < 16; q++) {` AO-083 aienos `native/net/tests/sec_test.c` 202 `sys_tick` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (int i = 0; i < 2; i++) {` AO-084 aienos `native/net/tests/sec_test.c` 204 `sys_tick` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (int k = 0; k < 8; k++) {` AO-085 aienos `native/net/tests/sec_test.c` 217 `sys_tick` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (int k = 0; k < cap_frames; k++) {` AO-086 aienos `native/net/tests/sec_test.c` 262 `run_handshake` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int t = 0; t < ticks && !(established(S) && S->m[0].s.confirmed); t++) sys_tick(S);` AO-087 aienos `native/net/tests/sec_test.c` 341 `run_ct` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int t = 0; t < 20000 && !(S.m[0].delivered == NMSG && S.m[1].delivered == NMSG); t++) sys_tick(&S);` AO-088 aienos `native/net/tests/sec_test.c` 375,384 `test_loss` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int t = 0; t < 200; t++) sys_tick(&S);` AO-089 aienos `native/net/tests/sec_test.c` 399,410 `test_wrong_identity` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int t = 0; t < 200; t++) sys_tick(&S);` AO-090 aienos `native/net/tests/sec_test.c` 432,442 `test_impersonation` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int t = 0; t < 200; t++) sys_tick(&S);` AO-091 aienos `native/net/tests/sec_test.c` 453,475 `test_transcript_tamper` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (size_t t = 0; t < 3; t++) {` AO-092 aienos `native/net/tests/sec_test.c` 454 `test_transcript_tamper` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (size_t pos = 0; pos < T[t].len; pos++) {` AO-093 aienos `native/net/tests/sec_test.c` 460,480 `test_transcript_tamper` test/benchmark loop (for:body:tick) test / reference path D false test, benchmark or example code; not built into any production binary `for (int k = 0; k < 60; k++) sys_tick(&S);` AO-094 aienos `native/net/tests/sec_test.c` 841 `test_close` test/benchmark loop (for:body:poll) test / reference path D false test, benchmark or example code; not built into any production binary `for (uint64_t t = 11; t < 200; t++) {` AO-095 aienos `native/store/store_v1.c` 324 `sift_extents` store extent heap sift-down - N false N: sift: heap sift-down while sorting extents; no wait or hand-off `for (;;) {` AO-096 aienos `native/store/store_v1.c` 397 `sift_entries` store entry heap sift-down - N false N: sift: heap sift-down while sorting entries; no wait or hand-off `for (;;) {` PH-001 physics `m15/tools/m15tool.c` 638 `main` --demonstrate-accelerator M15 demonstration (oracle) D false historical M15 demonstration mode of the physics tool; not a production entry point `if (argc >= 2 && strcmp(argv[1], "--demonstrate-accelerator") == 0) {` PH-002 physics `m15/tools/m15tool.c` 647 `main` --run-m15-gates maintenance: M15 gate runner B false deterministic gate runner (spec §4: --run-*-gates B) `bool run_all = (argc >= 2 && strcmp(argv[1], "--run-m15-gates") == 0);` PH-003 physics `m16/m16_native.c` 102 `m16_native_wait_marker_ge` wait for GPU marker GPU completion wait E true bounded usleep poll on a GPU completion marker; hardware `while (now_ns() < end) {` 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 (;;) {` 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 (;;) {` ### 4.1 Manual rows (straight-line sequencers and glue) The loop patterns cannot see these. The tool checks that each evidence line still exists in the file (symbol not verified) and applies the same class rules. id repo path line symbol old role new role class authoritative reason evidence 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 {` 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")` 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) {` 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) {` 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-`, 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);` ## 5. Structural findings (non-greppable §4 terms) §4 term finding authoritative side class / status 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 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) 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 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 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 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 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 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 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 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 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 ## 6. Questions for the orchestrator (resolved 2026-09-29) All 44 pending questions have been decided by Drake Stapleton (2026-09-29) and resolved in the map: - Question N (30 rows): Adopted class N (NOT A CENTRAL LOOP) via spec clarification C1 for data and control-flow idioms (CAS retry, seqlock retry, probe, parse, walk, read, arithmetic, sift, sample, merge). All 30 rows reclassified as class N, authoritative = false, with reason starting with `N: : `. - Question CLI (13 rows): Reclassified as class A (retired by non-use), authoritative = false. Reason: "retired by non-use: legacy terminal operator CLI, superseded by orchestrator interface". Added to spec §7 not-claimed list via clarification C2. - Question DREAM (1 row): Reclassified as class A (retired by non-use), authoritative = false. Reason: "retired by non-use: legacy idle-time consolidation service, disabled since 2026-09-28". Added to spec §7 not-claimed list via clarification C2. - Question AUTH (structural, §5): Resolved via clarification C3. The native C library is authoritative; the Rust capability crate is legacy under the no-Rust port; omega rx_caproot.c is a host reference root. ## 7. Counts Filled from the tool's JSON output on this map (§8). repo A B C D E F N ? loop/named/cli sites manual rows omega 0 18 2 76 13 2 22 0 133 3 aien-sovereign-core 14 5 0 40 11 18 2 0 90 1 aegis-runtime 18 0 0 1 0 0 1 0 20 0 aienos 0 0 0 12 8 1 11 0 32 1 physics 0 1 0 2 1 0 1 0 5 0 Manual rows: omega OM-M01 = A and OM-103 = A (moved to the manual rows in W5: the renamed `--legacy-oracle-living-matvec` mode no longer matches the cli-mode pattern), omega OM-M02 = D (the 16 `--reference-demonstrate-*` modes, dispatched from one table since the G5 review, so the per-mode cli-mode rows are gone), sovereign-core SC-M01 = A, aienos AO-M01 = C. Total (rescan 2026-09-30, omega at `6d1ff1d` plus the R16 branch): 280 pattern sites + 5 manual rows; 0 unclassified; 0 questions remaining; 37 class N data/control-flow idiom sites. The omega rows OM-137..OM-148 were added for code merged to main after the first scan. ## 8. Gate result on this map (R16-G2 tool, after W5 retirement) `make r16-inventory` -> exit 0, PASS: `sites=280 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS` (rescan 2026-09-30 after the G5 review made omegatool's reference modes table-driven: 16 per-mode rows replaced by manual row OM-M02; before that `sites=294`; first scan: `sites=283`) - `question=0`: all 44 question rows are resolved and reclassified (§6). - `a_reachable=0`: omegatool `--demonstrate-living-matvec` (OM-103 dispatcher line and OM-M01 function, class A) retired behind `legacy_oracle` symbol names (W5) and, for G5, the explicit mode `--legacy-oracle-living-matvec`; the old mode is gone. - G5: the 16 omegatool milestone demonstration modes (class D reference oracle) run only under the explicit reference name `--reference-demonstrate-*`; the tool counts `"--reference-` literals as cli-mode sites. The tool prints `WARN omega: scanned HEAD ... differs from map SHA`, because the R16 branch builds on top of omega main. Expected. ### 8.1 Update 2026-10-01 (Lane 32, R16 re-qualification follow-up) The R16 re-qualification on candidate `3108fc2` (omega main of 2026-10-01) ran this tool and found `sites=328 unclassified=47` (receipt `evidence/REQUAL-3108fc2/`, G1 and G2 FAIL). The 47 sites came from code added after this map's last update (compiler, estimation, fabric, rx_compose, searchtrace, train, tests, tools). Rows OM-152 to OM-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, 23 class D, 1 class E (`omega_numeric_reduce_gb10.c`, GPU reduction launcher, not on the reaction path), 4 class B (explicit close/drain of an attached composition in `rx_compose.c`), 0 class A. (Line numbers in these rows are at omega main `9ca297c`; the join key does not use them.) No new site sequences faculties on the production path, so none is an orchestrator-shaped finding. The map is not a gate result: the gate result is whatever `make r16-inventory` prints on the candidate, recorded in the qualification receipt. The tool now prints `SCANNED HEAD ()` for every repository it scans, so a run records exactly which commits it saw (the JSON already carried `head`). The five-repository scope is unchanged. ### 8.2 Update 2026-10-05 (overnight lane L12-R16, inventory reconciliation) The ALLEN host receipt `evidence/ALLEN/18cfa250….json` recorded this gate as FAIL (`76 unclassified sites and 2 stale rows`) and attributed them to "the local survey checkouts of other repos". Rerun with `tools/r16_loop_inventory.sh` on omega main `b544d81` and on the CAND-0 omega commit `e5593ae`, the other four repositories at the SHAs in §1 (`~/workspace/r16-survey/*`, heads printed by the tool): every one of the 76 unclassified sites and both stale rows is in omega; the four other repositories have 0. Both commits gave the same result, line for line: `sites=403 unclassified=76 question=0 bad_class=0 a_reachable=0 stale=2 map_errors=0 skipped=0 -> FAIL`. ALLEN (`b544d81` over `e5593ae`) adds no site. Origin (fixed tool and this map, run over every first-parent omega commit from `38919c8~3` to `b544d81`): 16 sites (`tests/model/`) came with #174 (`0d8b057`), merged about 12 minutes before §8.1's #172 and never covered by it, so the gate was already FAIL on main right after #172. The other 60 came with later merges (DUAL-0a/0b/1a/1b and the DUAL applicability experiment, PD-0 substrate cut 1, D3, D4, D5 and learner cut 4, VC1 stages 3-4, HD-09, HD-13 quietlock, M20 tensor store, C4 requalify, I11, GPU Engine, FB-1 cut 5, CHIPWAIT-1 and 1c). The two stale rows are loops edited in place: OM-012 by CHIPWAIT-1 (`fc96141`, the inline marker spin became the shared wait primitive) and OM-181 by I11 (`f523edd`, the settle condition gained `+ upstream_held()`). Reconciliation, each row from reading the loop (no tool, pattern, threshold or class rule changed): - Rows OM-200 to OM-273 (74 sites): 21 class N (parse, read, decode, format, scan, walk, sift, sample, arithmetic; the `tick` hits in `src/dual/` are recorded data ticks and the `schedule` hits in `src/physics0/` are experiment input schedules, as in OM-193), 50 class D (49 test files under `tests/`, plus the DUAL-1b replay `rx_dual_replay_run`, linked only into `test-dual-replay`), 1 class F (PD-0 world framed fd request/response server, same shape as OM-088), 2 class B (`quietlock hold` operator lock waits), 0 class A, 0 class C or E. No new site sequences faculties on the production path. - OM-012 and OM-181 re-anchored to the edited loops (same function, same role, same class D); the old evidence line is kept in each reason. Result after this update, same command, same five-repository set: `sites=403 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS` on omega `e5593ae` (CAND-0) and on omega `b544d81` (main). omega per class: A 0, B 24, C 2, D 150, E 14, F 3, N 63 (256 sites). `make test-r16-inventory` (planted loops, stale row, class-N rules): PASS. This is the G1/G2 inventory only; it is not an R16 qualification receipt (G3-G8 are separate). Limit: the scan set for aien-sovereign-core, aegis-runtime, aienos and physics is still the §1 SHAs of 2026-09-29. Scanning them at the CAND-0 SHAs instead (sovereign-core `0c1d249`, aienos `9d41efc`, physics `6d7cf0d`; aegis-runtime unchanged) adds 37 unclassified sovereign-core sites, 64 aienos sites and 2 stale sovereign-core rows (SC-043, SC-044); physics adds none. Moving the §1 SHAs is a separate update to this map (done in §8.3). ### 8.3 Update 2026-10-05 (L12-R16): scan set re-pinned to CAND-0 Orchestrator decision (Drake's order): R16 is reconciled against the frozen candidate CAND-0 (`aien-architecture` `qualification/candidates/CAND-0.toml`, merged `a44d5da`). The §1 table now holds omega `e5593ae`, aien-sovereign-core `0c1d249`, aienos `9d41efc` and physics `6d7cf0d`. aegis-runtime is not part of CAND-0 (archived, no candidate pin) and stays at `2bbce76`. `~/workspace/r16-survey/*` still sits at the old SHAs, so a CAND-0 run must point the tool at CAND-0 checkouts: `R16_REPO_SOVEREIGN_CORE= R16_REPO_AIENOS= R16_REPO_PHYSICS= tools/r16_loop_inventory.sh` (run from omega at `e5593ae`; aegis-runtime from the survey checkout at `2bbce76`). Before (this map up to §8.2, repos at CAND-0): `sites=502 unclassified=101 question=0 bad_class=0 a_reachable=0 stale=2 map_errors=0 skipped=0 -> FAIL` (sovereign-core 37 unclassified + stale SC-043/SC-044, aienos 64, physics 0, omega 0). Reconciliation, each row from reading the loop (no tool, pattern, threshold or class rule changed): - SC-091 to SC-125 (35 sovereign-core sites): 31 class D (test files and `#[cfg(test)]` code, plus the `tools/aien-test` gate runner, test infrastructure like the aien-proof rows), 3 class E (spine swarm prefill and swarm-cancel slot reclaim, LLM request serving kept under §3.1 Q1=A; the `aien-switchboard` AI-account failover, at most one try per account), 1 class N (file hash read), 0 class A. - AO-033 to AO-096 (64 aienos sites): 47 class D (test files, the TEST-ONLY continuity/store-crash halts, the QEMU UDP echo helper, the m3.c M3 isolation self-check), 8 class E (NVMe completion/shutdown polls, SMP bring-up wait and park, reset halt, virtio-net TX reclaim, FPU-probe panic halt), 9 class N (token, bpe, walk, read, sift), 0 class A. - SC-043 and SC-044 re-anchored: the enclosing test was renamed (`…blackwell…` -> `test_end_to_end_gb10_hardware_execution_if_available`, sovereign-core `14126c6`, #189); loop lines unchanged, class D. No new site sequences faculties on the omega production path; no genuine violation was found, so no code change in any repository. After, same command: `sites=502 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS` on omega `e5593ae` (no WARN: every scanned head equals §1) and on omega main `b544d81` (WARN for omega only, expected). Per repo after: omega A0 B24 C2 D150 E14 F3 N63 (256); sovereign-core A14 B5 D71 E14 F18 N3 (125); aegis-runtime A18 D1 N1 (20); aienos D59 E16 F1 N20 (96); physics B1 D2 E1 N1 (5). This is the G1/G2 inventory for CAND-0, not an R16 qualification receipt. ### 8.4 Update 2026-10-05 (overnight C1): scan set re-pinned to CAND-1 prep The §1 table now holds omega `ddf200d` (main after #283), aien-sovereign-core `69340c7` (main), aegis-runtime `f4e8709` (main), aienos `bbad5e4` (main after #263, the CAND-1 aienos pin) and physics `6d7cf0d` (omega `physics.lock`). aegis-runtime moved from `2bbce76` (gateway hardening #35, relicense #36), so this is the first scan of it since §8.3. OM-274 to OM-276 (class D, immutable evidence copies of `gpu_attention_test.c`) came in with #283. Before, same command with each repo pointed at a clean checkout of those commits: `sites=509 unclassified=4 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> FAIL` (all 4 in aegis-runtime #35). Reconciliation, each row from reading the loop (no tool, pattern, threshold or class rule changed): AR-021 to AR-024, class D. Three are `#[cfg(test)]` walks over fixed lists of shell commands and skill names in `src/enforcement.rs`; one is a test helper in `tests/gateway_auth_tests.rs` that waits up to 30 s for a spawned `aegis serve` to exit. None runs in a production binary. After: `sites=509 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS`. aien-sovereign-core still has open changes before the CAND-1 pin; the CAND-1 R16 receipt reruns this scan on the final commits. ### 8.5 Update 2026-10-05 (overnight C1): CAND-1 frozen The §1 table now holds the frozen CAND-1 commits: omega `cb06d08`, aien-sovereign-core `2eec75b`, aegis-runtime `f4e8709`, aienos `bbad5e4`, physics `6d7cf0d`. Before, omega at `cb06d08` with the map as of `cb06d08`, the other repos at the commits above: `sites=513 unclassified=4 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> FAIL` (all 4 in sovereign-core test code added by #209 and #213). Reconciliation, each row from reading the loop (no tool, pattern, threshold or class rule changed): SC-126 to SC-129, class D. SC-126 to SC-128 are the multi-sequence decode helper of the native `paged_attention_batch` test (#213): a spine run capped at 4 * (max_tokens + 4) steps, then a walk over the result channels with non-blocking `try_recv`. SC-129 is the sampled swarm helper of the KV lifecycle tests (#209), capped at 100 spine steps. None runs in a production binary. After: `sites=513 unclassified=0 question=0 bad_class=0 a_reachable=0 stale=0 map_errors=0 skipped=0 -> PASS` (omega code `cb06d08`; this map change touches no code, so the CAND-1 omega commit stays `cb06d08`).