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#170 (code only)

closed derived 48b9c3773de2c2a5 #170

Imported from GitHub aien-dev/aien-architecture-mv#170 (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 8d00845b4bb42f0ec56949cdd77a008d4c55ace2 · Head ccb873f2154bc4f95f4964594c8e30f623d7e64a

Apply it

git checkout -b patch-48b9c3773de2c2a5 8d00845b4bb42f0ec56949cdd77a008d4c55ace2
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/48b9c3773de2c2a5.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
170
ccb873f2154bc4f95f4964594c8e30f623d7e64a
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":170,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/170","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:51Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index c3341c5..200f36c 100644
--- a/.crumb
+++ b/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "c2d66e9b0482e28f6e32a294605605aea077f32916364e2625e81f63301569dd",
-          "last_commit": "7df616f",
+          "digest": "cf3783e9d57fca83fea6360cc1395c0c2b39d84f2cbcd8cfdb02826b87357130",
+          "last_commit": "1d97c3e",
           "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:090d3fbf6fd1df05ffef6b93f5e55f33db35bd273b99d16ef045b42bae01a04a",
-      "compiled_at": "2026-10-08T20:35:41Z",
+      "children_root": "sha256:0934eb7fe68c52188cbac6327f9f24adc106a30e76b5d68f0e716b60bd02bd68",
+      "compiled_at": "2026-10-08T20:43:46Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:42caa0717b28de7d7df6c662eab37b9c51bbdc595cd06cc360566d52582088c7",
+      "digest": "sha256:4023793568d38fc8a9da5710ff7ad17c002eb8f1f7bb0c9a4ee7481857ecbf99",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 238,
-      "generated_at_commit": "7df616f5495dd629d6ddb93f7752fa70e8672b36",
-      "source_tree": "sha256:97a6f8493e20c4ac8b0fe7c0dccc46de10ca08b80b78034429bb20fc3fe549c4"
+      "generated_at_commit": "1d97c3eca1243aef7508536723e1ee8e5b02f5f0",
+      "source_tree": "sha256:42c2dc45e673a4065023ceec7aecb3a82ca4b2b5b1b06f861040c0d10ecc56d2"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/.crumb b/docs/.crumb
index df7512f..932456b 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -55,8 +55,8 @@
           "purpose": "Directory docs/errata. Purpose not yet described by a human."
         },
         {
-          "digest": "f2851c536109b2b41ddd434961ca98ea848bbb01b3f446b09acbe8b107f22dc0",
-          "last_commit": "7df616f",
+          "digest": "1029c7a26ce20337727f93aaadf3ec22463208a3f31522744e09b8b4680bbd03",
+          "last_commit": "1d97c3e",
           "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:bb95a2f2ccd3662123b2a6f1104f241faaa4001f28c1fda3a7da4e46f973214f",
-      "compiled_at": "2026-10-08T20:35:41Z",
+      "children_root": "sha256:508e41c03e1b2e5652970cfed8af45c09238fe5e99a013007bc5e0fa5d310f77",
+      "compiled_at": "2026-10-08T20:43:46Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:c2d66e9b0482e28f6e32a294605605aea077f32916364e2625e81f63301569dd",
+      "digest": "sha256:cf3783e9d57fca83fea6360cc1395c0c2b39d84f2cbcd8cfdb02826b87357130",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 130,
-      "generated_at_commit": "7df616f5495dd629d6ddb93f7752fa70e8672b36",
-      "source_tree": "sha256:fce58de31a65b062f45f777caed1274e0c3d21ffad9b15b1c0d4a7f39c35eb78"
+      "generated_at_commit": "1d97c3eca1243aef7508536723e1ee8e5b02f5f0",
+      "source_tree": "sha256:b53ad365624a9042afaabca54376b7b3184cba20902a3a1d1b5a789a117def0c"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/.crumb b/docs/plans/.crumb
index 372c55b..e8f3b61 100644
--- a/docs/plans/.crumb
+++ b/docs/plans/.crumb
@@ -89,21 +89,21 @@
           "purpose": "Directory docs/plans/physics-zero. Purpose not yet described by a human."
         },
         {
-          "digest": "d110ad33ecfb3126ce43bb5749d68f8583844523c88755876b998bc9d8e00705",
-          "last_commit": "7df616f",
+          "digest": "3b897ab85b6a7c565a0e543f5d0ff3b01aaedde167a11e834aaf4e903d27c5af",
+          "last_commit": "1d97c3e",
           "name": "vac",
           "purpose": "VAC (Verifiable Autonomous Computing) finite workstream plan. NOT A MASTER PLAN."
         }
       ],
