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

GitHub aien-dev/aien-architecture-mv#206 (code only)

closed derived 818c7c74942b5902 #206

Imported from GitHub aien-dev/aien-architecture-mv#206 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 345b97cc000b31d802e2018063fe33c277dbf833 · Head d0dd0495f6f3a32ea283be268a1f7ada7199aa56

Apply it

git checkout -b patch-818c7c74942b5902 345b97cc000b31d802e2018063fe33c277dbf833
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/818c7c74942b5902.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aien-architecture-mv
206
d0dd0495f6f3a32ea283be268a1f7ada7199aa56
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":206,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/206","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:56Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 7f70811..85d0108 100644
--- a/.crumb
+++ b/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "668e9097141ef0acd98782bca33047aa921b131382c3bb91945138d6d4e4c389",
-          "last_commit": "e10e2b4",
+          "digest": "adedb8e9079292c276e9e552da7d6c02b119cb95a8faf9566df1130a091b5f8c",
+          "last_commit": "e4a3dff",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
@@ -45,15 +45,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:dc91e9c171402e835ed00dd1cc37f66d5b8b91463592f998d1d411c1954e6c37",
-      "compiled_at": "2026-10-11T14:29:29Z",
+      "children_root": "sha256:8754ad758e5555f41738b286742c64e81a9652e8853297da2a78c4645b24144d",
+      "compiled_at": "2026-10-11T15:13:47Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:c712221d1c2f689f8dedb5f6f786cc7ea731c9ad6124b129d4c71301e9eea2d1",
+      "digest": "sha256:075bfa1acbcbfbcf0279a9c682461cb9cb0cd37b0f4bae5e4076d788a55143f1",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 276,
-      "generated_at_commit": "e10e2b4fc596ece56cc352d2279535e05451279e",
-      "source_tree": "sha256:c32e39a2eb8f5f6af86163d2aaf71b1d8d0ed98970ae4189550b87822d023c73"
+      "files": 279,
+      "generated_at_commit": "e4a3dffdc2b81568b981f360497f32b198b62a53",
+      "source_tree": "sha256:dd744766581c6299d2272c87d98aa08a096e3aa43c3d7db4574405f854864522"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/.crumb b/docs/.crumb
index b1099d5..c12e965 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -55,8 +55,8 @@
           "purpose": "Directory docs/errata. Purpose not yet described by a human."
         },
         {
-          "digest": "cf265d86247176cd98b516e4fb51891f3c9346396f11cc47aeb9c231daa2f65e",
-          "last_commit": "e10e2b4",
+          "digest": "08a3c9e1562860cf49b9840ed866aa26dd08310d6b2129c036f7e45f46af9bc5",
+          "last_commit": "e4a3dff",
           "name": "plans",
           "purpose": "Directory docs/plans. Purpose not yet described by a human."
         },
@@ -73,15 +73,15 @@
           "purpose": "Directory docs/specs. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:80a7606914f0b63000a357c2ada7d3dacf9bf9f09b5d38dbab659172081ee391",
-      "compiled_at": "2026-10-11T14:29:29Z",
+      "children_root": "sha256:a29b3446c649055b9eb02b60637141f203ab9033edf777a7700a257bb2801e12",
+      "compiled_at": "2026-10-11T15:13:47Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:668e9097141ef0acd98782bca33047aa921b131382c3bb91945138d6d4e4c389",
+      "digest": "sha256:adedb8e9079292c276e9e552da7d6c02b119cb95a8faf9566df1130a091b5f8c",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 164,
-      "generated_at_commit": "e10e2b4fc596ece56cc352d2279535e05451279e",
-      "source_tree": "sha256:755ccb52fce98cbb08f3a855488f16842123699f6195bd910a5a4ae7a1b3294d"
+      "files": 167,
+      "generated_at_commit": "e4a3dffdc2b81568b981f360497f32b198b62a53",
+      "source_tree": "sha256:6aa10606cfbb14eb7fa3c15986d7a5261f69d822b77f8f50c082f1d0efbcf129"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/.crumb b/docs/plans/.crumb
index 2197c22..c0bf2b6 100644
--- a/docs/plans/.crumb
+++ b/docs/plans/.crumb
@@ -108,14 +108,14 @@
         }
       ],
       "children_root": "sha256:bdb9b3f6691a9b85bcd6df5793b446bd83509bbc39323546da6f377fbdd5780a",
