From 0d4c60879e1694595020d13678f804e30cd316d8 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sat, 10 Oct 2026 09:28:20 -0500 Subject: [PATCH 1/2] Release readiness: ACCEPTANCE_E2E.md FROZEN (verdict byte layout pinned) and ADR 0036 release v1 memory owner (lane L3) Freeze record: docs/plans/release-readiness/ACCEPTANCE_E2E.md sha256 9e3d5f4e23d65ac17be8f2f4ca48355f0aaa486f67ff5a8a8044dcdd646d34e8 (Drake directive 2026-10-10: freeze the acceptance contract). ADR 0036 answers aien-architecture#197 for v1: memory is aien-allen-memory under an engaged ALLEN identity; no memory without identity; declared E2E runs engage a fixture subject (aien-sovereign-core#386). Co-authored-by: Drake Stapleton Co-Authored-By: Claude Fable 5.1 --- docs/adr/0036-release-v1-memory-owner.md | 29 +++++++++++++++++++ docs/adr/README.md | 1 + .../plans/release-readiness/ACCEPTANCE_E2E.md | 4 +-- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0036-release-v1-memory-owner.md diff --git a/docs/adr/0036-release-v1-memory-owner.md b/docs/adr/0036-release-v1-memory-owner.md new file mode 100644 index 0000000..cf806b0 --- /dev/null +++ b/docs/adr/0036-release-v1-memory-owner.md @@ -0,0 +1,29 @@ +# ADR 0036: Release v1 memory owner (lane L3 of the release-readiness program) + +**Status:** ACCEPTED (2026-10-10, engineering decision by the coordinating session under Drake's directive of 2026-10-10 to repair persistent memory recall without expanding the architecture; Drake's calls are collected on aien-architecture#190 and may amend this). +**Author:** Claude (Fable 5.1) for Drake Stapleton. Tracking: aien-architecture#197 (L3), aien-sovereign-core#386 (finding). +**Supersedes:** nothing. **Related:** ADR 0022 (memory owner at the Omega layer, rx_cortex), ADR 0035 (ALLEN as the durable subject), `docs/plans/release-readiness/GAP_ASSESSMENT.md` (four memory stores), `ACCEPTANCE_E2E.md` step E4 ("the store named by lane L3"). +**Evidence base:** WHOLE-SYSTEM-E2E dry run 2, `aien-sovereign-core` `docs/campaigns/whole-system-e2e/runs/RUN-1-dry-20261010T134202Z/` (receipt `chain/007-E4.json`, artifact `E4-propose.json`: `memory.state not_engaged`, `items_included 0`, after `compose remember` returned ok). + +--- + +## Decision + +1. For the first public release, the memory that step E4 of `ACCEPTANCE_E2E.md` tests is the existing **aien-allen-memory** store attached to an **engaged ALLEN identity**. No new store, no new subsystem, no change to ADR 0022's statement about the Omega layer. +2. **No memory without an engaged identity.** `aien-cli compose remember` and `compose recall` refuse with the existing named refusal (NotEngaged) when ALLEN is not engaged. Accepting an item that can never be recalled is a silent failure and is forbidden. +3. **Every declared E2E run engages a host-built fixture ALLEN subject** before row E3, the way the ALLEN demo step S1 does (`AIEN_ALLEN_SUBJECT`, `AIEN_ALLEN_ADOPT`, log line `ALLEN: engaged`), and records the identity fingerprint in its receipts. Real subjects come only from AIENOS provisioning and stay NOT_RUN in v1, as the demo already states. +4. The other three stores named in the gap assessment (compose journal records, provenance receipts, Omega rx_cortex) are not "memory" in the sense of E4; they remain what they are (durable execution state, evidence, and the Omega-layer owner respectively). CTRL-E4 (store removed) therefore tests loss of the ALLEN memory store, not loss of the compose journal; the dry run 2 control, which removed the whole compose home, is recorded as store-loss detection only. + +## Why + +The dry run showed the mechanism already exists and works when engaged; what failed was the configuration and the silent acceptance. Adding a second memory path for a daemon without identity would widen the architecture during release qualification, which Drake's directive forbids, and would contradict ADR 0035, which makes ALLEN the carrier of continuity. + +## Consequences + +- aien-sovereign-core#386 repair: remember and recall refusals when not engaged; harness engagement; the append budget fix. +- `ACCEPTANCE_E2E.md` is frozen and names "the store named by lane L3"; this ADR is that name. The E4 receipt field `memory_store` is `aien-allen-memory`. +- A future ADR may add memory for an un-engaged installation; it is not on the v1 critical path. + +## Not decided here + +Whether the Omega-layer owner (ADR 0022) and aien-allen-memory merge or stay layered; the model's use of recalled items beyond the E4 check; anything about native AIENOS provisioning of real subjects. diff --git a/docs/adr/README.md b/docs/adr/README.md index 7afe435..9bf4f7d 100644 --- a/docs/adr/README.md +++ b/docs/adr/README.md @@ -45,3 +45,4 @@ Current ADRs: - [0032 - Inertial Alignment (ANS): frozen reference, drift filter, three sensor classes, autonomy tiers, promotion gate; advisory only](0032-inertial-alignment.md) - Accepted by operator Drake Stapleton, 2026-10-03 (via his "fully implement this feature /goal Inertial Alignment" instruction on the pasted brief) - [0034 - Physical-Form Realization IR: substrate-neutral realization form below Omega meaning and beside substrate lowering; LINEAR_OPERATOR first cut, ENERGY_FUNCTIONAL specified only](0034-physical-form-realization-ir.md) - Accepted by the orchestrator under operator delegation of 2026-10-04 (Drake: "make the calls yourself"); operator may revoke; extends ADR 0018 / 0019 - [0035 - Persistent Cognitive Entity Boundary (ALLEN): AIEN is the organism, ALLEN the durable subject it sustains; one continuity object kind (aienos ADR 0018), three bindings in omega, six host gates incl. negative control](0035-persistent-cognitive-entity-boundary-allen.md) - ACCEPTED 2026-10-06 by the operator; creed and ARCHITECTURE.md edits applied; aienos#259, omega#276; native genesis and QEMU cold restart TESTED (QEMU) in aienos#260, hardware NOT_RUN +- [0036 - Release v1 memory owner (lane L3): aien-allen-memory under an engaged ALLEN identity; remember and recall refuse when not engaged; every declared E2E run engages a fixture subject](0036-release-v1-memory-owner.md) - ACCEPTED 2026-10-10 (engineering decision under Drake directive; aien-architecture#197, aien-sovereign-core#386) diff --git a/docs/plans/release-readiness/ACCEPTANCE_E2E.md b/docs/plans/release-readiness/ACCEPTANCE_E2E.md index 38f3c7a..965fd3b 100644 --- a/docs/plans/release-readiness/ACCEPTANCE_E2E.md +++ b/docs/plans/release-readiness/ACCEPTANCE_E2E.md @@ -1,6 +1,6 @@ # ACCEPTANCE_E2E: the whole-system acceptance test (WHOLE-SYSTEM-E2E v1) -**Status: PROPOSED (not frozen).** Tracking: aien-dev/aien-architecture#190, deliverable R3 (lane L0 of `INTEGRATION_PLAN.md`). **NOT A MASTER PLAN.** This file becomes FROZEN when its commit and sha256 are posted on #190 as milestone R3; after that it is never edited, and changes go to a v2 file. Until then every status word in it is NOT_RUN. +**Status: FROZEN 2026-10-10 (Drake directive: freeze the acceptance contract; lane L1 rows reference this file, aien-sovereign-core#387).** From this commit on this file is never edited; changes go to a v2 file. Tracking: aien-dev/aien-architecture#190, deliverable R3 (lane L0 of `INTEGRATION_PLAN.md`). **NOT A MASTER PLAN.** This file becomes FROZEN when its commit and sha256 are posted on #190 as milestone R3; after that it is never edited, and changes go to a v2 file. Every status word in it is NOT_RUN until a declared run reports it. Written 2026-10-10 by the coordinating session (Claude Code 85679b2b). Shapes below reuse what exists in code on 2026-10-10 (`GAP_ASSESSMENT.md` section 2); nothing new is invented where an identity rule already exists. @@ -22,7 +22,7 @@ A PASS here means the installation did what this file says, on the machine named - **Run identity** `run_id`: the lowercase hex SHA-256 over `objective_id`, newline, the installation's daemon binary sha256, newline, the model weights sha256, newline, the host name. It differs across machines and builds by design; it never enters a verdict. - **Receipt**: a JSON object written by the installation or the harness during the run. Every receipt carries `objective_id`, `run_id`, `step` (one of E1 to E6 or `CTRL-`), `utc`, and `prev_receipt_sha256` (the sha256 of the previous receipt file in the chain, or 64 zeros for the first). Receipts written by `aien compose` keep their existing fields (`tool`, `success`, `arguments_digest`, `result_digest`, as `crates/aien-cli/src/compose.rs` `receipt()` writes them); the harness wraps them with the chain fields rather than changing them. - **Chain**: the ordered receipts of one run. The chain is unbroken if every `prev_receipt_sha256` equals the sha256 of the preceding file and no file is missing from the manifest. -- **Verdict identity** `verdict_id`: the lowercase hex SHA-256, domain tag `AIEN_E2E_VERDICT_V1`, over the LF-joined lines `objective_id `, `contract_sha256 `, then one line per step `E1 PASS|FAIL|NOT_RUN`, then one line per control `CTRL-E1 PASS|FAIL|NOT_RUN`. Nothing with a timestamp, host name or path enters it, so two machines that agree on every row produce the same `verdict_id` (the AT-1 rule, `evaluator/src/result.rs compute_verdict_id`). +- **Verdict identity** `verdict_id`: the lowercase hex SHA-256, domain tag `AIEN_E2E_VERDICT_V1`, over the LF-joined lines `objective_id `, `contract_sha256 `, then one line per step `E1 PASS|FAIL|NOT_RUN`, then one line per control `CTRL-E1 PASS|FAIL|NOT_RUN`. Nothing with a timestamp, host name or path enters it, so two machines that agree on every row produce the same `verdict_id` (the AT-1 rule, `evaluator/src/result.rs compute_verdict_id`). Byte layout (pinned at freeze): the hashed bytes are the ASCII tag `AIEN_E2E_VERDICT_V1`, one LF, then the lines in the order given joined by LF with no trailing LF; rows E1 to E6 then CTRL-E1 to CTRL-E6; `CTRL-E3` is PASS only when both its parts (desk key absent, revoke) PASS. - **Verifier**: a separate program (lane L4) that reads only the chain and the output files, never the daemon, and writes the verdict. Verifier and executor share no code beyond the standard library and the hash routine. ## 2. The six steps, their receipts and their negative controls From 66436ebd3e3e6d9594d87bd895c0641b31882412 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sat, 10 Oct 2026 09:28:20 -0500 Subject: [PATCH 2/2] crumb compile Co-authored-by: Drake Stapleton Co-Authored-By: Claude Fable 5.1 --- .crumb | 16 ++++++++-------- docs/.crumb | 20 ++++++++++---------- docs/adr/.crumb | 10 +++++----- docs/plans/.crumb | 16 ++++++++-------- docs/plans/release-readiness/.crumb | 8 ++++---- 5 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.crumb b/.crumb index 86ae52f..d854ce8 100644 --- a/.crumb +++ b/.crumb @@ -21,8 +21,8 @@ "generated": { "children": [ { - "digest": "e0e5e867d153343ff69c45c8f789db341b576363bea9861969549fb4798ba2ba", - "last_commit": "84d80a0", + "digest": "40d778cb00ec60253084751365e4660cd147804daf36fda8ac23d4363f5fa05e", + "last_commit": "0d4c608", "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:a5af937c9b4b30077850eb8d97368c7f548b32743142aaa82b4abc45999a11e0", - "compiled_at": "2026-10-10T14:19:40Z", + "children_root": "sha256:d5b710c190d0e1e5376811ce19509ec003fffb3a1855ae2d68c0b6b784df8b13", + "compiled_at": "2026-10-10T14:28:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:6958365c681936ddf5cc883c11d6910cf3ff39888ec34c0a2d1b9852b06a86ab", + "digest": "sha256:ef7a691b54e9143c64bc8b762a5edd42fe7d806290fb828dbc9f015b7342ad8f", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 254, - "generated_at_commit": "84d80a03874c4f78efc320d6ddaa246eaf926655", - "source_tree": "sha256:4c1d9088c7b82814fda081fe9b2af8ea6e0a929032759ea011c77e2d2aa06b26" + "files": 255, + "generated_at_commit": "0d4c60879e1694595020d13678f804e30cd316d8", + "source_tree": "sha256:3cd181f0e99b5b2a267e2ecdaa6ec356358938d2470c116fe1e4c74a45bba43f" }, "owner_lane": "", "provenance": { diff --git a/docs/.crumb b/docs/.crumb index 140f4e2..241cf05 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -37,8 +37,8 @@ "generated": { "children": [ { - "digest": "126ef905eaca3b6b9134c20df79d2ab8f271c6ca77c7d76e60cc4542277b738c", - "last_commit": "bd56a27", + "digest": "0f5f051b567320ca492dc91af59fd67460e76e96d0a56efbdf33c093d84e96d6", + "last_commit": "0d4c608", "name": "adr", "purpose": "Directory docs/adr. Purpose not yet described by a human." }, @@ -55,8 +55,8 @@ "purpose": "Directory docs/errata. Purpose not yet described by a human." }, { - "digest": "28cc801ccff215a4abb419c15c06b3264e4f9c3c4996fda625298536e26937d3", - "last_commit": "84d80a0", + "digest": "476ca8e3cf8257376bcf010981a621b3c129f0724014ce4a443ed0d27efc8f27", + "last_commit": "0d4c608", "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:53b442fb5ae70ee78ff0c93d685370f36eedcd895896b14a73937899bdd3cb2a", - "compiled_at": "2026-10-10T14:19:40Z", + "children_root": "sha256:7c342e6d7fe441f2ac93916c1a65c61a275d8ebc576d614364cc6c4fa05b03a7", + "compiled_at": "2026-10-10T14:28:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:e0e5e867d153343ff69c45c8f789db341b576363bea9861969549fb4798ba2ba", + "digest": "sha256:40d778cb00ec60253084751365e4660cd147804daf36fda8ac23d4363f5fa05e", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 146, - "generated_at_commit": "84d80a03874c4f78efc320d6ddaa246eaf926655", - "source_tree": "sha256:a97b66b0663fcc47f3e5d1bf6d327bd551fb06940775918aa64b4e9135346dfd" + "files": 147, + "generated_at_commit": "0d4c60879e1694595020d13678f804e30cd316d8", + "source_tree": "sha256:c34cc507b049d0284a619d9472e5445f5d99c9d290c71e23813f32bc3bde7dc6" }, "owner_lane": "", "provenance": { diff --git a/docs/adr/.crumb b/docs/adr/.crumb index 5b7823e..9fa0522 100644 --- a/docs/adr/.crumb +++ b/docs/adr/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-06T22:45:28Z", + "compiled_at": "2026-10-10T14:28:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:126ef905eaca3b6b9134c20df79d2ab8f271c6ca77c7d76e60cc4542277b738c", + "digest": "sha256:0f5f051b567320ca492dc91af59fd67460e76e96d0a56efbdf33c093d84e96d6", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 36, - "generated_at_commit": "969813b6f112dbf149618835acc1bf850087e849", - "source_tree": "sha256:d7ec554355452fd722d1194c8975ac7c90e47ac13f4c5c2b288cf4e9db0d0576" + "files": 37, + "generated_at_commit": "0d4c60879e1694595020d13678f804e30cd316d8", + "source_tree": "sha256:d530947cf52840557c8d213de4a485f265699f7fe3dfd501c3cd74fac79f88fb" }, "owner_lane": "", "provenance": { diff --git a/docs/plans/.crumb b/docs/plans/.crumb index 261a6bb..50d1a02 100644 --- a/docs/plans/.crumb +++ b/docs/plans/.crumb @@ -54,7 +54,7 @@ }, { "digest": "b16af30032697fc6f3d372aacb96f9b7009790b353e9b8285cc9dba562629851", - "last_commit": "84d80a0", + "last_commit": "44252e5", "name": "atemporal", "purpose": "AT-0 Clock-Free Universe research program: charter, frozen AT0_CASE_V1 and AT0_RESULT_V1 contrac" }, @@ -95,8 +95,8 @@ "purpose": "Directory docs/plans/physics-zero. Purpose not yet described by a human." }, { - "digest": "9e5478d76be069bd0313c593c335ebb689821f8ab00bb5740e59f8f6a22e7662", - "last_commit": "3c584a4", + "digest": "a85392c1c018b0f8272795529f2760e0fa36aa4ab6c1d822c9c74f71fb2a033e", + "last_commit": "0d4c608", "name": "release-readiness", "purpose": "Release-readiness finite workstream (aien-architecture#190): gap assessment, integration plan an" }, @@ -107,15 +107,15 @@ "purpose": "VAC (Verifiable Autonomous Computing) finite workstream plan. NOT A MASTER PLAN." } ], - "children_root": "sha256:e644d3129897cfc18e4def5a6c01b48aeb5ba9828d64c1d94a0ca55226248ee6", - "compiled_at": "2026-10-10T14:19:40Z", + "children_root": "sha256:bdb9b3f6691a9b85bcd6df5793b446bd83509bbc39323546da6f377fbdd5780a", + "compiled_at": "2026-10-10T14:28:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:28cc801ccff215a4abb419c15c06b3264e4f9c3c4996fda625298536e26937d3", + "digest": "sha256:476ca8e3cf8257376bcf010981a621b3c129f0724014ce4a443ed0d27efc8f27", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 51, - "generated_at_commit": "84d80a03874c4f78efc320d6ddaa246eaf926655", - "source_tree": "sha256:365c0a64695f11cff02f2290f1e84dc785210177c8bbf5f39ad03a4f0a42b50b" + "generated_at_commit": "0d4c60879e1694595020d13678f804e30cd316d8", + "source_tree": "sha256:019723ddf7370d1c4b0ebf3ab2df673f7492b19cee703dc9f5bd94b3298ba9ed" }, "owner_lane": "", "provenance": { diff --git a/docs/plans/release-readiness/.crumb b/docs/plans/release-readiness/.crumb index 2099f98..3ced90d 100644 --- a/docs/plans/release-readiness/.crumb +++ b/docs/plans/release-readiness/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T13:40:33Z", + "compiled_at": "2026-10-10T14:28:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:9e5478d76be069bd0313c593c335ebb689821f8ab00bb5740e59f8f6a22e7662", + "digest": "sha256:a85392c1c018b0f8272795529f2760e0fa36aa4ab6c1d822c9c74f71fb2a033e", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 3, - "generated_at_commit": "085d35471fe3783523fe54a7f163b1956d374143", - "source_tree": "sha256:adbb72b3dfd674e87af4021511754fd8ff16d06b33b215a3670e1cde88607695" + "generated_at_commit": "0d4c60879e1694595020d13678f804e30cd316d8", + "source_tree": "sha256:77e6da9fe3abbb2780eeb251dae478cfe94af6fc76386e365cd94aff2348807b" } }, "name": "release-readiness",