-      "children_root": "sha256:2bb20eb5958b9c525043d39ded1edee08a43057a30388d0fad546e8edc16f685",
-      "compiled_at": "2026-10-08T20:35:41Z",
+      "children_root": "sha256:9dba410004a3b5d7b6cb9fc632279503317bbb7d14c54234c456a0414a8c2872",
+      "compiled_at": "2026-10-08T20:43:46Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:f2851c536109b2b41ddd434961ca98ea848bbb01b3f446b09acbe8b107f22dc0",
+      "digest": "sha256:1029c7a26ce20337727f93aaadf3ec22463208a3f31522744e09b8b4680bbd03",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 35,
-      "generated_at_commit": "7df616f5495dd629d6ddb93f7752fa70e8672b36",
-      "source_tree": "sha256:a9f17116c9840fe73ff1d75f998c99c504cfc2ab3f23328a3b2e5e6498a84b31"
+      "generated_at_commit": "1d97c3eca1243aef7508536723e1ee8e5b02f5f0",
+      "source_tree": "sha256:df85b71a339fa6f7b7d47141a4acd90e9f59f0127bf7f28c9154d112d99db2c7"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/vac/.crumb b/docs/plans/vac/.crumb
index f74d5be..7a82f04 100644
--- a/docs/plans/vac/.crumb
+++ b/docs/plans/vac/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-08T20:35:41Z",
+      "compiled_at": "2026-10-08T20:43:46Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:d110ad33ecfb3126ce43bb5749d68f8583844523c88755876b998bc9d8e00705",
+      "digest": "sha256:3b897ab85b6a7c565a0e543f5d0ff3b01aaedde167a11e834aaf4e903d27c5af",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 2,
-      "generated_at_commit": "7df616f5495dd629d6ddb93f7752fa70e8672b36",
-      "source_tree": "sha256:a15d10274dd51e6e83ec4c25bb11fd191990d07a85fcfba7e982c5116ea9a777"
+      "generated_at_commit": "1d97c3eca1243aef7508536723e1ee8e5b02f5f0",
+      "source_tree": "sha256:54cd90119b2c990b6c9ccaf825cd2110bb01c06effe662d889143e51bde8db7e"
     }
   },
   "name": "vac",
diff --git a/docs/plans/vac/M5-DESIGN.md b/docs/plans/vac/M5-DESIGN.md
index e7c801a..2ec4455 100644
--- a/docs/plans/vac/M5-DESIGN.md
+++ b/docs/plans/vac/M5-DESIGN.md
@@ -79,3 +79,29 @@ existing paths.
 ## Done conditions
 
 Unchanged from PLAN.md section D, row M5, items (a) to (f).