-      "compiled_at": "2026-10-11T14:29:29Z",
+      "compiled_at": "2026-10-11T15:13:47Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:cf265d86247176cd98b516e4fb51891f3c9346396f11cc47aeb9c231daa2f65e",
+      "digest": "sha256:08a3c9e1562860cf49b9840ed866aa26dd08310d6b2129c036f7e45f46af9bc5",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 66,
-      "generated_at_commit": "e10e2b4fc596ece56cc352d2279535e05451279e",
-      "source_tree": "sha256:78e1b09bc661ed8d8b2f4dc9fdc9afa45fbe1302ef6a7f6b1da5b1a3b8bcc185"
+      "files": 69,
+      "generated_at_commit": "e4a3dffdc2b81568b981f360497f32b198b62a53",
+      "source_tree": "sha256:27e8a35c9076501fb02925dce2c4fe07e854a435ffae1b3a0cee0914217cf76a"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/adaptive-intelligence/INVENTORY.md b/docs/plans/adaptive-intelligence/INVENTORY.md
index 2f5a789..2d4d58f 100644
--- a/docs/plans/adaptive-intelligence/INVENTORY.md
+++ b/docs/plans/adaptive-intelligence/INVENTORY.md
@@ -47,3 +47,7 @@ G3 (M3) New learner version: 20-step rollout error on SELECT episodes in ranking
 G4 (M4) One typed resource-condition object + a bounded policy reaction that only calls existing budget/priority setters within granted caps.
 G5 (M6/M7) Unify on aien-protocols receipt + TRN1 transcript, signed; have omega/sovereign-core produce TRN1; benchmarks harness buildable from clone; history store.
 G6 (M5) Measured execution feed: candidate source = sovereign-core executor emitting CanaryObservation with signed source identity; until then fail-closed stays (documented blocker).
