interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / docs / adr / 0016-resident-reaction-architecture.md

1804 lines · 44161 bytes Raw Blame History Rendered
1# ADR 0016: AIEN, Omega, and AEGIS Are Faculties of One Resident Reaction System
2
3**Status:** Accepted by operator, 2026-09-27 (directive: "Treat this document as the architectural decision. Do not redesign it back into a service pipeline.")
4**Gate:** `R0_REACTION_ARCHITECTURE_LOCKED` — satisfied when this ADR is merged to `main`.
5**Supersedes:** nothing. **Amends:** the runtime-composition reading of `doctrine/ARCHITECTURE.md` §1.1 and §2.6 (see "Doctrine reconciliation").
6**Amendment 1 (ACCEPTED 2026-10-02 by operator Drake Stapleton, decision Option B):** FORGE is a realization and memory policy, not a stage of accepting a reaction result. See "Amendment 1" under "Doctrine reconciliation".
7
8**Related:** ADR 0005 (effect broker), ADR 0007 (J-Space effect boundary), ADR 0013/0014 (FORGE realizes, AEGIS verifies, AIENOS owns capabilities), ADR 0015 (Resident Semantic Store, accepted and merged 2026-09-27).
9**Migration map:** [`docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md`](../plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md) (NOT A MASTER PLAN).
10
11---
12
13## Part I — Decision record
14
15### Context
16
17Until now the runtime was described as a pipeline: AIEN proposes, then Omega defines, then FORGE realizes, then AEGIS verifies, then hardware acts. Every implementation so far follows that shape. `tools/omegatool.c` sequences each step by hand, and M19's `omega_world_*` API is a synchronous call-submit-drain service. The coherent shared world (M19, M20 Stage 1 work) already points the other way: one pointer-free object world that CPU and GPU both observe.
18
19The operator directive of 2026-09-27 (Part II, verbatim) changes the runtime composition. It keeps every sovereignty, authority, verification, evidence, rollback, generation, and semantic-identity standard.
20
21### Decision
22
23The following eight statements are locked. No module migration may contradict them.
24
25```text
26AIEN + OMEGA + AEGIS ARE FACULTIES OF ONE RESIDENT SYSTEM.
27
28THE SYSTEM HAS NO SEMANTIC MASTER LOOP.
29
30WORK ACTIVATES THROUGH DEPENDENCY READINESS.
31
32PHYSICAL RESOURCES ARE ARBITRATED BELOW SEMANTIC READINESS.
33
34AUTHORITY IS UNFORGEABLE.
35
36BEHAVIOR IS CONTINUOUS.
37
38DURABLE LEARNING USES GENERATION BARRIERS.
39
40ALL NONTRIVIAL TRANSITIONS ARE CAUSALLY TRACEABLE.
41```
42
43Canonical architectural sentence:
44
45> AIEN is a persistent resident computational organism in which cognition, semantics, realization, authority, memory, evidence, and action evolve concurrently over one generation-addressed object world. Work activates by readiness rather than turn-taking; physical resources are locally arbitrated; authority remains unforgeable; durable learning occurs at verified generation barriers; and every consequential state transition remains causally attributable.
46
47### Terminology mapping to current doctrine
48
49Part II was written with some pre-ADR-0014 vocabulary. Read it through this table. Historical identifiers stay unchanged, per ADR 0014.
50
51| Part II term | Current meaning |
52|---|---|
53| "Physics" as machine realization (§29 cost model, `physics/cpu`, `physics/accelerator`, `physics/memory`) | **FORGE** (ADR 0014). FORGE realizes; it is not a security gatekeeper. |
54| "Trusted physical root", "capability mint and validator", `physics/capability` | The **capability root**. Natively this is the AIENOS kernel capability authority, which ADR 0014 assigns to AIENOS. On bare metal the historical M3 ledger (`aien-spark/physics` `m3/capability.s`) is the reference. For Linux-hosted development it is an out-of-process host root whose table the semantic runtime can read but never write (see the migration map). It is never an ordinary mutable semantic object. |
55| "AEGIS and Physics must remain capable of stopping execution" (§31) | AEGIS (policy/verification) plus the capability root and AIENOS (revocation, worker cancellation, GPU reset) must be able to stop execution while cognition is unhealthy. |
56| AEGIS "capability policy / authority relations" | AEGIS verifies authority and checks compliance against system invariants; it decides no policy and authors no law (acting as quality control verification). It issues PolicyDecision / CapabilityRequest / RevocationIntent strictly as evaluations against canonical criteria. Only the capability root turns a decision into an enforceable capability. AEGIS verifies, the root mints. |
57| "Physics Zero" | Unrelated. It is the scientific-discovery program (M27–M35). |
58
59### Doctrine reconciliation
60
61`ATLAS AWAKENS. AIEN PROPOSES. OMEGA DEFINES. FORGE REALIZES. AEGIS VERIFIES. HARDWARE ACTS. EVIDENCE TEACHES.` remains the canonical statement of **responsibilities and causal dependencies**. After this ADR it is **not** a runtime turn order. In the resident system:
62
63- "AIEN proposes" means AIEN publishes typed proposals (`Hypothesis`, `PlanCandidate`, …) into the shared world.
64- "OMEGA defines" and "FORGE realizes" are reactions that become ready when those proposals exist. FORGE realization is a realization and memory policy, not a step in accepting a reaction result (ADR 0016 Amendment 1, 2026-10-02, below).
65- "AEGIS verifies" means authority state takes part in readiness. Verification reactions gate promotion. AEGIS is not a synchronous call on every step.
66- "Evidence teaches" means evidence is appended as structured causal crumbs, and durable learning is promoted only at generation barriers.
67
68The §2.6 "Bidirectional Lowering Protocol" still describes the dependency structure of one realization. Its numbered steps are dependencies, not a loop body.
69
70#### Amendment 1 (ACCEPTED 2026-10-02 by operator Drake Stapleton, Option B)
71
72- FORGE is a realization policy: hardware lowering and, inside J-Space, a memory-pressure policy (`js_forge_choose`, `js_forge_enforce`). It is not a stage of accepting a reaction result.
73- The recorded accept chain is World -> J-Space -> `compose.verify` -> commit -> Cortex, as documented in `aien-spark/omega` `docs/runtime/COMMIT_A_REACTION_DESIGN.md` (merged 35af57d). No FORGE step sits on it.
74- Wherever this ADR, `doctrine/ARCHITECTURE.md` §2.6 or any other document lists FORGE before verify, act or commit, read it as a dependency for hardware realization only, not as a commit step.
75- If hardware realization later needs a hook on the accept path, that is a new decision and a new amendment.
76- This does not change ADR 0024: Physics and FORGE remain hardware-substrate class B.
77
78### Relationship to ADR 0015 (Resident Semantic Store)
79
80ADR 0015 governs durable state: memory categories, `OmegaResidentRoot`, the Store v1 commit point, and cold recovery. This ADR governs how the live world changes. The state classes in Part II §19 map onto ADR 0015's categories as follows:
81
82| Part II §19 | ADR 0015 §2 |
83|---|---|
84| Ephemeral | `EPHEMERAL`, `DEVICE_LOCAL` |
85| Resident | `RECONSTRUCTIBLE`, `DERIVED` |
86| Durable | `DURABLE` |
87
88The generation barrier (Part II §17–18, gate R9) must commit through the ADR 0015 ordered commit protocol. ADR 0015 is merged (2026-09-27), so R9 may start once its own prerequisites (R5–R8) hold. R0–R8 are in-memory and do not write persistent formats, so they are not blocked by ADR 0015.
89
90### Invariants carried into every stage
91
92These are I1–I16 from Part II §54. Every R-gate receipt must state which invariants its tests exercised.
93
94### Consequences
95
96- New runtime code is organized by shared primitives (object, reaction, dependency, publication, causal, generation, resource, recovery), not by `aien-runtime/`, `omega-runtime/`, or `aegis-runtime/` schedulers (Part II §50–51).
97- The legacy orchestrated paths (`omegatool` gate/demo sequencing, M19 synchronous `omega_world_*` dispatch, `aegis-runtime` orchestration) become the reference oracle. They are not deleted before R16 (Part II §32).
98- Authority encoded as editable fields is non-conforming as authority. This includes `OmegaHandle.permissions` in M19 and `is_physics_authorized` in M13/M15, which stays frozen as a historical fingerprint field. Those fields may remain as cached views, but they must never be the thing that grants a right (Part II §3, §57; invariant I3).
99- Gate claims follow the existing evidence discipline (M19R Gate 1): observed counts, candidate commit bound as input, and no hardware claim from mocks (Part II §60 items 7–8).
100
101---
102
103## Part II — Normative standard (operator directive, 2026-09-27)
104
105Verbatim, except that the R0–R16 gate sections (§33–§49) and §50–§57 have their bullet lists folded onto single lines. No requirement was added, removed, or reworded.
106
107# AIEN UNIFIED ORGANISM
108
109## Resident Reaction Architecture Implementation Plan
110
111### Status
112
113**PROPOSED ARCHITECTURAL STANDARD** (accepted as ADR 0016 — see Part I)
114
115This document changes the runtime composition of AIEN, Omega, and AEGIS.
116
117It does **not** discard the existing sovereignty, authority, verification, evidence, rollback, generation, or semantic-identity standards.
118
119The central change is:
120
121```text
122OLD
123
124AIEN
125 ↓
126OMEGA
127 ↓
128AEGIS
129 ↓
130PHYSICS
131 ↓
132MACHINE
133```
134
135becomes:
136
137```text
138 ONE RESIDENT SYSTEM
139
140 ┌──────────┬──────────┬──────────┐
141 │ │ │ │
142 AIEN OMEGA AEGIS │
143 cognition semantics authority │
144 learning synthesis policy │
145 goals realization capability │
146 │ │ │ │
147 └──────────┴──────────┴──────────┘
148 │
149 SHARED LIVE WORLD
150 │
151 TRUSTED PHYSICAL ROOT
152 │
153 MACHINE
154```
155
156AIEN, Omega, and AEGIS are no longer sequential services.
157
158They are three faculties operating continuously over the same resident state.
159
160No faculty owns the main loop.
161
162There is no semantic-level concept of:
163
164```text
165"whose turn is next?"
166```
167
168The runtime is reaction-driven:
169
170```text
171STATE CHANGE
172 ↓
173DEPENDENCIES BECOME READY
174 ↓
175ELIGIBLE TRANSFORMATIONS ACT
176 ↓
177STATE CHANGES
178 ↓
179OTHER DEPENDENCIES BECOME READY
180```
181
182The system lives.
183
184---
185
186# 1. FUNDAMENTAL MODEL
187
188The canonical computation becomes:
189
190```text
191STATE(t)
192 │
193 ├── cognition
194 ├── semantic transformation
195 ├── authority
196 ├── memory
197 ├── evidence
198 ├── physical realization
199 │
200 ▼
201STATE(t+1)
202```
203
204A valid state transition may simultaneously possess:
205
206```text
207GOAL
208HYPOTHESIS
209SEMANTICS
210CONSTRAINTS
211REALIZATION
212CAPABILITY REQUIREMENTS
213AUTHORITY
214RESOURCE REQUIREMENTS
215EVIDENCE
216PROVENANCE
217COST
218RESULT
219```
220
221These are not messages between subsystems.
222
223They are dimensions of the same object graph.
224
225---
226
227# 2. THE THREE FACULTIES
228
229## AIEN — adaptive cognition
230
231AIEN contributes:
232
233```text
234GOALS
235ATTENTION
236BELIEFS
237HYPOTHESES
238PREDICTIONS
239UNCERTAINTY
240PLANS
241PRIORITIES
242LEARNING
243MODEL STATE
244MEMORY ACTIVATION
245```
246
247AIEN does not possess physical authority merely because it generated a proposal.
248
249---
250
251## OMEGA — semantic and realization faculty
252
253Omega contributes:
254
255```text
256SEMANTIC IDENTITY
257OPERATIONS
258RELATIONS
259CONSTRAINTS
260PROGRAMS
261REALIZATIONS
262MACHINE MODELS
263EQUIVALENCE
264SYNTHESIS
265PROOFS
266COST MODELS
267IMPLEMENTATION SEARCH
268```
269
270Meaning remains independent of representation.
271
272Multiple implementations may realize one semantic operation.
273
274The existing realization rule remains:
275
276```text
277REALIZE
278VERIFY
279MEASURE
280RECORD
281SELECT
282```
283
284and verification remains separate from performance selection.
285
286---
287
288## AEGIS — constitutional authority faculty
289
290AEGIS contributes:
291
292```text
293CAPABILITY POLICY
294AUTHORITY RELATIONS
295EFFECT CLASSIFICATION
296RESOURCE RIGHTS
297PRIVILEGE BOUNDS
298REVOCATION
299PROMOTION REQUIREMENTS
300TRUST RELATIONSHIPS
301SECURITY INVARIANTS
302```
303
304AEGIS ceases to behave primarily as:
305
306```text
307request
308↓
309gatekeeper
310↓
311yes/no
312```
313
314Ordinary valid authority should already be represented in resident capability state.
315
316AEGIS becomes most active when authority itself changes.
317
318Examples:
319
320```text
321CREATE CAPABILITY
322EXPAND CAPABILITY
323DELEGATE CAPABILITY
324REVOKE CAPABILITY
325PERMIT EXTERNAL EFFECT
326PROMOTE REALIZATION
327CHANGE TRUST ROOT
328```
329
330---
331
332# 3. NON-NEGOTIABLE TRUST RULE
333
334The integration of AIEN, Omega, and AEGIS must **not** imply that cognition can forge authority.
335
336Canonical invariant:
337
338```text
339INTELLIGENCE ≠ AUTHORITY
340```
341
342The existing failure model already requires the system to remain sound when intelligence hallucinates, produces bad code or proofs, crashes, or becomes compromised. It requires capability revocation, recovery, known-good restoration, and evidence preservation.
343
344Therefore:
345
346```text
347AEGIS POLICY
348 │
349 ▼
350CAPABILITY MINT
351 │
352 ▼
353UNFORGEABLE CAPABILITY
354 │
355 ▼
356PHYSICAL ENFORCEMENT
357```
358
359The capability mint and validator live inside the trusted physical root.
360
361They are not ordinary mutable semantic objects.
362
363The shared world may contain references to capabilities.
364
365It may not invent them.
366
367A capability should minimally bind:
368
369```text
370CapabilityId
371issuer
372subject
373resource
374rights
375bounds
376generation
377epoch
378expiry / lease
379delegation constraints
380revocation state
381cryptographic / kernel authenticity
382```
383
384Raw permission fields are insufficient.
385
386This rule is absolute.
387
388---
389
390# 4. NO CENTRAL SEMANTIC ORCHESTRATOR
391
392Remove the assumption that the runtime fundamentally looks like:
393
394```text
395loop {
396 task = choose_next_task();
397 execute(task);
398}
399```
400
401The new semantic runtime is:
402
403```text
404mutation
405 ↓
406dependency propagation
407 ↓
408readiness
409 ↓
410resource admission
411 ↓
412reaction
413 ↓
414publication
415```
416
417A transformation is semantically ready when:
418
419```text
420required inputs exist
421AND
422required semantic constraints hold
423AND
424required authority exists
425AND
426required predecessor state is committed
427```
428
429Physical execution additionally requires:
430
431```text
432resources available
433AND
434realization available
435AND
436machine constraints satisfied
437```
438
439---
440
441# 5. BUILD THE REACTION FABRIC
442
443This is a real subsystem and must be treated as such.
444
445Do not disguise it as "the graph just reacts."
446
447Implement explicit dependency machinery.
448
449Each reactive transformation must declare:
450
451```text
452READ SET
453WRITE SET
454TRIGGER SET
455INVALIDATION SET
456CAPABILITY SET
457RESOURCE CLASS
458GENERATION
459PRIORITY CLASS
460```
461
462The runtime maintains indexes from changed semantic properties to interested reactions.
463
464Conceptually:
465
466```text
467object mutation
468 │
469 ▼
470dependency index
471 │
472 ├── reaction A
473 ├── reaction B
474 └── reaction C
475```
476
477Do not scan the complete graph after every mutation.
478
479---
480
481# 6. REACTION STATE MACHINE
482
483Every reaction should have an explicit lifecycle.
484
485Use approximately:
486
487```text
488DORMANT
489 ↓ dependency satisfied
490READY
491 ↓ resource admitted
492RUNNING
493 ↓
494PUBLISHING
495 ↓
496COMMITTED
497```
498
499Alternative exits:
500
501```text
502READY → BLOCKED_AUTHORITY
503READY → BLOCKED_RESOURCE
504READY → INVALIDATED
505
506RUNNING → FAILED
507RUNNING → CANCELLED
508RUNNING → INVALIDATED
509
510PUBLISHING → CONFLICT
511PUBLISHING → REJECTED
512```
513
514Never allow an implicit ambiguous state.
515
516---
517
518# 7. VERSIONED READS AND TRANSACTIONAL PUBLICATION
519
520Reactions may operate concurrently.
521
522Therefore a reaction must not assume the world remained unchanged while it computed.
523
524A reaction records:
525
526```text
527input object IDs
528input generations
529input versions
530capability generations
531machine-state assumptions
532```
533
534Before publication, validate that required assumptions remain valid.
535
536Then:
537
538```text
539COMPUTE AGAINST SNAPSHOT
540 ↓
541PROPOSE MUTATION
542 ↓
543VALIDATE DEPENDENCIES
544 ↓
545ATOMIC PUBLISH
546```
547
548If relevant input changed:
549
550```text
551candidate becomes stale
552```
553
554not silently committed.
555
556This should use generation/version semantics already native to Omega's object model.
557
558---
559
560# 8. RESOURCE ARBITRATION STILL EXISTS
561
562The architecture does not pretend contention disappeared.
563
564Semantic readiness and physical admission are separate.
565
566Potentially:
567
568```text
569100 reactions READY
5703 can physically run
571```
572
573Something must allocate resources.
574
575The crucial distinction is:
576
577**the allocator schedules work, not personalities.**
578
579Never allocate:
580
581```text
582GPU TO AIEN
583CPU TO AEGIS
584GPU TO OMEGA
585```
586
587Instead reactions describe requirements:
588
589```text
590WorkRequirement {
591 compute_class
592 memory
593 locality
594 accelerator_features
595 latency_class
596 energy_budget
597 deadline
598 authority
599 importance
600}
601```
602
603Then machine policy decides placement.
604
605---
606
607# 9. GLOBAL MODULATORS
608
609Introduce a deliberately small mechanism analogous to attention/arousal/pain rather than reconstructing a giant orchestrator.
610
611Recommended global signals:
612
613```text
614CRITICAL
615INTERACTIVE
616FOREGROUND
617LEARNING
618MAINTENANCE
619SPECULATIVE
620BACKGROUND
621```
622
623Optional continuous factors may include:
624
625```text
626urgency
627expected utility
628deadline pressure
629uncertainty reduction
630risk
631resource cost
632age / starvation
633```
634
635The physical scheduler can calculate a local admission score from these properties.
636
637But do not create an all-knowing planning scheduler.
638
639Global modulation says:
640
641```text
642"this matters more right now"
643```
644
645not:
646
647```text
648"here is the entire order in which the organism must think"
649```
650
651Include starvation prevention.
652
653---
654
655# 10. PREVENT THUNDERING HERDS
656
657The dependency engine must support:
658
659```text
660fine-grained subscriptions
661coalesced invalidation
662change masks
663generation-aware wakeups
664deduplication
665rate limiting
666bounded fan-out
667```
668
669A change to:
670
671```text
672Object X.attribute[temperature]
673```
674
675should not wake every reaction depending on Object X if only three actually depend on `temperature`.
676
677Track dependencies at the narrowest reasonable semantic granularity.
678
679---
680
681# 11. PREVENT OSCILLATION
682
683The runtime needs explicit loop detection.
684
685Examples:
686
687```text
688A → B → A
689
690A → B → C → A
691```
692
693Maintain causal ancestry sufficient to recognize immediate and bounded cycles.
694
695Policies may include:
696
697```text
698fixed-point detection
699minimum-change threshold
700maximum reaction depth
701per-generation activation budget
702oscillation quarantine
703backoff
704operator-visible fault
705```
706
707Some cycles are legitimate.
708
709Therefore:
710
711```text
712cycle != automatically invalid
713```
714
715The runtime must distinguish:
716
717```text
718CONVERGENT LOOP
719PERIODIC CONTROL LOOP
720UNSTABLE OSCILLATION
721LIVELOCK
722```
723
724---
725
726# 12. PROGRESS AND LIVELOCK
727
728Define progress explicitly.
729
730A system performing infinite reactions without increasing useful committed state is not healthy merely because hardware utilization is high.
731
732Track:
733
734```text
735committed semantic progress
736goal advancement
737new evidence
738resolved uncertainty
739useful external effect
740verified optimization
741```
742
743Compare that against:
744
745```text
746reaction count
747compute consumed
748memory churn
749invalidations
750retries
751```
752
753Detect:
754
755```text
756livelock
757retry storms
758conflict storms
759wakeup storms
760```
761
762and degrade or quarantine the responsible graph region.
763
764---
765
766# 13. ONE SHARED OBJECT WORLD
767
768The current architecture already points toward a shared object world and cross-engine ABI. The migration plan specifically identifies the transition from CPU-prepares/GPU-waits to CPU and GPU participating in a shared object world, and orders the work as Shared Object Pool → Cross-Engine ABI → Resident Cooperation → Generation Barrier → Physical Cost Calculus.
769
770Make that the architectural center.
771
772The world contains:
773
774```text
775semantic graph
776goals
777beliefs
778hypotheses
779plans
780capabilities
781realizations
782model state
783tensor state
784Cortex hot state
785machine graph
786evidence
787provenance
788active reactions
789generation metadata
790```
791
792Use logical references:
793
794```text
795ObjectId
796SemanticId
797Generation
798CapabilityId
799RealizationId
800```
801
802not cross-authority raw pointers.
803
804Physical addresses remain implementation details of the trusted machine registry.
805
806---
807
808# 14. CROSS-ENGINE OBJECT ABI
809
810CPU and GPU both need to observe and mutate permitted portions of the resident world.
811
812Define a narrow object ABI containing:
813
814```text
815object identity
816object generation
817object type
818state/version
819ownership metadata
820authority reference
821dependency metadata
822publication state
823payload/reference descriptor
824```
825
826No raw CPU pointer should become a semantic identity.
827
828No GPU virtual address should become a semantic identity.
829
830Machine addresses are realizations.
831
832---
833
834# 15. RESIDENT COOPERATION
835
836Replace:
837
838```text
839CPU
840→ construct command
841→ launch GPU
842→ wait
843→ consume
844```
845
846with increasingly resident execution:
847
848```text
849CPU PARTICIPANTS ─┐
850 │
851 ▼
852 SHARED WORLD
853 ▲
854 │
855GPU PARTICIPANTS ─┘
856```
857
858GPU-side resident workers should be able to:
859
860```text
861observe eligible GPU reactions
862claim permitted work
863execute realization
864publish result descriptors
865continue
866```
867
868without reconstructing the cognitive system per launch.
869
870The existing standard already calls for:
871
872```text
873INITIALIZE ONCE
874STAY RESIDENT
875OBSERVE SHARED WORK
876EXECUTE
877PUBLISH RESULTS
878CONTINUE
879```
880
881---
882
883# 16. FAST PATH / SLOW PATH
884
885The living system must not run expensive reasoning, synthesis, or policy machinery for familiar operations.
886
887## Fast path
888
889```text
890known semantics
891+
892known realization
893+
894valid capability
895+
896ready inputs
897+
898available resources
899=
900execute
901```
902
903No policy RPC.
904
905No synthesis.
906
907No recompilation.
908
909No unnecessary serialization.
910
911No model inference merely to dispatch known work.
912
913## Slow path
914
915Triggered by novelty:
916
917```text
918unknown realization
919new goal
920changed authority
921unusual risk
922failed verification
923missing capability
924unknown machine condition
925optimization opportunity
926```
927
928Then cognition, Omega synthesis, AEGIS reasoning, verification, or operator involvement may activate.
929
930This directly supports the existing performance objective:
931
932```text
933MINIMUM PHYSICAL WORK
934PER REQUIRED SEMANTIC RESULT
935```
936
937which explicitly calls for removing unnecessary movement, parsing, copies, synchronization, launches, context switches, recompilation, and redundant computation.
938
939---
940
941# 17. CONTINUOUS BEHAVIOR, DISCRETE LEARNING
942
943Do not attempt to make permanent belief/model promotion completely fluid.
944
945Use two timescales.
946
947```text
948FAST TIMESCALE
949continuous reaction
950
951SLOW TIMESCALE
952generation promotion
953```
954
955Behavior can continue while candidate knowledge is accumulated.
956
957At a generation boundary:
958
959```text
960drain relevant in-flight work
961freeze evidence set
962evaluate candidate changes
963verify invariants
964publish committed generation
965```
966
967This becomes the organism's coherent learning boundary.
968
969---
970
971# 18. GENERATION BARRIER
972
973Canonical lifecycle:
974
975```text
976Generation N active
977 ↓
978open candidate N+1
979 ↓
980continuous reactions continue
981 ↓
982candidate learning accumulates
983 ↓
984request commitment
985 ↓
986drain / classify relevant in-flight work
987 ↓
988freeze consistent reachable state
989 ↓
990verify
991 ↓
992commit Generation N+1
993```
994
995Do not freeze the entire machine for every thought.
996
997Generation barriers are for durable semantic commitments.
998
999---
1000
1001# 19. THREE CLASSES OF STATE
1002
1003Explicitly classify state.
1004
1005## Ephemeral
1006
1007```text
1008temporary activations
1009scheduler queues
1010scratch tensors
1011temporary GPU registers
1012speculative results
1013```
1014
1015Can disappear.
1016
1017## Resident
1018
1019```text
1020active cognitive state
1021hot graph
1022model state
1023reaction indexes
1024working memory
1025realization cache
1026active capability references
1027```
1028
1029Expected to remain alive during normal operation.
1030
1031## Durable
1032
1033```text
1034committed generations
1035Cortex evidence
1036semantic objects
1037model checkpoints
1038verified realizations
1039policy roots
1040lineage
1041provenance
1042```
1043
1044Must survive recovery.
1045
1046Never persist raw transient pointers as identity.
1047
1048---
1049
1050# 20. CAUSAL CRUMBS ARE FIRST-CLASS
1051
1052Removing the main loop makes observability more important.
1053
1054Every meaningful reaction produces a compact causal crumb.
1055
1056Minimum:
1057
1058```text
1059ReactionId
1060cause
1061trigger object/version
1062input generations
1063reaction type
1064faculty contributions
1065authority used
1066realization used
1067machine placement
1068start/finish
1069published objects
1070evidence references
1071failure / invalidation reason
1072parent causal IDs
1073```
1074
1075This allows reconstruction:
1076
1077```text
1078Why did this happen?
1079What woke this?
1080What evidence caused it?
1081What authority allowed it?
1082What realization executed?
1083What changed because of it?
1084```
1085
1086---
1087
1088# 21. DO NOT LOG EVERYTHING AS TEXT
1089
1090Causal trace should itself be structured semantic data.
1091
1092Use content-addressed evidence where possible.
1093
1094Example:
1095
1096```text
1097CausalEvent {
1098 id
1099 generation
1100 causes[]
1101 inputs[]
1102 transformation
1103 realization
1104 capabilities[]
1105 outputs[]
1106 evidence[]
1107 physical_cost
1108}
1109```
1110
1111Human-readable logs are renderings.
1112
1113The canonical record is structured.
1114
1115---
1116
1117# 22. OBSERVABILITY REQUIREMENTS
1118
1119The operator must be able to ask:
1120
1121```text
1122what is active?
1123what is blocked?
1124what is consuming resources?
1125what is repeatedly waking?
1126what has highest urgency?
1127which reactions are starved?
1128which graph region is oscillating?
1129which capability enables this action?
1130why did this effect happen?
1131which evidence promoted this belief?
1132```
1133
1134Implement causal graph inspection before allowing the reaction system to become large.
1135
1136No opaque "organism" excuse is acceptable.
1137
1138---
1139
1140# 23. EFFECTS REMAIN SPECIAL
1141
1142Pure semantic/cognitive state transformation can be highly concurrent.
1143
1144Irreversible external effects remain stricter.
1145
1146Examples:
1147
1148```text
1149network transmission
1150filesystem destruction
1151external account mutation
1152physical actuator command
1153repository deletion
1154credential use
1155```
1156
1157Those require explicit effect authority.
1158
1159A speculative thought can construct and evaluate an effect.
1160
1161It cannot externalize one without authority.
1162
1163---
1164
1165# 24. SPECULATION
1166
1167Speculative branches should be native reactions.
1168
1169They may:
1170
1171```text
1172reason
1173simulate
1174synthesize
1175benchmark in sandbox
1176generate candidate state
1177```
1178
1179They may not silently alter canonical external reality.
1180
1181Promotion remains explicit.
1182
1183---
1184
1185# 25. CONFLICT MODEL
1186
1187Concurrent reactions will sometimes produce incompatible writes.
1188
1189Do not serialize all writes merely to avoid this.
1190
1191Define conflict classes:
1192
1193```text
1194COMMUTATIVE
1195MERGEABLE
1196LAST-WRITER-INVALID
1197EXCLUSIVE
1198AUTHORITY-SENSITIVE
1199GENERATION-SENSITIVE
1200```
1201
1202Semantic object types should declare their merge behavior.
1203
1204Examples:
1205
1206Evidence append: `commutative`
1207
1208Capability revocation: `authority-sensitive`
1209
1210Canonical realization promotion: `exclusive / generation-sensitive`
1211
1212---
1213
1214# 26. OBJECT TYPE CONTRACT
1215
1216Each semantic object type should eventually declare:
1217
1218```text
1219canonical encoding
1220identity rule
1221mutable fields
1222immutable fields
1223dependency granularity
1224merge semantics
1225authority requirements
1226verification rules
1227persistence class
1228wake conditions
1229```
1230
1231This lets the runtime understand objects without hardcoding behavior for every subsystem.
1232
1233---
1234
1235# 27. FACULTY OWNERSHIP IS LOGICAL, NOT MEMORY OWNERSHIP
1236
1237Do not divide memory into:
1238
1239```text
1240AIEN heap
1241OMEGA heap
1242AEGIS heap
1243```
1244
1245Use one object universe.
1246
1247But preserve write authority by semantic domain.
1248
1249For example:
1250
1251AIEN can propose:
1252
1253```text
1254Hypothesis
1255GoalPriority
1256Prediction
1257PlanCandidate
1258```
1259
1260Omega can author:
1261
1262```text
1263RealizationCandidate
1264SemanticProof
1265CostEstimate
1266Transformation
1267```
1268
1269AEGIS can author:
1270
1271```text
1272PolicyDecision
1273CapabilityRequest
1274RevocationIntent
1275AuthorityConstraint
1276```
1277
1278The trusted root alone creates/revokes physically enforceable capabilities.
1279
1280---
1281
1282# 28. RESOURCE OWNERSHIP
1283
1284Hardware belongs to the whole organism.
1285
1286Not:
1287
1288```text
1289AIEN GPU
1290OMEGA GPU
1291AEGIS CPU
1292```
1293
1294Instead resources advertise capabilities:
1295
1296```text
1297MachineResource {
1298 capabilities
1299 topology
1300 locality
1301 capacity
1302 occupancy
1303 trust domain
1304 measured costs
1305}
1306```
1307
1308Reactions state requirements.
1309
1310Placement chooses a realization.
1311
1312---
1313
1314# 29. PHYSICAL COST MODEL
1315
1316Retain Omega's physical optimization role.
1317
1318Each realized reaction should be measurable in terms such as:
1319
1320```text
1321bytes read
1322bytes written
1323coherence traffic
1324cache pressure
1325synchronization
1326barriers
1327CPU cycles
1328GPU cycles
1329tensor utilization
1330latency
1331energy
1332peak live memory
1333```
1334
1335The target is not maximum activity.
1336
1337The target remains:
1338
1339```text
1340minimum physical work
1341per required semantic result
1342```
1343
1344---
1345
1346# 30. BOOT BECOMES RECOVERY / AWAKENING
1347
1348Normal conceptual lifecycle:
1349
1350```text
1351AWAKEN
1352 ↓
1353RESTORE LAST VALID GENERATION
1354 ↓
1355RECONSTRUCT TRANSIENT PHYSICAL STATE
1356 ↓
1357REBUILD REACTION INDEXES
1358 ↓
1359REESTABLISH CAPABILITIES
1360 ↓
1361RESTORE RESIDENT MODEL / MEMORY
1362 ↓
1363RESUME LIFE
1364```
1365
1366Boot is not "launch application."
1367
1368The active system is intended to remain resident.
1369
1370The existing design already treats the intelligence as primarily resident state and persistence as continuity/recovery rather than normal cognitive residence.
1371
1372---
1373
1374# 31. FAILURE CONTAINMENT
1375
1376One bad reactive region must not collapse the organism.
1377
1378Provide:
1379
1380```text
1381reaction budgets
1382graph-region quarantine
1383capability revocation
1384worker cancellation
1385generation rollback
1386GPU reset
1387reconstruction from durable state
1388known-good realization fallback
1389```
1390
1391AEGIS and Physics must remain capable of stopping execution even if adaptive cognition is unhealthy.
1392
1393---
1394
1395# 32. MIGRATION RULE
1396
1397DO NOT rewrite the entire system in one pass.
1398
1399The legacy orchestrated runtime becomes the reference oracle.
1400
1401Migration state:
1402
1403```text
1404LEGACY
1405 ↓
1406SHARED OBJECT MIRROR
1407 ↓
1408REACTION SHADOW
1409 ↓
1410REACTION AUTHORITATIVE FOR PURE WORK
1411 ↓
1412REACTION AUTHORITATIVE FOR SANDBOXED WORK
1413 ↓
1414REACTION AUTHORITATIVE FOR CAPABILITY-BOUND EFFECTS
1415 ↓
1416LEGACY FALLBACK
1417 ↓
1418LEGACY RETIRED
1419```
1420
1421The old runtime remains available until the new path proves correctness and recovery.
1422
1423---
1424
1425# 33. IMPLEMENTATION PHASE R0 — FREEZE THE CONTRACT
1426
1427Before code changes, write one ADR defining the eight locked statements (Part I, "Decision"). No module migration until this ADR exists.
1428
1429Gate: `R0_REACTION_ARCHITECTURE_LOCKED`
1430
1431# 34. R1 — SHARED OBJECT POOL
1432
1433Build the canonical resident object substrate. Requirements: logical IDs; generations; versioning; type metadata; content identity where applicable; authority references; persistence class; atomic publication; stale-reference rejection. Do not yet alter cognition.
1434
1435Gate: `R1_SHARED_WORLD_PASS`
1436
1437# 35. R2 — CROSS-ENGINE ABI
1438
1439Make CPU/GPU interaction reference logical objects. Requirements: pointer-free semantic identity; generation-tagged handles; bounded rights; CPU/GPU registry; stale handle rejection; shared publication protocol. Keep physical addresses internal.
1440
1441Gate: `R2_CROSS_ENGINE_ABI_PASS`
1442
1443# 36. R3 — REACTION CORE
1444
1445Implement: ReactionDescriptor; DependencyIndex; ReadySet; Invalidation; AtomicPublication; ReactionLifecycle; CausalId. Initially run only deterministic pure reactions.
1446
1447Test: single dependency; multiple dependency; fan-out; fan-in; invalidation; concurrent publication; stale input; duplicate wake.
1448
1449Gate: `R3_REACTION_CORE_PASS`
1450
1451# 37. R4 — CAUSAL TRACE
1452
1453Before scaling the system, implement causal crumbs. Require every reaction test to prove: trigger explainable; inputs explainable; authority explainable; outputs explainable; ancestry reconstructible.
1454
1455Gate: `R4_CAUSAL_TRACE_PASS`
1456
1457# 38. R5 — CONTENTION AND MODULATION
1458
1459Implement resource admission and global modulation.
1460
1461Test: 1000 ready reactions; bounded compute; interactive work outranks background; critical recovery outranks optimization; background work does not starve forever.
1462
1463Gate: `R5_RESOURCE_ARBITRATION_PASS`
1464
1465# 39. R6 — STORM AND LOOP CONTROL
1466
1467Implement: deduplicated wakeups; fan-out limits; activation budgets; oscillation detection; livelock detection; backoff; quarantine. Adversarial tests should intentionally construct pathological dependency graphs.
1468
1469Gate: `R6_REACTION_STABILITY_PASS`
1470
1471# 40. R7 — CAPABILITY ROOT
1472
1473Move AEGIS from synchronous gatekeeping toward resident authority semantics. But first establish the hard root: unforgeable capability mint; verification; revocation; generation binding; rights bounds; delegation; leases.
1474
1475Attack tests — all must fail: forged capability; modified capability; stale capability; wrong subject; wrong resource; generation replay; revoked capability; rights amplification.
1476
1477Gate: `R7_CAPABILITY_ROOT_PASS`
1478
1479# 41. R8 — AEGIS RESIDENT AUTHORITY
1480
1481Represent authority relationships in the live graph. Fast path: valid existing capability → execute. Slow path: new authority required → policy reasoning / approval / mint. Measure the reduction in synchronous policy round trips.
1482
1483Gate: `R8_CONSTITUTIONAL_AEGIS_PASS`
1484
1485**Scope note (2026-09-28).** This note fixes what R8 refers to. It does not
1486change subsystem responsibilities.
1487
1488- **"AEGIS" here is the verifier faculty** of ARCHITECTURE §2.5. It is not
1489 the `aegis-runtime` program. That program is legacy orchestration: it
1490 becomes the reference oracle (Part I) and is written in Rust. R8 does not
1491 build on it.
1492- **The authority root is the native AIENOS capability authority**
1493 (ARCHITECTURE §2.7, aienos `native/capability/`, in C).
1494- **FORGE (formerly PHYSICS) realizes.** It "is not the kernel and is not the
1495 policy authority" (FORGE.md).
1496
1497R8 therefore means four things:
1498
14991. Authority relationships are live world objects: which subject holds which
1500 capability, for which object, under which lease and epoch.
15012. A reaction holding a valid existing capability proceeds with no policy
1502 round trip.
15033. A reaction that needs new authority publishes a request object. An AEGIS
1504 policy reaction evaluates it, and only the AIENOS root mints the grant.
15054. The reduction in synchronous policy round trips is measured against the
1506 current `spark-aegis` shell-out path.
1507
1508# 42. R9 — GENERATION BARRIER
1509
1510Implement coherent durable learning.
1511
1512Test: continuous reactions during candidate generation; in-flight work at barrier; failed verification; crash during generation publication; recovery to old generation; successful promotion.
1513
1514Required invariant — after recovery: OLD VALID GENERATION or NEW VALID GENERATION; never torn generation.
1515
1516Gate: `R9_GENERATION_BARRIER_PASS`
1517
1518# 43. R10 — OMEGA AS CONTINUOUS REALIZATION FACULTY
1519
1520Connect Omega realization search to reactive demand:
1521
1522```text
1523semantic operation becomes hot
1524 ↓
1525cost evidence crosses threshold
1526 ↓
1527optimization reaction activates
1528 ↓
1529Omega synthesizes candidate
1530 ↓
1531candidate verified
1532 ↓
1533benchmarked
1534 ↓
1535recorded
1536 ↓
1537eligible for future selection
1538```
1539
1540The production path need not stop while optimization occurs.
1541
1542Gate: `R10_CONTINUOUS_OMEGA_PASS`
1543
1544# 44. R11 — AIEN AS CONTINUOUS COGNITIVE FACULTY
1545
1546Remove assumptions that cognition exists only during request handling. AIEN should react to: new observation; goal change; unexpected result; new memory; failed prediction; uncertainty; human input; resource change; new evidence. It publishes semantic objects back into the shared world.
1547
1548Gate: `R11_CONTINUOUS_COGNITION_PASS`
1549
1550# 45. R12 — RESIDENT CPU/GPU COOPERATION
1551
1552Move selected reaction classes onto persistent GPU workers. Demonstrate: CPU reaction; GPU reaction; shared object dependency; capability validation; GPU result publication; CPU observation; no full-object serialization.
1553
1554Gate: `R12_RESIDENT_COOPERATION_PASS`
1555
1556# 46. R13 — UNIFIED GOLDEN PATH
1557
1558Construct one end-to-end demonstration: human provides goal → AIEN reaction interprets objective → Omega reaction finds suitable realization → AEGIS state: existing capability permits sandbox experiment → resource scheduler places computation → GPU executes → evidence published → AIEN updates belief → Omega discovers improved realization candidate → verification passes → generation barrier promotes verified improvement → system continues operating throughout.
1559
1560There must be no central function manually sequencing those steps. Their ordering must arise from dependencies.
1561
1562Gate: `R13_LIVING_SYSTEM_PASS`
1563
1564# 47. R14 — FAILURE GOLDEN PATH
1565
1566While the organism is active: corrupt candidate realization; forge capability; create reaction cycle; saturate GPU; kill GPU resident worker; crash during checkpoint. System must: contain; revoke; recover; reconstruct; preserve evidence; resume.
1567
1568Gate: `R14_LIVING_RECOVERY_PASS`
1569
1570# 48. R15 — PERFORMANCE PROOF
1571
1572Compare against the existing pipeline. Measure at minimum: semantic operations / second; reaction activation latency; dependency propagation cost; scheduler overhead; AEGIS fast-path cost; generation barrier latency; serialization bytes; CPU↔GPU synchronization count; memory traffic; GPU residency; resource utilization; wasted reactions; invalidation rate; conflict rate; wake amplification; causal-trace overhead; energy per semantic result.
1573
1574Do not accept architecture on aesthetic grounds.
1575
1576Gate: `R15_REACTION_PERFORMANCE_PASS`
1577
1578# 49. R16 — RETIRE CENTRAL ORCHESTRATION
1579
1580Only after prior gates pass: remove central sequencing where reactions now provide equivalent or stronger behavior. Do not remove: known-good fallback; recovery path; deterministic maintenance controls; trusted capability root; generation mechanism; evidence.
1581
1582Gate: `R16_ORCHESTRATOR_RETIRED`
1583
1584---
1585
1586# 50. CODE ORGANIZATION
1587
1588Do not create `aien-runtime/`, `omega-runtime/`, `aegis-runtime/` that independently own schedulers and resource pools.
1589
1590Prefer shared primitives resembling:
1591
1592```text
1593runtime/
1594 object/
1595 reaction/
1596 dependency/
1597 publication/
1598 causal/
1599 generation/
1600 resource/
1601 recovery/
1602
1603faculties/
1604 cognition/
1605 semantics/
1606 authority/
1607
1608physics/
1609 capability/
1610 memory/
1611 cpu/
1612 accelerator/
1613 interrupt/
1614 reset/
1615```
1616
1617Exact repository placement should follow the current tree rather than forcing these names literally.
1618
1619The important rule is dependency direction.
1620
1621# 51. DEPENDENCY RULE
1622
1623The faculties may depend on the common semantic/reaction abstractions. They must not depend cyclically on each other's service APIs.
1624
1625Bad: AIEN calls Omega; Omega calls AEGIS; AEGIS calls AIEN.
1626
1627Good: AIEN publishes semantic state; OMEGA observes eligible semantic state; AEGIS authority state participates in readiness.
1628
1629Communication is predominantly through shared typed state.
1630
1631# 52. REACTION DESCRIPTOR — FIRST REFERENCE FORM
1632
1633```rust
1634struct ReactionDescriptor {
1635 id: ReactionId,
1636
1637 trigger_set: Vec<Dependency>,
1638 read_set: Vec<Dependency>,
1639 write_set: Vec<ObjectSelector>,
1640
1641 required_capabilities: Vec<CapabilityRef>,
1642 resource_requirements: ResourceRequirements,
1643
1644 priority_class: PriorityClass,
1645 generation: GenerationId,
1646
1647 realization: RealizationSelector,
1648
1649 retry_policy: RetryPolicy,
1650 conflict_policy: ConflictPolicy,
1651 causal_parent: Option<CausalId>,
1652}
1653```
1654
1655This is a bootstrap representation. Do not canonize Rust layout as Omega semantics.
1656
1657# 53. REACTION RESULT — FIRST REFERENCE FORM
1658
1659```rust
1660enum ReactionOutcome {
1661 Published { mutations: Vec<Mutation>, evidence: Vec<EvidenceRef> },
1662 BlockedAuthority { requirements: Vec<CapabilityRequirement> },
1663 BlockedResource { requirements: ResourceRequirements },
1664 Invalidated,
1665 Conflict,
1666 Failed { evidence: EvidenceRef },
1667}
1668```
1669
1670REFERENCE REALIZATION != PERMANENT SEMANTIC DEFINITION.
1671
1672# 54. STANDARD TEST INVARIANTS
1673
1674Every implementation stage must preserve:
1675
1676```text
1677I1 semantic identity is not physical address
1678I2 stale generations cannot mutate current state
1679I3 capabilities cannot be forged by semantic code
1680I4 revoked authority cannot execute
1681I5 speculation cannot silently externalize effects
1682I6 concurrent publication cannot create torn objects
1683I7 causal history exists for meaningful committed changes
1684I8 generation recovery produces a coherent world
1685I9 intelligence cannot promote itself past authority policy
1686I10 failed optimization cannot destroy last-known-good realization
1687I11 GPU failure cannot destroy durable identity
1688I12 resource starvation is bounded/detectable
1689I13 reaction storms are detectable/containable
1690I14 livelock is detectable
1691I15 irreversible effects remain attributable
1692I16 semantic meaning remains stable across realization changes
1693```
1694
1695# 55. VERIFICATION STANDARD
1696
1697Preserve the existing ladder: V0 STRUCTURAL; V1 DIFFERENTIAL; V2 PROPERTY; V3 ADVERSARIAL; V4 SYMBOLIC; V5 PROOF-CARRYING.
1698
1699Search, optimization, neural proposals, generated code, and heuristic decisions are not themselves trust. The existing plan already separates untrusted search/generation from semantic contracts, verification, physical authority, and effect admission.
1700
1701Apply the ladder to reaction infrastructure itself.
1702
1703# 56. DEVELOPMENT RULE
1704
1705For every major primitive: 1. define semantics; 2. build simple human reference; 3. test; 4. adversarially break; 5. record evidence; 6. optimize; 7. allow Omega to synthesize alternatives; 8. verify them; 9. measure them; 10. select.
1706
1707Do not let Omega optimize a primitive before its behavior is stable enough to serve as an oracle.
1708
1709# 57. WHAT NOT TO DO
1710
1711Do not build a massive actor framework and call it an organism.
1712Do not create one queue for everything.
1713Do not implement global graph scans.
1714Do not encode authority as editable booleans.
1715Do not make neural inference the scheduler.
1716Do not make AEGIS approve every cache read.
1717Do not flatten everything into JSON.
1718Do not use text logs as canonical evidence.
1719Do not persist raw pointer graphs.
1720Do not make GPU launch boundaries semantic boundaries.
1721Do not eliminate checkpoint barriers.
1722Do not remove rollback.
1723Do not allow "continuous learning" to silently rewrite trusted state.
1724Do not remove deterministic operator control.
1725Do not conflate high utilization with useful progress.
1726
1727# 58. SUCCESS CRITERION
1728
1729The architecture is successful when this statement is technically true:
1730
1731```text
1732The system does not wait for AIEN,
1733then Omega,
1734then AEGIS.
1735
1736A changing resident world continuously
1737activates whatever cognition,
1738semantic transformation,
1739authority reasoning,
1740verification,
1741memory,
1742and physical work is presently valid.
1743
1744AIEN, Omega, and AEGIS are not services
1745coordinating a machine.
1746
1747They are faculties of one persistent
1748computational organism.
1749```
1750
1751And simultaneously:
1752
1753```text
1754No faculty can forge authority.
1755
1756No realization can become trusted
1757merely because intelligence proposed it.
1758
1759No durable belief changes without
1760a coherent generation transition.
1761
1762No important action becomes
1763unexplainable merely because
1764the system is concurrent.
1765```
1766
1767# 59. CANONICAL ARCHITECTURAL SENTENCE
1768
1769See Part I.
1770
1771# 60. EXECUTION INSTRUCTION
1772
1773Treat this document as the architectural decision. Do not redesign it back into a service pipeline.
1774
1775Before modifying code:
1776
17771. Inspect the current repository and identify the real modules implementing runtime orchestration, Omega object state, AEGIS/capability enforcement, accelerator-world state, evidence/provenance, and generation/checkpoint behavior.
17782. Produce a code-grounded migration map from existing modules to R0–R16.
17793. Identify which pieces already satisfy each milestone and do not rewrite working implementations unnecessarily.
17804. Preserve every currently passing correctness, security, accelerator, and regression test.
17815. Implement milestones sequentially where one establishes an invariant needed by the next.
17826. Parallelize work only where ownership is disjoint.
17837. Each milestone must add adversarial tests and a machine-readable evidence receipt.
17848. Never claim a gate has passed from mocks when the gate requires physical hardware.
17859. Never replace the trusted capability boundary with semantic convention.
178610. Never delete the last known-good implementation before rollback and reproduction are proven.
1787
1788When architectural documentation disagrees with executable behavior: CODE + REPRODUCIBLE EVIDENCE wins for current implementation truth. When current code disagrees with this ADR about the desired destination: THIS ADR defines the target architecture.
1789
1790First deliverable: `CURRENT_CODE_TO_R0_R16_MIGRATION.md` (current module; current responsibility; target responsibility; keep / adapt / replace; dependencies; risk; tests; migration milestone; parallelization group).
1791
1792Then begin with the smallest implementation that proves:
1793
1794```text
1795shared object
1796→ dependency change
1797→ reaction becomes ready
1798→ capability validates
1799→ reaction executes
1800→ atomic publication
1801→ causal crumb
1802```
1803
1804with no central semantic orchestrator deciding the sequence. That is the first heartbeat of the new architecture.