+
+## Addendum, 2026-10-08: feasibility probe and three more gaps
+
+Probe (spark-rsi `origin/main` e5aab9a, release build, no lock file): `spark-rsi-judge` ran with a
+throwaway key file, two holdout suites copied from the built-in cases, and the engine as both parent
+and candidate. It produced a signed receipt (`tpm2-p256:` label, software key) with
+`admitted: false` (the candidate equals the parent, so nothing improved). Bubblewrap 0.9.0 is
+present, so the jail runs on this host. `spark-rsi propose <path>` is a deterministic unslop scan
+(src/main.rs:277-287) that prints one `ImprovementProposal`; it needs no model server.
+
+| id | gap | evidence | consequence |
+|---|---|---|---|
+| R6 | The judge evaluates a candidate **executable**: each holdout case runs `<candidate> holdout <input>` in the jail and compares stdout (src/actor/judge.rs:220-247). The correctness layer runs `cargo check` and `cargo test` only (src/evaluator/layers/correctness.rs:112, :153). | probe; code | The C fixture `fix_the_test` cannot be judged. M5 needs a small Rust fixture whose binary answers `holdout <input>`. |
+| R7 | `HoldoutSuite::load_from_dir` skips any file that does not parse and continues if one suite remains (judge.rs:117-145). | code | A corrupted or removed holdout file shrinks the holdout silently; with R1 the receipt does not show it. |
+| R8 | spark-rsi has no committed `Cargo.lock`; `cargo build --locked` refuses. | probe | Builds of the judge are not pinned, so a receipt's evaluator cannot be rebuilt bit for bit. |
+
+Recommended M5 slice shape (session decision, recorded): a new Rust fixture with one user-facing
+file containing banned dashes and a `holdout` subcommand; `spark-rsi propose` yields the change;
+the standalone judge, run as its own process with its own key file and a holdout directory outside
+both repositories, signs the receipt; the change lands through the approved path as in M3b. RSI does
+not target its own repository in M5, because that puts the evaluator's own files in reach.
+
+How the verifier treats the receipt depends on the open decision (receipt version 2). With a yes, the
+verifier requires `subject_sha256` to equal the grant's content digest. With a no, a version 1 receipt
+can only be checked for signature and threshold, and the verdict must carry the label
+`missing=link:evaluation_subject`.
diff --git a/docs/plans/vac/PLAN.md b/docs/plans/vac/PLAN.md
index 3f6b2ad..0570b3c 100644
--- a/docs/plans/vac/PLAN.md
+++ b/docs/plans/vac/PLAN.md
@@ -134,6 +134,7 @@ All runs: host Spark (`spark-b87b`, Linux 7.0.0-1019-nvidia aarch64, 20 cores),
 | 11 | M4a demo (prebuilt daemon) | `AIEN_BIN=aien-cli-m3b OUT=... adapters/aien/scripts/demo-verified-fix.sh`, 19:38:52Z to 19:48:19Z | `a62a88b4...` (as run 8) | DEMO PASS, first try; `PASS_LABELLED_INCOMPLETE missing=link:model_turn`; build mode not exercised | IP#85 merge 26b746568, `adapters/aien/evidence/demo-2026-10-08/DEMO-RESULT.md`; `~/handoffs/vac/M4a-report.md` |
 | 12 | M4c demo from fresh clones, build mode | `demo-verified-fix.sh` with SC_DIR, OMEGA_DIR, PHYSICS_DIR, AIENOS_REPO in `~/workspace/vac/clean-20261008T2007Z` (interplane HEAD 26b7465 = IP#85 merge as recorded in the run's DEMO-RESULT; the README fix was committed afterwards as 396e221. SC c58b6e0, not run 11's 47f1014; omega 6c6180c); attempt 2, 20:08:14Z to 20:18:01Z | `67d626a733e3157a1fc00cfbaf659894958de1da9ed82f629702e3dcee195259` (built in the run) | Attempt 1 FAILED in under a minute: README omitted `setup-siblings.sh` (fixed IP#87 04a05dc5e). Attempt 2 DEMO PASS; verdict, the 6 tamper codes, approved content sha256 `95bdc0c9...`, exit codes 2 then 0 and `Compose: native (omega 6c6180c...)` equal run 11. Expected differences: daemon and verifier hashes (built fresh), sovereign-core revision, fixture tree and source commits (fresh git init) and the approval key (fresh) | `~/handoffs/vac/M4c-report.md`; `out/DEMO-RESULT.md` in the clean dir |
 | 13 | M4d recovery verdicts | `cargo test --locked` in IP provenance at the IP#86 head | n/a | 114 passed (counted by the session on the PR head; the worker report gives only the 6 new tests); NOT_DONE, UNRESOLVED and a missing ack give `effect_not_done`, `effect_unresolved`, `effect_interrupted`; a test run on any of them gives `test_run_on_unlanded_effect`; an unknown ack state stays `binding_mismatch` | IP#86 merge 9d1b1ab32, `provenance/tests/recovery_verdicts.rs` |
+| 14 | Task scope check (gap R5) | `AIEN_BIN=aien-cli-m3b OUT=... scripts/test-fix-the-test.sh` at IP 633ff07 (pre-rebase commit of IP#88), 20:19:08Z to 20:28:26Z; `cargo test` in IP provenance | `a62a88b4...` (as run 8) | SLICE GATE PASS; 8 negative checks (control + 7), new `write_outside_task_scope` refused `task_scope_mismatch`; 116 provenance tests; both new tests fail on the old verifier | IP#88 merge c1e901870, `adapters/aien/evidence/task-scope-2026-10-08/` |
 
 Known limits of this record, none softened:
 - Runs 5, 6, 8 and 9 are scripted-model runs. None is `PASS complete`.
@@ -158,6 +159,8 @@ Known limits of this record, none softened:
 | 2026-10-08 | B, E | Distinct verdicts for an effect that did not land, could not be resolved, or was interrupted (M4d) | IP#86, merge commit 9d1b1ab32 | claude worker (vac-m4d), verified by the session |
 | 2026-10-08 | E | Clean-clone reproducibility run (M4c); README prerequisite fixed | IP#87, merge commit 04a05dc5e | claude worker (vac-m4c), verified by the session |
 | 2026-10-08 | D | M5 design note added, status PROPOSED (`docs/plans/vac/M5-DESIGN.md`) | this pull request | claude session (VAC lane) |
+| 2026-10-08 | B, E | The task record names its one allowed file; the verifier refuses a write elsewhere (`task_scope_mismatch`) | IP#88, merge commit c1e901870 | claude session (VAC lane), independent review by a separate session |
+| 2026-10-08 | D | M5 feasibility probe and gaps R6 to R8 added to the design note | this pull request | claude session (VAC lane) |
 
 ### Superseded by code (record codes and bindings as implemented)