+
+## Errata (2026-10-11, after N2 omega#397)
+- Row 9 / inventory/physics-learning.md: "hidden-state flag needs a rollout test" (LEARNER.md:106-109) was stale; the seal-1 learner's flag already fires on public L6 seeds 1-5 (5/5) and 24/25 over seeds 1-25. v2 (25/25) is a robustness gain, not a new capability. Still Missing: latent-variable mechanism, change detection/forgetting (C2 shows retained knowledge harms after a regime switch), L6 scorer pass.
+- Row 5 (after N1 omega#398 24d18505): recorder now attached to the R13 living world in test-r13-cortex-episode; still Implemented-but-disconnected in the PRODUCTION R13 program; lesson/evidence-ref records are test-written (N6 owes body-written ones). Chain shape: in R13 the plan is goal-driven (CHAIN A evidence<-experiment<-plan<-assessment<-goal) while the hypothesis chain (CHAIN B hypothesis<-prediction<-belief<-observation) is separate; the hypothesis-driven plan is proven in R11 t_core_class.
diff --git a/docs/plans/adaptive-intelligence/M1-M2-TRACE.md b/docs/plans/adaptive-intelligence/M1-M2-TRACE.md
new file mode 100644
index 0000000..e52ff6e
--- /dev/null
+++ b/docs/plans/adaptive-intelligence/M1-M2-TRACE.md
@@ -0,0 +1,88 @@
+# Milestone 1 + 2: causal trace and acceptance report (host, 2026-10-11)
+Written only from receipts and test output already on disk. No test was run for this report. Paths are relative to this directory. B = `baseline/`. Run ids: omega 16e729b6d844 (Milestone 0 baseline) and 24d185057ab2 (after omega#398, G1 Cortex journaling). Everything here is host evidence: `silicon_observed` is false in the R13 receipt, and no silicon gate was run. Nothing here is scientific verification.
+
+## 1. The causal sequence and where each transition is proven
+Reaction names: `aien.*` from `src/runtime/rx_aien.h` header comment, `living.*` and `generation.*` from `src/runtime/rx_living.h:5-20` (omega main). R11 = `B/r11.log`. R13 = `B/r13-run2.log` (idle, PASS). EP = `B/cortex-episode-n1-pr398.log` (the omega#398 test, record ids from that run). Chain B and chain A are two separate provenance chains in the Cortex.
+
+| # | Transition | Producer (reaction / object) | Proof (test, phase) | Quoted line |
+|---|---|---|---|---|
+| 1 | Observation | outside input (demand interval, placement change); `aien.observe` -> belief | R11 steady step; EP CHAIN B (observation is the root, an outside input) | R11: `[*] a steady record is predicted and confirmed; one outlier is not a failure`. EP: `ok   observation  -> cortex record 553 kind 0x10001` |
+| 2 | Prediction | `aien.predict`: belief -> prediction | same R11 step; EP CHAIN B | EP: `CHAIN B: hypothesis 651 <- prediction 649 <- belief 648 <- observation 646` |
+| 3 | Unexpected result | prediction state PRED_FAILED after a miss streak (`rx_aien.h` enums) | R11 core-class step; R13 POSITIVE costs line (cost on the new cores differs from the confirmed incumbent) | R11: `[*] a failed prediction after a core-class change becomes a hypothesis and a plan`. R13: `R13 costs: incumbent 6775 ns, target 3726 ns, selected 2687243 ps, reference on new cores 4776609 ps` |
+| 4 | Hypothesis | `aien.explain`: prediction state -> hypothesis (CORE_CLASS, or DRIFT when nothing else changed) | R11 core-class and drift steps; EP CHAIN B | R11: `[*] a failure with nothing else changed is drift; a second failure refutes it`. EP: `CHAIN B: hypothesis 651 <- ...` |
+| 5 | Experiment | `aien.plan` (ACT_RESEARCH, one per untried condition) -> `living.experiment.prepare` -> `living.blackwell.add` (R5 admission, R7 authority) | Hypothesis-driven plan: R11 core-class step. Goal-driven plan: R13 POSITIVE, EP CHAIN A | R11: `... becomes a hypothesis and a plan`. R13: `R13 positive: generation 1 -> 2, recovered 2; served 1312 (131 after promotion), crumbs 2949, GPU claims 16, durable links 11`. EP: `CHAIN A: evidence 1048 <- experiment 1047 <- plan 557 <- assessment 556 <- goal 554` |
+| 6 | Evidence | `living.experiment.evidence`: GPU output -> checked sum -> evidence object | R13 POSITIVE (16 GPU claims, 11 durable links); EP | EP: `ok   evidence     -> cortex record 1048 kind 0x10004` and `candidate 1221 has evidence 1048 in its provenance: 1; experiment belief 1049: 1` |
+| 7 | Updated belief | AIEN experiment belief (`rx_aien_register_experiment`; EXP_SUPPORTED / EXP_REFUTED) | R13 POSITIVE; refutation path in R11 drift step; EP | EP: `ok   exp-belief   -> cortex record 1049 kind 0x10004`. R13: `aien_final_goal_status: "MET"` in `B/20261011T142755Z-16e729b6d844/R13/rx_living_receipt.json` |
+| 8 | Changed later decision | `generation.prepare` -> `generation.promote` (separate subject) -> in-force record read by production | R11 living run; R13 POSITIVE; EP | R11: `A725 record 0 at 6938 ns; X925 under it 4701 ns; X925 new record 3f6db775476a4f99 at 2880 ns (1.63x)`. R13: `generation 1 -> 2 ... (131 after promotion)`. EP: `ok   promotion 2242 descends from candidate 1221` |
+
+How the chains are shaped (stated plainly, no overclaim):
+- In R13 the experiment plan is goal-driven: CHAIN A is evidence <- experiment <- plan <- assessment <- goal (the goal is a human input, kind CX_K_WORK_ACCEPTED, per `tests/runtime/rx_r13_cortex_episode.c`). The test does not check that the plan descends from the hypothesis in the Cortex.
+- The hypothesis chain is separate: CHAIN B is hypothesis <- prediction <- belief <- observation. The test follows it only up to the hypothesis, not on to the experiment record.
+- The hypothesis-driven plan (hypothesis state -> plan) is proven in R11 (core-class step) inside the World, not in the Cortex journal. So the full eight-step chain is shown by joining three proofs (R11 + R13 + EP), not by one unbroken Cortex path.
+- The R13 GPU operation is a fixed add used as a physical witness of the authority path; it does not measure matvec cost (`rx_living.h` header). The cost numbers come from the CPU realization.
+
+## 2. Control arms and what each refutes
+R13 (`B/r13-run2.log`):
+- Control A, `no AIEN -> no plan, no GPU experiment, no candidate, generation stays 1`. Refutes: the improvement happens without the AIEN faculty.
+- Control B, `verified candidate 2 refused (RX_GEN_ERR_AUTHORITY); never in force, production stayed on the reference`. Refutes: a verified candidate becomes in force without the promotion authority.
+- Control C, `revoked grant -> seat blocked on authority, no claim, no evidence; 770 requests served meanwhile`. Refutes: the experiment runs without its grant, or that revocation harms production.
+- Control D, `output generation changed mid-claim -> result refused, no evidence, no candidate`. Refutes: stale GPU output becomes evidence.
+- Control E, `crashing candidate refused by the verifier; the promoted generation holds a verified one`. Refutes: an unverified or crashing candidate gets promoted. Its episode line: `generation 1 -> 2, recovered 2; served 19520 (132 after promotion)`.
+R11 (`B/r11.log`):
+- `[*] control: the same move without AIEN leaves the body on the old record` with `A725 6885 ns, X925 after 192 more requests 4853 ns`. Refutes: the core move alone, with no AIEN, re-realizes the code.
+Limit: controls A-E are single runs per run id; they show each link is necessary in this rig, not a statistical rate.
+
+## 3. Item 7 behaviours
+- No-op convergence: R11 `[*] no record yet: AIEN watches and publishes nothing`; also `[*] a human goal: unknown, met, unmet -> one plan, then unmet and explored` (a condition already explored is not re-planned) and `[*] a settled failure is relearned, so a later core move is still noticed`.
+- Invalidation and quarantine: R14 C, `cycles contained in 7 ms (max 256 activations), 3 containment crumbs, organism untouched; production 4970 during, 102 after` (`B/r14.log`). This is containment of a reaction cycle. R14 A also refuses bad candidates: `A tamper: verdict REFUSED reason 2`, `A semantic: ... reason 4`, `A crash: ... reason 5`, each `generation 1 -> 2 holds verified quad4`. There is no separate quarantine store for beliefs or lessons; none is claimed.
+- Admission and budget: R14 D, `3200 lane requests, at most 4 claims at once (cap 4), up to 12 waiting; 3200 published once, 0 lost, 0 duplicated`. R14 E: `seat killed holding lane claim 232; lost once, seat generation 1 -> 2, retry published once, stale claim refused`.
+- Cancellation and emergency stop: NOT demonstrated by these receipts. Every operator line reads `stops 0 resumes 0 restored 0 open 0; under stop: commits 0 externals 0 cancelled 0; order ok` (`B/r13-run2.log`), and the receipt says `"stops": 0 ... "activations_cancelled_under_stop": 0`. That shows the stop audit ran and found no stop, not that a stop cancelled work. The stop mechanism and its audit exist in `tests/runtime/rx_r13_living.c` (counts `RX_CRUMB_CANCELLED` with `RX_ERR_HALTED`); no run here exercised it.
+- Authority revocation: R11 `[*] AIEN cannot write what it observes; revoked, AIEN stops and the world does not`; R13 control C (above); R14 B `forged/borrowed/revoked/stale/GPU refused ... renewed grant, lanes 117 published`.
+
+## 4. Restart: what survives and what does not
+Survives (durable):
+- R9 generation store: in-force record, candidate bytes, config, evidence, durable provenance links. R13: `recovered 2`. R14 F, eight crash points, all exit 86 and recover (`B/r14.log`): the first five recover OLD generation 1 (`BEFORE_CANDIDATE_WRITE`, `DURING_CANDIDATE_WRITE`, `AFTER_CANDIDATE_WRITE`, `BEFORE_ROOT_FLIP`, `DURING_ROOT_FLIP`, each `restore REFERENCE`, adapted again) and the last three recover NEW generation 2 (`AFTER_ROOT_FLIP`, `BEFORE_RECEIPT`, `AFTER_RECEIPT`, each `restore RESTORED`). The directive spoke of six crash points; the log shows eight in scenario F (A-F are the six scenarios).
+- Cortex journal after omega#398 (EP, test `test-r13-cortex-episode`, 41 checks, `R13_CORTEX_EPISODE PASS: pass 41 fail 0`): `recorder wrote 2549 records, 0 errors`; `journal reopened: 2554 records (was 2554)`; `cx_verify_chain passes after restart`; `cx_recall by the evidence subject returns 22 records, ordered and repeatable`; `journal with one flipped byte is refused at open (rc -4)`; `tampered evidence record: cx_verify_chain fails and the gate refuses`; `2406 protected records (authority, receipts, verification evidence, promotion) byte-identical after restart`.
+- Protected-record count depends on run length. A second run on omega main 24d1850 (`B/cortex-episode-n6-main-24d1850.log`) shows 4216 recorded, `4024 protected records ... byte-identical after restart`, and the same 22 recalled. The figure 2667 given in the work order appears in no log on disk and is not used.
+Ephemeral (lost on restart, by design today): every AIEN world object (belief, prediction, hypothesis, plan, assessment, memory of explored conditions), reaction state, capabilities, the crumb log. The test prints this: `not in Cortex: live World objects and their field versions, reaction state, capabilities and the crumb log itself (only each crumb's result is kept)`. So after a restart the Cortex can answer why (recall by evidence subject), but the live AIEN will re-explore an already explored condition until memory is rebuilt from Cortex. That rebuild is not built (`inventory/omega-runtime.md`, last section).
+Lessons: two lesson records are appended by the TEST: `lesson records appended: evidence-ref 2550 (wrong 2551), candidates 2552 and 2553`. `promotion with a missing evidence record refused (rc -6)`, `... wrong-digest ... refused (rc -1)`, matching evidence accepted, `lesson 2553 is still only a candidate`. Work item N6 owes lesson records written by the body itself.
+
+## 5. Failures and limits
+Failure, kept on record:
+- R13 run1, load average 5.7, scouts and a compile running (`B/r13-run1-under-load.log`): `R13 mode 5: AIEN never confirmed the incumbent cost`, `R13 E failed verification FAILED: plan 1 search 2 GPU 0 evidence 0 belief 0 ...`, `R13 gate: R13_LIVING_SYSTEM=FAIL`, receipt `B/20261011T142633Z-16e729b6d844/R13`. Control arms A-D and the POSITIVE arm passed in the same run. Documented reason (header of `tests/runtime/rx_r13_living.c`): "`target` is 55 percent of the incumbent cost AIEN confirmed on the old core class ... Both are wall-clock (CLOCK_MONOTONIC) measurements taken at different times, so CPU contention that slows the second more than the first can miss the goal." The check is deliberately unchanged.
+- R13 run2, alone (load before 5.71, after 4.75 per the log): `R13 gate: R13_LIVING_SYSTEM=HOST_PASS_NON_SILICON`. I did not re-run to learn how often run1 fails; that frequency is unknown. One pass and one fail are the whole sample.
+Limits:
+- Silicon gates (`test-r13-silicon`, `test-r14-silicon`) were NOT run. All gate words are HOST_PASS_NON_SILICON; `"silicon_observed": false`. The GPU claims are the stand-in path on this host.
+- The Cortex record of an object is keyed by slot index, not identity: `observation record is an outside input about object slot 0`. Slot reuse is not tested.
+- Lesson and evidence-ref records are written by the test, not by the body.
+- The production R13 program does not attach the recorder. Only `test-r13-cortex-episode` does. `test-r13-host` is unchanged (omega#398 description: "Production R13 program unchanged").
+- EP runs a POSITIVE episode only; the Cortex was not exercised across the control arms.
+- Emergency stop and cancellation: see section 3; not shown.
+- The scenario is one operation (64x256 integer matvec) and one move (A725 to X925). Nothing here shows the loop generalises, learns a changed regime, or beats a fixed policy over time (those are Milestone 3+ and are Missing in `INVENTORY.md`).
+- Receipts are `candidate_bound: false` and `candidate_commit: "unknown"` (baseline runs, not a release candidate).
+
+## 6. Reproduce
+Setup used for the baseline (`inventory/omega-runtime.md`): omega clone with siblings `../physics` and `../aienos-argus` (symlink to the aienos-argus checkout holding argus.lock b375dcaa2887d), and an aienos clone holding aienos.lock b84c0a67590a9.
+```
+cd <omega clone>
+git checkout 16e729b6d844        # Milestone 0 baseline (R11, R13, R14)
+AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-c793fc-clone make test-r11
+AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-c793fc-clone make test-r13-host   # run it alone; load above ~5 failed once
+AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-c793fc-clone make test-r14-host
+git checkout 24d185057ab2        # after omega#398
+AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-c793fc-clone make test-r13-cortex-episode
+```
+Each run writes a receipt under `build/qual-runs/<run id>/`. Do not run silicon targets without a chip window.
+Receipt and log sha256 (computed from the files in this directory):
+```
+fa601cbc8c49  B/20261011T142516Z-16e729b6d844/R11/rx_aien_faculty_receipt.json  (R11 PASS)
+78d0d9e56b78  B/20261011T142633Z-16e729b6d844/R13/rx_living_receipt.json         (R13 run1 FAIL)
+46ba69bad971  B/20261011T142755Z-16e729b6d844/R13/rx_living_receipt.json         (R13 run2 HOST_PASS_NON_SILICON)
+4952d259c721  B/20261011T142649Z-16e729b6d844/R14/rx_recovery_receipt.json        (R14 HOST_PASS_NON_SILICON)
+0ef0b52fede9  B/cortex-episode-n1-pr398.log        (omega#398 branch run, 41 checks)
+be42e3acefde  B/cortex-episode-n6-main-24d1850.log (omega main 24d1850 run, 41 checks)
+```
+The two cortex-episode logs were copied from /tmp (N1 and N6 working logs, compile lines removed) because the work order named no receipt file for them; they are console output, not signed receipts. The N1 log was produced in a pre-merge worktree; the N6 log is from a worktree at 24d1850 whose files were already being edited, so treat it as corroboration only.
+
+## Verdict
+GATE 1 (host): PASS with limits listed; GATE 2: PARTIAL (journaling + tamper + restart proven; body-written lessons and production attach open)
diff --git a/docs/plans/adaptive-intelligence/baseline/cortex-episode-n1-pr398.log b/docs/plans/adaptive-intelligence/baseline/cortex-episode-n1-pr398.log
new file mode 100644
index 0000000..aeda9e8
--- /dev/null
+++ b/docs/plans/adaptive-intelligence/baseline/cortex-episode-n1-pr398.log
@@ -0,0 +1,54 @@
+aienos_lock_source: /home/drakestapleton/workspace/adaptive/omega-n1/build/aienos-authority/b84c0a67590a934f3f3e001b12ec85ebc086a9eb matches b84c0a67590a934f3f3e001b12ec85ebc086a9eb for native/capability
+	build/aienos-cap/b84c0a67590a934f3f3e001b12ec85ebc086a9eb/libaienos_capability.a -lm
+./build/rx_r13_cortex_episode
+R13 operator: state /tmp/r13-state-tywwx6, control /tmp/r13-state-tywwx6/control (operator subject 70, pid 1799858)
+  ok   journal opened (rc 0)
+  ok   recorder attached to the living world (rc 0)
+R13 costs: incumbent 6727 ns, target 3699 ns, selected 2733023 ps, reference on new cores 4570418 ps, AIEN now expects 2861 ns, goal status 2
+R13 positive: generation 1 -> 2, recovered 2; served 1120 (137 after promotion), crumbs 2549, GPU claims 16, durable links 11
+  ok   R13 POSITIVE episode ran to promotion and in force (rc 0)
+  ok   recorder wrote 2549 records, 0 errors
+  ok   observation  -> cortex record 553 kind 0x10001
+  ok   belief       -> cortex record 2545 kind 0x10004
+  ok   prediction   -> cortex record 2546 kind 0x10004
+  ok   hypothesis   -> cortex record 652 kind 0x10004
+  ok   plan         -> cortex record 557 kind 0x10004
+  ok   search       -> cortex record 558 kind 0x10004
+  ok   gpu-input    -> cortex record 1017 kind 0x10004
+  ok   experiment   -> cortex record 1047 kind 0x10004
+  ok   evidence     -> cortex record 1048 kind 0x10004
+  ok   exp-belief   -> cortex record 1049 kind 0x10004
+  ok   candidate    -> cortex record 1221 kind 0x10004
+  ok   promotion    -> cortex record 2242 kind 0x10004
+CHAIN A: evidence 1048 <- experiment 1047 <- plan 557 <- assessment 556 <- goal 554
+  ok   chain A: evidence <- experiment <- plan <- assessment <- goal (outside input) is in the Cortex provenance
+CHAIN B: hypothesis 651 <- prediction 649 <- belief 648 <- observation 646
+  ok   chain B: hypothesis <- prediction <- belief <- observation (outside input) is in the Cortex provenance
+  ok   observation record is an outside input about object slot 0
+candidate 1221 has evidence 1048 in its provenance: 1; experiment belief 1049: 1
+  ok   promotion 2242 descends from candidate 1221
+  ok   cx_verify_chain passes (2549 records)
+  ok   rx_living_object_digest equals the World's digest of the evidence object
+  ok   lesson records appended: evidence-ref 2550 (wrong 2551), candidates 2552 and 2553
+  ok   promotion with a missing evidence record refused (rc -6)
+  ok   promotion with a wrong-digest evidence record refused (rc -1)
+  ok   no promotion record was written by the refusals
+  ok   promotion with the matching evidence record accepted: promotion 2554 links {2552,2550}
+  ok   cx_verify_chain passes after promotion (2554 records)
+protected records: 2406 (authority 1124, commit receipt 1279)
+  ok   authority and receipt evidence exist to compare
+  ok   no World failure noted while stopping
+  ok   journal with one flipped byte is refused at open (rc -4)
+  ok   journal reopened: 2554 records (was 2554)
+  ok   cx_verify_chain passes after restart
+  ok   cx_recall by the evidence subject returns 22 records, ordered and repeatable
+  ok   lesson 2552 is a promoted fact (promotion 2554)
+  ok   lesson 2553 is still only a candidate
+  ok   after restart the evidence gate still accepts the match and refuses the wrong digest
+  ok   tampered evidence record: cx_verify_chain fails and the gate refuses
+  ok   restored record verifies again
+kinds in Cortex: 0x10002 x40 0x10001 x1124 0x10004 x1279 0x10005 x104 0x10006 x2 0x10012 x2 0x10011 x2 0x10013 x1
+not in Cortex: live World objects and their field versions, reaction state, capabilities and the crumb log itself (only each crumb's result is kept)
+  ok   every record is a canonical kind; there is no kind for an object table or reaction state
+  ok   2406 protected records (authority, receipts, verification evidence, promotion) byte-identical after restart
+R13_CORTEX_EPISODE PASS: pass 41 fail 0
diff --git a/docs/plans/adaptive-intelligence/baseline/cortex-episode-n6-main-24d1850.log b/docs/plans/adaptive-intelligence/baseline/cortex-episode-n6-main-24d1850.log
new file mode 100644
index 0000000..fae3d16
--- /dev/null
+++ b/docs/plans/adaptive-intelligence/baseline/cortex-episode-n6-main-24d1850.log
@@ -0,0 +1,61 @@
+mkdir -p build/argus-src/b375dca
+git -C ../aienos-argus archive b375dcaa2887d53cda407d773c2e4e489a0b1365 native/argus | tar -x -C build/argus-src/b375dca
+touch build/argus-src/b375dca/.extracted
+aienos_lock_source: /home/drakestapleton/workspace/adaptive/omega-n6/build/aienos-authority/b84c0a67590a934f3f3e001b12ec85ebc086a9eb matches b84c0a67590a934f3f3e001b12ec85ebc086a9eb for native/capability
+	build/aienos-cap/b84c0a67590a934f3f3e001b12ec85ebc086a9eb/libaienos_capability.a -lm
+./build/rx_r13_cortex_episode
+R13 operator: state /tmp/r13-state-v2xblN, control /tmp/r13-state-v2xblN/control (operator subject 70, pid 1916991)
+  ok   journal opened (rc 0)
+  ok   recorder attached to the living world (rc 0)
+R13 costs: incumbent 6677 ns, target 3672 ns, selected 2731186 ps, reference on new cores 4578279 ps, AIEN now expects 2921 ns, goal status 2
+R13 positive: generation 1 -> 2, recovered 2; served 1904 (129 after promotion), crumbs 4216, GPU claims 16, durable links 11
+  ok   R13 POSITIVE episode ran to promotion and in force (rc 0)
+  ok   recorder wrote 4216 records, 0 errors
+  ok   observation  -> cortex record 553 kind 0x10001
+  ok   belief       -> cortex record 4212 kind 0x10004
+  ok   prediction   -> cortex record 4213 kind 0x10004
+  ok   hypothesis   -> cortex record 650 kind 0x10004
+  ok   plan         -> cortex record 557 kind 0x10004
+  ok   search       -> cortex record 558 kind 0x10004
+  ok   gpu-input    -> cortex record 1069 kind 0x10004
+  ok   experiment   -> cortex record 1095 kind 0x10004
+  ok   evidence     -> cortex record 1096 kind 0x10004
+  ok   exp-belief   -> cortex record 1097 kind 0x10004
+  ok   candidate    -> cortex record 1364 kind 0x10004
+  ok   promotion    -> cortex record 3925 kind 0x10004
+CHAIN A: evidence 1096 <- experiment 1095 <- plan 557 <- assessment 556 <- goal 554
+  ok   chain A: evidence <- experiment <- plan <- assessment <- goal (outside input) is in the Cortex provenance
+CHAIN B: hypothesis 649 <- prediction 647 <- belief 646 <- observation 644
+  ok   chain B: hypothesis <- prediction <- belief <- observation (outside input) is in the Cortex provenance
+  ok   observation record is an outside input about object slot 0
+candidate 1364 has evidence 1096 in its provenance: 1; experiment belief 1097: 1
+  ok   promotion 3925 descends from candidate 1364
+  ok   cx_verify_chain passes (4216 records)
+  ok   rx_living_object_digest equals the World's digest of the evidence object
+  ok   lesson records appended: evidence-ref 4217 (wrong 4218), candidates 4219 and 4220
+  ok   promotion with a missing evidence record refused (rc -6)
+  ok   promotion with a wrong-digest evidence record refused (rc -1)
+  ok   no promotion record was written by the refusals
+  ok   promotion with the matching evidence record accepted: promotion 4221 links {4219,4217}
+  ok   cx_verify_chain passes after promotion (4221 records)
+protected records: 4024 (authority 1908, commit receipt 2113)
+  ok   authority and receipt evidence exist to compare
+  ok   no World failure noted while stopping
+  ok   journal with one flipped byte is refused at open (rc -4)
+  ok   journal reopened: 4221 records (was 4221)
+  ok   cx_verify_chain passes after restart
+  ok   cx_recall by the evidence subject returns 22 records, ordered and repeatable
+  ok   lesson 4219 is a promoted fact (promotion 4221)
+  ok   lesson 4220 is still only a candidate
+  ok   after restart the evidence gate still accepts the match and refuses the wrong digest
+  ok   tampered evidence record: cx_verify_chain fails and the gate refuses
+  ok   restored record verifies again
+kinds in Cortex: 0x10002 x40 0x10001 x1908 0x10004 x2113 0x10005 x155 0x10012 x2 0x10011 x2 0x10013 x1
+not in Cortex: live World objects and their field versions, reaction state, capabilities and the crumb log itself (only each crumb's result is kept)
+  ok   every record is a canonical kind; there is no kind for an object table or reaction state
+  ok   4024 protected records (authority, receipts, verification evidence, promotion) byte-identical after restart
+R13_CORTEX_EPISODE PASS: pass 41 fail 0
+
+real	0m9.291s
+user	0m7.667s
+sys	0m1.151s