interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / docs / r16-operator-brief.md

606 lines · 13890 bytes Raw Blame History Rendered
1# R16 operator brief (Part II, verbatim)
2
3Source: operator prompt "FINISH ADR 0016 — R15 PERFORMANCE PROOF, THEN R16
4ORCHESTRATOR RETIREMENT", Part II, decoded 2026-09-28 from the Codex session log
5`~/.codex/sessions/2026/09/27/rollout-2026-09-27T21-37-13-01a0e5df-a2e0-7100-852c-53a7e4ce2b34.jsonl`.
6It was not in any repository before this commit. Text below is unedited.
7The binding acceptance criteria are in `spec/r16-orchestrator-retirement.md`.
8
9```text
10PART II — R16 RETIRE CENTRAL ORCHESTRATION
11============================================================
12
13BEGIN ONLY AFTER:
14
15R15_REACTION_PERFORMANCE_PASS
16
17is merged and candidate-bound.
18
19First perform an organization-wide CODE audit.
20
21At minimum inspect:
22
23aien-spark/omega
24aien-spark/aien-sovereign-core
25aien-spark/aegis-runtime
26aien-dev/aienux
27aien-spark/physics
28
29Search for:
30
31run_until_complete
32for/while semantic step loops
33max_steps
34max_turns
35manual faculty invocation
36polling for semantic readiness
37central switch statements choosing subsystem order
38synchronous AIEN → Omega calls
39synchronous Omega → AEGIS calls
40heartbeat task dispatch
41duplicate schedulers
42duplicate world ownership
43duplicate authority ownership
44service/RPC boundaries now replaced by shared reactions
45
46Produce:
47
48spec/r16-orchestrator-retirement-map.md
49
50Classify every central loop as exactly one of:
51
52A. RETIRE
53Production semantic sequencing now replaced by reactions.
54
55B. KEEP — MAINTENANCE CONTROL
56Explicit deterministic operator or maintenance mechanism.
57
58C. KEEP — RECOVERY
59Needed for boot/recovery/repair.
60
61D. KEEP — REFERENCE ORACLE
62Non-authoritative comparison/test path.
63
64E. KEEP — PHYSICAL SCHEDULER
65Schedules physical resources/work, not faculty semantics.
66
67F. KEEP — EXTERNAL PROTOCOL LOOP
68Network/socket/event-loop mechanics that do not decide semantic faculty order.
69
70Do not delete a loop merely because it is a loop.
71
72The forbidden thing is CENTRAL SEMANTIC ORCHESTRATION.
73
74============================================================
75R16 TARGET 1 — aien-sovereign-core
76============================================================
77
78Current known path:
79
80crates/aien-runtime/src/spine.rs
81
82contains:
83
84AienRuntimeSpine::run_until_complete()
85
86which loops:
87
88for _ in 0..max_steps {
89 self.step(backend).await
90}
91
92This is the clearest known legacy semantic orchestrator.
93
94Determine whether the new resident reaction path now provides equivalent or
95stronger production behavior.
96
97If yes:
98
99remove this path from production semantic authority.
100
101Possible acceptable end states include:
102
103- move behind an explicit legacy/reference build feature;
104- restrict to tests/benchmark oracle;
105- preserve an operator-only deterministic compatibility mode;
106- remove entirely if nothing legitimately needs it.
107
108Do not choose the mechanism based on aesthetics.
109
110Production AIEN must no longer require a caller to repeatedly call `step()` to
111decide semantic progress.
112
113If `step()` remains because a physical inference backend needs a primitive
114advance operation, clearly separate:
115
116PHYSICAL ENGINE STEP
117
118from
119
120SEMANTIC SYSTEM SCHEDULING.
121
122A physical engine step may remain.
123
124A master semantic loop deciding when the system thinks/realizes/authorizes may
125not.
126
127============================================================
128R16 TARGET 2 — aegis-runtime
129============================================================
130
131Current live code contains:
132
133src/agent.rs
134AgentEngine::execute_task()
135
136for turn in 1..=max_turns {
137 model
138 tool
139 model
140 tool
141}
142
143and:
144
145src/heartbeat.rs
146start_loop()
147pulse_once()
148
149which periodically scans SQLite pending tasks and dispatches actions.
150
151The resident R8 AEGIS faculty is already a different authority model.
152
153Audit whether these legacy components remain needed for:
154
155- compatibility;
156- operator maintenance;
157- reference testing;
158- old standalone tool-agent mode.
159
160If they remain, explicitly mark them LEGACY/NON-AUTHORITATIVE and ensure the
161production resident architecture does not depend on them for policy or
162semantic progression.
163
164Do not rename the old runtime and pretend it became the resident faculty.
165
166============================================================
167R16 TARGET 3 — DUPLICATE OWNERSHIP
168============================================================
169
170Find places where old subsystems still independently own:
171
172- scheduler;
173- world state;
174- authority state;
175- semantic task queues;
176- model of generation;
177- resource pool;
178- causal state.
179
180Where the reaction architecture is authoritative, eliminate or demote duplicate
181production ownership.
182
183There should not be:
184
185AIEN scheduler
186Omega scheduler
187AEGIS scheduler
188
189independently deciding semantic order.
190
191There may still be physical worker pools.
192
193============================================================
194R16 PRODUCTION LAW
195============================================================
196
197After R16, the normal semantic progression must be:
198
199state publication
200 ↓
201dependency readiness
202 ↓
203resource admission
204 ↓
205authority validation
206 ↓
207reaction execution
208 ↓
209atomic publication
210 ↓
211new readiness
212
213No production function may encode:
214
215call AIEN
216wait
217call Omega
218wait
219call AEGIS
220wait
221dispatch GPU
222wait
223
224as the authoritative path.
225
226============================================================
227DO NOT REMOVE THESE
228============================================================
229
230Per ADR 0016, retain:
231
232- known-good fallback;
233- recovery path;
234- deterministic maintenance controls;
235- trusted capability root;
236- generation mechanism;
237- evidence.
238
239Also preserve:
240
241- R9 crash recovery;
242- R10 verifier;
243- R12 seat-loss handling;
244- R14 recovery paths;
245- operator emergency controls;
246- benchmark reference paths where needed.
247
248Do not optimize the architecture by deleting the evidence that proved it.
249
250============================================================
251R16 AUTHORITATIVE-PATH TEST
252============================================================
253
254Create an explicit test proving that the production golden path works with
255legacy semantic orchestrators unavailable.
256
257For example:
258
259build/run configuration where:
260
261AienRuntimeSpine::run_until_complete
262legacy AEGIS AgentEngine loop
263legacy AEGIS heartbeat task dispatcher
264
265are unavailable as semantic authorities.
266
267Then run:
268
269R13 living system
270R14 recovery subset/full qualification as appropriate
271
272The organism must still:
273
274receive goal
275AIEN reacts
276Omega reacts
277authority works
278GPU works
279evidence returns
280generation promotes
281recovery works
282
283If disabling a legacy orchestrator breaks the new production path, R16 is not
284done.
285
286============================================================
287R16 NEGATIVE TEST
288============================================================
289
290Also prove the reverse:
291
292legacy/reference paths cannot mutate authoritative resident state except
293through the same normal capability/publication boundaries.
294
295A legacy oracle must not be able to:
296
297- write authoritative AIEN belief directly;
298- select Omega realization directly;
299- mint authority;
300- promote generation;
301- bypass Effect/authority boundaries;
302- manually advance world generation.
303
304============================================================
305R16 API / BUILD SURFACE
306============================================================
307
308Make the distinction visible in code.
309
310Avoid ambiguous APIs where a future developer can accidentally re-enable the
311old architecture.
312
313Use explicit naming/features/modules such as:
314
315legacy_oracle
316maintenance
317recovery
318reference
319
320where appropriate.
321
322Do not leave:
323
324run_until_complete()
325
326as the obvious default production entry point if it is no longer authoritative.
327
328Document the supported production entry point.
329
330============================================================
331R16 DEAD-CODE / DEPENDENCY AUDIT
332============================================================
333
334After retiring orchestration:
335
336- remove unreachable central scheduling code where safe;
337- remove service glue used only by retired sequencing;
338- remove duplicate queues where safe;
339- remove duplicate state ownership;
340- remove stale dependencies.
341
342But do this only where evidence proves replacement.
343
344Do not perform a giant unrelated cleanup.
345
346============================================================
347R16 CORRECTNESS REGRESSION
348============================================================
349
350R16 must rerun EVERY R gate.
351
352At minimum:
353
354R1
355R2
356R3
357R4
358R5
359R6
360R7
361R8
362R9
363R10
364R11
365R12 host
366R12 silicon
367R13 host
368R13 silicon
369R14 host
370R14 silicon
371R15 physical performance qualification
372
373R15 numbers do not have to be byte-identical after code removal, but the
374pre-registered R15 acceptance policy must still pass.
375
376If performance changes materially, record a new R15-compatible measurement
377bundle in the R16 qualification.
378
379============================================================
380R16 CODE SEARCH GATE
381============================================================
382
383Create a machine-readable inventory of all remaining central loops matching
384patterns such as:
385
386run_until_complete
387max_steps
388max_turns
389manual step loops
390heartbeat semantic task dispatch
391faculty service sequencing
392
393For each surviving match, attach classification:
394
395maintenance
396recovery
397reference
398physical scheduler
399external protocol
400
401No unclassified production semantic orchestrator may remain.
402
403Gate fails if one remains.
404
405============================================================
406R16 RECEIPT
407============================================================
408
409Create:
410
411spec/r16-orchestrator-retirement.md
412
413evidence/R16/<sha256>.json
414
415Suggested schema:
416
417AIEN_RX_R16_ORCHESTRATOR_RETIRED_V1
418
419Include:
420
421candidate_commit
422run_commit
423candidate_bound
424tree_dirty
425silicon_observed
426
427R1–R15 rerun results
428
429retirement inventory:
430repo
431path
432symbol
433old role
434new role
435classification
436authoritative = true/false
437
438production entry point
439
440legacy orchestrators disabled test
441
442legacy cannot bypass authority test
443
444remaining central-loop count
445remaining unclassified semantic-loop count = 0
446
447known-good fallback present = true
448recovery present = true
449maintenance controls present = true
450trusted capability root present = true
451generation mechanism present = true
452evidence present = true
453
454R15 acceptance still passing = true
455
456gate:
457R16_ORCHESTRATOR_RETIRED = PASS
458
459============================================================
460R16 QUALIFICATION DISCIPLINE
461============================================================
462
4631. complete retirement map first;
4642. commit map/spec;
4653. make minimal code changes;
4664. add explicit authoritative-path tests;
4675. commit candidate;
4686. clean tree;
4697. run entire R1–R15 ladder;
4708. run physical GB10 qualification;
4719. verify R15 acceptance remains satisfied;
47210. candidate == run commit;
47311. generate receipt;
47412. commit evidence unchanged;
47513. open PR;
47614. merge with merge commit.
477
478============================================================
479FINAL ADR 0016 COMPLETION CHECK
480============================================================
481
482After R16 merge, perform one fresh clean checkout of the merged tree.
483
484From that checkout verify:
485
486R1 PASS
487R2 PASS
488R3 PASS
489R4 PASS
490R5 PASS
491R6 PASS
492R7 PASS
493R8 PASS
494R9 PASS
495R10 PASS
496R11 PASS
497R12 PASS
498R13 PASS
499R14 PASS
500R15 PASS
501R16 PASS
502
503Then inspect production code again.
504
505The final architecture must truthfully be describable as:
506
507AIEN is a persistent resident computational system in which cognition,
508realization, authority, resource arbitration, CPU/GPU execution, evidence,
509recovery and durable promotion operate over one generation-addressed object
510world.
511
512Work progresses because dependencies become ready, not because a master loop
513chooses which faculty goes next.
514
515============================================================
516DO NOT OVERCLAIM
517============================================================
518
519Completion of R16 means:
520
521ADR 0016 / Resident Reaction Architecture migration COMPLETE.
522
523It does NOT mean the entire AIEN 42-phase master plan is complete.
524
525Do not claim:
526
527- full Skill Network completion;
528- complete J-Space productization;
529- complete Fabric deployment;
530- complete whole-product Effect Broker path;
531- full Cortex product integration;
532- full RSI product integration;
533- final install/update UX;
534- Phase 41 whole-AIEN golden path;
535- Phase 42 final release qualification;
536
537unless separately proven by their own current evidence.
538
539============================================================
540FINAL REPORT TO OPERATOR
541============================================================
542
543When both gates are merged, report:
544
545R15:
546- implementation commit
547- evidence commit
548- receipt SHA
549- raw evidence location
550- exact hardware
551- benchmark methodology
552- legacy vs resident table
553- every mandatory ADR metric
554- statistically supported wins
555- regressions/tradeoffs
556- energy method
557- acceptance criteria and result
558
559R16:
560- implementation commit
561- evidence commit
562- receipt SHA
563- every retired orchestrator
564- every surviving loop and its classification
565- production entry point
566- proof that legacy loops are unnecessary for the resident golden path
567- proof legacy paths cannot bypass authority
568- full R1–R16 rerun
569- remaining limitations
570
571Finish with exactly one architectural status statement:
572
573ADR 0016 RESIDENT REACTION MIGRATION:
574COMPLETE
575
576Only say that if both:
577
578R15_REACTION_PERFORMANCE_PASS
579and
580R16_ORCHESTRATOR_RETIRED
581
582are genuinely proven.
583
584============================================================
585FIRST ACTION NOW
586============================================================
587
588Fetch current main in every relevant repository.
589
590Do not trust README claims.
591
592Inspect actual code.
593
594Produce the R15 benchmark/instrumentation map.
595
596Commit the R15 methodology BEFORE looking at final qualification results.
597
598Then execute R15.
599
600If and only if R15 passes, proceed immediately to R16 and finish the
601migration.
602
603Do not stop merely because one benchmark looks impressive.
604Do not stop merely because old code was marked deprecated.
605Finish both gates with candidate-bound evidence.
606```