Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-architecture-mv/blob/main/scripts/pipeline-proofs/RESULTS-2026-10-11.md # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-architecture-mv / scripts / pipeline-proofs / RESULTS-2026-10-11.md` 81 lines ยท 8895 bytes Raw Blame History Source # Acceptance proofs 13-21: measured results, 2026-10-11 (lane CRUMB) Two runs on the same day. Run 2 (follow-up, orphan crumbs) is current; run 1 is kept below as the record of the limit it found. ## Run 2: after the D7 amendment (children = nearest crumbed descendants) Machine: DGX Spark GB10, 20 cores. Tool: `tools/crumb/crumb` built from `crumb.c` at aien-architecture `57b62d3` (branch `pipeline/crumb-orphan`), on PATH ahead of `~/.local/bin/crumb`. Repositories: aien-architecture at `f2e6b0b` (28 crumbs, 323 tracked files; this branch, crumbs compiled with the new rule) and aien-sovereign-core main `c26f4d7` re-crumbed locally with the new rule in one crumb-only commit (`~/workspace/pipeline/tmp-sc`, 16 crumbs, 3797 tracked files). Every proof ran on a temporary `git clone`; times are wall-clock milliseconds of one run, not averages. `run-all.sh`: arch proven=9 failed=0 not_applicable=1; sc proven=10 failed=0. Proof aien-architecture aien-sovereign-core Numbers 13 determinism PROVEN PROVEN frozen clock, two compiles from nothing: 28/28 and 16/16 `.crumb` byte-identical; real clock: identical minus `compiled_at` 28/28, 16/16, digests 28/28, 16/16 14 fixed point PROVEN PROVEN compile at HEAD rewrites 0; from nothing 28 (16) then 0; porcelain empty after the crumb commit 15 stale set PROVEN PROVEN one file change: 5 of 28 (`docs/plans/mixed-algebra/research` chain), 2 of 16 (`crates/aien-scheduler/src/bin` + root); compile rewrites exactly that set 16 siblings PROVEN PROVEN 23 of 28 and 14 of 16 CURRENT; two subtrees stale exactly the union of the chains 17 claims PROVEN PROVEN second worktree's claim exits 2 (`BLOCKED ... held by agent-A`); claim 26/39 ms, refusal 14/14 ms, close 22/23 ms 18 crumb-only build not applicable (no Cargo) PROVEN after a `.crumb`-only commit `cargo build -v --locked --offline`: Compiling 0, Dirty 0, Fresh 444, 212 ms (warm-up 13525 ms; target dir `pipeline/target-cold`, kept) 19 admission PROVEN PROVEN `pr-gate.sh` refuses: STALE tree (`FAIL: 5 of 28` / `2 of 16 crumbs stale`), deleted immediate-child crumb (`docs/.crumb`, `crates/aien-cli/src/.crumb`), deleted orphan crumb (`docs/archive/plans/.crumb`, parent `docs/archive` uncrumbed, 212 ms; `crates/aien-allen-memory/.crumb`, parent `crates` uncrumbed, 409 ms), mixed last commit; passes the compiled control (271 / 447 ms) 20 rebase-crumb PROVEN PROVEN local bare origin, crumb-only conflict in the root `.crumb`: exit 0, source kept, main's change present, verify OK, last commit crumb-only (2 / 1 files), pushed with lease; 536 / 865 ms 21 final SHA PROVEN PROVEN pre-crumb SHA verify exits 1 (5 of 28, 2 of 16 stale); separate crumb commit: SHA differs, verify exits 0; re-checked in fresh worktrees ### The fix (tools/crumb/crumb.c, `57b62d3`) `comp_object` collects a crumb's children by walking down through directories that hold no `.crumb` (`collect_kids`, same traversal policy as `find_crumbs`: `.crumbignore`, build-directory and symlink exclusions), so `children[]` holds the NEAREST crumbed descendants and every compiled crumb is reachable from the root digest. A deep child is named by its path relative to the parent crumb directory (`archive/plans`). The shell reference `crumb-compile.sh` follows the same rule; `tools/crumb/test.sh` gained 10 assertions for the orphan case (117 before, 127 now, all PASS, differential against the shell reference on this repository included). RFC-0003 section 2 and D7 are amended in `docs/CRUMB_PROTOCOL_RFC_0003.md`. ### Crumb churn of the new rule (`crumb status` with the new tool on trees compiled with the old one) Repository commit crumbs rewritten by the new rule aien-architecture `f05541b` (main) 28 2 (`docs`, `.`) aien-sovereign-core `c26f4d7` (main) 16 1 (`.`) omega `82f3117` (main, shallow clone) 154 10 aienos `3b2004b` (main, shallow clone) 91 8 physics `8b23e5a` (main, shallow clone) 30 3 aien-protocols `055c4f1` (main, shallow clone) 34 0 Each affected repository needs one crumb-only `crumb compile` commit when it moves to a crumb tool built from this change (omega, aienos and physics pin the tool to an aien-architecture commit in `crumb.lock`, so nothing breaks at merge time; sovereign-core has no `crumb.lock` and uses the tool on PATH). The old rule and the new rule agree on every crumb that has no orphan descendant, so a repository with 0 rewritten (aien-protocols) needs nothing. ### Timings, run 2 (ms, one run each) Operation aien-architecture (28 crumbs) sovereign-core (16 crumbs, 3797 files) `crumb compile .` at HEAD (0 rewritten) 200 387 `crumb compile .` from nothing (all rewritten) 217 362 `crumb verify .` 187 370 `crumb status .` 207 387 `crumb context .` 210 396 `crumb context ` 225 354 `crumb claim` (first, uncontested) 26 39 `crumb claim` refused (exit 2) 14 14 `crumb close` 22 23 `scripts/pr-gate.sh --dry-run --worktree` (fake gh, real crumb) 212 to 271 392 to 453 `scripts/rebase-crumb.sh` (local bare origin, crumb conflict) 536 865 `cargo build -v` no change / after crumb-only commit n/a 205 / 212 Regenerated versus unchanged: from nothing 28/28 and 16/16; one leaf change 5 of 28 and 2 of 16; rebase onto a moved main 2 and 1. The walk through uncrumbed directories costs nothing measurable (compile at HEAD 184 -> 200 ms on arch, 345 -> 387 ms on sc, within the run-to-run spread seen in run 1). ## Run 1: before the amendment (tool at `7fe8e26`), kept as the record Repositories: aien-architecture at `7fe8e26` (27 crumbs, 307 tracked files) and aien-sovereign-core main at `5ef7720` (16 crumbs). Load 0.3 to 2.8 (another agent's cargo build was active part of the time). Proof aien-architecture aien-sovereign-core Property 13 determinism PROVEN PROVEN 27/27 and 16/16 byte-identical under a frozen clock; real clock identical minus `compiled_at` 14 fixed point PROVEN PROVEN compile at HEAD rewrites 0; from nothing 27 (16) then 0 15 stale set PROVEN PROVEN 5 of 27, 2 of 16 16 siblings PROVEN PROVEN 22 of 27 and 14 of 16 CURRENT 17 claims PROVEN PROVEN exit 2 on the contested claim; claim 33/46 ms, refusal 14/16 ms, close 21/23 ms 18 crumb-only build not applicable PROVEN Compiling 0, Dirty 0, Fresh 444, 223 ms (target-cold 27G before, 29G after) 19 admission PARTIAL PARTIAL stale tree, deleted immediate-child crumb and mixed last commit refused; control passes; sub-case b2 FAILED (below) 20 rebase-crumb PROVEN PROVEN 501 / 811 ms 21 final SHA PROVEN PROVEN pre-crumb verify exits 1; final SHA verify exits 0 Recorded limit found by run 1 (proof 19 b2), fixed by run 2: with RFC-0003 D7 as first written, a parent's `children[]` listed only immediate child directories holding a `.crumb`, so a committed `.crumb` whose parent directory had no `.crumb` (`docs/archive/plans/.crumb`; `crates/aien-allen-memory/.crumb`) was not reachable from the root digest. Deleting it left `crumb verify` OK and `pr-gate.sh` passing (pr-gate exit 0 measured in both repositories). Timings of run 1 (ms, arch/sc): compile at HEAD 184/345, from nothing 198/317, verify 160/347, status 186/329, context root 198/308, context deepest file 214/337, pr-gate 207 to 266 / 372 to 431, rebase-crumb 501/811, cargo warm-up 12950, cargo no change 217. ## crumb.gate template validation (run 1, unchanged) `docs/crumbs/crumb.gate.template` copied to `tests/gates/crumb.gate` in a temporary clone of this repository; `aien-test` built in release from a throwaway detached worktree of sovereign-core `origin/main` (`cargo build --release --locked --offline -p aien-test`: 8.9 s, build rc 0; worktree removed afterwards). `aien-test list` printed `CRUMB-VERIFY pool=host depends_on=- file=tests/gates/crumb.gate` and `1 gates`; `aien-test identity CRUMB-VERIFY` computed `CHECK_ID 4b296ef1f5daa2c713ebdac4833f14d8746c79d72f6999ed9cc2abce55890497` with `scope_binding ""` (portable) over the declared inputs. Limit: the runner resolves `run.exec` as `/crumb`; executing the gate needs PATH resolution in the engine (ENGINE lane) or an in-repo wrapper script. ## How to rerun `PATH=$PWD/tools/crumb:$PATH scripts/pipeline-proofs/run-all.sh [...]` after `make -C tools/crumb crumb` (proof 18 needs a cargo workspace and `TARGET_DIR`, default `pipeline/target-cold`). A repository compiled with the old rule must be re-crumbed once first, or proof 14 reports a non-zero rewrite at HEAD. Raw per-proof output of run 2 was kept outside the repository (`/tmp/proofs-orphan-{arch,sc}.out`).