interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / adapters / aien / evidence / demo-2026-10-08 / DEMO-RESULT.md
| 1 | # Verified fix-the-test demo (VAC M4a) |
| 2 | |
| 3 | Machine-written by `adapters/aien/scripts/demo-verified-fix.sh`. Started 2026-10-08T19:38:52Z, finished 2026-10-08T19:48:19Z (UTC). |
| 4 | Labels: [O] observed in this run's own output, [I] inferred, [U] UNVERIFIED. |
| 5 | |
| 6 | ## 1. Revisions |
| 7 | | item | value | |
| 8 | |---|---| |
| 9 | | interplane HEAD | f90dac72cdb1adb3bffb7ecf822685784929a441 (clean adapters/ and provenance/) [O] | |
| 10 | | sovereign-core rev | 47f1014a1aa0cf54b732132c6958bc142e91c20b (caller-asserted (SOVEREIGN_CORE_REV), not verified by this run) | |
| 11 | | daemon binary | supplied via AIEN_BIN, not built by this run | |
| 12 | | daemon sha256 | a62a88b4a33b3805c3a95e6b56755a53aeb5cee22c60731a0bd8aef2632ee476 [O] | |
| 13 | | daemon "Compose:" line | `Compose: native (omega 6c6180cf378075b61291f4565d226eba38b4decd)` [O] | |
| 14 | | omega.lock (sovereign-core) | n/a | |
| 15 | | omega checkout HEAD | 6c6180cf378075b61291f4565d226eba38b4decd (matches the daemon's report) | |
| 16 | | physics.lock (omega) | 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf | |
| 17 | | physics checkout HEAD | 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf | |
| 18 | | aienos.lock (omega) | b84c0a67590a934f3f3e001b12ec85ebc086a9eb | |
| 19 | | aienos checkout HEAD | b84c0a67590a934f3f3e001b12ec85ebc086a9eb | |
| 20 | | host | Linux 7.0.0-1019-nvidia, aarch64, 20 cpus [O] | |
| 21 | | rustc | rustc 1.99.0 (b940084d7 2026-09-28) [O] | |
| 22 | | build env | AIEN_OMEGA_COMPOSE_DIR, AIEN_PHYSICS_DIR, AIEN_AIENOS_LOCK_REPO set to the checkouts above; AIEN_OMEGA_DIR, AIEN_FORCE_CPU_STUB, AIEN_DEV_FALLBACK unset (CPU only) | |
| 23 | | model dir | ~/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/snapshots/5a8abab4a5d6f164389b1079fb721cfab8d7126c | |
| 24 | | model.safetensors sha256 | 1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f (daemon load log, equals file on disk) [O] | |
| 25 | | tokenizer.json sha256 | 6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b (daemon load log, equals file on disk) [O] | |
| 26 | | verifier binary sha256 | 3dcb81490dda61a87e2d541d5564759cb5ee1ac11e9a657428185f234cbee876 | |
| 27 | |
| 28 | ### Native or stub, as reported by the daemon |
| 29 | - Daemon log: `Compose: native (omega 6c6180cf378075b61291f4565d226eba38b4decd)` |
| 30 | - ComposeRecall: compose_native=true, omega_sha=6c6180cf378075b61291f4565d226eba38b4decd (retained in the bundle as `records/aien/compose-recall.json`) [O] |
| 31 | - Bundle `aien.native`: {"claimed":true,"omega_sha":"6c6180cf378075b61291f4565d226eba38b4decd"} |
| 32 | - The demo exits non-zero on a stub; this run was not one. |
| 33 | |
| 34 | ## 2. Starting task |
| 35 | Task id `fix-the-test/clamp-1`. Fixture `adapters/aien/fixtures/fix_the_test/` (`TASK.md`): |
| 36 | |
| 37 | ``` |
| 38 | # Task: fix the failing test |
| 39 | |
| 40 | task_id: fix-the-test/clamp-1 |
| 41 | test_command: make test |
| 42 | target_file: src/clamp.c |
| 43 | |
| 44 | `make test` exits non-zero (GNU make reports 2 for a failing recipe) because `clamp()` returns `lo` where it must return `hi` when the value is |
| 45 | above the range. Fix `src/clamp.c` (replace the whole file). The test must not be edited. |
| 46 | |
| 47 | The scripted run proposes `solution/clamp.c` as the whole new `src/clamp.c`. `solution/` is |
| 48 | harness material: it is not copied into the task workspace. |
| 49 | ``` |
| 50 | Source commit (harness git init of the fixture): 033090ba52dca11e954bc48d4ab6ae99ad7dc7d7 |
| 51 | |
| 52 | ## 3. Authorized action |
| 53 | - Tool: write_file, path `src/clamp.c` |
| 54 | - Content sha256: 95bdc0c9571d94ecf70cfbef4ab2e34a499876f1839f0ca084be9941ae6536a2 (bytes the approval is bound to) |
| 55 | - Prior sha256 (bytes replaced): a13f814d50eb8ab97531f19a22726034ef3347ef233f8385863b397bf236a8f7 |
| 56 | - Approval binding id: `aien-approval:w1:8751637374eb2313` (approval key 810da132fb66221438bc0ca3ef2affa9dcaff1ed19c11986ef80b27096060a72), approver `drake` |
| 57 | - The grant, intent and ack records all carry that content digest [O] |
| 58 | |
| 59 | ## 4. Outcome |
| 60 | - Ledger ack: phase=ack, disk_sha256=95bdc0c9571d94ecf70cfbef4ab2e34a499876f1839f0ca084be9941ae6536a2 (equals the approved content), disk_error=null [O] |
| 61 | |
| 62 | ## 5. Tests |
| 63 | | | exit code | retained stdout sha256 | |
| 64 | |---|---|---| |
| 65 | | before the write | 2 | bcdeaeb942c4048972b25972c90b777ac1e17c801bb3e136d93e2bf9492ebef6 | |
| 66 | | after the write | 0 | 8138649dee23d7f8a22dfeae6a63398a1479cab6fbbd967f76ef87eaeda45ae1 | |
| 67 | |
| 68 | Command: `make test` in the task workspace (GNU make exits 2 on a failing recipe). Tree commit after: 16217ff7b2bdca1d98e62cbd3d7ed19c15487bbc. |
| 69 | |
| 70 | ## 6. Verifier verdict |
| 71 | ``` |
| 72 | PASS_LABELLED_INCOMPLETE missing=link:model_turn effect=aien-ledger-slice/1:strong proposal=scripted_turn |
| 73 | ``` |
| 74 | |
| 75 | ## 7. Tamper summary (each on a hard-linked copy of the bundle) |
| 76 | ``` |
| 77 | control PASS_LABELLED_INCOMPLETE missing=link:model_turn effect=aien-ledger-slice/1:strong proposal=scripted_turn |
| 78 | changed_exit_code FAIL test_run_mismatch: exit_code=1 (a fix must pass: exit 0) |
| 79 | swapped_stdout_digest FAIL test_run_mismatch: stdout_sha256 vs retained test_stdout |
| 80 | wrong_target_blob FAIL test_run_mismatch: target_blob_sha256_after vs ledger_ack.disk_sha256 |
| 81 | dropped_test_run FAIL test_run_missing: task/source_pin/test_run_record present but no test_run section |
| 82 | tampered_source_pin FAIL source_pin_mismatch: source_pin.target_blob_sha256 vs ledger_grant.prior_sha256 |
| 83 | forged_native FAIL native_claim_contradicted: claimed native but no compose_recall report with compose_native |
| 84 | ``` |
| 85 | |
| 86 | ## 8. Reproduction |
| 87 | ``` |
| 88 | git clone <interplane> && cd interplane |
| 89 | # prerequisites: git jq make cc cargo; the Llama-3.2-1B-Instruct snapshot at $AIEN_LEDGER_MODEL_DIR |
| 90 | # a native aien-cli (see the build-mode comment in the script), then: |
| 91 | AIEN_BIN=<native aien-cli> SOVEREIGN_CORE_REV=47f1014a1aa0cf54b732132c6958bc142e91c20b OUT=<fresh dir> adapters/aien/scripts/demo-verified-fix.sh |
| 92 | # or build it: SC_DIR=<sovereign-core @ rev above> OMEGA_DIR=<omega @ omega.lock> PHYSICS_DIR=<physics @ omega's physics.lock> \ |
| 93 | # AIENOS_REPO=<aienos @ omega's aienos.lock> OUT=<fresh dir> adapters/aien/scripts/demo-verified-fix.sh |
| 94 | ``` |
| 95 | This run: daemon supplied via AIEN_BIN, not built by this run; AIEN_OMEGA_COMPOSE_DIR/AIEN_PHYSICS_DIR/AIEN_AIENOS_LOCK_REPO as in the table; the script calls `scripts/test-fix-the-test.sh` once (one live row, a real daemon, CPU). |
| 96 | |
| 97 | ## 9. What is proven |
| 98 | - The approved write is bound to exact bytes: grant, intent and ack share one content digest, and the ack's on-disk digest equals it [O]. |
| 99 | - The write went through the daemon's approved ledger (claim, grant, intent, ack, committed records retained) [O]. |
| 100 | - Tests failed before and passed after; their stdout digests are retained and checked by the verifier [O]. |
| 101 | - The source pin matches the grant's prior_sha256; the native claim agrees with the daemon's own report; six tampers are each refused with their specific code [O]. |
| 102 | - The daemon was native (not a stub) by its own report, and its model/tokenizer hashes equal the files on disk [O]. |
| 103 | |
| 104 | ## 10. What is not proven |
| 105 | - The model turn is scripted: the verdict is labelled incomplete (`missing=link:model_turn`), never PASS complete. No authorship claim for the proposal. |
| 106 | - Records are unsigned exports: the verifier cannot tell an export from a hand-written file. |
| 107 | - The test run is harness evidence, not a daemon effect (the daemon only writes the file). |
| 108 | - The desk MAC for ComposeAuthorize stays default-off (unchanged here). No security default was changed. |
| 109 | - CPU reference backend only; no GPU path was exercised. |
| 110 | - Sovereign-core rev: caller-asserted (SOVEREIGN_CORE_REV), not verified by this run. |
| 111 | - The demo checks the native report after the gate's run, not before it: a stub daemon is refused (exit non-zero) but only after the run. |