From 159dbe1e894d2e950ecd60041c89243fdd59c3c4 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 11:33:01 -0500 Subject: [PATCH 1/7] NEXT-PHASE-2: ACCEPTANCE-v3 frozen before code Versioned amendment of ACCEPTANCE-v2: C2a rule with the 5 start-up records identified (CX_K_ENTITY_CREATED x5, subjects 1..5), external Cortex record mark (C6c, C6c-ctl), mark adoption (C8a, C8b), guarded C6d NOT_APPLICABLE, C6i once, and the reconcile-failed refusal rule (C7a, C7b). Co-Authored-By: Claude Opus 5.5 --- docs/campaigns/next-phase-2/ACCEPTANCE-v3.md | 139 +++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 docs/campaigns/next-phase-2/ACCEPTANCE-v3.md diff --git a/docs/campaigns/next-phase-2/ACCEPTANCE-v3.md b/docs/campaigns/next-phase-2/ACCEPTANCE-v3.md new file mode 100644 index 00000000..949cfec1 --- /dev/null +++ b/docs/campaigns/next-phase-2/ACCEPTANCE-v3.md @@ -0,0 +1,139 @@ +# NEXT-PHASE-2: acceptance amendment v3 (frozen before any code of this cut) + +```text +campaign_id = "next-phase-2" +spec_version = 3 +amends = ACCEPTANCE-v2.md spec_version 2 (unchanged; this file supersedes it row by + row where it says so; every v2 row not named here stays as written) +status = FROZEN at the commit that adds this file. It is committed alone, before any + code of the cut. Later changes need ACCEPTANCE-v4.md. +base = sovereign-core main aec763c (contains ee07aa3 = #227); omega.lock 62b6a28 +reason = VERDICT-v2.md: C6c FAIL, C6d NOT_RUN, C2a UNVERIFIED, reconcile-failed gap +``` + +Every claim has a source: sovereign-core file:line at aec763c, omega file:line at 62b6a28 +(`om/` = omega `src/runtime/`), or a command run before this file was written. Anything else +is marked UNVERIFIED. + +## 1. Findings this amendment is built on + +| # | Finding | Evidence | +|---|---------|----------| +| G1 | **The 5 records every daemon start appends** (VERDICT-v2 section 3, counts 23 -> 28 -> 33) are the five `CX_K_ENTITY_CREATED` records (class `CX_ENTITY` = 1, kind 0x10002 = 65538), one per resident World object of the composition, subjects 1..5 = goal, candidate 0, candidate 1, verdict, state. Chain: an existing home makes the daemon open it at start (`reconcile_at_start`, `crates/aien-runtime/src/effects.rs:767-770`, called from `server.rs:183`) -> `with_home` -> `open_home` -> `compose.info()` (`spine.rs:928`) -> `rxc_host_info` seals (`om/rxc_host_abi.c:429-431`) -> `host_seal` -> `rx_compose_open` (`om/rxc_host_abi.c:216`) -> `build_world` -> `build_in_world` creates the 5 objects (`om/rx_compose.c:733-735`, `rx_world_create` emits one `RX_CRUMB_CREATE` crumb each, `om/rx_world.c:2210-2221`) -> `rx_cortex_attach` (`om/rx_compose.c:819`) -> `link_add` journals every crumb already in the World (`om/rx_cortex_record.c:205`) -> `record_link` maps CREATE to `CX_ENTITY`/`CX_K_ENTITY_CREATED` (`om/rx_cortex_record.c:45`), subject = object id + 1 (`om/rx_cortex_record.c:57-58`) | Command (base aec763c, cpu build, copy of the v2 fixture F0): three daemon starts; recall counts 22, 27, 32; `recall --ids 28..32` after the third start returned exactly `{cls 1, kind 65538, subject 1..5, tag 1, links 0, note null}`. `om/rx_cortex.h:89-93` (CX_K_BASE 0x10000, ENTITY_CREATED = base + 2) | +| G2 | A record-boundary cut that drops only host notes written after the last composition commit is not detected (C6c FAIL): the journal header carries no count (`om/rx_compose.c:885-891`), the J-Space anchor moves only at `commit_js` (`om/rx_compose.c:508-516`) | VERDICT-v2 section 1; receipt `dc0c88a8…` C6c rows | +| G3 | `Compose::open` (`rxc_host_open`) appends nothing: it checks identity and probes the journal read-only, `info.records = probe.n` (`om/rxc_host_abi.c:251-281`). Every later call (`info`, `record`, `recall`, `note`, `run`) seals the home first, which appends the 5 records of G1 (`om/rxc_host_abi.c:341,388,408,419,431,486`) | source | +| G4 | **Reconcile-failed gap.** `server.rs:181-187`: the start-up reconcile runs in `spawn_blocking`; a panic becomes `Reconcile: failed: …` via `unwrap_or_else`; an error becomes `Reconcile: refused: …` (`effects.rs:791`); in both cases the daemon goes on to the accept loop (`server.rs:189`) and `open_intent` (`effects.rs:560-575`) does not consult the start-up result | source | +| G5 | `jspace.data` is never written at omega 62b6a28 through the composition: bytes land there only via `spill_u` (`om/rx_jspace.c:567`), reached from `js_real_spill` (`:1325`) and `js_forge_enforce` (`:1344`), and from EDIT patches (`js_branch_edit`, `:1333`); no omega source outside `rx_jspace.c` and tests calls any of the three (grep). `spill_end` is the u64 at offset 48 of `jspace.meta` (`om/rx_jspace.c:1635,1714`); a data file shorter than it is refused (`:1721`). F0v2: `jspace.data` 0 bytes, `spill_end` 0 | source; `od -An -tu8 -j48 -N8` of F0v2 `jspace.meta` = 0 | +| G6 | A deleted `jspace.meta` opens as "no checkpoint yet" and the data file is truncated to 0 (`om/rx_jspace.c:1914-1919`); whether the composition then refuses (state records name branches that no longer exist, `om/rx_compose.c` `recover`) is UNVERIFIED | source | +| G7 | `rxc_host_recover` on a whole, anchored journal changes nothing and sets `records_kept` (`om/rxc_host_abi.c`, `if (!out->tail_torn && A <= kept) goto done`); when it cuts, it appends one `RXC_HOST_TAG_REPAIR_TAIL` record and runs a trial open (which appends G1's 5 records) | source | + +## 2. What this cut adds (the production behaviour the rows test) + +1. **Cortex record mark.** A file `.cortex-mark` (beside `.machine-root`, mode + 0600, never inside the compose dir), 128 bytes: `"AIENCXM1"` | u32 version 1 | u32 0 | + machine id (32) | u64 seq | u64 records M | digest of record #M (32, zeros if M = 0) | + sha256 of the first 96 bytes. Written only after an append returned (the append is already + `fdatasync`ed, `om/rx_cortex.c` `CX_OPEN_SYNC`): write `.tmp`, `sync_all`, rename, sync the + parent dir. It advances after every daemon operation that may append (end of the home open, + after every command run on the open home, after every composition run). +2. **Load check** (home open; count before anything is appended, G3): + | State | Action | Daemon text | + |---|---|---| + | mark unreadable, wrong length/magic/version/sha, or another machine id | refuse, touch nothing | `record mark damaged (E_MARK): ` | + | journal records F < mark M | refuse, touch nothing | `Cortex journal holds F records, its record mark says M: M-F record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq S). Run RecoverComposeHome (aien compose recover)` | + | F >= M, record #M digest differs | refuse | `Cortex record #M differs from its record mark (E_MARK_DIGEST, mark seq S)` | + | F = M, digest equal | open | none | + | F > M, digest equal | open, advance | `Cortex mark: record mark advanced M->F (records written before an interrupted mark update; not corruption)` | + | no mark, journal absent or empty | open, create | `Cortex mark: mark created for a new home (seq S, records R)` | + | no mark, journal present (old install, or a deleted mark) | open, adopt, never refuse | `Cortex mark: mark adopted (seq S, records R): this home had no record mark; a loss before this start cannot be ruled out` | + Refusals use the existing form `compose home refused: …` (`spine.rs:605-617`), so they + appear in the `Reconcile: refused:` start line, in `recall` and in every effect command. The + digest check needs the open home, so it runs after the 5 start-up records of G1 are + appended (G3); the count check runs before. A refusal never rewrites the mark. +3. **Recover keeps the old mark.** `aien compose recover`: after omega's own repair, if the mark + is damaged, ahead of the records kept, or names a different record #M, it is renamed to + `.cortex-mark.lost-` (`.lost-damaged` when the seq cannot be read; never + overwritten, never deleted), the home is opened, a fresh mark is written (seq = old seq + 1), + and one host `constraint` record is appended with text + `{"repair":"cortex-mark","mark_records":M,"journal_records":F,"lost":L,"old_seq":S,"old_digest":…,"kept_as":…}`. + The recover answer gains `mark_lost`, `mark_kept_as`, `mark_repair_record`. Never automatic. +4. **Reserved repair key** (DECIDED 2): `ComposeNote` refuses a `constraint` text with a `repair` + field (beside v2 2.7). Omega stays at 62b6a28; no new omega note kind. +5. **Reconcile-failed refusal (new rule, G4).** If the start-up reconcile panics or returns an + error (`Reconcile: failed:` or `Reconcile: refused:` or `Reconcile: unexpected`), the daemon + keeps serving but every **effect command** (the intent and the ack of `aien compose execute`) + is refused `EFFECT_REFUSED ReconcileFailed`, until an operator `aien compose reconcile` + (without `--declare`) succeeds in this daemon. Authorize, stop, resume, revoke, recall, + effects, recover and reconcile stay available. The start line says so: + `…; effect commands refuse until a successful reconcile (aien compose reconcile)`. +6. **Fault hook** (test build only, feature `fault-hold`, now forwarded to aien-runtime): + `AIEN_FAULT_HOLD=reconcile_panic` in the daemon's environment makes the start-up reconcile + panic inside its `spawn_blocking` task, i.e. exactly the `unwrap_or_else` path of G4. The + default build has no fault code (checked: `reconcile_panic` absent from the release binary). + +Not claimed: tamper resistance. The mark's sha256 is unkeyed; rewriting journal and mark +together, deleting the mark (adopted and reported, not refused), or rolling back compose dir and +mark together are not detected (declared NOT_PROVED, section 6). + +## 3. Rules for every run + +R1..R5 of ACCEPTANCE-v2 section 3 unchanged. New: + +- **R6 no false corruption report.** In every control and every row C1..C5, C8, no daemon start + line, recall or execute answer contains `E_MARK`. + +## 4. Fixture, builds, controls (supersede v2 section 4 where named) + +- **Builds** as v2 (`gpu`, `cpu-fault`), same source commit, both recorded with sha256 and the + build environment: `AIEN_OMEGA_COMPOSE_DIR` (omega checkout at 62b6a28), `AIEN_PHYSICS_DIR` + (physics at omega's `physics.lock`), `AIEN_AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-repo` + (holds omega's `aienos.lock`), `gpu` also `AIEN_OMEGA_GPU_LIB` (prebuilt `libomega_gpu.a` + from omega 62b6a28). The receipt records proof that the real compose library is linked in + both builds (marker strings of `librx_compose.a` in the binary) and the GPU engine in `gpu`. +- **Fixture F0v3**: v2's F0 procedure on the new `gpu` build with the NEXT-PHASE-1 v5 frozen model + (Llama-3.2-1B-Instruct snapshot 5a8abab, `AIEN_COMPOSE_MAX_TOKENS=96`), inside one quietlock + hold of at most 20 minutes with start and release whispers, only when + `~/workspace/.spark-quiet` is absent. F0v3 is valid only if S3 committed. + **Fallback (pre-registered):** if F0v3 cannot run or is not valid, the cases run on F0v2 + (`np2-fix`, files sha256 `3e4e26ef…eaf8` re-checked before use), the C3 control row is NOT_RUN, + and each case's first start adopts the mark (expected, reported, scored by R6 only for + `E_MARK`). +- **F0v2 is also the old-install input of C8a** (written by sovereign-core b1cf3be, which has no + mark code; files sha re-checked before use). +- Every run copies `compose.cortex-mark` with the compose dir when it exists, and includes it in + the home hashes (C3a) and in the pre-damage copy (C6). +- Controls: v2 control (once per case family) for C1, C2, C4, C5, C6, C7, C8. +- **Repetitions:** 3 per injected row, except C6i: exactly once (DECIDED 4). + +## 5. The rows (supersede v2 section 5 for the rows named; others unchanged) + +| Row | Injection (exact) | PASS iff (rules R1..R6 also hold) | +|-----|-------------------|-----------------------------------| +| C2a (rule frozen, G1) | as v2 | executor refuses, no write, no intent; host-record count unchanged across the restart; `records_total` after the restart = before the kill + 5, and records before+1 .. before+5 are exactly class 1, kind 65538, subjects {1,2,3,4,5} once each (G1); after restart the same authorization executes once to DONE | +| C6c | as v2 (cut `cortex.cx` at the boundary before the last record, which is grant A2) | start line `Reconcile: refused` and `recall` refused, both naming `E_MARK_TRUNCATED`; execute A2 refused; no write; `cortex.cx` and `compose.cortex-mark` byte-identical to their damaged-state copies after the case | +| C6c-ctl (control, crash between append and mark update) | copy `compose.cortex-mark` just before `authorize A2`; after the daemon stops, put that copy back (the on-disk state of a process that died after the A2 append and before its mark update; simulated, not a real kill) | NOT reported as corruption: the home opens, the start log has `record mark advanced M->M+1`, recall ok, no `E_MARK` anywhere, execute A2 reaches DONE once | +| C6d (guarded, DECIDED 3) | if `jspace.data` is non-empty or `spill_end` (meta offset 48) > 0: truncate `jspace.data` to `spill_end - 1` bytes (or by 1 byte if `spill_end` is 0) and score by the v2 C6 rule. Otherwise run the same case uninjected and record NOT_APPLICABLE; at the end of the case the harness asserts `jspace.data` is still 0 bytes, and if it is not, it stops the daemon, applies the truncation, restarts and scores the C6 rule on a fresh grant A3 | NOT_APPLICABLE is a row result, never PASS, listed as such in the verdict. Injected: the v2 C6 rule | +| C6i (once, DECIDED 4) | delete `jspace/jspace.meta` (daemon stopped) | the v2 C6 rule, and after the case `jspace.meta` is still absent (no silent re-creation) and `cortex.cx` is byte-identical to its pre-damage copy apart from appended records | +| C6a, C6b, C6e, C6f, C6g, C6h | as v2 | as v2; plus `compose.cortex-mark` unchanged by a refused start | +| C7a reconcile forced to fail | daemon started with `AIEN_FAULT_HOLD=reconcile_panic` on a home with history; then: authorize A1, execute A1, `aien compose reconcile`, execute A1, shutdown, restart without the hook | start line `Reconcile: failed:` naming the refusal of effect commands; daemon serves (socket up); authorize answers; first execute refused `ReconcileFailed`, no intent, no write; the reconcile answers ok; second execute DONE once; restart line normal (`checked 0`) | +| C7b reconcile refused, then recover | C6c's injection; start (expect `Reconcile: refused … E_MARK_TRUNCATED`); `aien compose recover`; authorize A3; execute A3; `aien compose reconcile`; execute A3 | recover answers `mark_lost` = 1 and `mark_kept_as` = an existing `.cortex-mark.lost-` file byte-identical to the damaged-state mark; a host constraint record with `"repair":"cortex-mark"` and `"lost":1` exists; first execute A3 refused `ReconcileFailed` with no write; reconcile ok; second execute A3 DONE once | +| C8a mark adoption, old install | the case runs on a copy of F0v2 (no mark file): start, recall, shutdown, start, recall | first start log has exactly one `mark adopted (seq 1, records R)` line; a 128-byte `compose.cortex-mark` then exists; the home opens and recall is ok; the second start has no adoption or advance line; no `E_MARK` | +| C8b mark deleted on a v3 home | after the control steps (A1 DONE), stop, delete `compose.cortex-mark`, start, recall, execute A1 | the start log has exactly one `mark adopted` line; recall ok; the re-execute is refused `AlreadySpent` (ledger intact); no `E_MARK` | + +C6c note: the v2 C6c row was FAIL; the injection is unchanged, only the expected outcome is new. + +## 6. Verdicts (supersede v2 section 6) + +- Row verdict: PASS, FAIL, NOT_RUN (could not be injected, or its control failed), + NOT_APPLICABLE (only C6d, only through its guard), UNVERIFIED (a row whose reading would need a + rule written after the run). None of NOT_RUN, NOT_APPLICABLE, UNVERIFIED is PASS. +- Campaign PASS = every row of v2 section 5 that this file does not replace, every row of + section 5 here, and the C3 control, PASS; C6d PASS or NOT_APPLICABLE (named in the verdict and + not counted as a pass); F0 valid. +- Declared NOT_PROVED (not rows): the five of v2, plus: tamper resistance of the record mark + (journal and mark rewritten together, mark deleted then journal cut, compose dir and mark + rolled back together); a real process kill between an append and its mark update (C6c-ctl + reproduces the on-disk state only); J-Space spill damage while compose never spills (C6d). +- Receipt: v2 format, `acceptance_spec` = this file, plus `build_env` (the variables above) and + `link_proof`; named by its sha256, never edited, indexed, `.summary.txt` beside it, and a + `VERDICT-v3.md` written after the run. From d3e597cc19cc7de9bb33ee631aa6bbfc94709f26 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 12:06:30 -0500 Subject: [PATCH 2/7] NEXT-PHASE-2 v3: external Cortex record mark, reconcile-failed refusal ACCEPTANCE-v3 section 2: - cortex_mark: .cortex-mark (128 bytes, tmp+sync+rename+dir sync), load check (E_MARK, E_MARK_TRUNCATED, E_MARK_DIGEST), advance after the open, every home command and every composition run; a missing mark is adopted and reported, never refused. - recover: sets an out-of-date or damaged mark aside as .lost- (.lost-damaged), writes a fresh mark and appends one constraint note {"repair":"cortex-mark",...}; report gains mark_lost, mark_kept_as, mark_repair_record. - reserved key: ComposeNote refuses a constraint text with a "repair" field. - reconcile-failed gate: a failed, refused or unexpected start-up reconcile makes intent and ack refuse EFFECT_REFUSED ReconcileFailed until an operator reconcile (no declare) succeeds. - fault-hold feature forwarded to aien-runtime; reconcile_panic hook only in that build. Co-Authored-By: Claude Opus 5.5 --- crates/aien-cli/Cargo.toml | 2 +- crates/aien-runtime/Cargo.toml | 5 + crates/aien-runtime/src/control.rs | 9 + crates/aien-runtime/src/cortex_mark.rs | 404 ++++++++++++++++++ crates/aien-runtime/src/effects.rs | 53 ++- crates/aien-runtime/src/lib.rs | 1 + crates/aien-runtime/src/server.rs | 20 +- crates/aien-runtime/src/spine.rs | 277 ++++++++++-- crates/aien-runtime/tests/cortex_mark_test.rs | 247 +++++++++++ 9 files changed, 987 insertions(+), 31 deletions(-) create mode 100644 crates/aien-runtime/src/cortex_mark.rs create mode 100644 crates/aien-runtime/tests/cortex_mark_test.rs diff --git a/crates/aien-cli/Cargo.toml b/crates/aien-cli/Cargo.toml index b146980b..3638d14f 100644 --- a/crates/aien-cli/Cargo.toml +++ b/crates/aien-cli/Cargo.toml @@ -28,7 +28,7 @@ aien-runtime = { path = "../aien-runtime" } [features] # NEXT-PHASE-2 fault harness only: named hold points in `aien compose execute`. -fault-hold = [] +fault-hold = ["aien-runtime/fault-hold"] [dev-dependencies] tempfile = "3.10" diff --git a/crates/aien-runtime/Cargo.toml b/crates/aien-runtime/Cargo.toml index 596ae00a..49adba9b 100644 --- a/crates/aien-runtime/Cargo.toml +++ b/crates/aien-runtime/Cargo.toml @@ -28,5 +28,10 @@ async-trait = "0.1" libc = "0.2" thiserror = "1.0" +[features] +# NEXT-PHASE-2 fault harness only (ACCEPTANCE-v3 2.6): forced start-up +# reconcile failure. Enabled through aien-cli's `fault-hold`. +fault-hold = [] + [dev-dependencies] tempfile = "3.10" diff --git a/crates/aien-runtime/src/control.rs b/crates/aien-runtime/src/control.rs index 901771d9..35086a2e 100644 --- a/crates/aien-runtime/src/control.rs +++ b/crates/aien-runtime/src/control.rs @@ -431,6 +431,15 @@ pub struct ComposeRecoverReport { pub open_rc: i32, pub rolled_back: u32, pub recovered_completed: u32, + /// ACCEPTANCE-v3 2.3: records the set-aside record mark said were lost + /// (0 = the mark was kept or only damaged), where it was kept, and the + /// host constraint record that names the repair (0 = none). + #[serde(default)] + pub mark_lost: u64, + #[serde(default)] + pub mark_kept_as: Option, + #[serde(default)] + pub mark_repair_record: u64, } /// One unsettled effect as `ComposeReconcile` left it. diff --git a/crates/aien-runtime/src/cortex_mark.rs b/crates/aien-runtime/src/cortex_mark.rs new file mode 100644 index 00000000..1f874ce8 --- /dev/null +++ b/crates/aien-runtime/src/cortex_mark.rs @@ -0,0 +1,404 @@ +//! External Cortex record mark (NEXT-PHASE-2 ACCEPTANCE-v3 section 2.1-2.3). +//! +//! The Cortex journal header carries no record count, and the J-Space anchor +//! moves only at composition commits, so a journal cut exactly at a record +//! boundary that drops only host records opens as if intact (VERDICT-v2 C6c). +//! The mark is kept OUTSIDE the compose dir (`.cortex-mark`, beside the +//! machine root), written only after an append returned, and checked when the +//! home opens: a journal shorter than its mark is refused, never repaired. +//! +//! Layout (128 bytes, little-endian): `"AIENCXM1"` | u32 version 1 | u32 0 | +//! machine id (32) | u64 seq | u64 records | digest of record #records (32, +//! zeros when records = 0) | sha256 of the first 96 bytes. +//! +//! Limits (declared NOT_PROVED): the sha256 is unkeyed, so rewriting journal +//! and mark together, deleting the mark (adopted and reported), or rolling the +//! compose dir and the mark back together are not detected. +use sha2::{Digest, Sha256}; +use std::fmt; +use std::path::{Path, PathBuf}; + +pub const MARK_LEN: usize = 128; +const MAGIC: &[u8; 8] = b"AIENCXM1"; +const VERSION: u32 = 1; + +/// One record mark: the journal held `records` records, the newest with +/// `digest`, when mark number `seq` was written. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Mark { + pub machine_id: [u8; 32], + pub seq: u64, + pub records: u64, + pub digest: [u8; 32], +} + +impl Mark { + pub fn encode(&self) -> [u8; MARK_LEN] { + let mut b = [0u8; MARK_LEN]; + b[..8].copy_from_slice(MAGIC); + b[8..12].copy_from_slice(&VERSION.to_le_bytes()); + b[16..48].copy_from_slice(&self.machine_id); + b[48..56].copy_from_slice(&self.seq.to_le_bytes()); + b[56..64].copy_from_slice(&self.records.to_le_bytes()); + b[64..96].copy_from_slice(&self.digest); + let h = Sha256::digest(&b[..96]); + b[96..].copy_from_slice(&h); + b + } + + /// The mark in `b`, or why it is damaged. + pub fn decode(b: &[u8]) -> Result { + if b.len() != MARK_LEN { + return Err(format!("{} bytes, expected {MARK_LEN}", b.len())); + } + if &b[..8] != MAGIC { + return Err("bad magic".into()); + } + let version = u32::from_le_bytes(b[8..12].try_into().expect("4 bytes")); + if version != VERSION || b[12..16] != [0u8; 4] { + return Err(format!("unknown version {version}")); + } + if Sha256::digest(&b[..96])[..] != b[96..] { + return Err("checksum does not match".into()); + } + Ok(Mark { + machine_id: b[16..48].try_into().expect("32 bytes"), + seq: u64::from_le_bytes(b[48..56].try_into().expect("8 bytes")), + records: u64::from_le_bytes(b[56..64].try_into().expect("8 bytes")), + digest: b[64..96].try_into().expect("32 bytes"), + }) + } +} + +/// `.cortex-mark`. +pub fn mark_path(dir: &Path) -> PathBuf { + let mut name = dir.as_os_str().to_owned(); + name.push(".cortex-mark"); + PathBuf::from(name) +} + +/// The mark at `path`: `Ok(None)` when there is none, `Err(why)` when the +/// file exists but is not a valid mark. +pub fn read(path: &Path) -> Result, String> { + match std::fs::read(path) { + Ok(b) => Mark::decode(&b) + .map(Some) + .map_err(|why| format!("{}: {why}", path.display())), + Err(e) if e.kind() == std::io::ErrorKind::NotFound => Ok(None), + Err(e) => Err(format!("{}: {e}", path.display())), + } +} + +/// Atomic replace: write `.tmp`, sync it, rename over `path`, sync the +/// parent directory. A failure leaves the previous mark in place. +pub fn write(path: &Path, m: &Mark) -> Result<(), String> { + use std::io::Write; + use std::os::unix::fs::OpenOptionsExt; + let mut tmp = path.as_os_str().to_owned(); + tmp.push(".tmp"); + let tmp = PathBuf::from(tmp); + let res = (|| -> std::io::Result<()> { + let mut f = std::fs::OpenOptions::new() + .write(true) + .create(true) + .truncate(true) + .mode(0o600) + .open(&tmp)?; + f.write_all(&m.encode())?; + f.sync_all()?; + std::fs::rename(&tmp, path)?; + if let Some(p) = path.parent() { + std::fs::File::open(p)?.sync_all()?; + } + Ok(()) + })(); + res.map_err(|e| { + let _ = std::fs::remove_file(&tmp); + format!("write {}: {e}", path.display()) + }) +} + +/// Why a home is refused by its mark. +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum MarkRefusal { + Damaged(String), + Truncated { file: u64, mark: u64, seq: u64 }, + Digest { record: u64, seq: u64 }, +} + +impl fmt::Display for MarkRefusal { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + MarkRefusal::Damaged(why) => write!( + f, + "record mark damaged (E_MARK): {why}. Run RecoverComposeHome (aien compose recover)" + ), + MarkRefusal::Truncated { file, mark, seq } => write!( + f, + "Cortex journal holds {file} records, its record mark says {mark}: {} record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq {seq}). Run RecoverComposeHome (aien compose recover)", + mark - file + ), + MarkRefusal::Digest { record, seq } => write!( + f, + "Cortex record #{record} differs from its record mark (E_MARK_DIGEST, mark seq {seq}). Run RecoverComposeHome (aien compose recover)" + ), + } + } +} + +/// What the open does with the mark, decided before anything is appended. +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Plan { + /// No mark, no journal: a new home; the mark is created after the open. + New, + /// No mark, a journal exists (an install older than the mark, or a + /// deleted mark): adopted and reported, never refused. + Adopt, + /// A mark exists and the journal is at least as long; its record #N + /// digest is checked once the home is open. + Verify(Mark), +} + +/// The count check (ACCEPTANCE-v3 2.2), from the probe count `file_records` +/// that `Compose::open` reports before any append. +pub fn plan( + mark: Option<&Mark>, + machine_id: &[u8; 32], + file_records: u64, + journal_present: bool, +) -> Result { + let Some(m) = mark else { + return Ok(if journal_present || file_records > 0 { + Plan::Adopt + } else { + Plan::New + }); + }; + if &m.machine_id != machine_id { + return Err(MarkRefusal::Damaged( + "the mark names another machine id".into(), + )); + } + if file_records < m.records { + return Err(MarkRefusal::Truncated { + file: file_records, + mark: m.records, + seq: m.seq, + }); + } + Ok(Plan::Verify(m.clone())) +} + +/// The digest check: record #`m.records` as the open home reads it +/// (`None` when it cannot be read). +pub fn check_digest(m: &Mark, at_mark: Option<[u8; 32]>) -> Result<(), MarkRefusal> { + if m.records == 0 { + return Ok(()); + } + if at_mark == Some(m.digest) { + Ok(()) + } else { + Err(MarkRefusal::Digest { + record: m.records, + seq: m.seq, + }) + } +} + +/// The one line the daemon prints for this open, if any (ACCEPTANCE-v3 2.2). +/// `probe` = records before the open appended anything; `written` = the mark +/// written at the end of the open, if one was. +pub fn open_event(plan: &Plan, probe: u64, written: Option<&Mark>) -> Option { + match (plan, written) { + (Plan::New, Some(w)) => Some(format!( + "Cortex mark: mark created for a new home (seq {}, records {})", + w.seq, w.records + )), + (Plan::Adopt, Some(w)) => Some(format!( + "Cortex mark: mark adopted (seq {}, records {}): this home had no record mark; a loss before this start cannot be ruled out", + w.seq, w.records + )), + (Plan::Verify(m), _) if probe > m.records => Some(format!( + "Cortex mark: record mark advanced {}->{} (records written before an interrupted mark update; not corruption)", + m.records, probe + )), + _ => None, + } +} + +/// Where RecoverComposeHome keeps a mark it replaces: `.lost-` +/// (`.lost-damaged` when no seq is known), never over an existing file. +pub fn lost_path(mark: &Path, seq: Option) -> PathBuf { + let tag = seq.map_or_else(|| "damaged".to_string(), |s| s.to_string()); + let mut base = mark.as_os_str().to_owned(); + base.push(format!(".lost-{tag}")); + let base = PathBuf::from(base); + if !base.exists() { + return base; + } + (2u32..) + .map(|i| { + let mut p = base.as_os_str().to_owned(); + p.push(format!("-{i}")); + PathBuf::from(p) + }) + .find(|p| !p.exists()) + .expect("a free name") +} + +#[cfg(test)] +mod tests { + use super::*; + + fn mark(records: u64) -> Mark { + Mark { + machine_id: [7u8; 32], + seq: 4, + records, + digest: [9u8; 32], + } + } + + #[test] + fn round_trip() { + let m = mark(23); + let b = m.encode(); + assert_eq!(b.len(), MARK_LEN); + assert_eq!(&b[..8], b"AIENCXM1"); + assert_eq!(Mark::decode(&b).unwrap(), m); + } + + #[test] + fn damaged_marks_are_named() { + let b = mark(23).encode(); + assert!(Mark::decode(&b[..127]).unwrap_err().contains("127 bytes")); + let mut x = b; + x[0] ^= 1; + assert_eq!(Mark::decode(&x).unwrap_err(), "bad magic"); + let mut x = b; + x[8] = 2; + assert!(Mark::decode(&x).unwrap_err().contains("version")); + for i in [16usize, 50, 60, 70, 100, 127] { + let mut x = b; + x[i] ^= 0x40; + assert!(Mark::decode(&x).is_err(), "flip at {i} accepted"); + } + } + + #[test] + fn plan_every_state() { + let id = [7u8; 32]; + assert_eq!(plan(None, &id, 0, false), Ok(Plan::New)); + assert_eq!(plan(None, &id, 0, true), Ok(Plan::Adopt)); + assert_eq!(plan(None, &id, 17, true), Ok(Plan::Adopt)); + let m = mark(23); + assert_eq!( + plan(Some(&m), &id, 22, true), + Err(MarkRefusal::Truncated { + file: 22, + mark: 23, + seq: 4 + }) + ); + assert_eq!(plan(Some(&m), &id, 23, true), Ok(Plan::Verify(m.clone()))); + assert_eq!(plan(Some(&m), &id, 24, true), Ok(Plan::Verify(m.clone()))); + assert!(matches!( + plan(Some(&m), &[1u8; 32], 23, true), + Err(MarkRefusal::Damaged(_)) + )); + } + + #[test] + fn digest_check() { + let m = mark(23); + assert_eq!(check_digest(&m, Some([9u8; 32])), Ok(())); + assert_eq!( + check_digest(&m, Some([8u8; 32])), + Err(MarkRefusal::Digest { record: 23, seq: 4 }) + ); + assert!(check_digest(&m, None).is_err()); + assert_eq!(check_digest(&mark(0), None), Ok(())); + } + + #[test] + fn refusal_text_names_the_code() { + let t = MarkRefusal::Truncated { + file: 22, + mark: 23, + seq: 4, + } + .to_string(); + assert!(t.contains("holds 22 records") && t.contains("says 23")); + assert!(t.contains("1 record(s) lost") && t.contains("E_MARK_TRUNCATED, mark seq 4")); + assert!(MarkRefusal::Digest { record: 5, seq: 1 } + .to_string() + .contains("E_MARK_DIGEST")); + assert!(MarkRefusal::Damaged("x".into()) + .to_string() + .contains("(E_MARK)")); + } + + #[test] + fn events() { + let w = mark(28); + assert!(open_event(&Plan::Adopt, 17, Some(&w)) + .unwrap() + .contains("mark adopted (seq 4, records 28)")); + assert!(open_event(&Plan::New, 0, Some(&w)) + .unwrap() + .contains("mark created for a new home")); + let m = mark(23); + assert!(open_event(&Plan::Verify(m.clone()), 24, Some(&w)) + .unwrap() + .contains("record mark advanced 23->24")); + assert_eq!(open_event(&Plan::Verify(m), 23, Some(&w)), None); + } + + #[test] + fn write_is_atomic_and_leaves_no_tmp() { + let d = tempfile::tempdir().unwrap(); + let p = mark_path(&d.path().join("compose")); + assert_eq!(read(&p), Ok(None)); + write(&p, &mark(5)).unwrap(); + assert_eq!(read(&p).unwrap(), Some(mark(5))); + write(&p, &mark(6)).unwrap(); + assert_eq!(read(&p).unwrap().unwrap().records, 6); + let names: Vec = std::fs::read_dir(d.path()) + .unwrap() + .map(|e| e.unwrap().file_name().to_string_lossy().into_owned()) + .collect(); + assert_eq!(names, vec!["compose.cortex-mark".to_string()]); + use std::os::unix::fs::PermissionsExt; + let mode = std::fs::metadata(&p).unwrap().permissions().mode() & 0o777; + assert_eq!(mode, 0o600); + std::fs::write(&p, b"short").unwrap(); + assert!(read(&p).unwrap_err().contains("5 bytes")); + } + + #[test] + fn failed_write_keeps_the_old_mark() { + let d = tempfile::tempdir().unwrap(); + let p = mark_path(&d.path().join("compose")); + write(&p, &mark(5)).unwrap(); + // A directory in place of the tmp file makes the write fail. + let mut tmp = p.as_os_str().to_owned(); + tmp.push(".tmp"); + std::fs::create_dir(PathBuf::from(&tmp)).unwrap(); + assert!(write(&p, &mark(6)).is_err()); + assert_eq!(read(&p).unwrap(), Some(mark(5))); + } + + #[test] + fn lost_path_never_overwrites() { + let d = tempfile::tempdir().unwrap(); + let p = mark_path(&d.path().join("compose")); + let a = lost_path(&p, Some(3)); + assert!(a.to_string_lossy().ends_with("compose.cortex-mark.lost-3")); + std::fs::write(&a, b"x").unwrap(); + let b = lost_path(&p, Some(3)); + assert!(b.to_string_lossy().ends_with(".lost-3-2")); + assert!(lost_path(&p, None) + .to_string_lossy() + .ends_with(".lost-damaged")); + } +} diff --git a/crates/aien-runtime/src/effects.rs b/crates/aien-runtime/src/effects.rs index 9c90ce8c..9d0c4302 100644 --- a/crates/aien-runtime/src/effects.rs +++ b/crates/aien-runtime/src/effects.rs @@ -481,6 +481,19 @@ pub fn executor_alive(pid: u32, start: u64) -> bool { pid != 0 && start != 0 && process_start_ticks(pid) == Some(start) } +/// Effect commands refuse while the start-up reconcile has not succeeded +/// (ACCEPTANCE-v3 2.5): `EFFECT_REFUSED ReconcileFailed`. +fn reconcile_gate(b: &ComposeBridge) -> Result<(), String> { + match b.reconcile_failed() { + None => Ok(()), + Some(why) => Err(Refusal::new( + "ReconcileFailed", + format!("the start-up reconcile did not complete ({why}); run aien compose reconcile"), + ) + .to_string()), + } +} + /// ComposeNote may not forge gated records (ACCEPTANCE-v2 2.7). pub fn check_reserved_note(kind: &str, text: &str) -> Result<(), String> { let Ok(v) = serde_json::from_str::(text) else { @@ -494,6 +507,11 @@ pub fn check_reserved_note(kind: &str, text: &str) -> Result<(), String> { "authorization" if v.get("control").is_some() => { Err("ComposeNote: control records are written only by ComposeControl".into()) } + // ACCEPTANCE-v3 2.4: repair records come only from RecoverComposeHome. + "constraint" if v.get("repair").is_some() => Err( + "ComposeNote: constraint records with a \"repair\" field are written only by RecoverComposeHome" + .into(), + ), _ => Ok(()), } } @@ -558,6 +576,9 @@ fn noted(r: Result) -> ControlResponse { /// ComposeEffectIntent: every check of 2.3 and the durable intent, in one /// step under the home lock. The answer's id is the intent. pub fn open_intent(b: &ComposeBridge, req: &IntentRequest) -> ControlResponse { + if let Err(e) = reconcile_gate(b) { + return ControlResponse::Error(e); + } noted(b.with_home(|home| { let l = ledger(home)?; let current = file_sha256(Path::new(&req.target)) @@ -576,6 +597,9 @@ pub fn open_intent(b: &ComposeBridge, req: &IntentRequest) -> ControlResponse { /// ComposeEffectAck: the executor's report after the write. The state is /// read from the world; the executor's own claim is kept beside it. pub fn ack(b: &ComposeBridge, intent: u64, reported: &Value) -> ControlResponse { + if let Err(e) = reconcile_gate(b) { + return ControlResponse::Error(e); + } noted(b.with_home(|home| { let l = ledger(home)?; let row = l @@ -696,7 +720,14 @@ pub fn reconcile( }) }); match r { - Ok(r) => ControlResponse::ComposeReconciled(Box::new(r)), + Ok(r) => { + // A full reconcile that completed lifts the refusal of 2.5; a + // single declaration does not. + if declare.is_none() { + b.clear_reconcile_failed(); + } + ControlResponse::ComposeReconciled(Box::new(r)) + } Err(e) => ControlResponse::Error(e), } } @@ -763,8 +794,18 @@ pub fn control( } } +/// The tail of every start line after which effect commands refuse. +pub const RECONCILE_GATE_NOTE: &str = + "effect commands refuse until a successful reconcile (aien compose reconcile)"; + /// Daemon start: reconcile an existing home once; one line for the log. pub fn reconcile_at_start(b: &ComposeBridge) -> String { + // Test builds only (ACCEPTANCE-v3 2.6): force the failure path of + // server.rs (a panic inside the spawn_blocking task). + #[cfg(feature = "fault-hold")] + if std::env::var("AIEN_FAULT_HOLD").as_deref() == Ok("reconcile_panic") { + panic!("fault hold reconcile_panic: forced start-up reconcile failure (test build)"); + } if !b.dir().join("cortex.cx").exists() { return "Reconcile: no compose home yet".into(); } @@ -787,8 +828,14 @@ pub fn reconcile_at_start(b: &ComposeBridge) -> String { serde_json::to_string(&r.outcomes).unwrap_or_default() ) } - ControlResponse::Error(e) => format!("Reconcile: refused: {e}"), - other => format!("Reconcile: unexpected {other:?}"), + ControlResponse::Error(e) => { + b.set_reconcile_failed(format!("refused: {e}")); + format!("Reconcile: refused: {e}; {RECONCILE_GATE_NOTE}") + } + other => { + b.set_reconcile_failed(format!("unexpected {other:?}")); + format!("Reconcile: unexpected {other:?}; {RECONCILE_GATE_NOTE}") + } } } diff --git a/crates/aien-runtime/src/lib.rs b/crates/aien-runtime/src/lib.rs index b7b7b27f..df644c5b 100644 --- a/crates/aien-runtime/src/lib.rs +++ b/crates/aien-runtime/src/lib.rs @@ -3,6 +3,7 @@ pub mod client; pub mod context; pub mod control; +pub mod cortex_mark; pub mod effects; pub mod rsi; pub mod sequence; diff --git a/crates/aien-runtime/src/server.rs b/crates/aien-runtime/src/server.rs index 34e214f8..875e302b 100644 --- a/crates/aien-runtime/src/server.rs +++ b/crates/aien-runtime/src/server.rs @@ -179,10 +179,24 @@ impl AienRuntimeServer { }; // NEXT-PHASE-2 (ACCEPTANCE-v2 2.4): settle effects a previous process // left open, before serving anything. Reads the world, never re-runs. + // A failed or refused reconcile does not stop the daemon, but every + // effect command refuses until an operator reconcile succeeds + // (ACCEPTANCE-v3 2.5). if let Some(b) = compose.clone() { - let line = tokio::task::spawn_blocking(move || crate::effects::reconcile_at_start(&b)) - .await - .unwrap_or_else(|e| format!("Reconcile: failed: {e}")); + let gate = b.clone(); + let line = + match tokio::task::spawn_blocking(move || crate::effects::reconcile_at_start(&b)) + .await + { + Ok(line) => line, + Err(e) => { + gate.set_reconcile_failed(format!("failed: {e}")); + format!( + "Reconcile: failed: {e}; {}", + crate::effects::RECONCILE_GATE_NOTE + ) + } + }; println!("{line}"); } diff --git a/crates/aien-runtime/src/spine.rs b/crates/aien-runtime/src/spine.rs index 30302e67..1086de79 100644 --- a/crates/aien-runtime/src/spine.rs +++ b/crates/aien-runtime/src/spine.rs @@ -504,6 +504,7 @@ use crate::control::{ ComposeNoteReport, ComposeRecallReport, ComposeRecordView, ComposeRecoverReport, ComposeTaskReport, ProposalAttempt, }; +use crate::cortex_mark::{self, Mark, MarkRefusal, Plan}; use aien_omega_compose::{hex, note_bytes, Compose, ComposeError, NoteKind, RootKind}; use sha2::{Digest, Sha256}; use std::collections::HashMap; @@ -616,6 +617,11 @@ fn refusal(dir: &Path, e: &ComposeError) -> String { format!("compose home {} refused: {why}", dir.display()) } +/// A refusal by the Cortex record mark (ACCEPTANCE-v3 2.2), in the same form. +fn mark_refusal(dir: &Path, r: &MarkRefusal) -> String { + format!("compose home {} refused: {r}", dir.display()) +} + /// One proposed file change: a path relative to the workspace and the /// complete new content. #[derive(Debug, Clone, PartialEq, Eq)] @@ -860,6 +866,47 @@ pub(crate) struct ComposeHome { /// What the model Skill returned per task: the text, or why it gave /// none, and every attempt it made. proposals: Arc>>, + /// The Cortex record mark (ACCEPTANCE-v3 2.1): where it lives, the raw + /// machine id it binds, and the last mark written (or verified). + mark_path: PathBuf, + machine_raw: [u8; 32], + mark: Option, + /// seq of the last mark this home knows of (0 = none yet). + mark_seq: u64, +} + +impl ComposeHome { + /// Write a new record mark when the journal holds more records than the + /// last mark (ACCEPTANCE-v3 2.1). Called only after appends returned, + /// so the mark never runs ahead of the journal. Returns the mark written. + pub(crate) fn advance_mark(&mut self) -> Result, String> { + let n = self + .compose + .info() + .map_err(|e| format!("record mark: info: {e}"))? + .records; + if self.mark.as_ref().is_some_and(|m| m.records >= n) { + return Ok(None); + } + let digest = if n == 0 { + [0u8; 32] + } else { + self.compose + .record(n) + .map_err(|e| format!("record mark: record {n}: {e}"))? + .digest + }; + let m = Mark { + machine_id: self.machine_raw, + seq: self.mark_seq + 1, + records: n, + digest, + }; + cortex_mark::write(&self.mark_path, &m)?; + self.mark_seq = m.seq; + self.mark = Some(m.clone()); + Ok(Some(m)) + } } type SkillOutput = (Result, Vec); @@ -870,6 +917,9 @@ pub struct ComposeBridge { proposer: ComposeProposer, proposer_label: String, home: std::sync::Mutex>, + /// Set when the start-up reconcile failed or was refused (ACCEPTANCE-v3 + /// 2.5): effect commands refuse until an operator reconcile succeeds. + reconcile_failed: std::sync::Mutex>, } impl ComposeBridge { @@ -879,6 +929,7 @@ impl ComposeBridge { proposer, proposer_label: proposer_label.to_string(), home: std::sync::Mutex::new(None), + reconcile_failed: std::sync::Mutex::new(None), } } @@ -887,10 +938,35 @@ impl ComposeBridge { } fn open_home(&self) -> Result { + self.open_home_marked(None) + } + + /// Open the home and check its Cortex record mark (ACCEPTANCE-v3 2.2). + /// `rebuilt_from` = the seq of a mark RecoverComposeHome just set aside: + /// the home then opens without a mark and gets a fresh one. + fn open_home_marked(&self, rebuilt_from: Option) -> Result { let root = machine_root(&self.dir)?; + let mark_path = cortex_mark::mark_path(&self.dir); + let existing = match rebuilt_from { + Some(_) => None, + None => cortex_mark::read(&mark_path) + .map_err(|why| mark_refusal(&self.dir, &MarkRefusal::Damaged(why)))?, + }; + let journal_present = std::fs::metadata(self.dir.join("cortex.cx")) + .map(|m| m.len() > 0) + .unwrap_or(false); + // rxc_host_open appends nothing: `info.records` is the read-only probe + // count, so the count check runs before the open appends anything. let (mut compose, info) = Compose::open(&self.dir, RootKind::Provisioned, &root, 0xA1E4_0001) .map_err(|e: ComposeError| refusal(&self.dir, &e))?; + let plan = cortex_mark::plan( + existing.as_ref(), + &info.machine_id, + info.records, + journal_present, + ) + .map_err(|r| mark_refusal(&self.dir, &r))?; let prompts: Arc>> = Arc::default(); let proposals: Arc>> = Arc::default(); let (pr, pp, proposer) = (prompts.clone(), proposals.clone(), self.proposer.clone()); @@ -926,12 +1002,67 @@ impl ComposeBridge { // Open the composition now, so a home behind its anchor is refused here // with its name (E_REPLAY), not inside the first run. compose.info().map_err(|e| refusal(&self.dir, &e))?; - Ok(ComposeHome { + // The digest check needs the open home (the open appended the five + // start-up records; ACCEPTANCE-v3 G1, G3). + if let Plan::Verify(m) = &plan { + if m.records > 0 { + let at = compose.record(m.records).ok().map(|r| r.digest); + cortex_mark::check_digest(m, at).map_err(|r| mark_refusal(&self.dir, &r))?; + } + } + let mut home = ComposeHome { compose, machine_id: hex(&info.machine_id), prompts, proposals, - }) + mark_path, + machine_raw: info.machine_id, + mark: existing.clone(), + mark_seq: existing + .as_ref() + .map_or(rebuilt_from.unwrap_or(0), |m| m.seq), + }; + let written = home.advance_mark().map_err(|e| { + format!( + "compose home {} refused: record mark update failed (E_MARK_WRITE): {e}", + self.dir.display() + ) + })?; + let event = match rebuilt_from { + Some(_) => written.as_ref().map(|w| { + format!( + "Cortex mark: mark rebuilt by RecoverComposeHome (seq {}, records {})", + w.seq, w.records + ) + }), + None => cortex_mark::open_event(&plan, info.records, written.as_ref()), + }; + if let Some(line) = event { + println!("{line}"); + } + Ok(home) + } + + /// Start-up reconcile failed or was refused: effect commands refuse + /// until an operator reconcile succeeds (ACCEPTANCE-v3 2.5). + pub fn set_reconcile_failed(&self, why: String) { + if let Ok(mut g) = self.reconcile_failed.lock() { + *g = Some(why); + } + } + + /// Why effect commands are refused, if they are. + pub fn reconcile_failed(&self) -> Option { + match self.reconcile_failed.lock() { + Ok(g) => g.clone(), + Err(_) => Some("reconcile state lock poisoned".into()), + } + } + + pub(crate) fn clear_reconcile_failed(&self) { + if let Ok(mut g) = self.reconcile_failed.lock() { + *g = None; + } } /// Blocking: runs inference inside the Skill. Call from a blocking thread. @@ -978,6 +1109,9 @@ impl ComposeBridge { let run = home.compose.run(task, now.as_micros() as u64); home.prompts.lock().remove(&task); let output = home.proposals.lock().remove(&task); + // A run appends whether or not it commits: move the record mark first. + home.advance_mark() + .map_err(|e| format!("compose run: record mark update failed (E_MARK_WRITE): {e}"))?; let r = run.map_err(|e| format!("compose run: {e}"))?; let committed = r.committed == 1; let (out, mut proposal_attempts) = @@ -1035,7 +1169,15 @@ impl ComposeBridge { if guard.is_none() { *guard = Some(self.open_home()?); } - f(guard.as_mut().expect("opened above")) + let home = guard.as_mut().expect("opened above"); + let r = f(home); + // Ok or not, the closure may have appended: the mark follows. + if let Err(e) = home.advance_mark() { + return Err(format!( + "record mark update failed after the operation (E_MARK_WRITE): {e}" + )); + } + r } /// S1 / S4 / S5: one operator record through the composition's writer. @@ -1133,7 +1275,10 @@ impl ComposeBridge { } /// Operator repair: close this process's handle, run rxc_host_recover, - /// reopen lazily on the next command. + /// then check the Cortex record mark (ACCEPTANCE-v3 2.3): a mark that is + /// damaged, ahead of the records kept, or names a different record is + /// kept as `.lost-` (never deleted), the home is reopened with + /// a fresh mark and one host `constraint` record names the repair. pub fn recover(&self) -> ControlResponse { let mut guard = match self.home.lock() { Ok(g) => g, @@ -1144,29 +1289,113 @@ impl ComposeBridge { Ok(r) => r, Err(e) => return ControlResponse::Error(format!("RecoverComposeHome: {e}")), }; - match Compose::recover(&self.dir, RootKind::Provisioned, &root) { - Ok(r) => ControlResponse::ComposeRecovered(Box::new(ComposeRecoverReport { - compose_dir: self.dir.display().to_string(), - repaired: r.repaired == 1, - tail_torn: r.tail_torn == 1, - cause: r.cause, - cut_lo: r.cut_lo, - cut_hi: r.cut_hi, - records_kept: r.records_kept, - dropped_records: r.dropped_records, - anchor_records: r.anchor_records, - repair_record: r.event_id, - cut_bytes_kept: r.cut_bytes_kept, - cut_sha256: hex(&r.cut_sha256), - opens: r.opens == 1, - open_rc: r.open_rc, - rolled_back: r.rolled_back, - recovered_completed: r.recovered_completed, - })), + let mark_path = cortex_mark::mark_path(&self.dir); + let old_mark = cortex_mark::read(&mark_path); + let r = match Compose::recover(&self.dir, RootKind::Provisioned, &root) { + Ok(r) => r, Err(e) => { - ControlResponse::Error(format!("RecoverComposeHome {}: {e}", self.dir.display())) + return ControlResponse::Error(format!( + "RecoverComposeHome {}: {e}", + self.dir.display() + )) + } + }; + let mut report = ComposeRecoverReport { + compose_dir: self.dir.display().to_string(), + repaired: r.repaired == 1, + tail_torn: r.tail_torn == 1, + cause: r.cause, + cut_lo: r.cut_lo, + cut_hi: r.cut_hi, + records_kept: r.records_kept, + dropped_records: r.dropped_records, + anchor_records: r.anchor_records, + repair_record: r.event_id, + cut_bytes_kept: r.cut_bytes_kept, + cut_sha256: hex(&r.cut_sha256), + opens: r.opens == 1, + open_rc: r.open_rc, + rolled_back: r.rolled_back, + recovered_completed: r.recovered_completed, + mark_lost: 0, + mark_kept_as: None, + mark_repair_record: 0, + }; + // (old mark if readable, records lost, why) when the mark must go. + let set_aside: Option<(Option, u64, &str)> = match old_mark { + Err(_) => Some((None, 0, "damaged")), + Ok(None) => None, + Ok(Some(m)) if m.records > r.records_kept => { + let lost = m.records - r.records_kept; + Some((Some(m), lost, "ahead of the journal")) } + Ok(Some(m)) => match self.open_home() { + Ok(home) => { + *guard = Some(home); + None + } + Err(e) if e.contains("E_MARK_DIGEST") => { + Some((Some(m), 0, "names a different record")) + } + // Refused for another reason: reported as before, mark kept. + Err(_) => None, + }, + }; + let Some((old, lost, why)) = set_aside else { + return ControlResponse::ComposeRecovered(Box::new(report)); + }; + let old_seq = old.as_ref().map(|m| m.seq); + let kept_as = cortex_mark::lost_path(&mark_path, old_seq); + if let Err(e) = std::fs::rename(&mark_path, &kept_as) { + return ControlResponse::Error(format!( + "RecoverComposeHome: keep the record mark as {}: {e}", + kept_as.display() + )); + } + let mut home = match self.open_home_marked(Some(old_seq.unwrap_or(0))) { + Ok(h) => h, + Err(e) => { + return ControlResponse::Error(format!( + "RecoverComposeHome: record mark kept as {}; the home still refuses: {e}", + kept_as.display() + )) + } + }; + let text = serde_json::json!({ + "repair": "cortex-mark", + "why": why, + "mark_records": old.as_ref().map(|m| m.records), + "journal_records": r.records_kept, + "lost": lost, + "old_seq": old_seq, + "old_digest": old.as_ref().map(|m| hex(&m.digest)), + "kept_as": kept_as.display().to_string(), + }) + .to_string(); + let id = match home + .compose + .note(NoteKind::Constraint, [0; 4], text.as_bytes()) + .and_then(|id| home.compose.record(id).map(|_| id)) + { + Ok(id) => id, + Err(e) => { + return ControlResponse::Error(format!( + "RecoverComposeHome: record mark kept as {}; repair record failed: {e}", + kept_as.display() + )) + } + }; + if let Err(e) = home.advance_mark() { + return ControlResponse::Error(format!( + "RecoverComposeHome: repair record #{id} written; record mark update failed (E_MARK_WRITE): {e}" + )); } + report.opens = true; + report.mark_lost = lost; + report.mark_kept_as = Some(kept_as.display().to_string()); + report.mark_repair_record = id; + *guard = Some(home); + ControlResponse::ComposeRecovered(Box::new(report)) } /// Recall: the Cortex record by id, digest re-checked (cut 2 uses this diff --git a/crates/aien-runtime/tests/cortex_mark_test.rs b/crates/aien-runtime/tests/cortex_mark_test.rs new file mode 100644 index 00000000..6ed480e1 --- /dev/null +++ b/crates/aien-runtime/tests/cortex_mark_test.rs @@ -0,0 +1,247 @@ +//! NEXT-PHASE-2 v3: the external Cortex record mark, RecoverComposeHome +//! keeping the old mark, the reserved repair key, and the reconcile-failed +//! refusal, through the real compose home (ACCEPTANCE-v3 section 2). +//! +//! With librx_compose.a linked this drives the bridge as the daemon does (no +//! socket); in a stub build it only checks the refusal. +use aien_runtime::control::{ComposeNoteReport, ControlResponse}; +use aien_runtime::cortex_mark::{self, Mark}; +use aien_runtime::effects::{self, IntentRequest}; +use aien_runtime::spine::{ComposeBridge, ComposeProposer, Generation}; +use serde_json::{json, Value}; +use std::path::{Path, PathBuf}; +use std::sync::{Arc, Mutex, MutexGuard}; + +/// rxc_host allows 4 open handles per process (RXC_HOST_MAX_HANDLES): the +/// tests that open homes run one at a time. +static SERIAL: Mutex<()> = Mutex::new(()); + +fn serial() -> MutexGuard<'static, ()> { + SERIAL.lock().unwrap_or_else(|e| e.into_inner()) +} + +fn proposer() -> ComposeProposer { + Arc::new(|_prompt: &str, _limit: std::time::Duration| { + Ok(Generation { + text: "filename: NOTES.md\nnote\n".into(), + tokens: 4, + finish_reason: Some("eos".into()), + }) + }) +} + +fn noted(r: ControlResponse) -> ComposeNoteReport { + match r { + ControlResponse::ComposeNoted(n) => n, + other => panic!("expected ComposeNoted, got {other:?}"), + } +} + +fn total(b: &ComposeBridge) -> u64 { + match b.recall(&[], None) { + ControlResponse::ComposeRecalled(r) => r.records_total, + other => panic!("recall: {other:?}"), + } +} + +fn recall_error(b: &ComposeBridge) -> String { + match b.recall(&[], None) { + ControlResponse::Error(e) => e, + other => panic!("expected a refusal, got {other:?}"), + } +} + +fn mark_of(home: &Path) -> Mark { + cortex_mark::read(&cortex_mark::mark_path(home)) + .unwrap() + .expect("mark present") +} + +fn grant(b: &ComposeBridge, n: u32) -> u64 { + noted(b.note( + "authorization", + &json!({"approver": "drake", "n": n}).to_string(), + &[], + )) + .id +} + +/// A home with history; returns (tempdir, home dir, records after setup). +fn setup() -> Option<(tempfile::TempDir, PathBuf)> { + let tmp = tempfile::tempdir().unwrap(); + let home = tmp.path().join("compose"); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + let r = b.note("constraint", "keep changes inside the workspace", &[]); + if !aien_omega_compose::LINKED { + assert!(matches!(r, ControlResponse::Error(_))); + return None; + } + noted(r); + // New home: a mark exists and matches the journal. + let n = total(&b); + let m = mark_of(&home); + assert_eq!(m.records, n); + assert!(m.seq >= 1); + Some((tmp, home)) +} + +#[test] +fn boundary_cut_is_refused_and_recover_keeps_the_old_mark() { + let _serial = serial(); + let Some((_tmp, home)) = setup() else { return }; + let cx = home.join("cortex.cx"); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + grant(&b, 1); + let size_before_a2 = std::fs::metadata(&cx).unwrap().len(); + grant(&b, 2); + let m = mark_of(&home); + assert_eq!(m.records, total(&b)); + drop(b); + + // Cut exactly at the record boundary before grant 2. + let f = std::fs::OpenOptions::new().write(true).open(&cx).unwrap(); + f.set_len(size_before_a2).unwrap(); + drop(f); + let damaged = std::fs::read(&cx).unwrap(); + let mark_bytes = std::fs::read(cortex_mark::mark_path(&home)).unwrap(); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + let e = recall_error(&b); + assert!(e.contains("E_MARK_TRUNCATED"), "{e}"); + assert!(e.contains("1 record(s) lost"), "{e}"); + // A refusal touches nothing. + assert_eq!(std::fs::read(&cx).unwrap(), damaged); + assert_eq!( + std::fs::read(cortex_mark::mark_path(&home)).unwrap(), + mark_bytes + ); + + // Recover: the old mark is kept, a repair record names the loss. + let rep = match b.recover() { + ControlResponse::ComposeRecovered(r) => *r, + other => panic!("recover: {other:?}"), + }; + assert_eq!(rep.mark_lost, 1, "{rep:?}"); + let kept = PathBuf::from(rep.mark_kept_as.clone().unwrap()); + assert!(kept + .to_string_lossy() + .ends_with(&format!(".cortex-mark.lost-{}", m.seq))); + assert_eq!(std::fs::read(&kept).unwrap(), mark_bytes); + assert!(rep.mark_repair_record > 0); + let r = match b.recall(&[rep.mark_repair_record], None) { + ControlResponse::ComposeRecalled(r) => *r, + other => panic!("recall after recover: {other:?}"), + }; + let t: Value = serde_json::from_str(r.cited[0].text.as_deref().unwrap()).unwrap(); + assert_eq!(t["repair"], "cortex-mark"); + assert_eq!(t["lost"], 1); + assert_eq!(r.cited[0].note.as_deref(), Some("constraint")); + let fresh = mark_of(&home); + assert_eq!(fresh.records, r.records_total); + assert!(fresh.seq > m.seq); + drop(b); + // Opens again cleanly. + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + total(&b); +} + +#[test] +fn crash_between_append_and_mark_is_not_corruption() { + let _serial = serial(); + let Some((_tmp, home)) = setup() else { return }; + let mp = cortex_mark::mark_path(&home); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + total(&b); + let before = std::fs::read(&mp).unwrap(); + let m0 = mark_of(&home); + grant(&b, 1); + drop(b); + // The on-disk state of a process killed after the append, before its + // mark update: the journal is one record longer than the mark. + std::fs::write(&mp, &before).unwrap(); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + let n = total(&b); + let m1 = mark_of(&home); + assert_eq!(m1.records, n); + assert!(m1.seq > m0.seq); +} + +#[test] +fn digest_mismatch_and_damaged_mark_are_refused() { + let _serial = serial(); + let Some((_tmp, home)) = setup() else { return }; + let mp = cortex_mark::mark_path(&home); + let mut m = mark_of(&home); + m.digest = [0x5a; 32]; + cortex_mark::write(&mp, &m).unwrap(); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + let e = recall_error(&b); + assert!(e.contains("E_MARK_DIGEST"), "{e}"); + drop(b); + + std::fs::write(&mp, b"not a mark").unwrap(); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + let e = recall_error(&b); + assert!(e.contains("(E_MARK)"), "{e}"); + let rep = match b.recover() { + ControlResponse::ComposeRecovered(r) => *r, + other => panic!("recover: {other:?}"), + }; + let kept = rep.mark_kept_as.unwrap(); + assert!(kept.ends_with(".cortex-mark.lost-damaged"), "{kept}"); + assert_eq!(std::fs::read(&kept).unwrap(), b"not a mark"); + total(&b); +} + +#[test] +fn missing_mark_is_adopted_not_refused() { + let _serial = serial(); + let Some((_tmp, home)) = setup() else { return }; + let mp = cortex_mark::mark_path(&home); + std::fs::remove_file(&mp).unwrap(); + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + let n = total(&b); + let m = mark_of(&home); + assert_eq!((m.records, m.seq), (n, 1)); +} + +#[test] +fn repair_key_is_reserved() { + assert!(effects::check_reserved_note("constraint", r#"{"repair":"cortex-mark"}"#).is_err()); + assert!(effects::check_reserved_note("constraint", r#"{"note":"x"}"#).is_ok()); + assert!(effects::check_reserved_note("constraint", "plain text").is_ok()); +} + +#[test] +fn effect_commands_refuse_until_reconcile_succeeds() { + let _serial = serial(); + let Some((tmp, home)) = setup() else { return }; + let b = ComposeBridge::new(home.clone(), proposer(), "test"); + b.set_reconcile_failed("failed: test".into()); + let req = IntentRequest { + authorization: 1, + proposal_sha256: "00".into(), + path: "NOTES.md".into(), + target: tmp.path().join("NOTES.md").display().to_string(), + content_sha256: "00".into(), + executor_pid: 0, + executor_start: 0, + }; + let refused = |r: ControlResponse| match r { + ControlResponse::Error(e) => e, + other => panic!("expected an error, got {other:?}"), + }; + let e = refused(effects::open_intent(&b, &req)); + assert!(e.starts_with("EFFECT_REFUSED ReconcileFailed:"), "{e}"); + let e = refused(effects::ack(&b, 1, &json!({}))); + assert!(e.starts_with("EFFECT_REFUSED ReconcileFailed:"), "{e}"); + // Authorize and recall stay available. + grant(&b, 1); + total(&b); + assert!(matches!( + effects::reconcile(&b, None, "test"), + ControlResponse::ComposeReconciled(_) + )); + assert_eq!(b.reconcile_failed(), None); + let e = refused(effects::open_intent(&b, &req)); + assert!(!e.contains("ReconcileFailed"), "{e}"); +} From 3fa00e43031be06de70fef4f50baff6faef0985a Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 12:06:39 -0500 Subject: [PATCH 3/7] NEXT-PHASE-2 v3 harness: mark in copies and hashes, C2a G1 rule, C6c/C6c-ctl/C6d guard/C6i, C7a/C7b, C8a/C8b, R6 run-faults.sh: copies and hashes compose.cortex-mark with the home; E_MARK counts as a named refusal; C2a scores the frozen G1 rule (records_total +5, the 5 start-up records by id); C6c expects E_MARK_TRUNCATED and an untouched journal and mark; C6c-ctl puts back the mark from before A2; C6d guard with end-of-case assert and late injection on grant A3; C6i runs exactly once; C7a (reconcile_panic hook), C7b (recover, then reconcile); C8a on F0v2 (files sha re-checked), C8b deleted mark; R6 on controls, C1..C5, C6c-ctl, C7a, C8; controls for C7 and C8. make-receipt.sh: ACCEPTANCE-v3 scoring (C6d NOT_APPLICABLE named and not counted, C3 control NOT_RUN on the pre-registered F0v2 fallback), build_env, link_proof, new NOT_PROVED items. Co-Authored-By: Claude Opus 5.5 --- docs/campaigns/next-phase-2/make-receipt.sh | 52 +++- docs/campaigns/next-phase-2/run-faults.sh | 306 +++++++++++++++++--- 2 files changed, 297 insertions(+), 61 deletions(-) diff --git a/docs/campaigns/next-phase-2/make-receipt.sh b/docs/campaigns/next-phase-2/make-receipt.sh index b6deec01..4d78eba8 100755 --- a/docs/campaigns/next-phase-2/make-receipt.sh +++ b/docs/campaigns/next-phase-2/make-receipt.sh @@ -1,14 +1,21 @@ #!/usr/bin/env bash -# NEXT-PHASE-2 receipt (ACCEPTANCE-v2 section 6) from one fixture F0 and one -# `run-faults.sh cases` run root. Shell + jq only. Usage: -# make-receipt.sh FIX_ROOT RUN_ROOT OUT_DIR SC_COMMIT OMEGA_COMPOSE_COMMIT GPU_BIN CPU_BIN [NOTE] +# NEXT-PHASE-2 receipt (ACCEPTANCE-v3 section 6, superseding v2 section 6) from +# one fixture F0 and one `run-faults.sh cases` run root. Shell + jq only. Usage: +# make-receipt.sh FIX_ROOT RUN_ROOT OUT_DIR SC_COMMIT OMEGA_COMPOSE_COMMIT GPU_BIN CPU_BIN \ +# BUILD_ENV_JSON LINK_PROOF_JSON [NOTE] +# FIXTURE_KIND=F0v3 (default) or F0v2-fallback (ACCEPTANCE-v3 section 4: the C3 +# control is then NOT_RUN). FIX_OLD = the F0v2 root used by C8a (recorded). # Writes OUT_DIR/.json (never edited afterwards), appends one # line to OUT_DIR/INDEX.md, writes OUT_DIR/.summary.txt, prints it. # Row verdicts: a row PASSes only if every repetition PASSes and its uninjected # control passed; a failed control or a variant that could not be injected is -# NOT_RUN; NOT_RUN is never PASS. +# NOT_RUN; NOT_RUN is never PASS. C6d may be NOT_APPLICABLE (its guard), which +# is named in the verdict and never counted as a PASS. set -eu -FIX=$1 R=$2 OUT=$3 SC=$4 OMC=$5 GPU=$6 CPU=$7 NOTE=${8:-} +FIX=$1 R=$2 OUT=$3 SC=$4 OMC=$5 GPU=$6 CPU=$7 BENV=$8 LPROOF=$9 NOTE=${10:-} +KIND=${FIXTURE_KIND:-F0v3} +old=null +if [ -n "${FIX_OLD:-}" ]; then old=$(jq -c '{sha256:.files_sha256, s3_committed, machine_id, backend}' "$FIX_OLD/fixture.json"); fi mkdir -p "$OUT" sha() { sha256sum "$1" | cut -d' ' -f1; } fixture=$(jq -c --arg fj "$(sha "$FIX/fixture.json")" --arg s3 "$(sha "$FIX/steps/S3.json")" \ @@ -18,33 +25,42 @@ fixture=$(jq -c --arg fj "$(sha "$FIX/fixture.json")" --arg s3 "$(sha "$FIX/step "$FIX/fixture.json") tmp=$(mktemp "$OUT/.receipt.XXXXXX") jq -n --slurpfile runs "$R/results.jsonl" --argjson fixture "$fixture" --arg sc "$SC" --arg omc "$OMC" \ - --arg gpu "$(sha "$GPU")" --arg cpu "$(sha "$CPU")" --arg note "$NOTE" ' + --arg gpu "$(sha "$GPU")" --arg cpu "$(sha "$CPU")" --arg note "$NOTE" --arg kind "$KIND" \ + --argjson old "$old" --slurpfile benv "$BENV" --slurpfile lproof "$LPROOF" ' def control_of($row): if ($row | startswith("C3")) then "F0" else "control-" + ($row | capture("^(?C[0-9])").c) end; ($runs | map(select(.row | startswith("control-")))) as $controls | ($fixture.s3_committed == true) as $f0 | (($fixture.backend // "") | test("OmegaGb10Backend")) as $c3ok | [ "C1a","C1b","C2a","C2b","C2c","C2d","C3a","C3b","C4","C5a","C5b","C5c", - "C6a","C6b","C6c","C6d","C6e","C6f","C6g","C6h" ] as $order + "C6a","C6b","C6c","C6c-ctl","C6d","C6e","C6f","C6g","C6h","C6i", + "C7a","C7b","C8a","C8b" ] as $order | ($order | map(. as $row | ($runs | map(select(.row == $row))) as $reps | (control_of($row)) as $c | (if $c == "F0" then $f0 else ($controls | map(select(.row == $c)) | (length > 0 and all(.verdict == "PASS"))) end) as $cok | {row:$row, control:$c, control_pass:$cok, reps:($reps | length), verdict:(if ($reps | length) == 0 or ($cok | not) or ($reps | any(.verdict == "NOT_RUN")) then "NOT_RUN" - elif ($reps | all(.verdict == "PASS")) then "PASS" else "FAIL" end), + elif ($reps | all(.verdict == "PASS")) then "PASS" + elif $row == "C6d" and ($reps | all(.verdict == "PASS" or .verdict == "NOT_APPLICABLE")) then "NOT_APPLICABLE" + else "FAIL" end), outcomes:($reps | map(.outcome) | unique)})) as $rowv | ($rowv + [{row:"C3 control", control:"F0", control_pass:$f0, reps:1, - verdict:(if $f0 and $c3ok then "PASS" else "FAIL" end), - outcomes:["gpu daemon with AIEN_REQUIRE_BLACKWELL=1: " + ($fixture.backend // "none")]}]) as $all + verdict:(if $kind != "F0v3" then "NOT_RUN" elif $f0 and $c3ok then "PASS" else "FAIL" end), + outcomes:[(if $kind != "F0v3" then "fixture " + $kind + " (pre-registered fallback): " else "" end) + + "gpu daemon with AIEN_REQUIRE_BLACKWELL=1: " + ($fixture.backend // "none")]}]) as $all | { gate:"NEXT_PHASE_2", commit:$sc, omega_compose_commit:$omc, - acceptance_spec:"docs/campaigns/next-phase-2/ACCEPTANCE-v2.md spec_version 2", + acceptance_spec:"docs/campaigns/next-phase-2/ACCEPTANCE-v3.md spec_version 3 (amends ACCEPTANCE-v2.md)", builds:[{name:"gpu", sha256:$gpu}, {name:"cpu-fault", sha256:$cpu}], - fixture:$fixture, - verdict:(if $f0 and ($all | all(.verdict == "PASS")) then "PASS" else "FAIL" end), + build_env:$benv[0], + link_proof:$lproof[0], + fixture:($fixture + {kind:$kind}), + old_install_fixture_c8a:$old, + verdict:(if $f0 and ($all | all(.verdict == "PASS" or (.row == "C6d" and .verdict == "NOT_APPLICABLE"))) then "PASS" else "FAIL" end), + not_applicable:($all | map(select(.verdict == "NOT_APPLICABLE") | .row)), row_verdicts:$all, controls:($controls | map({row, rep, injected_at, outcome, verdict, checks, evidence_digests})), rows:($runs | map(select(.row | startswith("control-") | not)) @@ -54,7 +70,10 @@ jq -n --slurpfile runs "$R/results.jsonl" --argjson fixture "$fixture" --arg sc "omega in-settle crash hooks (A12)", "caproot revoke on the effect path (A11)", "Cortex and J-Space rolled back together (omega known limit)", - "torn writes below the file level"], + "torn writes below the file level", + "tamper resistance of the record mark (journal and mark rewritten together, mark deleted then journal cut, compose dir and mark rolled back together)", + "a real process kill between an append and its mark update (C6c-ctl reproduces the on-disk state only)", + "J-Space spill damage while compose never spills (C6d)"], note:(if $note == "" then null else $note end) }' >"$tmp" h=$(sha256sum "$tmp" | cut -d' ' -f1) @@ -65,7 +84,10 @@ v=$(jq -r .verdict "$OUT/$h.json") echo "sovereign-core $SC; omega compose $OMC" jq -r '.builds[] | "build \(.name) \(.sha256)"' "$OUT/$h.json" jq -r '.fixture | "fixture F0 \(.sha256): s3_committed \(.s3_committed), machine \(.machine_id), backend \(.backend)"' "$OUT/$h.json" - echo "Rows (ACCEPTANCE-v2 section 5; injected variants x3, control once per case):" + echo "Rows (ACCEPTANCE-v3 section 5 over v2; injected variants x3, C6i once, control once per case):" + jq -r '"build_env: \(.build_env | tojson)"' "$OUT/$h.json" + jq -r '"link_proof: \(.link_proof | tojson | .[0:400])"' "$OUT/$h.json" + jq -r 'if (.not_applicable | length) > 0 then "NOT_APPLICABLE (not counted as PASS): \(.not_applicable | join(", "))" else empty end' "$OUT/$h.json" jq -r '.row_verdicts[] | " \(.verdict) \(.row) (\(.reps) run(s), control \(.control) \(if .control_pass then "PASS" else "FAIL" end)) \(.outcomes | join(" | ") | .[0:200])"' "$OUT/$h.json" echo "Failed checks:" jq -r '(.controls + .rows)[] | . as $r | .checks[] | select(.ok | not) | " \($r.row) rep \($r.rep): \(.check) \(.value | tojson | .[0:160])"' "$OUT/$h.json" diff --git a/docs/campaigns/next-phase-2/run-faults.sh b/docs/campaigns/next-phase-2/run-faults.sh index 71c4c4e7..e1fd4bf6 100755 --- a/docs/campaigns/next-phase-2/run-faults.sh +++ b/docs/campaigns/next-phase-2/run-faults.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -# NEXT-PHASE-2 fault harness (ACCEPTANCE-v2.md). Shell + jq only, no Python. +# NEXT-PHASE-2 fault harness (ACCEPTANCE-v2.md, amended by ACCEPTANCE-v3.md). +# Shell + jq only, no Python. # # run-faults.sh fixture FIX_ROOT # F0: one real S0..S3 on the gpu build (AIEN_BIN), then Shutdown. @@ -11,7 +12,9 @@ # (AIEN_BIN built with the compose archive, no GPU archive, feature # fault-hold). Never touches the GPU: a daemon whose Backend line is not # CPU-reference stops the harness. CASE = control C1a C1b C2a C2b C2c C2d -# C3a C3b C4 C5a C5b C5c C6a..C6h (default: all). REPS (default 3). +# C3a C3b C4 C5a C5b C5c C6a..C6h C6c-ctl C6i C7a C7b C8a C8b (default: +# all). REPS (default 3); C6i always runs once (ACCEPTANCE-v3 DECIDED 4). +# C8a needs FIX_OLD = the v2 fixture F0v2 (no record mark), else NOT_RUN. # # Each run starts from a byte copy of F0 in RUN_ROOT/-/ with its own # provenance and state dirs, and writes result.json there; RUN_ROOT/results.jsonl @@ -29,6 +32,9 @@ sha() { sha256sum "$1" 2>/dev/null | cut -d' ' -f1; } tstat() { stat -c '%i %s %.9Y %.9Z' "$1" 2>/dev/null || echo absent; } tree_list() { (cd "$1" && find . -type f -print0 | sort -z | xargs -0 -r sha256sum); } tree_digest() { tree_list "$1" | sha256sum | cut -d' ' -f1; } +# The home's files: compose dir, machine root, record mark (ACCEPTANCE-v3 2.1). +home_digest() { (tree_list "$1/compose"; sha256sum "$1/compose.machine-root"; [ -f "$1/compose.cortex-mark" ] && sha256sum "$1/compose.cortex-mark") | sha256sum | cut -d' ' -f1; } +mark_records() { od -An -tu8 -j56 -N8 "$1" 2>/dev/null | tr -d ' '; } DPID=; NOTRUN= # Never leave a daemon of ours behind, whatever stops the harness. @@ -115,7 +121,7 @@ if [ "$MODE" = fixture ]; then stop_daemon jq -n --arg backend "$(grep -m1 'Backend:' "$R/daemon-fixture.log" | sed 's/\x1b\[[0-9;]*m//g; s/^ *Backend: //')" \ --arg reconcile "$(reconcile_line daemon-fixture)" --argjson start_ms $((t1 - t0)) \ - --slurpfile s3 "$R/steps/S3.json" --arg files "$( (tree_list "$R/compose"; sha256sum "$R/compose.machine-root"; tree_list "$WS") | sha256sum | cut -d' ' -f1)" \ + --slurpfile s3 "$R/steps/S3.json" --arg files "$( (tree_list "$R/compose"; sha256sum "$R/compose.machine-root"; [ -f "$R/compose.cortex-mark" ] && sha256sum "$R/compose.cortex-mark"; tree_list "$WS") | sha256sum | cut -d' ' -f1)" \ '{backend:$backend, reconcile:$reconcile, daemon_start_ms:$start_ms, s3_ok:($s3[0].ok // false), s3_committed:($s3[0].report.committed // false), proposal_path:($s3[0].report.proposal_path // null), machine_id:($s3[0].report.machine_id // null), files_sha256:$files}' >"$R/fixture.json" @@ -128,12 +134,14 @@ ROOT=${3:?RUN_ROOT}; shift 3 mkdir -p "$ROOT"; ROOT=$(cd "$ROOT" && pwd); FIX=$(cd "$FIX" && pwd) jq -e '.s3_committed == true' "$FIX/fixture.json" >/dev/null || { echo "fixture F0 has no committed proposal: cases NOT_RUN"; exit 3; } PPATH=$(jq -r .proposal_path "$FIX/fixture.json") -CASES=${*:-control C1a C1b C2a C2b C2c C2d C3a C3b C4 C5a C5b C5c C6a C6b C6c C6d C6e C6f C6g C6h} +CASES=${*:-control C1a C1b C2a C2b C2c C2d C3a C3b C4 C5a C5b C5c C6a C6b C6c C6c-ctl C6d C6e C6f C6g C6h C6i C7a C7b C8a C8b} -new_run() { # NAME +new_run() { # NAME [FIXTURE] + local from=${2:-$FIX} R=$ROOT/$1; rm -rf "$R"; mkdir -p "$R"/prov "$R"/state "$R"/steps - cp -a "$FIX/compose" "$FIX/compose.machine-root" "$FIX/ws" "$FIX/outside" "$FIX/s3-report.json" "$R/" - WS=$R/ws; T=$WS/$PPATH; CHECKS='[]'; INJ=; OUTCOME=; NOTRUN= + cp -a "$from/compose" "$from/compose.machine-root" "$from/ws" "$from/outside" "$from/s3-report.json" "$R/" + [ -f "$from/compose.cortex-mark" ] && cp -a "$from/compose.cortex-mark" "$R/" + WS=$R/ws; T=$WS/$PPATH; CHECKS='[]'; INJ=; OUTCOME=; NOTRUN=; NOTAPPL=; NO_R6= export AIEN_COMPOSE_DIR=$R/compose AIEN_PROVENANCE_DIR=$R/prov AIEN_RUNTIME_SOCK=$R/aien.sock \ AIEN_RUNTIME_STATE_DIR=$R/state AIEN_REQUIRE_CHECKPOINT=0 unset AIEN_MODEL_PATH AIEN_TOKENIZER_PATH AIEN_REQUIRE_BLACKWELL AIEN_GPU_BACKEND AIEN_FAULT_HOLD AIEN_FAULT_HOLD_FILE @@ -180,7 +188,16 @@ rules() { finish() { # NAME REP local verdict + # R6 (ACCEPTANCE-v3 section 3): no E_MARK in any start line, recall or execute + # answer of a control, C1..C5, C6c-ctl, C7a or C8 run. + case $1 in control-*|C1*|C2*|C3*|C4*|C5*|C6c-ctl|C7a|C8*) + local em; em=$(cd "$R" && grep -l 'E_MARK' daemon-*.log steps/*.json 2>/dev/null | paste -sd, -) + chk R6_no_E_MARK "$( [ -z "$em" ] && echo true || echo false)" "$(q "$em")";; + esac verdict=$(jq -r 'if length > 0 and all(.ok) then "PASS" else "FAIL" end' <<<"$CHECKS") + # C6d guard (DECIDED 3): an uninjected run whose checks all hold is + # NOT_APPLICABLE, never PASS; a failed check stays FAIL. + [ -n "$NOTAPPL" ] && [ "$verdict" = PASS ] && verdict=NOT_APPLICABLE [ -n "$NOTRUN" ] && verdict=NOT_RUN local ev ev=$(cd "$R" && find steps -maxdepth 1 -type f -name '*.json' -o -maxdepth 1 -name 'daemon-*.log' | sort | while read -r f; do @@ -265,13 +282,17 @@ run_C2a() { chk executor_refused "$(eq "$(j X1 .ok)" false)" "$(q "$(j X1 .error)")" chk no_write "$(eq "$(tstat "$T")" "$T0")" up daemon-2 || return - cx count2 recall >/dev/null - # Every daemon open appends records that are not host notes (pinned omega): - # the growth of one clean restart is measured, so the counts compare like with like. - local n2 n3 h1 h2; n2=$(j count2 .recall.records_total); h1=$(j count1 '.recall.host | length'); h2=$(j count2 '.recall.host | length') - stop_daemon; up daemon-3 || return; cx count3 recall >/dev/null; n3=$(j count3 .recall.records_total) + # ACCEPTANCE-v3 C2a (rule frozen, G1): a daemon open appends exactly the 5 + # start-up records (class 1, kind 65538, subjects 1..5), nothing else. + local n2 h1 h2 ids; n1=${n1:-0}; ids=$(seq -s, $((n1 + 1)) $((n1 + 5))) + cx count2 recall --ids "$ids" >/dev/null + n2=$(j count2 .recall.records_total); h1=$(j count1 '.recall.host | length'); h2=$(j count2 '.recall.host | length') chk host_record_count_unchanged "$(eq "$h2" "$h1")" "[$h1,$h2]" - chk record_count_unchanged_except_open_anchors "$(eq $((n2 - n1)) $((n3 - n2)))" "{\"before_kill\":$n1,\"after_restart\":$n2,\"after_clean_restart\":$n3}" + chk records_total_is_before_plus_5 "$(eq "$n2" $((n1 + 5)))" "{\"before_kill\":$n1,\"after_restart\":$n2}" + local seen; seen=$(j count2 '[.recall.cited[] | {id, cls, kind, subject}]') + chk startup_records_are_5_entity_creates "$(jq -n --argjson s "$seen" --argjson lo $((n1 + 1)) \ + '($s | length == 5) and ([$s[] | select(.cls == 1 and .kind == 65538)] | length == 5) + and ([$s[].subject] | sort == [1,2,3,4,5]) and ([$s[].id] | sort == [range($lo; $lo + 5)])')" "$(jq -nc --argjson s "$seen" '$s')" ledger L1; chk no_intent "$(eq "$(intent_state L1 "$A1")" none)" execute X2 "$A1"; chk same_grant_executes_after_restart "$(eq "$(j X2 .state)" DONE)" "$(q "$(j X2 .state)")" T1=$(tstat "$T"); execute X3 "$A1" @@ -323,14 +344,14 @@ run_C2bcd() { # b|c|d run_C3a() { INJ="cpu-fault daemon started with AIEN_REQUIRE_BLACKWELL=1" - local before; before=$( (tree_list "$R/compose"; sha256sum "$R/compose.machine-root") | sha256sum | cut -d' ' -f1) + local before; before=$(home_digest "$R") export AIEN_REQUIRE_BLACKWELL=1 if start_daemon daemon-1; then chk daemon_refused false; kill_daemon; else chk daemon_refused true "$DRC"; fi unset AIEN_REQUIRE_BLACKWELL chk exit_nonzero "$( [ "${DRC:-0}" != 0 ] && echo true || echo false)" "${DRC:-0}" chk names_gb10_requirement "$(grep -q 'GB10 GPU is required' "$R/daemon-1.log" && echo true || echo false)" "$(q "$(grep -m1 Fatal "$R/daemon-1.log" | sed 's/\x1b\[[0-9;]*m//g')")" chk no_socket "$( [ -S "$R/aien.sock" ] && echo false || echo true)" - chk home_unchanged "$(eq "$( (tree_list "$R/compose"; sha256sum "$R/compose.machine-root") | sha256sum | cut -d' ' -f1)" "$before")" + chk home_unchanged "$(eq "$(home_digest "$R")" "$before")" chk workspace_unchanged "$(eq "$(tree_list "$WS")" "$WS0")" OUTCOME="refused: $(grep -m1 Fatal "$R/daemon-1.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-120)" } @@ -396,26 +417,70 @@ run_C5() { # a|b|c rules final; stop_daemon } -run_C6() { # a..h - up daemon-1 || return; pre_state pre +c6_base() { # control run plus one unspent grant A2, daemon stopped + up daemon-1 || return 1; pre_state pre A1=$(authorize A1); execute X1 "$A1" chk base_execute_done "$(eq "$(j X1 .state)" DONE)" - local s1; s1=$(stat -c %s "$R/compose/cortex.cx") + S1=$(stat -c %s "$R/compose/cortex.cx") + [ "${1:-}" = save_mark ] && cp "$R/compose.cortex-mark" "$R/mark-before-A2" 2>/dev/null A2=$(authorize A2) stop_daemon T1=$(tstat "$T") - mkdir -p "$R/pre-damage"; (cd "$R" && cp -a --parents compose compose.machine-root state pre-damage/ 2>/dev/null) + mkdir -p "$R/pre-damage" + (cd "$R" && cp -a --parents compose compose.machine-root state pre-damage/ 2>/dev/null + [ -f compose.cortex-mark ] && cp -a compose.cortex-mark pre-damage/) + return 0 +} + +# c6_score NAME GRANT FILE: the v2 C6 rule on the damaged home (ACCEPTANCE-v2 +# section 5), plus the v3 mark rule (a refused start leaves the mark as it was). +c6_score() { + local d=$1 g=$2 f=$3 + local dmg ds; dmg=$(sha "$R/damaged.bin"); ds=$(stat -c %s "$R/damaged.bin" 2>/dev/null || echo 0) + local refused=false + if start_daemon "$d"; then + local rl; rl=$(reconcile_line "$d") + cx RCL-$d recall + local rok; rok=$(j RCL-$d .ok) + execute X-$d "$g" + local named=false + if [ "$rok" = false ] && j RCL-$d .error | grep -Eq 'E_TORN|E_DIGEST|E_REPLAY|E_IDENTITY|E_MARK|expected 32|refused|CorruptLedger|digest'; then named=true; fi + chk named_refusal_on_recall "$named" "$(q "$(j RCL-$d '.error // "recall succeeded"' | cut -c1-240)")" + chk start_reconcile_reports "$( { echo "$rl" | grep -q 'refused' || [ "$named" = false ]; } && echo true || echo false)" "$(q "$(echo "$rl" | cut -c1-240)")" + chk execute_grant_refused "$(eq "$(j X-$d .ok)" false)" "$(q "$(j X-$d '.error // .state' | cut -c1-200)")" + echo "$rl" | grep -q 'refused' && refused=true + stop_daemon + OUTCOME="opened; recall ok=$rok; execute ok=$(j X-$d .ok); $(echo "$rl" | cut -c1-160)" + else + refused=true + chk daemon_refused_named "$(grep -Eq 'is damaged|Fatal' "$R/$d.log" && echo true || echo false)" "$(q "$(grep -m1 Fatal "$R/$d.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-200)")" + OUTCOME="daemon refused to start: $(grep -m1 Fatal "$R/$d.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-140)" + fi + chk no_write_on_damaged_state "$(eq "$(tstat "$T")" "$T1")" + if [ "$f" != compose/jspace/jspace.meta ] || [ -f "$R/damaged.bin" ]; then + # No silent repair or reset: every damaged byte is still there (records the + # daemon appends after a refusal-free open are allowed and shown). + local cs; cs=$(stat -c %s "$R/$f" 2>/dev/null || echo 0) + chk damaged_bytes_kept "$( [ "$cs" -ge "$ds" ] && cmp -s -n "$ds" "$R/damaged.bin" "$R/$f" && echo true || echo false)" "{\"damaged_sha256\":\"$dmg\",\"damaged_bytes\":$ds,\"now_bytes\":$cs}" + fi + # ACCEPTANCE-v3 section 5, C6a..h: compose.cortex-mark unchanged by a refused start. + if [ "$refused" = true ] && [ -f "$R/damaged-mark.bin" ]; then + chk mark_unchanged_by_refused_start "$(cmp -s "$R/damaged-mark.bin" "$R/compose.cortex-mark" && echo true || echo false)" "$(q "$(sha "$R/compose.cortex-mark")")" + fi +} + +run_C6() { # a..i + c6_base || return local f case $1 in a) f=compose/cortex.cx; INJ="truncate cortex.cx by 1 byte (inside the last record)" truncate -s -1 "$R/$f";; b) f=compose/cortex.cx; INJ="flip one byte inside the last record of cortex.cx" - local sz; sz=$(stat -c %s "$R/$f"); local off=$(( s1 + (sz - s1) / 2 )) + local sz; sz=$(stat -c %s "$R/$f"); local off=$(( S1 + (sz - S1) / 2 )) printf "$(printf '\\x%02x' $(( $(od -An -tu1 -j $off -N1 "$R/$f") ^ 0xff )))" | dd of="$R/$f" bs=1 seek=$off conv=notrunc 2>/dev/null;; c) f=compose/cortex.cx; INJ="cut cortex.cx at the record boundary before the last record (A2 dropped)" - truncate -s "$s1" "$R/$f";; - d) f=compose/jspace/jspace.data; INJ="truncate jspace.data by 1 byte" - truncate -s -1 "$R/$f";; + truncate -s "$S1" "$R/$f";; + d) run_C6d; return;; e) f=compose/jspace/jspace.meta; INJ="flip one byte in the middle of jspace.meta" local sz; sz=$(stat -c %s "$R/$f"); local off=$(( sz / 2 )) printf "$(printf '\\x%02x' $(( $(od -An -tu1 -j $off -N1 "$R/$f") ^ 0xff )))" | dd of="$R/$f" bs=1 seek=$off conv=notrunc 2>/dev/null;; @@ -425,37 +490,176 @@ run_C6() { # a..h printf "$(printf '\\x%02x' $(( $(od -An -tu1 -j 0 -N1 "$R/$f") ^ 0xff )))" | dd of="$R/$f" bs=1 seek=0 conv=notrunc 2>/dev/null;; h) f=state/processed_operations.json; INJ="write '{' into processed_operations.json" printf '{' >"$R/$f";; + i) f=compose/jspace/jspace.meta; INJ="delete jspace/jspace.meta (daemon stopped)" + rm -f "$R/$f";; esac - local dmg; dmg=$(sha "$R/$f"); cp "$R/$f" "$R/damaged.bin" - if cmp -s "$R/pre-damage/$f" "$R/$f"; then + if [ -f "$R/$f" ]; then cp "$R/$f" "$R/damaged.bin"; else rm -f "$R/damaged.bin"; fi + [ -f "$R/compose.cortex-mark" ] && cp "$R/compose.cortex-mark" "$R/damaged-mark.bin" + if [ -f "$R/$f" ] && cmp -s "$R/pre-damage/$f" "$R/$f"; then NOTRUN="injection changed nothing: $f is $(stat -c %s "$R/$f") bytes before and after"; OUTCOME=$NOTRUN; return fi - if start_daemon daemon-2; then - local rl; rl=$(reconcile_line daemon-2) - cx RCL recall - local rok; rok=$(j RCL .ok) - execute X2 "$A2" - local named=false - if [ "$rok" = false ] && j RCL .error | grep -Eq 'E_TORN|E_DIGEST|E_REPLAY|E_IDENTITY|expected 32|refused|CorruptLedger|digest'; then named=true; fi - chk named_refusal_on_recall "$named" "$(q "$(j RCL '.error // "recall succeeded"' | cut -c1-200)")" - chk start_reconcile_reports "$( { echo "$rl" | grep -q 'refused' || [ "$named" = false ]; } && echo true || echo false)" "$(q "$(echo "$rl" | cut -c1-200)")" - chk execute_A2_refused "$(eq "$(j X2 .ok)" false)" "$(q "$(j X2 '.error // .state' | cut -c1-200)")" - stop_daemon - OUTCOME="opened; recall ok=$rok; execute A2 ok=$(j X2 .ok); $(echo "$rl" | cut -c1-120)" - else - chk daemon_refused_named "$(grep -Eq 'is damaged|Fatal' "$R/daemon-2.log" && echo true || echo false)" "$(q "$(grep -m1 Fatal "$R/daemon-2.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-200)")" - OUTCOME="daemon refused to start: $(grep -m1 Fatal "$R/daemon-2.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-140)" + if [ ! -f "$R/$f" ] && [ ! -f "$R/pre-damage/$f" ]; then + NOTRUN="injection changed nothing: $f was already absent"; OUTCOME=$NOTRUN; return fi - chk no_write_on_damaged_state "$(eq "$(tstat "$T")" "$T1")" - # No silent repair or reset: every damaged byte is still there (records the - # daemon appends after a refusal-free open are allowed and shown). - local ds cs; ds=$(stat -c %s "$R/damaged.bin"); cs=$(stat -c %s "$R/$f" 2>/dev/null || echo 0) - chk damaged_bytes_kept "$( [ "$cs" -ge "$ds" ] && cmp -s -n "$ds" "$R/damaged.bin" "$R/$f" && echo true || echo false)" "{\"damaged_sha256\":\"$dmg\",\"damaged_bytes\":$ds,\"now_bytes\":$cs}" + c6_score daemon-2 "$A2" "$f" + case $1 in + c) # ACCEPTANCE-v3 C6c: the cut is named E_MARK_TRUNCATED, nothing is rewritten. + chk start_line_refused_E_MARK_TRUNCATED "$(reconcile_line daemon-2 | grep -q 'Reconcile: refused.*E_MARK_TRUNCATED' && echo true || echo false)" "$(q "$(reconcile_line daemon-2 | cut -c1-240)")" + chk recall_refused_E_MARK_TRUNCATED "$( [ "$(j RCL-daemon-2 .ok)" = false ] && j RCL-daemon-2 .error | grep -q E_MARK_TRUNCATED && echo true || echo false)" "$(q "$(j RCL-daemon-2 '.error // "recall succeeded"' | cut -c1-240)")" + chk cortex_cx_identical_to_damaged "$(cmp -s "$R/damaged.bin" "$R/compose/cortex.cx" && echo true || echo false)" + chk mark_identical_to_damaged_state "$(cmp -s "$R/damaged-mark.bin" "$R/compose.cortex-mark" && echo true || echo false)";; + i) # ACCEPTANCE-v3 C6i: no silent re-creation; cortex.cx only grows by appends. + chk jspace_meta_still_absent "$( [ -e "$R/$f" ] && echo false || echo true)" "$(q "$(tstat "$R/$f")")" + local p0; p0=$(stat -c %s "$R/pre-damage/compose/cortex.cx") + chk cortex_cx_prefix_identical "$( [ "$(stat -c %s "$R/compose/cortex.cx")" -ge "$p0" ] && cmp -s -n "$p0" "$R/pre-damage/compose/cortex.cx" "$R/compose/cortex.cx" && echo true || echo false)" "{\"pre_bytes\":$p0,\"now_bytes\":$(stat -c %s "$R/compose/cortex.cx")}";; + esac +} + +# C6d guard (ACCEPTANCE-v3 DECIDED 3). jspace.data is never written by compose +# at omega 62b6a28 (G6); spill_end is the u64 at offset 48 of jspace.meta. +c6d_trim() { + local f=$R/compose/jspace/jspace.data se; se=$(od -An -tu8 -j48 -N8 "$R/compose/jspace/jspace.meta" | tr -d ' ') + if [ "${se:-0}" -gt 0 ]; then truncate -s $((se - 1)) "$f"; INJ="truncate jspace.data to spill_end-1 = $((se - 1)) bytes" + else truncate -s -1 "$f"; INJ="truncate jspace.data by 1 byte (spill_end 0)"; fi +} +run_C6d() { + local f=compose/jspace/jspace.data ds se + ds=$(stat -c %s "$R/$f"); se=$(od -An -tu8 -j48 -N8 "$R/compose/jspace/jspace.meta" | tr -d ' ') + chk guard_read "$( [ -n "$ds" ] && [ -n "$se" ] && echo true || echo false)" "{\"data_bytes\":${ds:-null},\"spill_end\":${se:-null}}" + if [ "${ds:-0}" -gt 0 ] || [ "${se:-0}" -gt 0 ]; then + c6d_trim; cp "$R/$f" "$R/damaged.bin"; cp "$R/compose.cortex-mark" "$R/damaged-mark.bin" 2>/dev/null + c6_score daemon-2 "$A2" "$f"; return + fi + INJ="none: jspace.data 0 bytes and spill_end 0 (guard); case run uninjected" + up daemon-2 || return + cx RCL recall; chk recall_ok "$(eq "$(j RCL .ok)" true)" + execute X2 "$A2"; chk uninjected_A2_DONE "$(eq "$(j X2 .state)" DONE)" "$(q "$(j X2 '.state // .error')")" + A3=$(authorize A3) + stop_daemon + local de; de=$(stat -c %s "$R/$f") + if [ "$de" -eq 0 ]; then + chk end_of_case_jspace_data_still_0_bytes true 0 + NOTAPPL=1; OUTCOME="NOT_APPLICABLE: jspace.data 0 bytes, spill_end 0 before and after the case (compose never spills at omega 62b6a28)" + return + fi + # The guard fired late: inject now and score on the fresh grant A3. + chk end_of_case_jspace_data_still_0_bytes false "$de" + T1=$(tstat "$T") + rm -rf "$R/pre-damage"; mkdir -p "$R/pre-damage" + (cd "$R" && cp -a --parents compose compose.machine-root state pre-damage/ 2>/dev/null; cp -a compose.cortex-mark pre-damage/ 2>/dev/null) + c6d_trim; cp "$R/$f" "$R/damaged.bin"; cp "$R/compose.cortex-mark" "$R/damaged-mark.bin" 2>/dev/null + chk injected_late_after_guard true "$de" + c6_score daemon-3 "$A3" "$f" +} + +# C6c-ctl: the on-disk state of a process that died after the A2 append and +# before its mark update (simulated: the older mark is put back). +run_C6c_ctl() { + c6_base save_mark || return + [ -f "$R/mark-before-A2" ] || { NOTRUN="no record mark before A2"; OUTCOME=$NOTRUN; return; } + INJ="put back the record mark copied just before authorize A2 (daemon stopped)" + cp "$R/mark-before-A2" "$R/compose.cortex-mark" + local m; m=$(mark_records "$R/compose.cortex-mark") + up daemon-2 || return + chk start_log_mark_advanced_M_to_M_plus_1 "$(grep -q "record mark advanced $m->$((m + 1)) " "$R/daemon-2.log" && echo true || echo false)" "$(q "$(grep -m1 'Cortex mark:' "$R/daemon-2.log" | sed 's/\x1b\[[0-9;]*m//g')")" + cx RCL recall; chk recall_ok "$(eq "$(j RCL .ok)" true)" "$(q "$(j RCL '.error // "ok"' | cut -c1-200)")" + execute X2 "$A2"; chk A2_DONE "$(eq "$(j X2 .state)" DONE)" "$(q "$(j X2 '.state // .error')")" + local t2; t2=$(tstat "$T"); execute X3 "$A2" + chk A2_retry_AlreadySpent "$(eq "$(refusal X3)" AlreadySpent)" "$(q "$(refusal X3)")" + chk written_once "$(eq "$(tstat "$T")" "$t2")" + OUTCOME="mark M=$m put back; $(grep -m1 'Cortex mark:' "$R/daemon-2.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-80); A2 $(j X2 .state)" + rules final; stop_daemon +} + +run_C7a() { + INJ="daemon started with AIEN_FAULT_HOLD=reconcile_panic (start-up reconcile panics)" + export AIEN_FAULT_HOLD=reconcile_panic + start_daemon daemon-1; local up1=$? + unset AIEN_FAULT_HOLD + chk daemon_serves_socket_up "$( [ $up1 -eq 0 ] && [ -S "$R/aien.sock" ] && echo true || echo false)" "$(q "$(tail -2 "$R/daemon-1.log" | tr '\n' ' ' | cut -c1-200)")" + [ $up1 -eq 0 ] || return + local rl; rl=$(reconcile_line daemon-1) + chk start_line_failed_names_refusal "$(echo "$rl" | grep -q '^Reconcile: failed:.*effect commands refuse until a successful reconcile' && echo true || echo false)" "$(q "$(echo "$rl" | cut -c1-240)")" + pre_state pre + A1=$(authorize A1); chk authorize_answers "$( [ -n "$A1" ] && echo true || echo false)" "$(q "$A1")" + execute X1 "$A1"; chk first_execute_refused_ReconcileFailed "$(eq "$(refusal X1)" ReconcileFailed)" "$(q "$(j X1 '.error // .state' | cut -c1-200)")" + ledger L1; chk no_intent "$(eq "$(intent_state L1 "$A1")" none)" + chk no_write "$(eq "$(tstat "$T")" "$T0")" + cx RC reconcile; chk reconcile_ok "$(eq "$(j RC .ok)" true)" "$(q "$(j RC '.error // "ok"' | cut -c1-200)")" + execute X2 "$A1"; chk second_execute_DONE "$(eq "$(j X2 .state)" DONE)" "$(q "$(j X2 '.state // .error')")" + local t1; t1=$(tstat "$T"); execute X3 "$A1" + chk written_once "$(eq "$(tstat "$T")" "$t1")" + stop_daemon; up daemon-2 || return + chk restart_reconcile_normal "$(reconcile_line daemon-2 | grep -q 'checked 0' && echo true || echo false)" "$(q "$(reconcile_line daemon-2)")" + OUTCOME="start reconcile failed (panic); execute $(refusal X1); reconcile ok=$(j RC .ok); execute $(j X2 .state); restart clean" + rules final; stop_daemon +} + +run_C7b() { + c6_base || return + INJ="cut cortex.cx at the record boundary before the last record (C6c), then recover" + cp "$R/compose.cortex-mark" "$R/damaged-mark.bin" + truncate -s "$S1" "$R/compose/cortex.cx" + up daemon-2 || return + local rl; rl=$(reconcile_line daemon-2) + chk start_refused_E_MARK_TRUNCATED "$(echo "$rl" | grep -q 'Reconcile: refused.*E_MARK_TRUNCATED' && echo true || echo false)" "$(q "$(echo "$rl" | cut -c1-240)")" + cx REC recover + chk recover_mark_lost_1 "$(eq "$(j REC .repair.mark_lost)" 1)" "$(q "$(j REC '.repair.mark_lost // .error')")" + local kept; kept=$(j REC '.repair.mark_kept_as // ""') + chk mark_kept_as_lost_seq_file "$(echo "$kept" | grep -Eq '\.cortex-mark\.lost-[0-9]+$' && [ -f "$kept" ] && echo true || echo false)" "$(q "$kept")" + chk kept_mark_identical_to_damaged_state "$(cmp -s "$R/damaged-mark.bin" "$kept" && echo true || echo false)" + local rr; rr=$(j REC '.repair.mark_repair_record // 0') + cx RCR recall --ids "$rr" + chk repair_constraint_record "$(j RCR "[.recall.cited[] | select(.note == \"constraint\") | .text | fromjson? | select(.repair == \"cortex-mark\" and .lost == 1)] | length == 1")" "$(q "$(j RCR '.recall.cited[0].text // .error' | cut -c1-240)")" + A3=$(authorize A3); chk authorize_A3_answers "$( [ -n "$A3" ] && echo true || echo false)" "$(q "$A3")" + execute X3 "$A3"; chk first_execute_refused_ReconcileFailed "$(eq "$(refusal X3)" ReconcileFailed)" "$(q "$(j X3 '.error // .state' | cut -c1-200)")" + chk no_write_before_reconcile "$(eq "$(tstat "$T")" "$T1")" + cx RC reconcile; chk reconcile_ok "$(eq "$(j RC .ok)" true)" "$(q "$(j RC '.error // "ok"' | cut -c1-200)")" + execute X4 "$A3"; chk second_execute_A3_DONE "$(eq "$(j X4 .state)" DONE)" "$(q "$(j X4 '.state // .error')")" + local t4; t4=$(tstat "$T"); execute X5 "$A3" + chk written_once "$(eq "$(tstat "$T")" "$t4")" + OUTCOME="start refused (mark); recover mark_lost=$(j REC .repair.mark_lost); execute $(refusal X3); reconcile ok=$(j RC .ok); execute A3 $(j X4 .state)" + rules final; stop_daemon +} + +run_C8a() { + INJ="v2 home without a record mark (copy of F0v2)" + [ -f "$R/compose.cortex-mark" ] && { NOTRUN="FIX_OLD has a record mark"; OUTCOME=$NOTRUN; return; } + up daemon-1 || return + local na; na=$(grep -c 'Cortex mark: mark adopted (seq 1, records [0-9]*)' "$R/daemon-1.log") + chk first_start_one_adopted_line "$(eq "$na" 1)" "$(q "$(grep -m1 'Cortex mark:' "$R/daemon-1.log" | sed 's/\x1b\[[0-9;]*m//g')")" + chk mark_128_bytes "$(eq "$(stat -c %s "$R/compose.cortex-mark" 2>/dev/null)" 128)" + pre_state pre; chk recall_ok "$(eq "$(j pre .ok)" true)" + stop_daemon; up daemon-2 || return + chk second_start_no_adopt_or_advance "$(grep -Eq 'mark adopted|record mark advanced' "$R/daemon-2.log" && echo false || echo true)" "$(q "$(grep -m1 'Cortex mark:' "$R/daemon-2.log" | sed 's/\x1b\[[0-9;]*m//g')")" + cx R2 recall; chk second_recall_ok "$(eq "$(j R2 .ok)" true)" + OUTCOME="$(grep -m1 'Cortex mark:' "$R/daemon-1.log" | sed 's/\x1b\[[0-9;]*m//g' | cut -c1-80); second start quiet" + rules final; stop_daemon +} + +run_C8b() { + run_control + INJ="after the control steps: delete compose.cortex-mark (daemon stopped)" + rm -f "$R/compose.cortex-mark" + up daemon-3 || return + chk start_one_adopted_line "$(eq "$(grep -c 'Cortex mark: mark adopted' "$R/daemon-3.log")" 1)" "$(q "$(grep -m1 'Cortex mark:' "$R/daemon-3.log" | sed 's/\x1b\[[0-9;]*m//g')")" + cx R3 recall; chk recall_ok "$(eq "$(j R3 .ok)" true)" + local t1; t1=$(tstat "$T"); execute X9 "$A1" + chk reexecute_AlreadySpent "$(eq "$(refusal X9)" AlreadySpent)" "$(q "$(refusal X9)")" + chk no_second_write "$(eq "$(tstat "$T")" "$t1")" + OUTCOME="control done; mark deleted; restart adopted; re-execute $(refusal X9)" + rules final2; stop_daemon +} + +old_fixture_ok() { # F0v2 files sha re-check (ACCEPTANCE-v3 section 4) + local want got; want=$(jq -r .files_sha256 "$1/fixture.json" 2>/dev/null) + got=$( (tree_list "$1/compose"; sha256sum "$1/compose.machine-root"; [ -f "$1/compose.cortex-mark" ] && sha256sum "$1/compose.cortex-mark"; tree_list "$1/ws") | sha256sum | cut -d' ' -f1) + [ -n "$want" ] && [ "$want" = "$got" ] } for c in $CASES; do case $c in - control) for k in C1 C2 C4 C5 C6; do new_run "control-$k"; run_control; finish "control-$k" 1; done;; + control) for k in C1 C2 C4 C5 C6 C7 C8; do new_run "control-$k"; run_control; finish "control-$k" 1; done;; C1a|C1b) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C1 "${c#C1}"; finish "$c" "$r"; done;; C2a) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C2a; finish "$c" "$r"; done;; C2b|C2c|C2d) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C2bcd "${c#C2}"; finish "$c" "$r"; done;; @@ -463,7 +667,17 @@ for c in $CASES; do C3b) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C3b; finish "$c" "$r"; done;; C4) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C4; finish "$c" "$r"; done;; C5a|C5b|C5c) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C5 "${c#C5}"; finish "$c" "$r"; done;; + C6i) new_run "$c-1"; run_C6 i; finish "$c" 1;; # exactly once (DECIDED 4) + C6c-ctl) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C6c_ctl; finish "$c" "$r"; done;; C6?) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C6 "${c#C6}"; finish "$c" "$r"; done;; + C7a) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C7a; finish "$c" "$r"; done;; + C7b) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C7b; finish "$c" "$r"; done;; + C8a) for r in $(seq 1 "$REPS"); do + if [ -z "${FIX_OLD:-}" ] || ! old_fixture_ok "$FIX_OLD"; then + new_run "$c-$r"; NOTRUN="FIX_OLD (F0v2) missing or its files sha256 does not match its fixture.json"; OUTCOME=$NOTRUN + else new_run "$c-$r" "$FIX_OLD"; run_C8a; fi + finish "$c" "$r"; done;; + C8b) for r in $(seq 1 "$REPS"); do new_run "$c-$r"; run_C8b; finish "$c" "$r"; done;; *) echo "unknown case $c"; exit 2;; esac # never leave a daemon behind From ff21694b8cc8d19a41b7ed2d13eb9af76d17dd25 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 12:31:16 -0500 Subject: [PATCH 4/7] NEXT-PHASE-2 v3 campaign: receipt 5bd66530 (FAIL on C7a only) and VERDICT-v3 F0v3 valid on the gpu build (GB10, Llama-3.2-1B, quietlock hold); cases on cpu-fault. C2a, C6c, C6c-ctl, C6i, C7b, C8a, C8b and all unreplaced v2 rows PASS; C6d NOT_APPLICABLE (guard); C7a FAIL: panic = "abort" in the release profile aborts the daemon on the forced start-up reconcile panic, so the JoinError path the row tests does not exist in release builds. Co-Authored-By: Claude Opus 5.5 --- ...9d228f9e61c54d4cb9e2cd57f40308d4decff.json | 11830 ++++++++++++++++ ...e61c54d4cb9e2cd57f40308d4decff.summary.txt | 42 + docs/campaigns/next-phase-2/INDEX.md | 1 + docs/campaigns/next-phase-2/VERDICT-v3.md | 81 + 4 files changed, 11954 insertions(+) create mode 100644 docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json create mode 100644 docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.summary.txt create mode 100644 docs/campaigns/next-phase-2/VERDICT-v3.md diff --git a/docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json b/docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json new file mode 100644 index 00000000..627d272e --- /dev/null +++ b/docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json @@ -0,0 +1,11830 @@ +{ + "gate": "NEXT_PHASE_2", + "commit": "3fa00e43031be06de70fef4f50baff6faef0985a", + "omega_compose_commit": "62b6a2899fa230e57fcf7855ea7e2c26404514b6", + "acceptance_spec": "docs/campaigns/next-phase-2/ACCEPTANCE-v3.md spec_version 3 (amends ACCEPTANCE-v2.md)", + "builds": [ + { + "name": "gpu", + "sha256": "0ab7abc48d6a107d8561ce54d9dd55054ddd478ac566511dfc67a5c3a25fc95b" + }, + { + "name": "cpu-fault", + "sha256": "7aa59474dda83c2f7a387cbfa579ea92ea6a87b2f4e7712a863f7eecffbf846b" + } + ], + "build_env": { + "AIEN_OMEGA_COMPOSE_DIR": { + "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/omega-pin", + "head": "62b6a2899fa230e57fcf7855ea7e2c26404514b6" + }, + "AIEN_PHYSICS_DIR": { + "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/physics-np1", + "head": "6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf" + }, + "AIEN_AIENOS_LOCK_REPO": "/home/drakestapleton/workspace/aienos-repo", + "AIEN_OMEGA_GPU_LIB": { + "path": "/home/drakestapleton/.claude/jobs/a7c5d201/tmp/w8/gpu/libomega_gpu.a", + "sha256": "ef80e4313d4e678335dceac3493aadec8d0df4352dd5356854b92e0a9e070887", + "builds": [ + "gpu" + ] + }, + "unset": [ + "AIEN_FORCE_CPU_STUB", + "AIEN_OMEGA_DIR", + "AIEN_OMEGA_COMPOSE_LIB", + "AIEN_OMEGA_COMPOSE_SHA" + ], + "commands": { + "gpu": "cargo build --release -p aien-cli (with AIEN_OMEGA_GPU_LIB)", + "cpu-fault": "cargo build --release -p aien-cli --features fault-hold (no AIEN_OMEGA_GPU_LIB)" + } + }, + "link_proof": { + "method": "strings(1) on the release binary: librx_compose.a skill names and libomega_gpu.a GB10 strings; build log stub warnings", + "cpu-fault": { + "compose_markers": [ + "compose.candidate.0", + "compose.commit", + "compose.verify" + ], + "gpu_markers": [], + "reconcile_panic_strings": 1, + "compose_stub_warning_lines": 0 + }, + "gpu": { + "compose_markers": [ + "compose.candidate.0", + "compose.commit", + "compose.verify" + ], + "gpu_markers": [ + "NVIDIA_DGX_SPARK_GB10_SM121" + ], + "reconcile_panic_strings": 0, + "compose_stub_warning_lines": 0, + "gpu_stub_warning_lines": 0, + "fixture_backend_line": "Backend: NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)" + } + }, + "fixture": { + "sha256": "f09af7421ff377ac956d5a9463eebe13a84f6f0b45202f17ae9a46088472329a", + "s3_committed": true, + "machine_id": "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "proposal_path": "NOTES.md", + "backend": "NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)", + "daemon_start_ms": 28360, + "evidence_digests": [ + { + "file": "fixture.json", + "sha256": "786891d3746148a56ef83ad0c525a6cbe93f108fb3ce3b4081e6d589ab079b8d" + }, + { + "file": "steps/S3.json", + "sha256": "01ab1ccea29021628e0fe02b156262907b9cab111201815cefbe757499de464f" + }, + { + "file": "daemon-fixture.log", + "sha256": "01a544b510ce2153b4efa9df87405ce454f1435963831765fc7306e55f2e0d62" + } + ], + "kind": "F0v3" + }, + "old_install_fixture_c8a": { + "sha256": "3e4e26eff45e0f7282c335cb2028cd8c314e11b2669c73c16ab27c530c89eaf8", + "s3_committed": true, + "machine_id": "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e", + "backend": "NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)" + }, + "verdict": "FAIL", + "not_applicable": [ + "C6d" + ], + "row_verdicts": [ + { + "row": "C1a", + "control": "control-C1", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "ack lost -> UNRESOLVED (exit 3) -> restart reconcile DONE; retry AlreadySpent" + ] + }, + { + "row": "C1b", + "control": "control-C1", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "ack lost + world changed -> restart UNRESOLVED; retry ReconciliationRequired; operator NOT_DONE; retry AlreadySpent" + ] + }, + { + "row": "C2a", + "control": "control-C2", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "refused while daemon dead (no intent, no write); after restart DONE once" + ] + }, + { + "row": "C2b", + "control": "control-C2", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "executor killed at after_intent -> NOT_DONE; retry AlreadySpent; new grant A2 DONE (approvals 2)" + ] + }, + { + "row": "C2c", + "control": "control-C2", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "executor killed at after_intent -> NOT_DONE; retry AlreadySpent" + ] + }, + { + "row": "C2d", + "control": "control-C2", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "executor killed at after_write -> DONE; retry AlreadySpent" + ] + }, + { + "row": "C3a", + "control": "F0", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "refused: Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linke" + ] + }, + { + "row": "C3b", + "control": "F0", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "CPU-reference daemon; propose committed=false" + ] + }, + { + "row": "C4", + "control": "control-C4", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "Stopped, Stopped after restart, Stale after resume; A2 DONE" + ] + }, + { + "row": "C5a", + "control": "control-C5", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "revoked:true; execute Revoked" + ] + }, + { + "row": "C5b", + "control": "control-C5", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "revoke after spend: revoked:false, nothing recorded" + ] + }, + { + "row": "C5c", + "control": "control-C5", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "world changed after grant: Stale" + ] + }, + { + "row": "C6a", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-1/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN)", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-2/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN)", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-3/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN)" + ] + }, + { + "row": "C6b", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-1/compose refused: rxc_host E_OPEN (-4), detail -4; effect comman", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-2/compose refused: rxc_host E_OPEN (-4), detail -4; effect comman", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-3/compose refused: rxc_host E_OPEN (-4), detail -4; effect comman" + ] + }, + { + "row": "C6c", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record ma", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 records, its record ma", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 records, its record ma" + ] + }, + { + "row": "C6c-ctl", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "mark M=25 put back; Cortex mark: record mark advanced 25->26 (records written before an interrupted ; A2 DONE" + ] + }, + { + "row": "C6d", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "NOT_APPLICABLE", + "outcomes": [ + "NOT_APPLICABLE: jspace.data 0 bytes, spill_end 0 before and after the case (compose never spills at omega 62b6a28)" + ] + }, + { + "row": "C6e", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-1/compose refused: Cortex journal behind its J-Space anchor (E_RE", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-2/compose refused: Cortex journal behind its J-Space anchor (E_RE", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-3/compose refused: Cortex journal behind its J-Space anchor (E_RE" + ] + }, + { + "row": "C6f", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-1/compose.machine-root holds 16 bytes, expected 32; effect commands refuse unt", + "opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-2/compose.machine-root holds 16 bytes, expected 32; effect commands refuse unt", + "opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-3/compose.machine-root holds 16 bytes, expected 32; effect commands refuse unt" + ] + }, + { + "row": "C6g", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-1/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect com", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-2/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect com", + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-3/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect com" + ] + }, + { + "row": "C6h", + "control": "control-C6", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-1/state/processed_operations.json is damaged (invalid", + "daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-2/state/processed_operations.json is damaged (invalid", + "daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-3/state/processed_operations.json is damaged (invalid" + ] + }, + { + "row": "C6i", + "control": "control-C6", + "control_pass": true, + "reps": 1, + "verdict": "PASS", + "outcomes": [ + "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6i-1/compose refused: Cortex journal behind its J-Space anchor (E_RE" + ] + }, + { + "row": "C7a", + "control": "control-C7", + "control_pass": true, + "reps": 3, + "verdict": "FAIL", + "outcomes": [ + "" + ] + }, + { + "row": "C7b", + "control": "control-C7", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "start refused (mark); recover mark_lost=1; execute ReconcileFailed; reconcile ok=true; execute A3 DONE" + ] + }, + { + "row": "C8a", + "control": "control-C8", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a l; second start quiet" + ] + }, + { + "row": "C8b", + "control": "control-C8", + "control_pass": true, + "reps": 3, + "verdict": "PASS", + "outcomes": [ + "control done; mark deleted; restart adopted; re-execute AlreadySpent" + ] + }, + { + "row": "C3 control", + "control": "F0", + "control_pass": true, + "reps": 1, + "verdict": "PASS", + "outcomes": [ + "gpu daemon with AIEN_REQUIRE_BLACKWELL=1: NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)" + ] + } + ], + "controls": [ + { + "row": "control-C1", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "a1154655167475124c27a8f62ad8e83a7a993b6676702f1501e142dc02b07667", + "a1154655167475124c27a8f62ad8e83a7a993b6676702f1501e142dc02b07667" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "e365c2668fb88a77fb2239fa69d7246de9a3caee77fa2a5f84af322376431306" + }, + { + "file": "steps/final-ledger.json", + "sha256": "d65760f7ba03275686b3983e1eb01c0e3b540e041f6f9cd330c9549acc644a53" + }, + { + "file": "steps/final-recall.json", + "sha256": "117b4b24edca43a2036abd8633cfdc9bc1a3a808b23f4ed5dfeef9b8e4a167c4" + }, + { + "file": "steps/pre.json", + "sha256": "0876acc5fcff8324e4e6b443f60276f455035059973d69fd84226f0d59dd9f91" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "216708b367e245aef7a11306aa742fcf47cc28e8155d0473f4aba73a7f9c6a11" + }, + { + "file": "steps/X1.json", + "sha256": "fe6c8ba426f839b2b6b2c97f32495abbfbe86f5153a5680f8abd6af4fa45da6e" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "5f377a92f4865641b507da8728a88449eeadc1c3973871f481ae3972840919c9" + }, + { + "file": "daemon-2.log", + "sha256": "5f377a92f4865641b507da8728a88449eeadc1c3973871f481ae3972840919c9" + } + ] + }, + { + "row": "control-C2", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "3173a2174f62a8ab7ab6273ad160f785e80dc7008e76f42af0bd7c54e1d5ef26", + "3173a2174f62a8ab7ab6273ad160f785e80dc7008e76f42af0bd7c54e1d5ef26" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "af3d4e6fe5a09eccb6216db5ebc54e24b8cbf51976183d552478d7db1cb2f700" + }, + { + "file": "steps/final-ledger.json", + "sha256": "08368dcad3c16baf5ca29c9b394a631a005f2843ceaefd5602d7a6639bb2a4be" + }, + { + "file": "steps/final-recall.json", + "sha256": "2fc9c619f28ea612dbdbdb223be345eef14eabb882be75bd77c4ce3e45a9098c" + }, + { + "file": "steps/pre.json", + "sha256": "7ef01dfe1819cae9716bae14a862be66678efd3a81e23681b89b0531c58d91c4" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "37ac7751859ccdb14bf76f30469e89ffa4be2260f3dc1303bf72d88097a9178b" + }, + { + "file": "steps/X1.json", + "sha256": "c84abcb753e833604aa495d96f0666adeb8111e810c51292eb922afea1fda2e9" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "173ba6e64dc8122a1da36a4929050aea7427434cb1c485ba3d93273833e29699" + }, + { + "file": "daemon-2.log", + "sha256": "173ba6e64dc8122a1da36a4929050aea7427434cb1c485ba3d93273833e29699" + } + ] + }, + { + "row": "control-C4", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "5fd7a70b7e81913d425cae5a79be57592c60de39487ef1f93dfc408f7e172b49", + "5fd7a70b7e81913d425cae5a79be57592c60de39487ef1f93dfc408f7e172b49" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "2aa66cb177378800e3cab5edae26064ae109b5519c2d4ffaebed1ca3c8fb7731" + }, + { + "file": "steps/final-ledger.json", + "sha256": "adaa35e2c244b0074830f455ce27ca018646925e06bb9c5afdce4d688e211d10" + }, + { + "file": "steps/final-recall.json", + "sha256": "2c2674315824687355758f6febf45a3d9e501dc04d1fa5e821e8e48ebf073fec" + }, + { + "file": "steps/pre.json", + "sha256": "069fdd362df9a1ec12f23d78d0a1e2a2b488cf03aacc77e6657bda5604386a38" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "0b815a3784f128c86266be5a01491976ed0b9ff907e16191f41284da55b15616" + }, + { + "file": "steps/X1.json", + "sha256": "ab53d015bc8a82092fe38d69ed1bcc876ec7665a7a08e77f9ae3bad86ac0f07c" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "365c82bc810b4cda8fff0d7eb76792936264a4ee8103606cb8d190a78180a0e0" + }, + { + "file": "daemon-2.log", + "sha256": "365c82bc810b4cda8fff0d7eb76792936264a4ee8103606cb8d190a78180a0e0" + } + ] + }, + { + "row": "control-C5", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "0e4664fa9ee7f9a501dcfb1c768d262dbac32b9cd118d21c55fcd892c04e2c87", + "0e4664fa9ee7f9a501dcfb1c768d262dbac32b9cd118d21c55fcd892c04e2c87" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "5ce86150706ce186a815660a90437ea7dc586f3ac79d6cbc94fc788e876f622d" + }, + { + "file": "steps/final-ledger.json", + "sha256": "da2016be2421cef18b57f57e1e688a9eaea69c93e9c2b9f822a07198a5aba6d6" + }, + { + "file": "steps/final-recall.json", + "sha256": "79e3a46a39b6809c4ecca31aa70ddc57cc6847e87b1f81e17a8063825439f5c7" + }, + { + "file": "steps/pre.json", + "sha256": "862831763dc11bc9f98a2870d9f7eae347a5577c1ca69ea4d87c16af93cb95fe" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "a4cb791df46de807ffda180598a8f2018744032ee18ed22f31611f7612426ae9" + }, + { + "file": "steps/X1.json", + "sha256": "2295c90d22348ea5a94cb1ebcdd7db30c53b6ea3bcfc7a70ede53c719dfb73d1" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "7901d2427f162bb838513a208ae3a8a575077d7c3fd73b1a61288471807c3bcf" + }, + { + "file": "daemon-2.log", + "sha256": "7901d2427f162bb838513a208ae3a8a575077d7c3fd73b1a61288471807c3bcf" + } + ] + }, + { + "row": "control-C6", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "b0abb36ddb71fda0f8955eedd1ae9ec309ffeffbfc1a6a770ce0f45450854692", + "b0abb36ddb71fda0f8955eedd1ae9ec309ffeffbfc1a6a770ce0f45450854692" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "82d69a2d4f30cf82e11a07a3eaa08e8449d2da5645707c6ac9445643f2faa62e" + }, + { + "file": "steps/final-ledger.json", + "sha256": "184a4572ae3b5224a1a7b70d5e3ce74e3d05ccdc32f8c75725d7a35479135283" + }, + { + "file": "steps/final-recall.json", + "sha256": "10476ae224cc0d45465a4ff5ffedd28e276f27322ce5548ae05639bc20f24b80" + }, + { + "file": "steps/pre.json", + "sha256": "61b2e57addad4789d5b8c76fad46a02f4a310e2be043b4005e87a1d6e2152373" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "f23d1af1ee073b7563286fe46326d2393e1c0d024771f5d53551781568f41f91" + }, + { + "file": "steps/X1.json", + "sha256": "c094e58e527ca76962cb3983b66a32bbfe7caf6d0e7844ac2e32ef23a45c7816" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "04cf38cdc1e7c8a9614b6747313964427a27888a8dda7750ee79a7489cbd2192" + }, + { + "file": "daemon-2.log", + "sha256": "04cf38cdc1e7c8a9614b6747313964427a27888a8dda7750ee79a7489cbd2192" + } + ] + }, + { + "row": "control-C7", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "1ac4701a4214fb68e233cf2d8b6edb4c1fd10bb82325d58da16b2d277ac9358b", + "1ac4701a4214fb68e233cf2d8b6edb4c1fd10bb82325d58da16b2d277ac9358b" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "75a8115b5be31486fc6d5def7e27744da04b532cfc8a29585fe7ecd00a2cb88a" + }, + { + "file": "steps/final-ledger.json", + "sha256": "6bf8d9294aa78b89274cad3c3565986ed89e5166ac2e1936d39c20cd00cee33f" + }, + { + "file": "steps/final-recall.json", + "sha256": "24370228715e6a10e530816ba3261099e8a9ee5da8a77b5f27920c1a89a33fe8" + }, + { + "file": "steps/pre.json", + "sha256": "8c311a28474d7c1cf8a02877f2c66f7078368dde5960fe779f735f64e79d33c9" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "01ae39c1b9cd6b7c818f2f70a0f042ddc383676b43322ea6871aa9474b01b427" + }, + { + "file": "steps/X1.json", + "sha256": "5c3cb506f82c1607b776efcc99230d2062e5e0bdb908b92a24bd8b7d73a90255" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "6f229cd0e61c6380d83dddd1a4f5ebf5d49369d53c869959a32a0a269a325695" + }, + { + "file": "daemon-2.log", + "sha256": "6f229cd0e61c6380d83dddd1a4f5ebf5d49369d53c869959a32a0a269a325695" + } + ] + }, + { + "row": "control-C8", + "rep": 1, + "injected_at": "none (uninjected control)", + "outcome": "DONE once; retry AlreadySpent; restart clean", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "d291048d7d36e8f9c2ae242cec875fe8fefb96c46cd82104c4634e962a5ed6c1", + "d291048d7d36e8f9c2ae242cec875fe8fefb96c46cd82104c4634e962a5ed6c1" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "17c04adf7f3e6d05f72ac9b10b6098edc131ce0b3d01ced9dd6b409866a695e9" + }, + { + "file": "steps/final-ledger.json", + "sha256": "6c6259fb2d39c3e0c27d199257c0a6736ff521c39177ced3cef65d8a5a92e50f" + }, + { + "file": "steps/final-recall.json", + "sha256": "69e5bf2aba0caed441d06c6f855771d9a8030efb6d3ed6515f31982d58f9d720" + }, + { + "file": "steps/pre.json", + "sha256": "062de7629b39024206f45e290b26b0570ab668d40666907d27482999128eed25" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "8bb8583b8f20b547e47d7fc4af119074116840a22402e7ecd618a20841f60687" + }, + { + "file": "steps/X1.json", + "sha256": "01c90b9305f18553d15cbf90442271ef81412aacc4a28c8ed1001e3f32cac52c" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "34395d5b80584fc72155ee7782077b1a99261ac83511deaa20b0c872647e6c09" + }, + { + "file": "daemon-2.log", + "sha256": "34395d5b80584fc72155ee7782077b1a99261ac83511deaa20b0c872647e6c09" + } + ] + } + ], + "rows": [ + { + "row": "C1a", + "rep": 1, + "injected_at": "hold after_write; SIGKILL daemon; release (ack lost)", + "outcome": "ack lost -> UNRESOLVED (exit 3) -> restart reconcile DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written_before_ack", + "ok": true, + "value": null + }, + { + "check": "executor_exit_3", + "ok": true, + "value": 3 + }, + { + "check": "executor_state_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "executor_ok_false", + "ok": true, + "value": null + }, + { + "check": "receipt_success_false", + "ok": true, + "value": null + }, + { + "check": "written_once_so_far", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "intent_has_no_ack", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_DONE", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 1, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"DONE\",\"disk_sha256\":\"e54c577c5fd88ff04329cf2db7b1321dbe2c687fd622ae44d305313a6ae4b63e\",\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "ledger_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "4d0811638c1c33ccf52e334382295d241b122abfaf27961eea6d857e0936f5d8", + "4d0811638c1c33ccf52e334382295d241b122abfaf27961eea6d857e0936f5d8" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "638f369c46ba5e7f5807cc005b7779442f02f7d13209d12cd3da4eb0079bcb4e" + }, + { + "file": "steps/final-ledger.json", + "sha256": "00c9dcbdbfb2e81b338f17ce3db654e0d3e5ca45810436aa56a13d37370731b7" + }, + { + "file": "steps/final-recall.json", + "sha256": "ecf196acef4c4f212ca0255a1721b9722f7e3319402d76efa92f75ee2fe223fe" + }, + { + "file": "steps/L1.json", + "sha256": "00c9dcbdbfb2e81b338f17ce3db654e0d3e5ca45810436aa56a13d37370731b7" + }, + { + "file": "steps/pre.json", + "sha256": "ee16e037a45f37fb2627a6f13106a0dd271ddea4c274dd6bc23415afb4592a26" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "43e4c717e6ceb6e9b950e2a027c41d82000c86a4ad46d15869333559a453db83" + }, + { + "file": "steps/RC1.json", + "sha256": "aae5efc88d1510ec597b1fc08a995334e009f053424341f8db0474fac3505b6f" + }, + { + "file": "steps/X1.json", + "sha256": "5ec0f80e6e2d3fb1c77a065e7cafc21b6feb784d48635244590655c7dc8ad16a" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "64e8cf5fc07c39745491e11257a1529cb14bfa775a5c19eeb95b98a5e03e5b17" + }, + { + "file": "daemon-2.log", + "sha256": "2ad2933a241893300f59040ea6a78f7a879a18a1b6a2ffd52bc1dcb6b83b0262" + } + ] + }, + { + "row": "C1a", + "rep": 2, + "injected_at": "hold after_write; SIGKILL daemon; release (ack lost)", + "outcome": "ack lost -> UNRESOLVED (exit 3) -> restart reconcile DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written_before_ack", + "ok": true, + "value": null + }, + { + "check": "executor_exit_3", + "ok": true, + "value": 3 + }, + { + "check": "executor_state_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "executor_ok_false", + "ok": true, + "value": null + }, + { + "check": "receipt_success_false", + "ok": true, + "value": null + }, + { + "check": "written_once_so_far", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "intent_has_no_ack", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_DONE", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 1, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"DONE\",\"disk_sha256\":\"e54c577c5fd88ff04329cf2db7b1321dbe2c687fd622ae44d305313a6ae4b63e\",\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "ledger_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "d8af5b85c3f379efba7b51836652ea37f036c2341b74fd3869409dc4c19d4f1b", + "d8af5b85c3f379efba7b51836652ea37f036c2341b74fd3869409dc4c19d4f1b" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "c7ac20fe8b04a5d3d2c02097e57805ca7eee6367e445f8661edcc818f9a729c7" + }, + { + "file": "steps/final-ledger.json", + "sha256": "3a185365d6e5b44468c1a669b6689e02f028bed65d766133747fade99aa1944d" + }, + { + "file": "steps/final-recall.json", + "sha256": "1c43e46a7a3a23b4b916b2b7c84c2df7f8bd48b084746614442dbe7e04007dca" + }, + { + "file": "steps/L1.json", + "sha256": "3a185365d6e5b44468c1a669b6689e02f028bed65d766133747fade99aa1944d" + }, + { + "file": "steps/pre.json", + "sha256": "f803a4c9b22262d470137933d43bca01e9fc829c25a3394da1aa21145a9ea105" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "7dc2a6b23636c0c7412374a971fdd114488941d0544d89a9f30b4b20a92f1e23" + }, + { + "file": "steps/RC1.json", + "sha256": "a67539f9d0f08f7e20bfb43322077fa282692a879dac369fd5eaa8106ae30077" + }, + { + "file": "steps/X1.json", + "sha256": "6daabb341597776c92ec603fe436c2415a2f942140d3bade8f31c58580880bff" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "3a49f29a92e5f22b6a0e8d965fa6f531007b16d2c933b16fa9de1b835e5935c2" + }, + { + "file": "daemon-2.log", + "sha256": "c168e180de8494aa7e03fa270a630c8f2b33126f581528e60bde7b216eb0addb" + } + ] + }, + { + "row": "C1a", + "rep": 3, + "injected_at": "hold after_write; SIGKILL daemon; release (ack lost)", + "outcome": "ack lost -> UNRESOLVED (exit 3) -> restart reconcile DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written_before_ack", + "ok": true, + "value": null + }, + { + "check": "executor_exit_3", + "ok": true, + "value": 3 + }, + { + "check": "executor_state_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "executor_ok_false", + "ok": true, + "value": null + }, + { + "check": "receipt_success_false", + "ok": true, + "value": null + }, + { + "check": "written_once_so_far", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "intent_has_no_ack", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_DONE", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 1, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"DONE\",\"disk_sha256\":\"e54c577c5fd88ff04329cf2db7b1321dbe2c687fd622ae44d305313a6ae4b63e\",\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "ledger_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "afe58bd5e709fc18d379850a039407b8e3e714e325a08c1a89d44f998c9c4fad", + "afe58bd5e709fc18d379850a039407b8e3e714e325a08c1a89d44f998c9c4fad" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "022176d2cf52c73b3fa606c999c4abcf9a8ebe5a36ae8e4a71d56e2ce5bb9c09" + }, + { + "file": "steps/final-ledger.json", + "sha256": "82e38d2431dd63c41dddacd64d4a8bc6ef544d82aa3ff736496326c449ed474f" + }, + { + "file": "steps/final-recall.json", + "sha256": "1471d473611b7903b63684449bb8eb2dc3b31dd3db6bb8c72eaf31f6052eb0f9" + }, + { + "file": "steps/L1.json", + "sha256": "82e38d2431dd63c41dddacd64d4a8bc6ef544d82aa3ff736496326c449ed474f" + }, + { + "file": "steps/pre.json", + "sha256": "ed49618036b36938435217e54d2d08053278c3d6ffb4542a11e71c662348f5df" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "f215e9c6c20d856771a2ddc0e6003932329d1f971e98bcb1e6bd922f460fa69d" + }, + { + "file": "steps/RC1.json", + "sha256": "58101201cae544c81eb2911e8f57f54559a218ece7b84ab5ef2f554e0c94b17d" + }, + { + "file": "steps/X1.json", + "sha256": "aab2c94a103c741ca2a343e134e0a2fb923f22a62c8ea4153379b61e8d4929b5" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "adf00ccfb4563a0206d6f59687f80ba7b078763620188d9b2115b8f2f1fe3a61" + }, + { + "file": "daemon-2.log", + "sha256": "fe87fcdafc83bdacf5edfd39bca70a618bf3dc4c3ff121d858dee4dd3c0dd8d7" + } + ] + }, + { + "row": "C1b", + "rep": 1, + "injected_at": "hold after_write; SIGKILL daemon; release (ack lost); harness overwrites target before restart", + "outcome": "ack lost + world changed -> restart UNRESOLVED; retry ReconciliationRequired; operator NOT_DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written_before_ack", + "ok": true, + "value": null + }, + { + "check": "executor_exit_3", + "ok": true, + "value": 3 + }, + { + "check": "executor_state_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "executor_ok_false", + "ok": true, + "value": null + }, + { + "check": "receipt_success_false", + "ok": true, + "value": null + }, + { + "check": "written_once_so_far", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "intent_has_no_ack", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_UNRESOLVED", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 1 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"UNRESOLVED\",\"disk_sha256\":\"4a8360efb2abb964951ac4b8d939c844d50838fb17543cf311a784c16f88822e\",\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "ledger_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "R5_effects_lists_UNRESOLVED", + "ok": true, + "value": null + }, + { + "check": "declare_NOT_DONE", + "ok": true, + "value": "NOT_DONE" + }, + { + "check": "retry_after_declare_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "harness_bytes_kept", + "ok": true, + "value": null + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "13cef5cc78b200338016fac8505b5b9fc44757657686e9762dc5512ebe3b278e", + "13cef5cc78b200338016fac8505b5b9fc44757657686e9762dc5512ebe3b278e" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "aa5582289c422b71f8215259963fcb4b5dc168d0d65adefa68700f0023acdf6f" + }, + { + "file": "steps/D1.json", + "sha256": "14fc3cd9a8c2d4eab15edc0bda5533fdc1cd0abe7d3a14394febe7cb338579b8" + }, + { + "file": "steps/final-ledger.json", + "sha256": "031e5d56f0d92dfda0e22fea141a53eb5b49ad11a7fe4b7d5b586592ddc94118" + }, + { + "file": "steps/final-recall.json", + "sha256": "9d677358c229e80b226dae76b555f6fdd8a04f738e2e04598eb1623ea340c516" + }, + { + "file": "steps/L1.json", + "sha256": "ffd84a186d6dd8e9370fe6e22e89f1573010ebd1b6a30f13c1c440c5fd62f165" + }, + { + "file": "steps/L2.json", + "sha256": "ffd84a186d6dd8e9370fe6e22e89f1573010ebd1b6a30f13c1c440c5fd62f165" + }, + { + "file": "steps/pre.json", + "sha256": "aa77c084a558840041c5a5f81db1b8e440a6f5012c7c6dc7589ec4804da15744" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "2339e782985c06e1431acedad35958ee190c133633e1da4b440dfc3ddfb4573d" + }, + { + "file": "steps/RC1.json", + "sha256": "12e64162d459b6cb2a7059a340cd0e7f67f065650ce2aa056a979c587186fa3a" + }, + { + "file": "steps/X1.json", + "sha256": "67bf4650f4f5eea09556c67dee4a56d648c2f5d2ccbfc10a368cc9f905f67480" + }, + { + "file": "steps/X2.json", + "sha256": "1cb906a1222bd780723ead1e567f715c09f43ae4a83b58585d684484718ef9fd" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "daemon-1.log", + "sha256": "f01bf70605f1e744b29e56bb851d191824382799cfca63769d60ed6a7218c550" + }, + { + "file": "daemon-2.log", + "sha256": "d513703521d136d57164295e1634c8bec482871edf9a7c8d8cf259825456cc62" + } + ] + }, + { + "row": "C1b", + "rep": 2, + "injected_at": "hold after_write; SIGKILL daemon; release (ack lost); harness overwrites target before restart", + "outcome": "ack lost + world changed -> restart UNRESOLVED; retry ReconciliationRequired; operator NOT_DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written_before_ack", + "ok": true, + "value": null + }, + { + "check": "executor_exit_3", + "ok": true, + "value": 3 + }, + { + "check": "executor_state_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "executor_ok_false", + "ok": true, + "value": null + }, + { + "check": "receipt_success_false", + "ok": true, + "value": null + }, + { + "check": "written_once_so_far", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "intent_has_no_ack", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_UNRESOLVED", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 1 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"UNRESOLVED\",\"disk_sha256\":\"4a8360efb2abb964951ac4b8d939c844d50838fb17543cf311a784c16f88822e\",\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "ledger_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "R5_effects_lists_UNRESOLVED", + "ok": true, + "value": null + }, + { + "check": "declare_NOT_DONE", + "ok": true, + "value": "NOT_DONE" + }, + { + "check": "retry_after_declare_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "harness_bytes_kept", + "ok": true, + "value": null + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "3db3a26561d25751abc526241d6e848b56948fbb350cf3fd73a30537eef3bccf", + "3db3a26561d25751abc526241d6e848b56948fbb350cf3fd73a30537eef3bccf" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "2730051e5ef08a647199bf41a7db0f08097e8ee7aa02810afad6c2726bbc1184" + }, + { + "file": "steps/D1.json", + "sha256": "3cfb5713e02dbe4ce0c5395e5e539b0ac9ecf77f85fe2bdba2b1d0900af98af3" + }, + { + "file": "steps/final-ledger.json", + "sha256": "4197e7f85a157a5b965ca67bf63622bfc9ddf3356ab4067aff165404d0170024" + }, + { + "file": "steps/final-recall.json", + "sha256": "30a3aa2471bc8d2793a50885079408bff143196bb1d76b447e51cbaf07c7f4d8" + }, + { + "file": "steps/L1.json", + "sha256": "2c81237ff7714291287e170bb967fbc59702e503f2c5a0f5753730d2b3eb3f9e" + }, + { + "file": "steps/L2.json", + "sha256": "2c81237ff7714291287e170bb967fbc59702e503f2c5a0f5753730d2b3eb3f9e" + }, + { + "file": "steps/pre.json", + "sha256": "257d8935e61cc602249269bf5af545f37a78a7f42c33006d489d23bd8a62e4c4" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "b9c56830fd8a30b3da6b02248eacb3a381cc663b1ca0038c9f94d93417eee454" + }, + { + "file": "steps/RC1.json", + "sha256": "c26664b7c3f8663f6eb6b950f9f228245d4bda96d53bd77e39c94830cedc197e" + }, + { + "file": "steps/X1.json", + "sha256": "43944a0b10aa317c3b62e80631ef0954bb0ff8f3fc48740936485f17f0754146" + }, + { + "file": "steps/X2.json", + "sha256": "1cb906a1222bd780723ead1e567f715c09f43ae4a83b58585d684484718ef9fd" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "daemon-1.log", + "sha256": "4f35eb9cac64c358682a0a0d032987985f5a2b60b98390ee1a64da23476089e6" + }, + { + "file": "daemon-2.log", + "sha256": "68d576aff9c5fbc6293a7a1a4fa7339b7c5dbbffff6fee517390c4b1fc82442c" + } + ] + }, + { + "row": "C1b", + "rep": 3, + "injected_at": "hold after_write; SIGKILL daemon; release (ack lost); harness overwrites target before restart", + "outcome": "ack lost + world changed -> restart UNRESOLVED; retry ReconciliationRequired; operator NOT_DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written_before_ack", + "ok": true, + "value": null + }, + { + "check": "executor_exit_3", + "ok": true, + "value": 3 + }, + { + "check": "executor_state_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "executor_ok_false", + "ok": true, + "value": null + }, + { + "check": "receipt_success_false", + "ok": true, + "value": null + }, + { + "check": "written_once_so_far", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "intent_has_no_ack", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_UNRESOLVED", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 1 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"UNRESOLVED\",\"disk_sha256\":\"4a8360efb2abb964951ac4b8d939c844d50838fb17543cf311a784c16f88822e\",\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "ledger_UNRESOLVED", + "ok": true, + "value": "UNRESOLVED" + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "R5_effects_lists_UNRESOLVED", + "ok": true, + "value": null + }, + { + "check": "declare_NOT_DONE", + "ok": true, + "value": "NOT_DONE" + }, + { + "check": "retry_after_declare_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "harness_bytes_kept", + "ok": true, + "value": null + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "49bced84ff92779471cc727fe031df1198e836348b2efa4e4011c6f21656ff2f", + "49bced84ff92779471cc727fe031df1198e836348b2efa4e4011c6f21656ff2f" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "03ff3e53c0bec99d8e8b64bc8f10eadad754a6514f82338d0529e848e319d305" + }, + { + "file": "steps/D1.json", + "sha256": "54053850c2b26b4c7e6d22c0f0adc9866430699640f1076de6dbc2d2d113bc33" + }, + { + "file": "steps/final-ledger.json", + "sha256": "d86a2555a20729609fe0138b2726f4f307589f87c0300961a86e0eca8893dc47" + }, + { + "file": "steps/final-recall.json", + "sha256": "36029db837dce1fff7fd90ad102727119d324e102e123ce3497a6de8f97d0362" + }, + { + "file": "steps/L1.json", + "sha256": "8f6d2e1230a2564dd30d6340bffbd9d6177d55560fd4881f1c2fcc102449af84" + }, + { + "file": "steps/L2.json", + "sha256": "8f6d2e1230a2564dd30d6340bffbd9d6177d55560fd4881f1c2fcc102449af84" + }, + { + "file": "steps/pre.json", + "sha256": "39b486c9aa539101f57603628c4be65dda669f63f486255883495ed30ca11493" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "a13ba70d26b43d7dbcd7f816e9d653f52ca1f84208783dee0a219f98b3ea2f98" + }, + { + "file": "steps/RC1.json", + "sha256": "5d50a0a436f8194b5a3156c3dde0c671f7d40a1a561eaa0e12dcb16021e140e8" + }, + { + "file": "steps/X1.json", + "sha256": "2209467edb637013e5a1b3c89634c0faf27b1efae7b36f310938a6f07434c87b" + }, + { + "file": "steps/X2.json", + "sha256": "1cb906a1222bd780723ead1e567f715c09f43ae4a83b58585d684484718ef9fd" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "daemon-1.log", + "sha256": "5197a2803acfd556edde4c0d25c17a53ca2bd0a51ba5da8d0678ef262906d62c" + }, + { + "file": "daemon-2.log", + "sha256": "566ca718bcf80b93f5453a0646cfd26dae333bdb0a30e9c5e828a4b109ce8477" + } + ] + }, + { + "row": "C2a", + "rep": 1, + "injected_at": "hold before_intent; SIGKILL daemon; release", + "outcome": "refused while daemon dead (no intent, no write); after restart DONE once", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "executor_refused", + "ok": true, + "value": "Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C2a-1/aien.sock: No such file or directory (os error 2)" + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "host_record_count_unchanged", + "ok": true, + "value": [ + 3, + 3 + ] + }, + { + "check": "records_total_is_before_plus_5", + "ok": true, + "value": { + "before_kill": 23, + "after_restart": 28 + } + }, + { + "check": "startup_records_are_5_entity_creates", + "ok": true, + "value": [ + { + "id": 24, + "cls": 1, + "kind": 65538, + "subject": 1 + }, + { + "id": 25, + "cls": 1, + "kind": 65538, + "subject": 2 + }, + { + "id": 26, + "cls": 1, + "kind": 65538, + "subject": 3 + }, + { + "id": 27, + "cls": 1, + "kind": 65538, + "subject": 4 + }, + { + "id": 28, + "cls": 1, + "kind": 65538, + "subject": 5 + } + ] + }, + { + "check": "no_intent", + "ok": true, + "value": null + }, + { + "check": "same_grant_executes_after_restart", + "ok": true, + "value": "DONE" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "96b874f1bda7f9d6766af973927a88bdf71b0dea56239eec2771da3fdb5a703a", + "96b874f1bda7f9d6766af973927a88bdf71b0dea56239eec2771da3fdb5a703a" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 29 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "8f5d29d1b3121a75579a2af0e05ad28fb681ead6ad9920d41ac63427fdc7d6d5" + }, + { + "file": "steps/count1.json", + "sha256": "6e40e6f4148c9a8c7a1f8426281fdfb110c9461f042991c6d715f864d94d23c1" + }, + { + "file": "steps/count2.json", + "sha256": "7909af560bf5297835463eb2ddade0cf3c2a425803c09bbc133f7204074abba3" + }, + { + "file": "steps/final-ledger.json", + "sha256": "862d90a1c109484fec58a20f001d3062db6e1d3e3dd34862d6b409f795d0b53e" + }, + { + "file": "steps/final-recall.json", + "sha256": "bb0a0612f4bd5de040ac0b76921e7e5eaddee5725ec5ca6cb46efd7901ec8480" + }, + { + "file": "steps/L1.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/pre.json", + "sha256": "9307e65125cdfcb257a2bb5bc1fb08da230cf70e0983cb9e9daa47271a47126d" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "44ca4c31209f71e9b409e304c7cc52e04e23d525ab30f75b30b51c418e65cfe3" + }, + { + "file": "steps/X1.json", + "sha256": "1df902e69c6abb9fdca7cb6c37094427802895ce52d7c9a862dddbf83793cf1b" + }, + { + "file": "steps/X2.json", + "sha256": "414667366550ca59d6654cdae4d02b9af83f98588d8fb3175b43d8a80f3d9f2b" + }, + { + "file": "steps/X3.json", + "sha256": "6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4" + }, + { + "file": "daemon-1.log", + "sha256": "f36c23c57fa0e50062afdb1d87f07d3126640e67cd6c46d421b3fdfa4ba8895f" + }, + { + "file": "daemon-2.log", + "sha256": "f36c23c57fa0e50062afdb1d87f07d3126640e67cd6c46d421b3fdfa4ba8895f" + } + ] + }, + { + "row": "C2a", + "rep": 2, + "injected_at": "hold before_intent; SIGKILL daemon; release", + "outcome": "refused while daemon dead (no intent, no write); after restart DONE once", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "executor_refused", + "ok": true, + "value": "Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C2a-2/aien.sock: No such file or directory (os error 2)" + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "host_record_count_unchanged", + "ok": true, + "value": [ + 3, + 3 + ] + }, + { + "check": "records_total_is_before_plus_5", + "ok": true, + "value": { + "before_kill": 23, + "after_restart": 28 + } + }, + { + "check": "startup_records_are_5_entity_creates", + "ok": true, + "value": [ + { + "id": 24, + "cls": 1, + "kind": 65538, + "subject": 1 + }, + { + "id": 25, + "cls": 1, + "kind": 65538, + "subject": 2 + }, + { + "id": 26, + "cls": 1, + "kind": 65538, + "subject": 3 + }, + { + "id": 27, + "cls": 1, + "kind": 65538, + "subject": 4 + }, + { + "id": 28, + "cls": 1, + "kind": 65538, + "subject": 5 + } + ] + }, + { + "check": "no_intent", + "ok": true, + "value": null + }, + { + "check": "same_grant_executes_after_restart", + "ok": true, + "value": "DONE" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "2c999277815530add6ba0e4ca36d7280339f4d6f192679cd00a5e49fb2be985f", + "2c999277815530add6ba0e4ca36d7280339f4d6f192679cd00a5e49fb2be985f" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 29 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "63664982388d7d50bf99a2f31f71c68c285703ab9d1d499cf543757637627a22" + }, + { + "file": "steps/count1.json", + "sha256": "8e8bcd01a6cb0f1350c9cc6be7fcf60fb0c3bbeb796ead6926490446c4410c0e" + }, + { + "file": "steps/count2.json", + "sha256": "bc0bc2799b392e417d85e677d2de1e39ea7167d15d8847037b3a6bab3d16c3f5" + }, + { + "file": "steps/final-ledger.json", + "sha256": "2b0b041b6fae9b2dddcf23dccc829570d054920a6fedd9480fbd26dc51740197" + }, + { + "file": "steps/final-recall.json", + "sha256": "1fb3439981fc94d7f76484767d5761249a0bb0d33f08857c37b4b088a4861c83" + }, + { + "file": "steps/L1.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/pre.json", + "sha256": "4e224caca7f26f00558c0dbfcab3484ee7a08ab5f3f911f557c5be1a873db775" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "2f9d0b5ed87be0eb685b2a8c55ef3688614eded27feb51adb3eab2e10cf32a27" + }, + { + "file": "steps/X1.json", + "sha256": "86aafdfd44818c2ee348deadeb908d6aab8cc4a2bb8167be2c095caed22fed5e" + }, + { + "file": "steps/X2.json", + "sha256": "13a6fdd6d47ce44c75dd45bf8e8664f5d6f3be862d165011f7c6de22d4c3232f" + }, + { + "file": "steps/X3.json", + "sha256": "6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4" + }, + { + "file": "daemon-1.log", + "sha256": "1053cb2b45123439da984797efa27fe972a13a0811467f3a7a8240f52d702efc" + }, + { + "file": "daemon-2.log", + "sha256": "1053cb2b45123439da984797efa27fe972a13a0811467f3a7a8240f52d702efc" + } + ] + }, + { + "row": "C2a", + "rep": 3, + "injected_at": "hold before_intent; SIGKILL daemon; release", + "outcome": "refused while daemon dead (no intent, no write); after restart DONE once", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "executor_refused", + "ok": true, + "value": "Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C2a-3/aien.sock: No such file or directory (os error 2)" + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "host_record_count_unchanged", + "ok": true, + "value": [ + 3, + 3 + ] + }, + { + "check": "records_total_is_before_plus_5", + "ok": true, + "value": { + "before_kill": 23, + "after_restart": 28 + } + }, + { + "check": "startup_records_are_5_entity_creates", + "ok": true, + "value": [ + { + "id": 24, + "cls": 1, + "kind": 65538, + "subject": 1 + }, + { + "id": 25, + "cls": 1, + "kind": 65538, + "subject": 2 + }, + { + "id": 26, + "cls": 1, + "kind": 65538, + "subject": 3 + }, + { + "id": 27, + "cls": 1, + "kind": 65538, + "subject": 4 + }, + { + "id": 28, + "cls": 1, + "kind": 65538, + "subject": 5 + } + ] + }, + { + "check": "no_intent", + "ok": true, + "value": null + }, + { + "check": "same_grant_executes_after_restart", + "ok": true, + "value": "DONE" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "f4127e4ca9a5ced579a966e3f9d819667f0c2e5c70e58bf707aa27f05c3dce12", + "f4127e4ca9a5ced579a966e3f9d819667f0c2e5c70e58bf707aa27f05c3dce12" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 29 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "6f55c58f4a2df4b26b101ed8fdeabb8edebbb93fcdb3212a3497be77a5eb4e65" + }, + { + "file": "steps/count1.json", + "sha256": "76f85457a8e1f9392b0191f4bede9175f361f7b9b8fabca71d2fc68426190bb2" + }, + { + "file": "steps/count2.json", + "sha256": "fb8da12376ba616823678e3ba948415a347a65c4d91a8b8bd83ab985e31cc1f4" + }, + { + "file": "steps/final-ledger.json", + "sha256": "4122e505d10678695de4ff99d07bbd9cdd5151b9a07dc32022adbde2a77c391b" + }, + { + "file": "steps/final-recall.json", + "sha256": "c116ab782e1566a2e4274dce43fdf33e01d609be79e236a8a431e8228205777d" + }, + { + "file": "steps/L1.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/pre.json", + "sha256": "b6552a20ac6faf6bb6364ba6eab4b1b4aba486388ea449d59cf6cc5766952ebd" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "d71f7bdf37d6ea5bd19e41eb7fded622eccf6fcf08619445c731e02019651ad3" + }, + { + "file": "steps/X1.json", + "sha256": "7ba0fa6d72637c1acb92c6df8e7bfd3eae4c1d72b4420f4b2f37d2ee315bd76b" + }, + { + "file": "steps/X2.json", + "sha256": "04c8fc7dbf03e6fb224c7cadee6ce4448b01b655993f3351c3bd67cb8b3be908" + }, + { + "file": "steps/X3.json", + "sha256": "6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4" + }, + { + "file": "daemon-1.log", + "sha256": "0a55a8b8b1cb68cd61ddfba91db0874c4ce2381469b3bdf835c23c0ba3b2fa8f" + }, + { + "file": "daemon-2.log", + "sha256": "0a55a8b8b1cb68cd61ddfba91db0874c4ce2381469b3bdf835c23c0ba3b2fa8f" + } + ] + }, + { + "row": "C2b", + "rep": 1, + "injected_at": "hold after_intent; SIGKILL executor (daemon up)", + "outcome": "executor killed at after_intent -> NOT_DONE; retry AlreadySpent; new grant A2 DONE (approvals 2)", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "reconcile_records_NOT_DONE", + "ok": true, + "value": "NOT_DONE" + }, + { + "check": "ledger_NOT_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "new_grant_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "approvals_2_both_counted", + "ok": true, + "value": 2 + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "353f660bfc530d1fe1b413a06f4aba6efcf0fb13f7109319e702501497e9b69f", + "353f660bfc530d1fe1b413a06f4aba6efcf0fb13f7109319e702501497e9b69f" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 27 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "b63799798d0fb4dc2d74eb459cf7f4cbf0678b2306b4191718590094f4b26585" + }, + { + "file": "steps/A2.json", + "sha256": "ef4dce9882b5f1eb5a6ae5ae3a0a251444a4970bb66b48605575768927880e24" + }, + { + "file": "steps/final-ledger.json", + "sha256": "35894a990bbaa6adee9a82f0124110dfda6a3f9f3c32e610b34126a3f78307f6" + }, + { + "file": "steps/final-recall.json", + "sha256": "0bc9548ea8e2cf1426781bb031fb70c678cde50b261fb4b0797ca170d4b0abd8" + }, + { + "file": "steps/L1.json", + "sha256": "1ed6c741345ced47bce3ace7a8f1efa287736b21a3de488aa8f7282ca2c28b96" + }, + { + "file": "steps/pre.json", + "sha256": "770ee9fdd3f32c3131f5cc71e10e0a0faba174f36e95241549706db0e6a57f7b" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "d43c5ba3c4c633a51fa25ae1117c2826e16b1162e22d7d9f7af27d5d8b35cc4c" + }, + { + "file": "steps/RC3.json", + "sha256": "abb74c130c2b949b502ba17e18878b12e659719e2e1c995594fa9af177392587" + }, + { + "file": "steps/RC.json", + "sha256": "da61d7529333274f3df767d8810b276a40d85363cc7924bcbae15e6dae43028c" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X2.json", + "sha256": "18baf5a177d00cf7656507fe93a413aa2708bda72fb4802045799cbc61d5793d" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "steps/X4.json", + "sha256": "0f0c759df541f4e7bcbe8f6b8f36fbf0d7da33699e5e7c15041550bd70ab3469" + }, + { + "file": "daemon-1.log", + "sha256": "3fff148dd8c7f94370d0a2195f47788fcf4a5a08adecf78aa23198642f77a563" + } + ] + }, + { + "row": "C2b", + "rep": 2, + "injected_at": "hold after_intent; SIGKILL executor (daemon up)", + "outcome": "executor killed at after_intent -> NOT_DONE; retry AlreadySpent; new grant A2 DONE (approvals 2)", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "reconcile_records_NOT_DONE", + "ok": true, + "value": "NOT_DONE" + }, + { + "check": "ledger_NOT_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "new_grant_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "approvals_2_both_counted", + "ok": true, + "value": 2 + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "fe1cca9e54754053f2b908672ddaa5ed8748008eaff1c6633602237e41f21009", + "fe1cca9e54754053f2b908672ddaa5ed8748008eaff1c6633602237e41f21009" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 27 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "b9d9788340618c2b05206221141f965a716aab02f9fb518ca439fcf9c2c2885a" + }, + { + "file": "steps/A2.json", + "sha256": "bb8605c37f819d0a6442b28db861a6b31866b8b1796b3b670c9b9eabd04217b2" + }, + { + "file": "steps/final-ledger.json", + "sha256": "adbacc236d9ecb34506cbb8cdcfe79748a3214a20f0e3a92476289d6225d9d94" + }, + { + "file": "steps/final-recall.json", + "sha256": "0a999abd229b2824cf2d8c065dac8f3a7b10c5a48c0f1c041f87927671b757e4" + }, + { + "file": "steps/L1.json", + "sha256": "d5f6c29d6ce3732ed8cb7b4fceaddc97adad6411609d7874eb9e793e1863e32a" + }, + { + "file": "steps/pre.json", + "sha256": "fde7792b10d8536d7600ab26a36ca79c2cdc0abe6d614e0dfa498b33c4c7f0a1" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "452868107aeda87f2dad7c37c9d18995986fa1e0440a99e42b35fe53dc9f0c2f" + }, + { + "file": "steps/RC3.json", + "sha256": "88c81d8c0bf9e0cd8f7d908ed3ce9d56cc6b42071d3519e47442cd9294bc0f00" + }, + { + "file": "steps/RC.json", + "sha256": "0aca03ededa4ab3c93fcb6137a35ee4ccd426eb43c972f116a108039bc3063cf" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X2.json", + "sha256": "18baf5a177d00cf7656507fe93a413aa2708bda72fb4802045799cbc61d5793d" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "steps/X4.json", + "sha256": "0fe9504eb7a870b94a4ea420b193ae14ee3c9a23af5e88cba9b64b00368596ff" + }, + { + "file": "daemon-1.log", + "sha256": "e3717c19e494fa3ae7aabea2e3333fb8a54c639786369a0fce3c19a99ccf12fc" + } + ] + }, + { + "row": "C2b", + "rep": 3, + "injected_at": "hold after_intent; SIGKILL executor (daemon up)", + "outcome": "executor killed at after_intent -> NOT_DONE; retry AlreadySpent; new grant A2 DONE (approvals 2)", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "reconcile_records_NOT_DONE", + "ok": true, + "value": "NOT_DONE" + }, + { + "check": "ledger_NOT_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "new_grant_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "approvals_2_both_counted", + "ok": true, + "value": 2 + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "84224f3b6fad51a11b29107316f142353a163112c36d0f1f31a1a04ea1f5e578", + "84224f3b6fad51a11b29107316f142353a163112c36d0f1f31a1a04ea1f5e578" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 27 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "4087f9b1ab97097faf3b1c741112df32e8e4b4949bf7a20ff4f940b0445b3a10" + }, + { + "file": "steps/A2.json", + "sha256": "b8f622a895f3f377a5857cf31e58424147e4341046eb67103073f01ddcd1ceee" + }, + { + "file": "steps/final-ledger.json", + "sha256": "6b1853bb9c5fa8a7c09230b19b5dd72aa00cd1064f70a9b585badfa11e4f9683" + }, + { + "file": "steps/final-recall.json", + "sha256": "0554bf4ff227659a3e65f14320f0e8715f46b01654b20ad4f5738e5fcb2ceab6" + }, + { + "file": "steps/L1.json", + "sha256": "96902f438951ed478b4bf0148a1cf5aace03b573d2291bdd67c507c1ef33ea7b" + }, + { + "file": "steps/pre.json", + "sha256": "3fd0668c7182ede91da02f9407d1275a08d156355881ed0f6aeef2c8b2d61ea1" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "2fd3994e93cbbff5bdac7f452b321716522c2c94a8ef66624dcad44529fc5758" + }, + { + "file": "steps/RC3.json", + "sha256": "9a7a301e41e7f9f0237255b3da7d030e321d07fe8d456bb92f2c781e47b3dff9" + }, + { + "file": "steps/RC.json", + "sha256": "7756077d9b1aff06213f976671b0c2dc74d72a7ccc8b00221778e15dde9beb2c" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X2.json", + "sha256": "18baf5a177d00cf7656507fe93a413aa2708bda72fb4802045799cbc61d5793d" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "steps/X4.json", + "sha256": "ab144d25089d5903e5c9226b3803632d873f667c4c97603c99b437e4abca23f4" + }, + { + "file": "daemon-1.log", + "sha256": "49e067e34bc0f418b9077ede41efa2177ff626a9e64889974ba823f7c813b95a" + } + ] + }, + { + "row": "C2c", + "rep": 1, + "injected_at": "hold after_intent; SIGKILL daemon then executor; restart", + "outcome": "executor killed at after_intent -> NOT_DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_NOT_DONE", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 0, NOT_DONE 1, UNRESOLVED 0 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"NOT_DONE\",\"disk_sha256\":null,\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "recall_shows_intent", + "ok": true, + "value": null + }, + { + "check": "recall_shows_reconcile_record", + "ok": true, + "value": null + }, + { + "check": "ledger_NOT_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "58c81d36d303c1cec17df3cef1fce57b042eeea7ede06f7b461ef1b17d086fde", + "58c81d36d303c1cec17df3cef1fce57b042eeea7ede06f7b461ef1b17d086fde" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "2878dfad58a2d6d730d27553398d53f7d9b5e3cd9562b6a7f86765bab965f7a5" + }, + { + "file": "steps/final-ledger.json", + "sha256": "986b07a29ea709a62a29c69403fb45fe47268627c1a8eea4344448013fb45e1b" + }, + { + "file": "steps/final-recall.json", + "sha256": "a09a43389d07702c0ba369cbcdd112cdcf330287f5b8d1aa5a9c1588a82fa2f3" + }, + { + "file": "steps/L1.json", + "sha256": "986b07a29ea709a62a29c69403fb45fe47268627c1a8eea4344448013fb45e1b" + }, + { + "file": "steps/pre.json", + "sha256": "d614e9fdc9004326b0ea46ba6f0be9345618dbdc559a97eac5b8a5fb2b5d8658" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "528bbd4d1719154ae7c50dc24556eb6b37ca88be468c140dbbd8c9b3c7ba31a9" + }, + { + "file": "steps/RC2.json", + "sha256": "916348ba80d7852f4267f7354c168c164caaa754a28cccd56dcf161de5419060" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "daemon-1.log", + "sha256": "6adb065e10738666176e9b5e2843458effcf3b1e47744d382874f95c6638eb3a" + }, + { + "file": "daemon-2.log", + "sha256": "7771fb807cfa3560eda3215c5115ff95c7c986006de045f13181f50882d70f32" + } + ] + }, + { + "row": "C2c", + "rep": 2, + "injected_at": "hold after_intent; SIGKILL daemon then executor; restart", + "outcome": "executor killed at after_intent -> NOT_DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_NOT_DONE", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 0, NOT_DONE 1, UNRESOLVED 0 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"NOT_DONE\",\"disk_sha256\":null,\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "recall_shows_intent", + "ok": true, + "value": null + }, + { + "check": "recall_shows_reconcile_record", + "ok": true, + "value": null + }, + { + "check": "ledger_NOT_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "962614fa014cbce550f5bf23cf15f51be8462687941666edac8d34eee47be7e8", + "962614fa014cbce550f5bf23cf15f51be8462687941666edac8d34eee47be7e8" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "e33fb9c173f4c32bb5408ba90cdcb83298b5d50537e2ad7477c18f9e953e2d42" + }, + { + "file": "steps/final-ledger.json", + "sha256": "58321410fcdd7815878b8b931b834ccdc5dad5ad415a084aedfcd45db59c7ea6" + }, + { + "file": "steps/final-recall.json", + "sha256": "336b900636156e5ed627c882faf07016372ee68ddd80a0e3e5786adc0e06ccc7" + }, + { + "file": "steps/L1.json", + "sha256": "58321410fcdd7815878b8b931b834ccdc5dad5ad415a084aedfcd45db59c7ea6" + }, + { + "file": "steps/pre.json", + "sha256": "48c1ad554b9c460c2588f279f971f727e7e298f9358baa73cf835b407700f84f" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "7f6b5dcfe4f20a28462903a09139d470200e90fdb84500bd14c06eec997c17fb" + }, + { + "file": "steps/RC2.json", + "sha256": "f5833f7226a6beac69eb48fd60e6af433c6d58bf31a03b36138f39bbd9b45cba" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "daemon-1.log", + "sha256": "c9b76c15719cfbe1c4f1f3ee873d2247ca5ddedbd73b2eea1b83e751d134c262" + }, + { + "file": "daemon-2.log", + "sha256": "970d225abe03bcb21c5715e7b96b669bd65b4eb061336a6a8df4a1d97b003fcf" + } + ] + }, + { + "row": "C2c", + "rep": 3, + "injected_at": "hold after_intent; SIGKILL daemon then executor; restart", + "outcome": "executor killed at after_intent -> NOT_DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_NOT_DONE", + "ok": true, + "value": "Reconcile: checked 1 unsettled effect(s): DONE 0, NOT_DONE 1, UNRESOLVED 0 recorded, 0 left as they were; [{\"intent\":24,\"authorization\":23,\"state\":\"NOT_DONE\",\"disk_sha256\":null,\"record\":30,\"note\":\"reconcile@start\"}]" + }, + { + "check": "recall_shows_intent", + "ok": true, + "value": null + }, + { + "check": "recall_shows_reconcile_record", + "ok": true, + "value": null + }, + { + "check": "ledger_NOT_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "b3f33c7dc96219b258099bfa12617d326804d2ad2823cf8a6ecf3113fbc633f7", + "b3f33c7dc96219b258099bfa12617d326804d2ad2823cf8a6ecf3113fbc633f7" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "96fde5a68bb92e14b6cdc0bbfa25ee43cd24a3cf6ed33d940328554df2f7a308" + }, + { + "file": "steps/final-ledger.json", + "sha256": "2f9bb6aa33ffb782a4018273f75c5613b0e05cd692230ed6a512e80d11e7e06f" + }, + { + "file": "steps/final-recall.json", + "sha256": "6ae7a30cc2ac08ef1e6b17f52d6e81ec141777a44e8485feb836ac55f9dcdb04" + }, + { + "file": "steps/L1.json", + "sha256": "2f9bb6aa33ffb782a4018273f75c5613b0e05cd692230ed6a512e80d11e7e06f" + }, + { + "file": "steps/pre.json", + "sha256": "2c48e071f23c26fdf270b2d2e15c89237bc1e6e2e7d02dcb7a5709341c069dec" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "4ef8c78070e773e9cf8337b57e8b7a3916edd4a8d77f66d512f8dc4bec59c6a4" + }, + { + "file": "steps/RC2.json", + "sha256": "33b7eade503c018604c874fc07d514684dc3388d3645ebea6e0794e167d51e3d" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X3.json", + "sha256": "3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef" + }, + { + "file": "daemon-1.log", + "sha256": "e7bbbc4d4d9f7e75280c0898dc67b2036ac4b4b95c0022b6bbf3ba7d7e41b36b" + }, + { + "file": "daemon-2.log", + "sha256": "a1eac243a20919b7331aee7f482edf4f66cdd13430ef71e3104685a2230dbfc4" + } + ] + }, + { + "row": "C2d", + "rep": 1, + "injected_at": "hold after_write; SIGKILL executor (daemon up)", + "outcome": "executor killed at after_write -> DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "reconcile_records_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "ledger_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "dd9860c17ca4b3641d5ef59d50672c1a5c0a4caca31214ece6411a6ead3b3a2f", + "dd9860c17ca4b3641d5ef59d50672c1a5c0a4caca31214ece6411a6ead3b3a2f" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "bd460192a7eef621594336174feb5ce179bdb31795825958ce2df2c078351af7" + }, + { + "file": "steps/final-ledger.json", + "sha256": "95acfc31a02025ac137a72a0478fc146d655832ee2d5f364dae972f1afb4b986" + }, + { + "file": "steps/final-recall.json", + "sha256": "9106b8681ede552b7be176fc3841b2c09a2ae7633429b1f6ba26885add722f95" + }, + { + "file": "steps/L1.json", + "sha256": "95acfc31a02025ac137a72a0478fc146d655832ee2d5f364dae972f1afb4b986" + }, + { + "file": "steps/pre.json", + "sha256": "8e0420e94d86f85dbb46e4a3b4e5f3426c8ae2809427d031c0445818d30abcd2" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "a921f5837d7750d011048253bcaefde4f182ec7856b6e697c9bb736533ff73df" + }, + { + "file": "steps/RC.json", + "sha256": "7ae7380ec148ed91fd6816c0712ad03edd645b89fb85ef01e08e638e6fc5eb95" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X2.json", + "sha256": "18baf5a177d00cf7656507fe93a413aa2708bda72fb4802045799cbc61d5793d" + }, + { + "file": "steps/X3.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "1b2bb455ae145501ae919a3eb980535158570af943dbf3d3417c0ae23dcb80e4" + } + ] + }, + { + "row": "C2d", + "rep": 2, + "injected_at": "hold after_write; SIGKILL executor (daemon up)", + "outcome": "executor killed at after_write -> DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "reconcile_records_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "ledger_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "7c52b7c01e20406d8049f5ac826b312009c36c70c67b4cb295b223c27c9a43c6", + "7c52b7c01e20406d8049f5ac826b312009c36c70c67b4cb295b223c27c9a43c6" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "a80510f832111d8358b5ee90b42e0df9d479546472d94b6b067157c852e67f39" + }, + { + "file": "steps/final-ledger.json", + "sha256": "d6d63f0df1e31568e8dc1307cfffa7309ac1e03f1dd6b24439500ddf0044435e" + }, + { + "file": "steps/final-recall.json", + "sha256": "b2d1f427dc0add5492714a121896eaad358446b7298b22aa5c89651de7c66ed1" + }, + { + "file": "steps/L1.json", + "sha256": "d6d63f0df1e31568e8dc1307cfffa7309ac1e03f1dd6b24439500ddf0044435e" + }, + { + "file": "steps/pre.json", + "sha256": "ef2c9b77dd65faa49d61fed81ff82939d4077f7b5353e49c2d863104e723bf33" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "cdcac8de620abbf258f0c6cadb98b05db44ac428d6f5fa7b4a87d0d49fd9a748" + }, + { + "file": "steps/RC.json", + "sha256": "989d9035a3c3d9451466f843fe85837827f274a2a0c03e1eb2e8873819658016" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X2.json", + "sha256": "18baf5a177d00cf7656507fe93a413aa2708bda72fb4802045799cbc61d5793d" + }, + { + "file": "steps/X3.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "c6a109819eb0dde8276410e212cf871d05301ad2a636bbf907d1d3cd36ce8d9b" + } + ] + }, + { + "row": "C2d", + "rep": 3, + "injected_at": "hold after_write; SIGKILL executor (daemon up)", + "outcome": "executor killed at after_write -> DONE; retry AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_ReconciliationRequired", + "ok": true, + "value": "ReconciliationRequired" + }, + { + "check": "reconcile_records_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "ledger_DONE", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_write_by_retry", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "bea9fdb9ff329a24f4d79cb9407cd9ec4f4b350da1589ae349c011cc2abe65a6", + "bea9fdb9ff329a24f4d79cb9407cd9ec4f4b350da1589ae349c011cc2abe65a6" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "6e9b472fddda30b65bc9d13cec7261154bbec53b1b9dc83ffad8d39ab4ae0303" + }, + { + "file": "steps/final-ledger.json", + "sha256": "550f8ee86fb6e71dfdf63df5f73422fd3f715fdcb0bf128cae2fba6cdeb0df74" + }, + { + "file": "steps/final-recall.json", + "sha256": "2041ae6460c752e8f3e4190c829f166cb35fabe29eeff0b59a407ec2c799c1e3" + }, + { + "file": "steps/L1.json", + "sha256": "550f8ee86fb6e71dfdf63df5f73422fd3f715fdcb0bf128cae2fba6cdeb0df74" + }, + { + "file": "steps/pre.json", + "sha256": "be495243d20e718538ff662a2890bed6f83c8fd310536ad2b30887f5a2b400ab" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "6fec0ce182d5999cd659b6ee8c41147bbfd5bb3e0470597db3933dd101f05af8" + }, + { + "file": "steps/RC.json", + "sha256": "022deac880a061b24dad49d2cf5808941eb7b6ad2480e0742b24fbaa18a0f75d" + }, + { + "file": "steps/X1.json", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "steps/X2.json", + "sha256": "18baf5a177d00cf7656507fe93a413aa2708bda72fb4802045799cbc61d5793d" + }, + { + "file": "steps/X3.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "636d7413df311ca225c49929fce380ccd27c66b14b2115f78d2cc586ced82458" + } + ] + }, + { + "row": "C3a", + "rep": 1, + "injected_at": "cpu-fault daemon started with AIEN_REQUIRE_BLACKWELL=1", + "outcome": "refused: Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linke", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_refused", + "ok": true, + "value": 1 + }, + { + "check": "exit_nonzero", + "ok": true, + "value": 1 + }, + { + "check": "names_gb10_requirement", + "ok": true, + "value": "Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linked (stub build)" + }, + { + "check": "no_socket", + "ok": true, + "value": null + }, + { + "check": "home_unchanged", + "ok": true, + "value": null + }, + { + "check": "workspace_unchanged", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "daemon-1.log", + "sha256": "83501275ea6ee11cacae6e99d7cd4d1427f99e557e22936dc41a9168b7f0446d" + } + ] + }, + { + "row": "C3a", + "rep": 2, + "injected_at": "cpu-fault daemon started with AIEN_REQUIRE_BLACKWELL=1", + "outcome": "refused: Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linke", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_refused", + "ok": true, + "value": 1 + }, + { + "check": "exit_nonzero", + "ok": true, + "value": 1 + }, + { + "check": "names_gb10_requirement", + "ok": true, + "value": "Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linked (stub build)" + }, + { + "check": "no_socket", + "ok": true, + "value": null + }, + { + "check": "home_unchanged", + "ok": true, + "value": null + }, + { + "check": "workspace_unchanged", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "daemon-1.log", + "sha256": "83501275ea6ee11cacae6e99d7cd4d1427f99e557e22936dc41a9168b7f0446d" + } + ] + }, + { + "row": "C3a", + "rep": 3, + "injected_at": "cpu-fault daemon started with AIEN_REQUIRE_BLACKWELL=1", + "outcome": "refused: Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linke", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_refused", + "ok": true, + "value": 1 + }, + { + "check": "exit_nonzero", + "ok": true, + "value": 1 + }, + { + "check": "names_gb10_requirement", + "ok": true, + "value": "Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linked (stub build)" + }, + { + "check": "no_socket", + "ok": true, + "value": null + }, + { + "check": "home_unchanged", + "ok": true, + "value": null + }, + { + "check": "workspace_unchanged", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "daemon-1.log", + "sha256": "83501275ea6ee11cacae6e99d7cd4d1427f99e557e22936dc41a9168b7f0446d" + } + ] + }, + { + "row": "C3b", + "rep": 1, + "injected_at": "cpu-fault daemon, no GPU requirement; S3 propose", + "outcome": "CPU-reference daemon; propose committed=false", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "backend_cpu_reference", + "ok": true, + "value": " Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)" + }, + { + "check": "propose_outcome_explicit", + "ok": true, + "value": "committed=false tokenizer is not loaded; native chat cannot encode the prompt" + }, + { + "check": "no_gpu_claim", + "ok": true, + "value": null + }, + { + "check": "no_intents", + "ok": true, + "value": null + }, + { + "check": "workspace_unchanged", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "5299ad6e8eac94ce189a3e2b3e9fb62889fc21cdd281f6d7ec26fd3149ca0ef3", + "5299ad6e8eac94ce189a3e2b3e9fb62889fc21cdd281f6d7ec26fd3149ca0ef3" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/final-ledger.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/final-recall.json", + "sha256": "e1be17250e7fa87a3f10a7b31473ec5f647e5c21186807a3293f43c4326eb02b" + }, + { + "file": "steps/L1.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/P1.json", + "sha256": "b968c8ed9d1dc3e2f1cfc78ce9784a02e32d923183441f31d2c1be1a522fa7a2" + }, + { + "file": "steps/pre.json", + "sha256": "53caf5de3999d0ed9f9fdb61e6c774d69d975bf817dfb227a618d8bcee18d077" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "77d0ab20ad09d4bf873eae75dcb83e2bdb5fffb21df56f56e4fd2f54e16b80af" + }, + { + "file": "daemon-1.log", + "sha256": "a5dad7148bae9be94c922ef817e8221ac7bf7a8c4f03aef80ef07867f7c89f0b" + } + ] + }, + { + "row": "C3b", + "rep": 2, + "injected_at": "cpu-fault daemon, no GPU requirement; S3 propose", + "outcome": "CPU-reference daemon; propose committed=false", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "backend_cpu_reference", + "ok": true, + "value": " Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)" + }, + { + "check": "propose_outcome_explicit", + "ok": true, + "value": "committed=false tokenizer is not loaded; native chat cannot encode the prompt" + }, + { + "check": "no_gpu_claim", + "ok": true, + "value": null + }, + { + "check": "no_intents", + "ok": true, + "value": null + }, + { + "check": "workspace_unchanged", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "a110a626be7fcfd7151906b93bbd5d4ded6c3c3b8661232f2dcdbc066b4daf0a", + "a110a626be7fcfd7151906b93bbd5d4ded6c3c3b8661232f2dcdbc066b4daf0a" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/final-ledger.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/final-recall.json", + "sha256": "ed9c00ed08aa0cee169f716455113b692fdffd52f9098ca7c7e37b5435074e70" + }, + { + "file": "steps/L1.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/P1.json", + "sha256": "a32bec198f45429bdac89fca0327bd8504d6a6201e252506e5d96e10111a1c2c" + }, + { + "file": "steps/pre.json", + "sha256": "fd399a47a5cf62cc6cb2d96f21da34f1ce7273446f96165bb5a57676973de8ff" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "f830b63de6f959dc4f1ec589f14a61be0f7398959e23a3f508614d5a87231124" + }, + { + "file": "daemon-1.log", + "sha256": "88feb0d5305523f8c807ba05b93ac93ae82c25259116656677a1b3208ed56ebd" + } + ] + }, + { + "row": "C3b", + "rep": 3, + "injected_at": "cpu-fault daemon, no GPU requirement; S3 propose", + "outcome": "CPU-reference daemon; propose committed=false", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "backend_cpu_reference", + "ok": true, + "value": " Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)" + }, + { + "check": "propose_outcome_explicit", + "ok": true, + "value": "committed=false tokenizer is not loaded; native chat cannot encode the prompt" + }, + { + "check": "no_gpu_claim", + "ok": true, + "value": null + }, + { + "check": "no_intents", + "ok": true, + "value": null + }, + { + "check": "workspace_unchanged", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "5c7864cf67ff6cf82b6d48d35f649ba46b2779e1b2c0f99fb167deec111815fb", + "5c7864cf67ff6cf82b6d48d35f649ba46b2779e1b2c0f99fb167deec111815fb" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/final-ledger.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/final-recall.json", + "sha256": "c61d59c862c61e10e37c375309ff497f7f4a0b70147f172cc75d2dbfaf869215" + }, + { + "file": "steps/L1.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/P1.json", + "sha256": "611d76d9a49cb83d0ae1549ece2dea28dd197239c6c493d6b3d75191a30eefa4" + }, + { + "file": "steps/pre.json", + "sha256": "122ad8e8a9eb70405a5e9491e4bf734b8958709c58ce1cba0ff03c22371e159c" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "731f35333a8dd76e4821e9545e4113ff1ef0340f6d4d322b6aa9e2d3bde6cbe6" + }, + { + "file": "daemon-1.log", + "sha256": "98348dcf55461f8e160d517893a8d44a47c4a324e372a9ffd59124ad4ff8475c" + } + ] + }, + { + "row": "C4", + "rep": 1, + "injected_at": "authorize A1; stop; execute; Shutdown+restart; execute; resume; execute; authorize A2; execute", + "outcome": "Stopped, Stopped after restart, Stale after resume; A2 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "stopped_refused", + "ok": true, + "value": "Stopped" + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "stop_survives_restart", + "ok": true, + "value": "Stopped" + }, + { + "check": "old_grant_stale", + "ok": true, + "value": "Stale" + }, + { + "check": "zero_writes_until_A2", + "ok": true, + "value": null + }, + { + "check": "new_grant_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "f0723bf1be2bd271687ce04eb089cfc2a29510c66f78387b328c81c5bdfbc812", + "f0723bf1be2bd271687ce04eb089cfc2a29510c66f78387b328c81c5bdfbc812" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 32 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "2ecf2c3f96bfc442ab9152432c9464c6049f18eb4617e3dd116430e90faae66c" + }, + { + "file": "steps/A2.json", + "sha256": "e9957607af1095769df867813aae4cbf84e4332f5a90d5a36d198f0c5677aeb7" + }, + { + "file": "steps/final-ledger.json", + "sha256": "b440a37b81c3c10ad1d30811a1fba39ef7a9f17ab05884f4b3aee70ebd0d1b90" + }, + { + "file": "steps/final-recall.json", + "sha256": "1b577e1faaf37784fc0e5d9c68ce7cbe90cc91009dc566a7022b063a5cc64738" + }, + { + "file": "steps/pre.json", + "sha256": "372de8ea72c6eaff117954fe80e2eab34b12c1f8f973f69cd4cd00a64b3ff95d" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "df4c253402ad61e56781a72362cc5459e66a0ad17cad64adb3c27bc6656ea66e" + }, + { + "file": "steps/RESUME.json", + "sha256": "ec5aba26dfe6bb53041d75f7a55c48fa05b0a577f9458df27de605c5da29c559" + }, + { + "file": "steps/STOP.json", + "sha256": "9f873598c7a74c698b490797be0e9c8d538c3cfce0135f263be13350411111c3" + }, + { + "file": "steps/X1.json", + "sha256": "7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6" + }, + { + "file": "steps/X2.json", + "sha256": "7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6" + }, + { + "file": "steps/X3.json", + "sha256": "1403b45f394ea9690b2f059b87be768b46b69da97db221f9ec317b9833652bef" + }, + { + "file": "steps/X4.json", + "sha256": "456eae552cb993622e5ca2abb5245818f0b0a5efacf960db681f78b723bc8ce0" + }, + { + "file": "steps/X5.json", + "sha256": "894c32fd67ae1341d6520705050f8e41d4af8b9326d6ee22f2dae1e2a41de2a9" + }, + { + "file": "daemon-1.log", + "sha256": "d00e5218b7fc7a439378c1e54be65a9aae1671de91ffe989c4fa942350a2ef3e" + }, + { + "file": "daemon-2.log", + "sha256": "d00e5218b7fc7a439378c1e54be65a9aae1671de91ffe989c4fa942350a2ef3e" + } + ] + }, + { + "row": "C4", + "rep": 2, + "injected_at": "authorize A1; stop; execute; Shutdown+restart; execute; resume; execute; authorize A2; execute", + "outcome": "Stopped, Stopped after restart, Stale after resume; A2 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "stopped_refused", + "ok": true, + "value": "Stopped" + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "stop_survives_restart", + "ok": true, + "value": "Stopped" + }, + { + "check": "old_grant_stale", + "ok": true, + "value": "Stale" + }, + { + "check": "zero_writes_until_A2", + "ok": true, + "value": null + }, + { + "check": "new_grant_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "e908b22326d87c19faac94d55da060d911b2b9cc56ead6071541f3a5d864b0bb", + "e908b22326d87c19faac94d55da060d911b2b9cc56ead6071541f3a5d864b0bb" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 32 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "9fe4bc2a21ca4bc4109de92e84572220d97e5f36127e2b0de951f8afe6d1b81e" + }, + { + "file": "steps/A2.json", + "sha256": "d426498c43b12a86b6b44d85729ee09c4d82e956c61e0d2be7deddf939e0f5ff" + }, + { + "file": "steps/final-ledger.json", + "sha256": "263a16999647213a6b7ea520fb43764c70db2412b2fdbb74d924f49218b60401" + }, + { + "file": "steps/final-recall.json", + "sha256": "e4666f1fc36e7b013d1ff4110f5b36fdb089e34f0a831a61bd53450bc151beae" + }, + { + "file": "steps/pre.json", + "sha256": "6cfd3c3ad0096d2c7cff4b3e45a43ee7885535137cf635c532d5593ae6c07a92" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "bb08ef594b01fe81b892519a4bac6ca381a8eb97c29652e399839dab8befc35d" + }, + { + "file": "steps/RESUME.json", + "sha256": "ec5aba26dfe6bb53041d75f7a55c48fa05b0a577f9458df27de605c5da29c559" + }, + { + "file": "steps/STOP.json", + "sha256": "9f873598c7a74c698b490797be0e9c8d538c3cfce0135f263be13350411111c3" + }, + { + "file": "steps/X1.json", + "sha256": "7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6" + }, + { + "file": "steps/X2.json", + "sha256": "7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6" + }, + { + "file": "steps/X3.json", + "sha256": "1403b45f394ea9690b2f059b87be768b46b69da97db221f9ec317b9833652bef" + }, + { + "file": "steps/X4.json", + "sha256": "9fd1dc81c918ab2e0d4e3e77731a378e244ff150501ade718e210ddbc95828b6" + }, + { + "file": "steps/X5.json", + "sha256": "894c32fd67ae1341d6520705050f8e41d4af8b9326d6ee22f2dae1e2a41de2a9" + }, + { + "file": "daemon-1.log", + "sha256": "d7052b9757b6d52af6987b8c3f91774d005b1a74f1de1d0b90aff63abb7d4be8" + }, + { + "file": "daemon-2.log", + "sha256": "d7052b9757b6d52af6987b8c3f91774d005b1a74f1de1d0b90aff63abb7d4be8" + } + ] + }, + { + "row": "C4", + "rep": 3, + "injected_at": "authorize A1; stop; execute; Shutdown+restart; execute; resume; execute; authorize A2; execute", + "outcome": "Stopped, Stopped after restart, Stale after resume; A2 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "stopped_refused", + "ok": true, + "value": "Stopped" + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "stop_survives_restart", + "ok": true, + "value": "Stopped" + }, + { + "check": "old_grant_stale", + "ok": true, + "value": "Stale" + }, + { + "check": "zero_writes_until_A2", + "ok": true, + "value": null + }, + { + "check": "new_grant_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "1014887b45cee97e709ed3e2d93482fed47bee58279358166cf1e7fd5574081a", + "1014887b45cee97e709ed3e2d93482fed47bee58279358166cf1e7fd5574081a" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 32 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "cd4dadb66d6bd36736f8af319a3de07b9daed29e3a4d5fd2b07c604f1df2e9d2" + }, + { + "file": "steps/A2.json", + "sha256": "8fb0296e6d4db4c50cffcda75dd3ca6c19c82b439f3a3de4b225b9fa36a13cdf" + }, + { + "file": "steps/final-ledger.json", + "sha256": "b4a25e280c72b18c15ae9960b42c80560df089221376742a447f40dbe7253c68" + }, + { + "file": "steps/final-recall.json", + "sha256": "6eeac552bf8fe7442b1285c7dc16a89f1da90c61660ea1fadc9f4be0cf09c11e" + }, + { + "file": "steps/pre.json", + "sha256": "244b26af695634f21b72f76473d661f8a4bc2e04257142f2acccef819ffc433f" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "8165fe35279d88da222c95523e62acf83daa37ba07bf2039b721c257a5a5e793" + }, + { + "file": "steps/RESUME.json", + "sha256": "ec5aba26dfe6bb53041d75f7a55c48fa05b0a577f9458df27de605c5da29c559" + }, + { + "file": "steps/STOP.json", + "sha256": "9f873598c7a74c698b490797be0e9c8d538c3cfce0135f263be13350411111c3" + }, + { + "file": "steps/X1.json", + "sha256": "7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6" + }, + { + "file": "steps/X2.json", + "sha256": "7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6" + }, + { + "file": "steps/X3.json", + "sha256": "1403b45f394ea9690b2f059b87be768b46b69da97db221f9ec317b9833652bef" + }, + { + "file": "steps/X4.json", + "sha256": "c6ce1613423fb1a71f36ca7556de5558dc625877c5f7562c645b2141ec1047c5" + }, + { + "file": "steps/X5.json", + "sha256": "894c32fd67ae1341d6520705050f8e41d4af8b9326d6ee22f2dae1e2a41de2a9" + }, + { + "file": "daemon-1.log", + "sha256": "666ea41422d1a1e6a816330c33d85eb7c94d6ce92030d12b26e39b880f4f9221" + }, + { + "file": "daemon-2.log", + "sha256": "666ea41422d1a1e6a816330c33d85eb7c94d6ce92030d12b26e39b880f4f9221" + } + ] + }, + { + "row": "C5a", + "rep": 1, + "injected_at": "revoke A1 before execute", + "outcome": "revoked:true; execute Revoked", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "revoke_true", + "ok": true, + "value": null + }, + { + "check": "refused_Revoked", + "ok": true, + "value": "Revoked" + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "ac6e2658cbf2b9dea5c8a4ae9d89ede320b5c04b60d5195ca08ddfade9715c76", + "ac6e2658cbf2b9dea5c8a4ae9d89ede320b5c04b60d5195ca08ddfade9715c76" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "810b3c98d3a0de7f18933a6772fc3d1cafdb909883aced50763d4ff35a7a7a0a" + }, + { + "file": "steps/final-ledger.json", + "sha256": "4e028941c62697260a9998ed94530c0dd2b43287d594a0d6d9f1f937ca641252" + }, + { + "file": "steps/final-recall.json", + "sha256": "b7ad3c7eb0e93821a28c573354da2b26ed017a687ab8ec50ff8f14b850ba26c2" + }, + { + "file": "steps/pre.json", + "sha256": "8bf25e95ef62d085fab07b8a647822b1093c90c0a352becdcbf8bbb71f34a3e0" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "44974d926b26482fe48246f6e0d777954767e3b9e39fcd009ff614fac4b602d4" + }, + { + "file": "steps/RV.json", + "sha256": "6b35ec43c9592e49ca136e7ec62c6a70eae01f29563f4553baea5137eaf80b48" + }, + { + "file": "steps/X1.json", + "sha256": "bfe6c4ad40ffde7734d58d090a0eda422712b8ebcc9ba892edb93c06f03c445f" + }, + { + "file": "daemon-1.log", + "sha256": "01e192abbc16164856025d134230db16c6d2bad6dacb078b068a37fadf6900f1" + } + ] + }, + { + "row": "C5a", + "rep": 2, + "injected_at": "revoke A1 before execute", + "outcome": "revoked:true; execute Revoked", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "revoke_true", + "ok": true, + "value": null + }, + { + "check": "refused_Revoked", + "ok": true, + "value": "Revoked" + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "2a855b81c5ba802bd1648155fff9ada818456d89dfa4dcee13929c87531630b0", + "2a855b81c5ba802bd1648155fff9ada818456d89dfa4dcee13929c87531630b0" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "0fc5f01c1892336318a29c572cf5d1dc93bef872a2f56e2f1d0d3cdef9b58553" + }, + { + "file": "steps/final-ledger.json", + "sha256": "4e028941c62697260a9998ed94530c0dd2b43287d594a0d6d9f1f937ca641252" + }, + { + "file": "steps/final-recall.json", + "sha256": "0ea12e5161a9b43de1036eeec8ef6990f1aa15bc36a97a9a54489a37b6d36e9a" + }, + { + "file": "steps/pre.json", + "sha256": "b4c25b7bd0cab5af24e4b0f5eeaf831ea662fa7b01ea6a6c2fce86eada4b724a" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "6a5b3a19e250eb30d10c64174c00178bd042f554efe8a7c9cbd4f41968772920" + }, + { + "file": "steps/RV.json", + "sha256": "6b35ec43c9592e49ca136e7ec62c6a70eae01f29563f4553baea5137eaf80b48" + }, + { + "file": "steps/X1.json", + "sha256": "bfe6c4ad40ffde7734d58d090a0eda422712b8ebcc9ba892edb93c06f03c445f" + }, + { + "file": "daemon-1.log", + "sha256": "9591f1323f7a838369e3eae3b6a372e6add83c4185387e43b9297389869b4fb4" + } + ] + }, + { + "row": "C5a", + "rep": 3, + "injected_at": "revoke A1 before execute", + "outcome": "revoked:true; execute Revoked", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "revoke_true", + "ok": true, + "value": null + }, + { + "check": "refused_Revoked", + "ok": true, + "value": "Revoked" + }, + { + "check": "no_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "0f94330f6a108c1f59bfcf2657062e0281e668df32972ae359f65561483a1189", + "0f94330f6a108c1f59bfcf2657062e0281e668df32972ae359f65561483a1189" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "6531393d0e5491b52d942a02cdf90c4f1a612cba542bea880421515f309bfc8c" + }, + { + "file": "steps/final-ledger.json", + "sha256": "4e028941c62697260a9998ed94530c0dd2b43287d594a0d6d9f1f937ca641252" + }, + { + "file": "steps/final-recall.json", + "sha256": "5eefab321989ef5ac5219ec4751934a67f389f19ceda9e55686ca4d930c7adc5" + }, + { + "file": "steps/pre.json", + "sha256": "e040e0e89cca1cbe89cd235f663c71818f4c1757f0dfd606816f7930539115bd" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "4ce640e00f4be430cb15bd258e01f0d71b70d9338930db6751b128dbdd3dba5e" + }, + { + "file": "steps/RV.json", + "sha256": "6b35ec43c9592e49ca136e7ec62c6a70eae01f29563f4553baea5137eaf80b48" + }, + { + "file": "steps/X1.json", + "sha256": "bfe6c4ad40ffde7734d58d090a0eda422712b8ebcc9ba892edb93c06f03c445f" + }, + { + "file": "daemon-1.log", + "sha256": "6763a5435ad7ab795d619ccd785d8e4b9a79e5cc6387490888d48f14f2e901a6" + } + ] + }, + { + "row": "C5b", + "rep": 1, + "injected_at": "execute A1 to DONE, then revoke A1", + "outcome": "revoke after spend: revoked:false, nothing recorded", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "execute_done", + "ok": true, + "value": null + }, + { + "check": "revoke_false", + "ok": true, + "value": null + }, + { + "check": "nothing_recorded", + "ok": true, + "value": null + }, + { + "check": "record_count_unchanged", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "efacaa004de4d2fc33ce3419908de1eb2856cdb3d50e818f94b52328a5b08582", + "efacaa004de4d2fc33ce3419908de1eb2856cdb3d50e818f94b52328a5b08582" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "cf9639f5812d4f3bfe531515977ef3590876fd8750463fc9c69338d6cb42e177" + }, + { + "file": "steps/final-ledger.json", + "sha256": "e788f9c23f7ecfdbdb72b80d12d23989a130c6f23b320fc60ae91d3e8991e167" + }, + { + "file": "steps/final-recall.json", + "sha256": "2a3701e588bceb08740d5c34da9e45dee4bd07521b7a65d4cae5e907b5ba43e3" + }, + { + "file": "steps/n1.json", + "sha256": "4ed4f456a0ca95bb8b09def4ebfd9f2e8b2501cace67c2e2a55eedac295bfbce" + }, + { + "file": "steps/n2.json", + "sha256": "4ed4f456a0ca95bb8b09def4ebfd9f2e8b2501cace67c2e2a55eedac295bfbce" + }, + { + "file": "steps/pre.json", + "sha256": "af989072c2640e197a379d98bfb82576111fb63de7a4379a7baa51b7d739c935" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "b29a962352a41bb18beab58651308d3099eb40cbe72633c1c81f7283f72d03e3" + }, + { + "file": "steps/RV.json", + "sha256": "68cdc250eac0b86dc2b0461b474fe877cc19572b7ee83dc531241d9697812b2e" + }, + { + "file": "steps/X1.json", + "sha256": "e9e7a5255ffaab00080fdd440572c5fb38a01408e7e29a53ea5c1972d9c5a37b" + }, + { + "file": "daemon-1.log", + "sha256": "f6fb2ff4315d3cf24c9e5285a57c9c3680280329a03ac80ec68e0d65b5a40912" + } + ] + }, + { + "row": "C5b", + "rep": 2, + "injected_at": "execute A1 to DONE, then revoke A1", + "outcome": "revoke after spend: revoked:false, nothing recorded", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "execute_done", + "ok": true, + "value": null + }, + { + "check": "revoke_false", + "ok": true, + "value": null + }, + { + "check": "nothing_recorded", + "ok": true, + "value": null + }, + { + "check": "record_count_unchanged", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "621316895abe893861bde452946e9677bcb8dc5b7aff527ee1684e9af599b1c1", + "621316895abe893861bde452946e9677bcb8dc5b7aff527ee1684e9af599b1c1" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "d86e3721128d681ffe1d6a8bba0cd26574a80521591177069fdf58c3db79ea03" + }, + { + "file": "steps/final-ledger.json", + "sha256": "19d17503fd21c91bdc7a5678e23c7fab91c87258c7eae5f6ee2ecd246a01b3f2" + }, + { + "file": "steps/final-recall.json", + "sha256": "0ca03462ae7268765d96b15cff8dcd9a453b4de70f8e6d3a529ac06de766b80c" + }, + { + "file": "steps/n1.json", + "sha256": "80dfd40e2592599d67db3ea0194e19a046088be0a5646244459dac917410783a" + }, + { + "file": "steps/n2.json", + "sha256": "80dfd40e2592599d67db3ea0194e19a046088be0a5646244459dac917410783a" + }, + { + "file": "steps/pre.json", + "sha256": "d315430f5befd0968f545b4d4af633a709a2c737343f2cf6337553ba6073c42f" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "2426c76fc68a404b004282c3f320a0f264f0a64f542d5eae93d977bbafa6d325" + }, + { + "file": "steps/RV.json", + "sha256": "68cdc250eac0b86dc2b0461b474fe877cc19572b7ee83dc531241d9697812b2e" + }, + { + "file": "steps/X1.json", + "sha256": "8a4860576a607aed5695f474b0fe598f9aeef28b9622112b15aa6f4c7ed352d4" + }, + { + "file": "daemon-1.log", + "sha256": "7672156b3834dfb2609bd2c65d2532d09310e49d4becb107886eed7a15f55541" + } + ] + }, + { + "row": "C5b", + "rep": 3, + "injected_at": "execute A1 to DONE, then revoke A1", + "outcome": "revoke after spend: revoked:false, nothing recorded", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "execute_done", + "ok": true, + "value": null + }, + { + "check": "revoke_false", + "ok": true, + "value": null + }, + { + "check": "nothing_recorded", + "ok": true, + "value": null + }, + { + "check": "record_count_unchanged", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "745fbf090551dd348437dea020aa74f65939cfaa9695d22757b7754aa3e47cdf", + "745fbf090551dd348437dea020aa74f65939cfaa9695d22757b7754aa3e47cdf" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "08a5633e8d0eb45acfe451e31c1067dd5184e9cca5a77808f3f646b442713c07" + }, + { + "file": "steps/final-ledger.json", + "sha256": "447fbcfacabb658672d36793f74b7411a2d4b0e53a972a5269a8ddb586df31a1" + }, + { + "file": "steps/final-recall.json", + "sha256": "2eba86d94a540fb23357547ff39d5581dfb7bfe461ff651065b21f7c39575782" + }, + { + "file": "steps/n1.json", + "sha256": "4e2b4674b086e5281aee2eeca8379a421d691b611293b8e70a25ca710abe4e3f" + }, + { + "file": "steps/n2.json", + "sha256": "4e2b4674b086e5281aee2eeca8379a421d691b611293b8e70a25ca710abe4e3f" + }, + { + "file": "steps/pre.json", + "sha256": "bfa0e4f819cdfb11ec80539bfbf1818ba04c61bde550e8e9bc240693f813b9de" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "baff661cdd3879cbb4accd7e021571d8c577d44590f96a6a050f3919f6368884" + }, + { + "file": "steps/RV.json", + "sha256": "68cdc250eac0b86dc2b0461b474fe877cc19572b7ee83dc531241d9697812b2e" + }, + { + "file": "steps/X1.json", + "sha256": "b3cf73bbf330ecc67b131a87b0e0d9eec788cd21ea5eefda8fbb1e137df99d69" + }, + { + "file": "daemon-1.log", + "sha256": "46695a179f37fadbb320f11b89947ade4a15f3edebb5f7f4489b4c3fa069ed9f" + } + ] + }, + { + "row": "C5c", + "rep": 1, + "injected_at": "authorize A1; harness writes other bytes to the target; execute A1", + "outcome": "world changed after grant: Stale", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "refused_Stale", + "ok": true, + "value": "Stale" + }, + { + "check": "target_untouched", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "743de08dad89dcb7b01fdacfa034c9ab98602ce60bbdb5d5a9cfef09d43857c4", + "743de08dad89dcb7b01fdacfa034c9ab98602ce60bbdb5d5a9cfef09d43857c4" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "df043ae27d8844fb5951bb02f92853bd1753d17f4cd941d1961adafa6a643c04" + }, + { + "file": "steps/final-ledger.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/final-recall.json", + "sha256": "4e924af18c96d5610580f965edadff6693c96f4a3c5219b3b1b19e4f4c3ec8f4" + }, + { + "file": "steps/pre.json", + "sha256": "b13b85be02a1e101efbaeb015ad846da07f09b0aed04bf1e3cc8e433d24dd408" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "e73cb08fdd8c8f113d6d230569f74aa075d9144ada2d925d198237d86d39cae5" + }, + { + "file": "steps/X1.json", + "sha256": "5f7bed0382f9fc513b9e5e3a4b2be02f25f66d7fbf0c1b192980c250cc2f8ee7" + }, + { + "file": "daemon-1.log", + "sha256": "cc705dfa1aac2dc2c97d54088fbca84c4a9d07bbeec405b767979ac431aa4880" + } + ] + }, + { + "row": "C5c", + "rep": 2, + "injected_at": "authorize A1; harness writes other bytes to the target; execute A1", + "outcome": "world changed after grant: Stale", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "refused_Stale", + "ok": true, + "value": "Stale" + }, + { + "check": "target_untouched", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "6ef2bab6a22387341cfc79a2c3490e750a6f4f167f65932525562c35b80f3764", + "6ef2bab6a22387341cfc79a2c3490e750a6f4f167f65932525562c35b80f3764" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "5b6cc9e86dc59d28b7100935aafb7809a50ce8a8b891d2105541d04dcf0a9cc0" + }, + { + "file": "steps/final-ledger.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/final-recall.json", + "sha256": "a38fa6fc05f17cdb3ac51729d3097f8e8f82c33da3f2c2d802070047f02e7330" + }, + { + "file": "steps/pre.json", + "sha256": "ac1a6ff5de57840836df180dc35137eb554f134e2509aa85d4ba7623b44d715b" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "706f8e38594f3a054f63dfd3a350b6ffc8b301d84755877a260b8aad76bebbea" + }, + { + "file": "steps/X1.json", + "sha256": "5f7bed0382f9fc513b9e5e3a4b2be02f25f66d7fbf0c1b192980c250cc2f8ee7" + }, + { + "file": "daemon-1.log", + "sha256": "87e9ea0d79c9490a4b282e1eb35158ebc661ec20f54403f4cec0057916e94ee3" + } + ] + }, + { + "row": "C5c", + "rep": 3, + "injected_at": "authorize A1; harness writes other bytes to the target; execute A1", + "outcome": "world changed after grant: Stale", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "refused_Stale", + "ok": true, + "value": "Stale" + }, + { + "check": "target_untouched", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "9d1ff5f68cc11c93e533f40aabb8e5e36f089e5f1ec2fab37e68e94b65cb2e25", + "9d1ff5f68cc11c93e533f40aabb8e5e36f089e5f1ec2fab37e68e94b65cb2e25" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "795898ea95383ca2cd7aff8ff7dc4e2495e30c7419ad587d12cac0e1ffa3f784" + }, + { + "file": "steps/final-ledger.json", + "sha256": "d5b27b33722a7873791597a8ac9e93faff0a769302c0f034275df331d08c67d8" + }, + { + "file": "steps/final-recall.json", + "sha256": "3a71dfac50704afd04ffeeee856c6becdd1d16cd6c436d9b3da4d26eb9bb1153" + }, + { + "file": "steps/pre.json", + "sha256": "c2bb3fa561078ab27bc130fb37c75f8fd963e7f58d1f15e141e1640dd7207465" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "74f40496d568bcfcd7de9b38004b919f4eeb30adabb3c4da2da3742be956d5a8" + }, + { + "file": "steps/X1.json", + "sha256": "5f7bed0382f9fc513b9e5e3a4b2be02f25f66d7fbf0c1b192980c250cc2f8ee7" + }, + { + "file": "daemon-1.log", + "sha256": "9b0189d3507718b9e4a85f695ec4ffc320badea925a9d4e26e4795ee1336886d" + } + ] + }, + { + "row": "C6a", + "rep": 1, + "injected_at": "truncate cortex.cx by 1 byte (inside the last record)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-1/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN)", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-1/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN); nothing was cut. Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-1/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN); nothing was cut. Run RecoverComposeHome (aien compose recover); effect command" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-1/compose refused: Cortex journal tail torn" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "a577b9e37e569d438c857bbf43a5a8481c4b9e2c8d2ebf0c34916534b40f468c", + "damaged_bytes": 9607, + "now_bytes": 9607 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "dfc022e8556edf18587b9f2cbb0642e172e318d7c2bc9b02f56173cc78a56367" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "b86a70ba53cf967a41b400635223bdb554fc3bdd733941b9e2531b66d0c096a0" + }, + { + "file": "steps/A2.json", + "sha256": "bad8cf462a953bb5b3274c8452f50774ef4863910867d5d0bc2d502fbaa9e661" + }, + { + "file": "steps/pre.json", + "sha256": "12a42ea16ae262788bdd617978ee90d6838d3f15dfb478dfb436548e68dcb956" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "9699330f6cd2cf879e36288998f06b65578fd052c4a0b7e23515ba6377a36091" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "6b8287c5f0c4dd39816f53dab53fb40e88b78e611ed870fb4b950eb2f2f7ef40" + }, + { + "file": "steps/X1.json", + "sha256": "38490a43d854dfa3b672ce666758f074fee626976d416147348446d731d886c8" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "efdf6e5e5bf0336b6154e2182c2f5ca4c16302a07d3778af2239c148bde203eb" + }, + { + "file": "daemon-1.log", + "sha256": "a2b4472d18475b41b0f2ebe5da388226446022d51f652ef30fdfa5327110a6cd" + }, + { + "file": "daemon-2.log", + "sha256": "5150462f79fea997a2e4d99905d87053e9db5e898e0a2d196f1ee58530dfe95e" + } + ] + }, + { + "row": "C6a", + "rep": 2, + "injected_at": "truncate cortex.cx by 1 byte (inside the last record)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-2/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN)", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-2/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN); nothing was cut. Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-2/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN); nothing was cut. Run RecoverComposeHome (aien compose recover); effect command" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-2/compose refused: Cortex journal tail torn" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "3a8c44ddb855b44d8501234d6fc58c2df73e69b9861e3fef3c20564b0c0a5021", + "damaged_bytes": 9607, + "now_bytes": 9607 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "11fe9ad1c9b1cd1328639230bf580f03ab9088379dac6a68681c3af8edb11e5d" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "9ff60123b9377d74a7ceaf6e4af4688379e1625ecc24c2c12e9523be07f9339c" + }, + { + "file": "steps/A2.json", + "sha256": "fa689f3c6180fdfad1474e913be1158486a1eb2e70297e16ac0890994816761d" + }, + { + "file": "steps/pre.json", + "sha256": "2ed8b479d845895064ebbace826dfe823d3a60d43f92c0132290610b5035f4b2" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "b6e24024e9d1b2659c6782398c698b9f65da32af89b84551ea819ced3ebf8c08" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "84ccd42a2d8601bfc0ac5d80e80791636d14418f01660260b89f7e0acd4b6d09" + }, + { + "file": "steps/X1.json", + "sha256": "3d2df6de4ba12597558e3d7936dddb3c3633562680df5a73fef67e01b5883058" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "37227f7d1c76ea83efb45e77fbdb8fb54b4e80e92aa5e496d1906885d63eac3c" + }, + { + "file": "daemon-1.log", + "sha256": "effaf201d4d84e5de88a861c92fba48cd90f1c497142119fe115af8825f37288" + }, + { + "file": "daemon-2.log", + "sha256": "d16e6dd05018735cedf1374f57bae5ff2ced3921e9747748af10b791cb158f17" + } + ] + }, + { + "row": "C6a", + "rep": 3, + "injected_at": "truncate cortex.cx by 1 byte (inside the last record)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-3/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN)", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-3/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN); nothing was cut. Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-3/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TORN); nothing was cut. Run RecoverComposeHome (aien compose recover); effect command" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-3/compose refused: Cortex journal tail torn" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "fdae2a1d63db136e46090fe2ff7f648ab2a1742638b73e5daaac8173dfe6b8de", + "damaged_bytes": 9607, + "now_bytes": 9607 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "20d554cc9d97e8d12f8fed546374fd3dc52d27e7b50a8a7d9236b7e101716839" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "dbd523e2651a2a87cb0bc0312d237cc48d6423fca4fcbfb2ded0e6e7d48e79cd" + }, + { + "file": "steps/A2.json", + "sha256": "5e1bce8087e0b8cadbddf574afd2143f6fb548a773b16fbf1d3d6260944e02bc" + }, + { + "file": "steps/pre.json", + "sha256": "272300d9a26ac4faca522ac37fd845f6624cc07f1de15c09371672fcee5036b7" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "87d82c4298364982e1b89d4cb8514397c9b3c06538caf190aed6873a9940a367" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "73dcdb69523316a7611de42ebc354b1e50c737ed959f9ea88464daa9b36d8d5b" + }, + { + "file": "steps/X1.json", + "sha256": "3e89773b44e84812251042a5d1b3579ffdcc4102375a5af2aa2cc7e58cd4a92c" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "a3cf810402e5c216f2961aebc3f1d997a95c0c617ca302e70cc660e2b6675a4b" + }, + { + "file": "daemon-1.log", + "sha256": "1149747a5bee2938cb7c981cfba6bece5f9eac94f08866d169eb5be1d15cb7a7" + }, + { + "file": "daemon-2.log", + "sha256": "78df2287013e4d6c6c840d2e0b83125451cd51c5ec20e33a007be114302e267a" + } + ] + }, + { + "row": "C6b", + "rep": 1, + "injected_at": "flip one byte inside the last record of cortex.cx", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-1/compose refused: rxc_host E_OPEN (-4), detail -4; effect comman", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-1/compose refused: rxc_host E_OPEN (-4), detail -4" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-1/compose refused: rxc_host E_OPEN (-4), detail -4; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-1/compose refused: rxc_host E_OPEN (-4), de" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "34b3a734c32f3fea6087be50e35d7679111eaa633ec5798f3ab3c591508dc454", + "damaged_bytes": 9608, + "now_bytes": 9608 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "0beb162a542081edbaeb72870029ad8d045ff505060a8e71409d92f9b0091846" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "0ef65c1b9c3e8fe12d5e62607f91f02d1bc469b584e30eee3b7b0a06dc21b14c" + }, + { + "file": "steps/A2.json", + "sha256": "a0c2c9fd51143b8079b45f6d4c237a64e78b30af6790a79ce04ba65120de2f03" + }, + { + "file": "steps/pre.json", + "sha256": "f6d1316e62cc98faaa6d6512d9981186159c66d542263892f4f25fe4155dbf7b" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "1702160fa2f45741237fed367ed0b9a4a5c9ba83b344dc4b921b7162e84e7269" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "aefadae938ebf28ed83535aba9d6837854de2d1b2ebdd9854a57815641fcd6de" + }, + { + "file": "steps/X1.json", + "sha256": "fc3ef8cb1933156806e50e1388ff82ea7ffe03a50b4e28ecdd18217bb0048dfb" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "d72ff0cfff04ea08e4845bbeef958ea058c6e0b1d39500d53f53c7ce6e4fc631" + }, + { + "file": "daemon-1.log", + "sha256": "600b2f09a2f83c3a3c7592f4a0d70f87f6cf9f14a38fe7020c02d8e832c3e3c1" + }, + { + "file": "daemon-2.log", + "sha256": "aae45ef69b44baf7dcb6f9261db0bf2ba279ee4a4bd11513462d125102f93135" + } + ] + }, + { + "row": "C6b", + "rep": 2, + "injected_at": "flip one byte inside the last record of cortex.cx", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-2/compose refused: rxc_host E_OPEN (-4), detail -4; effect comman", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-2/compose refused: rxc_host E_OPEN (-4), detail -4" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-2/compose refused: rxc_host E_OPEN (-4), detail -4; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-2/compose refused: rxc_host E_OPEN (-4), de" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "4a3f67c18bd81789d9058ee2677bc3a607b0f942968104b55d702605ca0a0110", + "damaged_bytes": 9608, + "now_bytes": 9608 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "cc02121ae05f17931df823699abd126962921886f1f311f994a327e092dc72f0" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "cae7ae9c2d45f7c634c6ec872b0a6e1dadb36130c503c0dff65d5a212d04a6b1" + }, + { + "file": "steps/A2.json", + "sha256": "77b75493c052558a60d0f269a0e513cb6e3ea1a931fbd9d79221f1162b8cc603" + }, + { + "file": "steps/pre.json", + "sha256": "905332e963331e04851f80c2b46bc8511157ae2540b5d9b34c37143e1a7b6fa4" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "278af0f7c190bf19bc386f6468f19781f43f938b626503727fb1dc680c910495" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "a4c7d3460d7e42882db170350957e382f4371d63b2e96679ecc2872124733988" + }, + { + "file": "steps/X1.json", + "sha256": "7a192c8332f6441f31380fe5476678da31e748ffc64f0b5f5a5f874aeaf3f5c6" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "7ab08194ab5befb51b99f98928c76b9118ca8156f8a54ba2cc81553543480d78" + }, + { + "file": "daemon-1.log", + "sha256": "396dd8d8dd9b70ce2eeb835d46955ab10d041a9e4ab6e2d01330e257733e6243" + }, + { + "file": "daemon-2.log", + "sha256": "0b22d978d6f312dccdb492f1d1e059d736c60ff1541bd1a2046df8e3e965f3ed" + } + ] + }, + { + "row": "C6b", + "rep": 3, + "injected_at": "flip one byte inside the last record of cortex.cx", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-3/compose refused: rxc_host E_OPEN (-4), detail -4; effect comman", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-3/compose refused: rxc_host E_OPEN (-4), detail -4" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-3/compose refused: rxc_host E_OPEN (-4), detail -4; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-3/compose refused: rxc_host E_OPEN (-4), de" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "4c2a6980df38c59fa53341883166088fbd9f19e69d2bdc294e19b93a39640d40", + "damaged_bytes": 9608, + "now_bytes": 9608 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "557af5d5c613d4f6c5718e556ef04f72dbda5ee65741859f8d1811e89ec4cf82" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "522d55b69a33ac475230c28f3ecadf3847e5af8a5479e4651c959534e4ce2e98" + }, + { + "file": "steps/A2.json", + "sha256": "440e9fd1c16a007f13a148913a3ead647891822946a12ff19fb93d2a445e1334" + }, + { + "file": "steps/pre.json", + "sha256": "9b018c70a43109738b1ac70d1eec1508089b0a6612ef4c2f21c169bb7373e35d" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "4eb2351ed60a3b6ede5dda61c95d0df51a2fa428f4dcb4eade889533735061fa" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "ece0b69ed482d8b83c876f43a4ab96fde0f430d2309d66509ceffcc51f0dd915" + }, + { + "file": "steps/X1.json", + "sha256": "98a36cc6467536e2271f1c146a3de1cc8ed54d106e2d3627ed42597eae32621e" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "4a138402d1a41c024d4d6916661012dac07a4bbe7fe2b696cdc302cc764543b7" + }, + { + "file": "daemon-1.log", + "sha256": "a3e06b119daad15b3585b4ce71a0edc2af2831de2ac7ca754e1e9a4593b90fd8" + }, + { + "file": "daemon-2.log", + "sha256": "3c744042d4c15c370cd845adf2280ee328650e1ab0157a95989a1e3732896132" + } + ] + }, + { + "row": "C6c", + "rep": 1, + "injected_at": "cut cortex.cx at the record boundary before the last record (A2 dropped)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record ma", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9). Run RecoverCompose" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 " + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "89b59a6d37a88ffa29abd6c35c1bce9a7551400df6790ca1020fffc6581e4b4e", + "damaged_bytes": 8968, + "now_bytes": 8968 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "0b1575b7afb18fc0d14139eb70d61c03dcc540a94ec5eaf9d7fe373998269ead" + }, + { + "check": "start_line_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "recall_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9). Run RecoverCompose" + }, + { + "check": "cortex_cx_identical_to_damaged", + "ok": true, + "value": null + }, + { + "check": "mark_identical_to_damaged_state", + "ok": true, + "value": null + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "c0411125a0ae0fd3c198b8f912b3ad0afa237a7bcc1b9a95050df436e45f9d42" + }, + { + "file": "steps/A2.json", + "sha256": "c8eee48768f4957b1162173088fafcb3b9a4114b847f35db018919bf6da5b032" + }, + { + "file": "steps/pre.json", + "sha256": "c3f101960b860ab22b4c082a3299c4e0bb4568b2afdfe5250f54e36673f3b0b0" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "0cbb358d734e7914cfa35a07a5ad29acb570464c1b01916825b4823d55f8ba85" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "c2ed8a03c4eef98906846d887dbbf531946784dd2efdb2969c45c7ab85d2f1bf" + }, + { + "file": "steps/X1.json", + "sha256": "0dc7bd2e9c9f03c4a6222c6c5937d57869d0ddc7fe034e2c70b234726851f0c9" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "fa68abc44462c71d39418067d7428d3d6acfc7c175f5f8626d8de48986dbf234" + }, + { + "file": "daemon-1.log", + "sha256": "8f9f355dc2d119e307da4640d0c48a5df8be84cf5ffa72bb25f95ad44a874c42" + }, + { + "file": "daemon-2.log", + "sha256": "e31f72daa1d383dfe95798ba2a5c5f1f7d71759e11572e9c95a2c1749c4f2d8e" + } + ] + }, + { + "row": "C6c", + "rep": 2, + "injected_at": "cut cortex.cx at the record boundary before the last record (A2 dropped)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 records, its record ma", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9). Run RecoverCompose" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 " + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "387d1651383e3ae1e42e68c9296c023b23337eb55327fce72fcffcc6ca3f2800", + "damaged_bytes": 8968, + "now_bytes": 8968 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "4fa48432562f01d64edc50bf9eb33034bcd740244867cfc64d74d4298da8214c" + }, + { + "check": "start_line_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "recall_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-2/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9). Run RecoverCompose" + }, + { + "check": "cortex_cx_identical_to_damaged", + "ok": true, + "value": null + }, + { + "check": "mark_identical_to_damaged_state", + "ok": true, + "value": null + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "6060c090c9d28818c4fbc7e0919e783a647645d5d37f433ef32998ef9224f2c7" + }, + { + "file": "steps/A2.json", + "sha256": "61adc3996c7bd77e0669929f563d8abda0cb1a3377ae7064fb3379d6dc565693" + }, + { + "file": "steps/pre.json", + "sha256": "6672e290b3abac0d70ebd9102698fd30efd39cd720858cb8080fa7e540858277" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "2bb375fb8cd1a670e878e7f4a17a635e8340af3aff9dfc2fb5700eeca3c17b65" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "1554693f2cd43d5092c01deabc95fe25dfcd08670e17c1e1ec3e132a70076328" + }, + { + "file": "steps/X1.json", + "sha256": "405b25f93f3d698d225f17cb12a2e0735dd40d31c75298fe43e586efacb75e3f" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "44aa31fe25326eccc8484fc41aca3ea50ef54dad29e8069c0a73e5ddc125c2bd" + }, + { + "file": "daemon-1.log", + "sha256": "a51320cf9e24c8cc9170d1de5e5844b49780b724dcb8602fef5886c9202ce604" + }, + { + "file": "daemon-2.log", + "sha256": "409c2386210ec2c93b76dff595ec92bff5d10e6a5799aac209658c490adad9d0" + } + ] + }, + { + "row": "C6c", + "rep": 3, + "injected_at": "cut cortex.cx at the record boundary before the last record (A2 dropped)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 records, its record ma", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9). Run RecoverCompose" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 " + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "886667873edd3fa313903faf2fadca477c27536ead34825ee8f7d1ff4720f062", + "damaged_bytes": 8968, + "now_bytes": 8968 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "b750a29608b2b046469ce0ad41d739eb91aa6dd4bd9929e0cd06aa67759e9dc0" + }, + { + "check": "start_line_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "recall_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-3/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9). Run RecoverCompose" + }, + { + "check": "cortex_cx_identical_to_damaged", + "ok": true, + "value": null + }, + { + "check": "mark_identical_to_damaged_state", + "ok": true, + "value": null + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "424bcc9cfe0d48a74d58d36674e8de3981a2765d4335b972fd636cdf352fe7fc" + }, + { + "file": "steps/A2.json", + "sha256": "2aa40312ba06cf672e55f222cf37239e9994047522c713df1b32c8f17a8b220c" + }, + { + "file": "steps/pre.json", + "sha256": "f7d62fb30f86b999434ca7c93069b28b047b81240943025310b9cec9138cde4a" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "b7bc64031f602974fd326a5263b9415baa6067c494f85b3ac849a96890f42ebf" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "b978f023b62378b0f805c55317dc591acd49d149f5e9483dad47ac278cbb9110" + }, + { + "file": "steps/X1.json", + "sha256": "f6f04d0674e85dc9b8dd517e1043c0c77dd7788c0f4269314ae9c8536e10f215" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "23bb9a43093292419e53b6a86049b5af6c319f3aeb8db86e4631b639fab0cfd4" + }, + { + "file": "daemon-1.log", + "sha256": "0fbfe7eb76d6736f8d2f7ee05e53a943d762fe9b71989b48ce490f7cca9859c1" + }, + { + "file": "daemon-2.log", + "sha256": "55a871a8fe635d0ac558f4b286f8bf9275fcd8b342bac330165f01734729ea85" + } + ] + }, + { + "row": "C6c-ctl", + "rep": 1, + "injected_at": "put back the record mark copied just before authorize A2 (daemon stopped)", + "outcome": "mark M=25 put back; Cortex mark: record mark advanced 25->26 (records written before an interrupted ; A2 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "start_log_mark_advanced_M_to_M_plus_1", + "ok": true, + "value": "Cortex mark: record mark advanced 25->26 (records written before an interrupted mark update; not corruption)" + }, + { + "check": "recall_ok", + "ok": true, + "value": "ok" + }, + { + "check": "A2_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "A2_retry_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "14349ff6f0877f828558de2a4a151e1f2bdf1609d0a8964d6ea46c13432c603c", + "14349ff6f0877f828558de2a4a151e1f2bdf1609d0a8964d6ea46c13432c603c" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 32 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 2, + 2 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "8f08757cb4f616dcc6edf079d75e0dfe0cc21d97d74d0f7fbc7bf765cf00a4e1" + }, + { + "file": "steps/A2.json", + "sha256": "137f720b1d36b6d93050ff58f3220dd7a7a333a024e5117753311c33e41a34de" + }, + { + "file": "steps/final-ledger.json", + "sha256": "82744402386a1465af8ba40de0edf07648924b4e4bf7f0f300a489f5ceba4e1c" + }, + { + "file": "steps/final-recall.json", + "sha256": "b47e1d04a1e6e10d0d5d332c495d89282d42dbdc08f360298ea829bcd74bd8da" + }, + { + "file": "steps/pre.json", + "sha256": "d9c3110781844913a3ed5f14df34363e62520c84c1f0e9a8a66d1b40d9e83fac" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "f8644260fcc2429f470e7f15f961ebfe6e8189f5eeca1fca7b8a60a5599df186" + }, + { + "file": "steps/RCL.json", + "sha256": "e4438763b9a529e895c20becbf0913216e8d53db0099ba487f85506fdf88aaeb" + }, + { + "file": "steps/X1.json", + "sha256": "f87fa197df17510ae9d3ee5df757d122ec5e04dcf68e18480a0f7e82f833af3f" + }, + { + "file": "steps/X2.json", + "sha256": "2d631f171fba620600528f1f9ac1e5d0cfb00e7d4963d40c35e6cc9e899f4a06" + }, + { + "file": "steps/X3.json", + "sha256": "11f1bc503f4800fe68ebed5455a488285d2f8d44701ac1a9a66139330d60ec00" + }, + { + "file": "daemon-1.log", + "sha256": "982b2911798ff47b3f4950e3c790cecc86aba8f787e342de5c4f083382301999" + }, + { + "file": "daemon-2.log", + "sha256": "4c5a97985983012a70b81e1e019cb96fb436b1085e6cba10594fd542c0c0c9f4" + } + ] + }, + { + "row": "C6c-ctl", + "rep": 2, + "injected_at": "put back the record mark copied just before authorize A2 (daemon stopped)", + "outcome": "mark M=25 put back; Cortex mark: record mark advanced 25->26 (records written before an interrupted ; A2 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "start_log_mark_advanced_M_to_M_plus_1", + "ok": true, + "value": "Cortex mark: record mark advanced 25->26 (records written before an interrupted mark update; not corruption)" + }, + { + "check": "recall_ok", + "ok": true, + "value": "ok" + }, + { + "check": "A2_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "A2_retry_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "3a7863ce141233c245faafef56d0aca0ca26f839ab3f93c488ab8a6f28f4987a", + "3a7863ce141233c245faafef56d0aca0ca26f839ab3f93c488ab8a6f28f4987a" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 32 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 2, + 2 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "1e21492d72fd225c7b1a61d02a1cbc21562e3258b95417cc8511e1b4f233bbab" + }, + { + "file": "steps/A2.json", + "sha256": "ce6e8e917bfb4342542d0c90a9d1bfa58294c93e2c8d9514b0768439561924c7" + }, + { + "file": "steps/final-ledger.json", + "sha256": "776d776e7508dc3e008b8f70c4cfeb255b89a880d24486e55f8c527afbed179d" + }, + { + "file": "steps/final-recall.json", + "sha256": "0487e382d941702e92460f67bcad233b4afd1d0ec74cf3e6196d5a7d083c6cc6" + }, + { + "file": "steps/pre.json", + "sha256": "82f85ae81e18024d90f0b1dd078df088b48ecd2358b4ed1bc2e643af99042de0" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "0968c06b440b46811a7e7b01d6a696e20c8dc74e70ae41dbb3a4c470bdab08ab" + }, + { + "file": "steps/RCL.json", + "sha256": "1c4265b3efee80863da6f7e046119efc890efb0bb0d9a78f3646e89c9289c121" + }, + { + "file": "steps/X1.json", + "sha256": "c003faf058776689f15348f9838bb54f6370e9efe6ae15a523f5dd0ce532640b" + }, + { + "file": "steps/X2.json", + "sha256": "f1b8fa45ffff1de3449ca2b967104cd903a78572dda0fdf10c2be05c1a5a0ee6" + }, + { + "file": "steps/X3.json", + "sha256": "11f1bc503f4800fe68ebed5455a488285d2f8d44701ac1a9a66139330d60ec00" + }, + { + "file": "daemon-1.log", + "sha256": "b02c6afdef0864898f362d6cb4ac69fed6a257bee61f989e4eaeb2b7271c6c31" + }, + { + "file": "daemon-2.log", + "sha256": "e355850753f0765de1952211b6a99daed885d1d443f49df13bb0d3c2e3fd718a" + } + ] + }, + { + "row": "C6c-ctl", + "rep": 3, + "injected_at": "put back the record mark copied just before authorize A2 (daemon stopped)", + "outcome": "mark M=25 put back; Cortex mark: record mark advanced 25->26 (records written before an interrupted ; A2 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "start_log_mark_advanced_M_to_M_plus_1", + "ok": true, + "value": "Cortex mark: record mark advanced 25->26 (records written before an interrupted mark update; not corruption)" + }, + { + "check": "recall_ok", + "ok": true, + "value": "ok" + }, + { + "check": "A2_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "A2_retry_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "83cf24c63696f6cca7ccd89c00be6d179b63fe49e2476f6afed375545e219d59", + "83cf24c63696f6cca7ccd89c00be6d179b63fe49e2476f6afed375545e219d59" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 32 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 2, + 2 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "b55beecd44f21793feb34c09b4e1af1874b94488b79a9a19fe6f2288924d71fe" + }, + { + "file": "steps/A2.json", + "sha256": "c4d4e81151956cb6bfa7319ce12184b4c47a32546ed3ee0242c1159a9230127c" + }, + { + "file": "steps/final-ledger.json", + "sha256": "7a02b810feeef4483198352e05c9a9664fd3a49d4303d12501d4048da001da3a" + }, + { + "file": "steps/final-recall.json", + "sha256": "dded623df918cedcae6e77a8762046f910e080d70b09878c0f57d239f8f80cf7" + }, + { + "file": "steps/pre.json", + "sha256": "c84dae55068f905b07f971531bdd387a79987d6f18dac53552d5926f2333c64c" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "d745aef790ca1894ce809d016e0637260af2e997e049ef522858c1b4a18a4f32" + }, + { + "file": "steps/RCL.json", + "sha256": "9369db8e63f04a6aab72aa3b5c709fcf466e64c95b4870f97ce4650f72383591" + }, + { + "file": "steps/X1.json", + "sha256": "ee93bdaced01dae7e5e0e5191d7d9d0775d30ffc4d52ae98da03afc45edb5608" + }, + { + "file": "steps/X2.json", + "sha256": "802ca48c400d2e41d5486346d9e8487f581a548650d4d1a5a67296e3767a925e" + }, + { + "file": "steps/X3.json", + "sha256": "11f1bc503f4800fe68ebed5455a488285d2f8d44701ac1a9a66139330d60ec00" + }, + { + "file": "daemon-1.log", + "sha256": "401b66785910eaf4cb694b703dbe71348476f4ce394fac454fc777c783219f86" + }, + { + "file": "daemon-2.log", + "sha256": "a15d89dbf2cc447d1a44b443ac00ed831965b790dc326db9b8452088dae6a017" + } + ] + }, + { + "row": "C6d", + "rep": 1, + "injected_at": "none: jspace.data 0 bytes and spill_end 0 (guard); case run uninjected", + "outcome": "NOT_APPLICABLE: jspace.data 0 bytes, spill_end 0 before and after the case (compose never spills at omega 62b6a28)", + "verdict": "NOT_APPLICABLE", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "guard_read", + "ok": true, + "value": { + "data_bytes": 0, + "spill_end": 0 + } + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "uninjected_A2_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "end_of_case_jspace_data_still_0_bytes", + "ok": true, + "value": 0 + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "b6615e8ceafcc39be1fa2ce1e860ded424faa05ae9bd52b60d92580cda9ca9c5" + }, + { + "file": "steps/A2.json", + "sha256": "802ef35391e964104762e5624c2d198e9e851ef9e282112abe24527f296facac" + }, + { + "file": "steps/A3.json", + "sha256": "4bdaef191d06806d396fabe8cc5dc283b46299546a024229eca0b5b41ddf44d0" + }, + { + "file": "steps/pre.json", + "sha256": "6113c94981b28b24046c8745950d2a831fa627b5622925fafe38fb975c20aaae" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "110207fdcca204f72f9893dbb832c5395e4a3d5281685fe608c9f34431d8318c" + }, + { + "file": "steps/RCL.json", + "sha256": "598e7c63fded472992a4f78bb40e78128d4a0cde6d9a35eba805348667476af3" + }, + { + "file": "steps/X1.json", + "sha256": "32ac3a2f860d53d4b8c20aa0d519f3b4b1e2c2cc212a137667285562bd85be19" + }, + { + "file": "steps/X2.json", + "sha256": "d75d0b28eb0d3160ab6b8f7afeaf85ed30a9c123dadaf9bd336d42ab8fb06870" + }, + { + "file": "daemon-1.log", + "sha256": "1cdb5f7eea4615f009f9c57d84978dbf73ebfad61e6b9197568b8f7e004e2eec" + }, + { + "file": "daemon-2.log", + "sha256": "1cdb5f7eea4615f009f9c57d84978dbf73ebfad61e6b9197568b8f7e004e2eec" + } + ] + }, + { + "row": "C6d", + "rep": 2, + "injected_at": "none: jspace.data 0 bytes and spill_end 0 (guard); case run uninjected", + "outcome": "NOT_APPLICABLE: jspace.data 0 bytes, spill_end 0 before and after the case (compose never spills at omega 62b6a28)", + "verdict": "NOT_APPLICABLE", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "guard_read", + "ok": true, + "value": { + "data_bytes": 0, + "spill_end": 0 + } + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "uninjected_A2_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "end_of_case_jspace_data_still_0_bytes", + "ok": true, + "value": 0 + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "760961fc2f39c6fe3d19ce4b7b7031843592c25a072979f2bb890c70b68bc18c" + }, + { + "file": "steps/A2.json", + "sha256": "4b0ca1fbbd26eeb22e9e016562d7e94354fb47e97f20bedf6738e3582c12a4de" + }, + { + "file": "steps/A3.json", + "sha256": "35a06c26162f2007ccc91d550234a9c8487d5990699a53f339c66e5b10fc4817" + }, + { + "file": "steps/pre.json", + "sha256": "4dbfd21ee22e2e784ab8bc5bb992d29d8aef6ab457ce225e7d6c8c3534ccd2c1" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "ae57649475784aa45f8768a32d6404a27b3d30e0d302394a033a89f8f7f92d0b" + }, + { + "file": "steps/RCL.json", + "sha256": "c00e8d2465ccbee1947405047e81380ff6d5ecaae2288e21e356a7538816aa36" + }, + { + "file": "steps/X1.json", + "sha256": "3322a0f99b35918c854db26e6203a4b79f6b0ce5012ea0dda5d48a8314695ea4" + }, + { + "file": "steps/X2.json", + "sha256": "574f790459f496ad2b9e2ff1bdd5c3683b8063518562baa2fb84d7fa298144e0" + }, + { + "file": "daemon-1.log", + "sha256": "f59f994da693c8cbe5a093190358a6a3c6acc6ae70cc36d7ccd6d2985d4c95ab" + }, + { + "file": "daemon-2.log", + "sha256": "f59f994da693c8cbe5a093190358a6a3c6acc6ae70cc36d7ccd6d2985d4c95ab" + } + ] + }, + { + "row": "C6d", + "rep": 3, + "injected_at": "none: jspace.data 0 bytes and spill_end 0 (guard); case run uninjected", + "outcome": "NOT_APPLICABLE: jspace.data 0 bytes, spill_end 0 before and after the case (compose never spills at omega 62b6a28)", + "verdict": "NOT_APPLICABLE", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "guard_read", + "ok": true, + "value": { + "data_bytes": 0, + "spill_end": 0 + } + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "uninjected_A2_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "end_of_case_jspace_data_still_0_bytes", + "ok": true, + "value": 0 + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "117e8a104b84c759d6d1432a88d7556a67379b1653909414b7db6a39f5a9e50a" + }, + { + "file": "steps/A2.json", + "sha256": "d7db07fbaef46384f8f059400b25a17b63e142cff4c11fefa829e1c6b7796062" + }, + { + "file": "steps/A3.json", + "sha256": "6db0830cd136e4052a94eb58fee97cfa080af878b38d813796cf9690781f5082" + }, + { + "file": "steps/pre.json", + "sha256": "8c3f2e27f675db9d506a2a9bb68918bb9505714fa7e1e2bc5d6bdf2b7677a8cf" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "b3d8b4ef3b6c7c63fa276a32872ce9f1f4e12c2c709a5380e78ae251c3928828" + }, + { + "file": "steps/RCL.json", + "sha256": "87138c41af7fa1e81d71eb9cdb5d9ab4082d6a0afc29042c6f2e471dbcabe792" + }, + { + "file": "steps/X1.json", + "sha256": "bc3b7637ca6657dd0119d64a1a2e910c87795fb65b0f9c912c56760d3591d834" + }, + { + "file": "steps/X2.json", + "sha256": "10e11c5a54c26a4462f03d01af67731b708a1e0508aedebcfffcb4ed840d6763" + }, + { + "file": "daemon-1.log", + "sha256": "ac3d44d4d7f1f516c9d8a983e61d6e9e028795318d80aa735dd5abf2ffbd85db" + }, + { + "file": "daemon-2.log", + "sha256": "ac3d44d4d7f1f516c9d8a983e61d6e9e028795318d80aa735dd5abf2ffbd85db" + } + ] + }, + { + "row": "C6e", + "rep": 1, + "injected_at": "flip one byte in the middle of jspace.meta", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-1/compose refused: Cortex journal behind its J-Space anchor (E_RE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-1/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-1/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover); effect " + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-1/compose refused: Cortex journal behind it" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "d70f1e8ef4a80eaaff9ed268dc5c7dab78ab899dff3bf532e75d403b400d4b36", + "damaged_bytes": 568, + "now_bytes": 568 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "a0e166ccaa640deb45eb0b35ab374718088017ee462a573735768f67efa8ab42" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "8e3a0d231e40c5a0035329e5a27436f0eef72ea598ff1f3ddbd311f49995f2d9" + }, + { + "file": "steps/A2.json", + "sha256": "6e5632e029d954316cbf6d3304ea9d20057dc0c89a144cb35c7ecebee21e7a0a" + }, + { + "file": "steps/pre.json", + "sha256": "10f8ca398dec8b19059d156c0737d5fbd55daea2bcaea67f09f6dc11631022bf" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "95f5b4106a6b2d277708faa75fbc7eb2f4d793bb944c3845ec33aa5e2f7869f3" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "b0ad86e23328a3450c8714e16873932a4a2b5bbba6ef3a0b612565b6930830f6" + }, + { + "file": "steps/X1.json", + "sha256": "1203124de0a76582e5f9ae302e2e14a19ae2412ab48f46a1038d4c66ed1ffa44" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "c69ca446647da40b6f83809010e3f0aef5a6f6748acd58e2583ec63963f04886" + }, + { + "file": "daemon-1.log", + "sha256": "ea29d33331f5373c56da42e54a66e256a4870b26742faf8612376752eb04780e" + }, + { + "file": "daemon-2.log", + "sha256": "ab3e0055d93cbf88a9e372bb78debd53f886e47158eb6adecbfa635538baf993" + } + ] + }, + { + "row": "C6e", + "rep": 2, + "injected_at": "flip one byte in the middle of jspace.meta", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-2/compose refused: Cortex journal behind its J-Space anchor (E_RE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-2/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-2/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover); effect " + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-2/compose refused: Cortex journal behind it" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "d70f1e8ef4a80eaaff9ed268dc5c7dab78ab899dff3bf532e75d403b400d4b36", + "damaged_bytes": 568, + "now_bytes": 568 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "03f82e4b43b77162cc8addb0ccf05d001c13064187737bc2e47bba5010a3ec2d" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "577a806bd81171e9bd7fa05d009bf31bc9f8a3f9cc2ff5dfd871e0e3c83eeef4" + }, + { + "file": "steps/A2.json", + "sha256": "b04b31c40aed45a66ab71e7c99eb3f24e0e56adce0d81081ca941ace91fd8b5e" + }, + { + "file": "steps/pre.json", + "sha256": "2f6251c7965cfd19d5afb954658ed40d3eaa7caa0ac95c1dcf2a5459e0b99e5f" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "1bad4ef31cff020958c27cc640021ba7310cec7066606e591ac54f467bbe100d" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "3a47513bf179282213e3675c5655ac0f7d265fa5179c22257dbf5af24ca33341" + }, + { + "file": "steps/X1.json", + "sha256": "d59de42fcc5b5bff0708c8d60301f396b6014d3008d40315bce0c183dc860d00" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "29570f480a38a6c5c083d8e639a973e55d34744a9d77d672615152f4159da378" + }, + { + "file": "daemon-1.log", + "sha256": "a32ca1eef928e29ccf4d6ef120e6f24236e3cb0b682a6b3295f2c8d9d576e927" + }, + { + "file": "daemon-2.log", + "sha256": "1cc97f58fd56236ede4d41d10ef7c832bda32535e44f302e6714b6ba47c63566" + } + ] + }, + { + "row": "C6e", + "rep": 3, + "injected_at": "flip one byte in the middle of jspace.meta", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-3/compose refused: Cortex journal behind its J-Space anchor (E_RE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-3/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-3/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover); effect " + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-3/compose refused: Cortex journal behind it" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "d70f1e8ef4a80eaaff9ed268dc5c7dab78ab899dff3bf532e75d403b400d4b36", + "damaged_bytes": 568, + "now_bytes": 568 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "1a70047434d37841960a39af48a6026ee863c72dd6c54ec1cf049cdf3f9fa1e6" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "7143a562d616c071c57cdac66403e3921ed9605742f4c4446ce42d316759a766" + }, + { + "file": "steps/A2.json", + "sha256": "8d2baeb72fc5acaf09f2a7921ea37741bdaf765280d17bf93551b8859c3f4667" + }, + { + "file": "steps/pre.json", + "sha256": "5d29aea06f2124d19a562a019d0deecf5f2db5df9ef369ddd07b9aa991e3aa06" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "159108b8f5017ea03d9a1c12654a589106882524e92a231f3c9ffa8dd792a0df" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "8c522ac59f14778aed8d50fe32098f7cba3360fc230f2147e0c6cd0b5f79eff0" + }, + { + "file": "steps/X1.json", + "sha256": "3a7eaebc9a6f47d7718b2fac6856bb89dff3edb74585ee7867202ed4a7b08c1d" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "2d46be1b3f6ba3ac6d166c658b0c3d8b9cedfc7929f80aca209554355302f862" + }, + { + "file": "daemon-1.log", + "sha256": "5f214870c1a6dbde3d54ecabb90e7d97a632aa28177fc1c3b5afbf9c8b41a24e" + }, + { + "file": "daemon-2.log", + "sha256": "655abe265ac262eb6421d3742a947ac5b5e9f1d2247a0320a6303a445ae19fe5" + } + ] + }, + { + "row": "C6f", + "rep": 1, + "injected_at": "truncate the machine root to 16 bytes", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-1/compose.machine-root holds 16 bytes, expected 32; effect commands refuse unt", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-1/compose.machine-root holds 16 bytes, expected 32" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-1/compose.machine-root holds 16 bytes, expected 32; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-1/compose.machine-root holds 16 bytes, expected 32); run" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "ae0420e07d958c771e1f2ad072b2adafb86d491141a1379325557743ebb9c9f1", + "damaged_bytes": 16, + "now_bytes": 16 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "22ea88bf33ed091fdc4cf5ac7cf8eb457295a68b64b375f37e02c1aa491ee90f" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "afe799f7fee12b7bbb91c385b3be85c614d153ce4fb6d8d05926fa261d475021" + }, + { + "file": "steps/A2.json", + "sha256": "b160ea1e6beb378e2898c41fdf18a8a6fdbdd615de27a27a9b313e94eab73660" + }, + { + "file": "steps/pre.json", + "sha256": "5419086f42a3291621e6b2eaab55eee58949516ddfdb12c3d5886ffc92e1e0ef" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "0056814cc7860810177d6aa016fc03600426d56a48579cdc2842b353247d4c24" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "8f1edf8703cd63f4b4c126bba376b9215fe14bc3f4bb6227cbd96a8143f62e74" + }, + { + "file": "steps/X1.json", + "sha256": "d228fc9fec1a797022cca26b02b60c0f2874e69adb6b880a5e83302e8833cff2" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "6da623247d1c19fa451853257f36a444570ed6c17af863e8857eb5a09650a5ac" + }, + { + "file": "daemon-1.log", + "sha256": "46a3b61719cff214ccc0f9e6c2ec4e3e98b99fe3de056b64510b52bf7802069a" + }, + { + "file": "daemon-2.log", + "sha256": "bbed42aae81e7dc477f6fe9c42dedd06d30163a69e532245856a89ce22170191" + } + ] + }, + { + "row": "C6f", + "rep": 2, + "injected_at": "truncate the machine root to 16 bytes", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-2/compose.machine-root holds 16 bytes, expected 32; effect commands refuse unt", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-2/compose.machine-root holds 16 bytes, expected 32" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-2/compose.machine-root holds 16 bytes, expected 32; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-2/compose.machine-root holds 16 bytes, expected 32); run" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "ae0420e07d958c771e1f2ad072b2adafb86d491141a1379325557743ebb9c9f1", + "damaged_bytes": 16, + "now_bytes": 16 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "7b6577e5db0bd0505cd177d17072d7c135a597620a670d05a2f5c64aca484a1d" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "25c87627a43156890e2d659a383ede26a2a25c7556425bb610ccd04bafcf7be8" + }, + { + "file": "steps/A2.json", + "sha256": "7d236a409a7b0d752df8696ca7a8b833041586f8b9aab6bb9e5481dc68971303" + }, + { + "file": "steps/pre.json", + "sha256": "8440fd7443ede7d379f9705b64d02cadae18f941e5e2f8c492dfa08da234e4a7" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "3cdb78c144f8837449d27b20614e0f1db0f45502b3ed4e3b2c3b80e26f995825" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "49e67eb3e96a8dab5a8a31a5c2087f82c10bf8977dc9bd4d5b6382dcf5978dfc" + }, + { + "file": "steps/X1.json", + "sha256": "3106173422e087e3ccf369b98adad03be46d45ea14bef6f589b658611ddb954b" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "1c426f2cac10f020884109ab4d789b9de5f86ad0c00d5e96d116d58cc2b28513" + }, + { + "file": "daemon-1.log", + "sha256": "28835698c0ab43970b036dbe82d928bcfcf8c85ce85df95bc87a11bf224b6960" + }, + { + "file": "daemon-2.log", + "sha256": "497b17f91b385e53f37a866a29123357481411a92c7baa3dbd63a10cce6d0ac2" + } + ] + }, + { + "row": "C6f", + "rep": 3, + "injected_at": "truncate the machine root to 16 bytes", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-3/compose.machine-root holds 16 bytes, expected 32; effect commands refuse unt", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-3/compose.machine-root holds 16 bytes, expected 32" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-3/compose.machine-root holds 16 bytes, expected 32; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-3/compose.machine-root holds 16 bytes, expected 32); run" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "ae0420e07d958c771e1f2ad072b2adafb86d491141a1379325557743ebb9c9f1", + "damaged_bytes": 16, + "now_bytes": 16 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "386be5de11637b954e591fc3e3875bd846144d331a4712a39aedbeaf6c194959" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "949cfd6b8906c0e21d9be215507b63afe9db2053f15eaf9dde15492a24342d4f" + }, + { + "file": "steps/A2.json", + "sha256": "19e042b09287dd5f32f88b99fc37fe80215c6959712a2b0a9bc26dec546b8e55" + }, + { + "file": "steps/pre.json", + "sha256": "f2a4fe0121e258be48d42ed9685ce46341e44cd3b71c861d14805f5087a3965c" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "1134037a3438892ff519016316e3c4c85b6f2975d8011fc0bdb16b38dff168d9" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "34dba8d4a7d0d8386719170b64202ad05b77708c0b00e59e6ce409c27054295a" + }, + { + "file": "steps/X1.json", + "sha256": "d09b8c1d6fa4598015dadfb6dce60afff7d6c7816139db97ac143d46bbc1c8d9" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "5007ba36a81ab83164c1f08187ca0a23130363407e9b8130fbe0b2e219bda6bf" + }, + { + "file": "daemon-1.log", + "sha256": "bd1d723cbb53bb463d5a05a670cfed804069f870e95b9932c1da28e41601aeeb" + }, + { + "file": "daemon-2.log", + "sha256": "22df16aa2c1bd386fb4518809d1ac2338c7e8236339423258469c0adcd88ce97" + } + ] + }, + { + "row": "C6g", + "rep": 1, + "injected_at": "flip the first byte of machine.id", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-1/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect com", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-1/compose refused: rxc_host E_IDENTITY (-2), detail 0" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-1/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-1/compose refused: rxc_host E_IDENTITY (-2)" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "a13720c6e9024df14d5c1d65c91a1ade9a346b7c26a30af2bee1fdbd1093abc8", + "damaged_bytes": 44, + "now_bytes": 44 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "bae2899cd8e2ff46bfadf0691354555add209bfae373adffbfcd91157dc9528f" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "da3740fd96428924180c6f1c88663ba089c99cac05623a54ea47409e952da5bc" + }, + { + "file": "steps/A2.json", + "sha256": "f0ccb929bbb25e2f55818d2d3c089f6afeece4e431be0c38b794222d02a032ad" + }, + { + "file": "steps/pre.json", + "sha256": "e47955731b095da09e3568c7d858d4d964af91a1ec412825012454fc71e7b0ee" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "f026be67afe88a77812b3adae1700ff34618bc57f4e0ba0f7c4e97105c78d413" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "b8252a2209e0890dadebd86ce0ee03ed51b8d949943bfcb2a266c8ae8ddd3f63" + }, + { + "file": "steps/X1.json", + "sha256": "1a8a6bc3f75bbe04d3f76f5835cf0a764d69a0734761833411cc944bca4682a0" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "0178d5dece7a52a82af0f21ea29eb80abe25ce62c24bae59d92b6c9ba32eeb09" + }, + { + "file": "daemon-1.log", + "sha256": "c8caea809822af18425db47e365e5fdc9bc396d9ca4d6c89752cfd698179c4b9" + }, + { + "file": "daemon-2.log", + "sha256": "4ce91a9d2a45ba9c7b34b3fc935714e78ed58fed1152a7d9258e877442fe569d" + } + ] + }, + { + "row": "C6g", + "rep": 2, + "injected_at": "flip the first byte of machine.id", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-2/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect com", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-2/compose refused: rxc_host E_IDENTITY (-2), detail 0" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-2/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-2/compose refused: rxc_host E_IDENTITY (-2)" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "a13720c6e9024df14d5c1d65c91a1ade9a346b7c26a30af2bee1fdbd1093abc8", + "damaged_bytes": 44, + "now_bytes": 44 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "ca72348c9e42771d4040ed1945dc9c261bdb6be5136a97c492d732856672b8c8" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "1af6e2d4dd9f374a96e7e246971113d0ab6dce3bc42d8afff34d60c28cf47de6" + }, + { + "file": "steps/A2.json", + "sha256": "39a1fcc50a7722d30f162ec3d41eba9a4187af2fd370c5c76361e570dbc465dc" + }, + { + "file": "steps/pre.json", + "sha256": "64ec97ba83cb61c2fb7f1ed43d9d8a7aba30e94464a8bf4b9073c21416265cab" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "6e5120ad2b746da5038be20a1ed3044146015faaa0370c901d8621a2b921cad0" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "786d91732673ec442fe810e3e658af3d7efe24af34248a67ba161af45d2a4ef2" + }, + { + "file": "steps/X1.json", + "sha256": "ba0e9256e1b57bc04c2760546d4e5089d9dd741e6af189b4466893da81eb5193" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "168622bbabf4b6bcb190b5cf2dbedb612ab25da19e3d2061ef41324cdd9a38c3" + }, + { + "file": "daemon-1.log", + "sha256": "c4188c1ae6dc2f0b9abade6099795d6e80d2de0ed2123f9bfcf12440e4e3c200" + }, + { + "file": "daemon-2.log", + "sha256": "370f968cd3c9c42c05ba0b65ec9842bb0e7cd0b0831ce958ef9db02d7f29f071" + } + ] + }, + { + "row": "C6g", + "rep": 3, + "injected_at": "flip the first byte of machine.id", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-3/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect com", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-3/compose refused: rxc_host E_IDENTITY (-2), detail 0" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-3/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect commands refuse until a successful reconcile (aien compose reconcile)" + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-3/compose refused: rxc_host E_IDENTITY (-2)" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "a13720c6e9024df14d5c1d65c91a1ade9a346b7c26a30af2bee1fdbd1093abc8", + "damaged_bytes": 44, + "now_bytes": 44 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "308c5dd73332ccd2fb630c16e26ff39510284e213962b190cd88f6fedbc97e4b" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "fabcbd0db6983b07248c637a91681959a6d33462df1c4ab58101fa216fdb9b28" + }, + { + "file": "steps/A2.json", + "sha256": "05a5ecf0e110765ea0880b72f93adc120409ae9a726567205d94fb647c05ba3e" + }, + { + "file": "steps/pre.json", + "sha256": "d1777938a608dae6a2672f5592cd9abd93da922507f83ecee106b247346fab72" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "adfd0364f7e97b2a25bc62d70e611adb324bc2424d7ab7ae6e82edff33da12af" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "4584ad4be55c00470e9fa43bf50afee31b8aae35ac867829925343e49f59c701" + }, + { + "file": "steps/X1.json", + "sha256": "de86f2f7a600fdb11f46a2d989e904c2f1c3487b2aca9e19813dad1c95511872" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "d0eba1cb8f10e1f3ac0fbbeda85b3a4b584cd31330e294a10df5332eab0b3c42" + }, + { + "file": "daemon-1.log", + "sha256": "dfdd0ae26bcad4f83960745f154447fea02ec7ee63ad36d5c95e3600a7fd7482" + }, + { + "file": "daemon-2.log", + "sha256": "5956a1e8d0c306559f2722427b5fc67aafe8142495d4b0434dee8f99f0c726f1" + } + ] + }, + { + "row": "C6h", + "rep": 1, + "injected_at": "write '{' into processed_operations.json", + "outcome": "daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-1/state/processed_operations.json is damaged (invalid", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_refused_named", + "ok": true, + "value": "Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-1/state/processed_operations.json is damaged (invalid type: map, expected a sequence at line 1 column 0); refusin" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "021fb596db81e6d02bf3d2586ee3981fe519f275c0ac9ca76bbcf2ebb4097d96", + "damaged_bytes": 1, + "now_bytes": 1 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "ca8f41c996704af3c0bbc42bc47a70dc55e604ac535205f3fd400260752a5b04" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "871f1fd5ad4d0bd42c0d1f154b91b8fae0cf4329d4274ac7f44d5890cc380cd3" + }, + { + "file": "steps/A2.json", + "sha256": "1df75460568b877270682f1969c6508160601d978b72587b4e994eaa43ea6522" + }, + { + "file": "steps/pre.json", + "sha256": "2bcce066a9836b63a3e6e2087f308082e94bcb313ed3e3380f8f395d55a9bb26" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "2b5b75721d70e30349807d588fae1adb56de01950b4149d3edf633c54cb007df" + }, + { + "file": "steps/X1.json", + "sha256": "3d941b638ee9e6841cb8e60ee39ebe51180ce7fba0afe2370e1dc4db29ca888a" + }, + { + "file": "daemon-1.log", + "sha256": "14226b141261f4429a98dd558c3db0e9400e6f668fd81198c015378406317cc8" + }, + { + "file": "daemon-2.log", + "sha256": "9bcde6c50d0baef038ac5730091550f8107a2e7d283dbdab6fe6ae59c57d6c09" + } + ] + }, + { + "row": "C6h", + "rep": 2, + "injected_at": "write '{' into processed_operations.json", + "outcome": "daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-2/state/processed_operations.json is damaged (invalid", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_refused_named", + "ok": true, + "value": "Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-2/state/processed_operations.json is damaged (invalid type: map, expected a sequence at line 1 column 0); refusin" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "021fb596db81e6d02bf3d2586ee3981fe519f275c0ac9ca76bbcf2ebb4097d96", + "damaged_bytes": 1, + "now_bytes": 1 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "98488724a0339421db7c947b1a3f0cdfde9640e7fdf39c0c9fe54be21faf9eaa" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "9ff707c9caf4c9ffc3801bc74673ec9646944cc6ce9ef2438d68438118417b79" + }, + { + "file": "steps/A2.json", + "sha256": "22ff48537a659ad786e65e49ff06a54da1914819d8e385f8592005472bcb0232" + }, + { + "file": "steps/pre.json", + "sha256": "289ae558422235f23c172cef5cd64777509ecd40d7624b9cfca8dc4443255da8" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "0dd26eda802fbd7325985c734ceeecc1bfd8d7ad49ad3dadbeaa53d06005b7b1" + }, + { + "file": "steps/X1.json", + "sha256": "d17ace6cf5ae04b50d4d1a1982c9872e75cf381f5df68dd869d53d63eba563e8" + }, + { + "file": "daemon-1.log", + "sha256": "2a692185f901b562151d49017f4325282075057a9574440f5da67503ac4f9166" + }, + { + "file": "daemon-2.log", + "sha256": "2dfc3c71fbc428b4c624b58777821ebaccf22ec05b903eec528da41c422c0aa0" + } + ] + }, + { + "row": "C6h", + "rep": 3, + "injected_at": "write '{' into processed_operations.json", + "outcome": "daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-3/state/processed_operations.json is damaged (invalid", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_refused_named", + "ok": true, + "value": "Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-3/state/processed_operations.json is damaged (invalid type: map, expected a sequence at line 1 column 0); refusin" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "damaged_bytes_kept", + "ok": true, + "value": { + "damaged_sha256": "021fb596db81e6d02bf3d2586ee3981fe519f275c0ac9ca76bbcf2ebb4097d96", + "damaged_bytes": 1, + "now_bytes": 1 + } + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "b37bd4a5f2fb6f9a669403594a5066c579a97d650bb9636e49d6df1082cd6ca1" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "9f7c07d2cc24ead53f623aa54724b5f090c6db3d3d275ddb361dcb32d3a45abf" + }, + { + "file": "steps/A2.json", + "sha256": "fc2c47a9ea93ae5b2ee7e6633d228da91af38c971f12ad01bf1936bd1e57a6b3" + }, + { + "file": "steps/pre.json", + "sha256": "46ca5616905f37b85868b2414ac3e9fc4be3e076f7db2a5b5d139a8706200dea" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "cd87fa68905910d0569804b3542aeb7b74ddb7c73cb6b7850391e715cff03253" + }, + { + "file": "steps/X1.json", + "sha256": "32cfbd6eb4f0c8de09b535001849c8cc54f6059e3ce48164091de59f16db0ebd" + }, + { + "file": "daemon-1.log", + "sha256": "91588f680409dae56847c246f8eaa14223a2fcb4c7ea733222e4f366617d521b" + }, + { + "file": "daemon-2.log", + "sha256": "0e5f30f13200f4163b591535b205e2b044d1d1dd573f1cfa03871319ed4c6196" + } + ] + }, + { + "row": "C6i", + "rep": 1, + "injected_at": "delete jspace/jspace.meta (daemon stopped)", + "outcome": "opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6i-1/compose refused: Cortex journal behind its J-Space anchor (E_RE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "named_refusal_on_recall", + "ok": true, + "value": "compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6i-1/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover)" + }, + { + "check": "start_reconcile_reports", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6i-1/compose refused: Cortex journal behind its J-Space anchor (E_REPLAY, RX_ERR_REPLAY -21). Run RecoverComposeHome (aien compose recover); effect " + }, + { + "check": "execute_grant_refused", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6i-1/compose refused: Cortex journal behind it" + }, + { + "check": "no_write_on_damaged_state", + "ok": true, + "value": null + }, + { + "check": "mark_unchanged_by_refused_start", + "ok": true, + "value": "aeac45200cd4f893a9891aed5fb86dd7c885b16c404e663887c5b025c39f8f81" + }, + { + "check": "jspace_meta_still_absent", + "ok": true, + "value": "absent" + }, + { + "check": "cortex_cx_prefix_identical", + "ok": true, + "value": { + "pre_bytes": 9608, + "now_bytes": 9608 + } + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "e7495ae1266591207ffc7a8dce0d4cd977e187cef305b828088b778d643ca5c1" + }, + { + "file": "steps/A2.json", + "sha256": "c93bff222ce45c8136c16e08456d227d44adb0afd5f17534930a056e0b0892ad" + }, + { + "file": "steps/pre.json", + "sha256": "b58a548569f55a4ccd9bcaf8ff1fa30c2ed751eacac195ef06246ce587eddac1" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "b82568380bc24392086cbe644716eed950b6cf9f7916fdc0b378d8a5dcfea89c" + }, + { + "file": "steps/RCL-daemon-2.json", + "sha256": "896bd50d287699f6848ceed4faed061694638c85977caa97da8939a769ae265a" + }, + { + "file": "steps/X1.json", + "sha256": "b1a09c7b940e8571db9c0bf3d3be1c7132751ec704552d07a62ee27c3a09cea7" + }, + { + "file": "steps/X-daemon-2.json", + "sha256": "2c83c6f81c4ca8dc40a4bb11709321e3dfac82674a963b2b0cd4ecc202b3f6f7" + }, + { + "file": "daemon-1.log", + "sha256": "f776122374e86b220cc9a4abd11ae41df297b4fdaf4b0c857f541c07824dd61e" + }, + { + "file": "daemon-2.log", + "sha256": "bf45548c4218c3f1ccc67adcb059dadb1ce28c0879d35960e7ef8f74e29e5a2b" + } + ] + }, + { + "row": "C7a", + "rep": 1, + "injected_at": "daemon started with AIEN_FAULT_HOLD=reconcile_panic (start-up reconcile panics)", + "outcome": "", + "verdict": "FAIL", + "checks": [ + { + "check": "daemon_serves_socket_up", + "ok": false, + "value": "fault hold reconcile_panic: forced start-up reconcile failure (test build) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace " + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "daemon-1.log", + "sha256": "dd7ff30354b08ebad726153d06a584baa8838c12f2dfa2230fa4a35900277aaa" + } + ] + }, + { + "row": "C7a", + "rep": 2, + "injected_at": "daemon started with AIEN_FAULT_HOLD=reconcile_panic (start-up reconcile panics)", + "outcome": "", + "verdict": "FAIL", + "checks": [ + { + "check": "daemon_serves_socket_up", + "ok": false, + "value": "fault hold reconcile_panic: forced start-up reconcile failure (test build) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace " + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "daemon-1.log", + "sha256": "22ad6f6d57c26feb8bd36cd2c7c74634d7bd854837f9b4faf401fb998309f3e3" + } + ] + }, + { + "row": "C7a", + "rep": 3, + "injected_at": "daemon started with AIEN_FAULT_HOLD=reconcile_panic (start-up reconcile panics)", + "outcome": "", + "verdict": "FAIL", + "checks": [ + { + "check": "daemon_serves_socket_up", + "ok": false, + "value": "fault hold reconcile_panic: forced start-up reconcile failure (test build) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace " + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "daemon-1.log", + "sha256": "db43f2da16a0d4a4c79af468af40f76c41387f30c00886c0fe4b25dc2c8e4ac6" + } + ] + }, + { + "row": "C7b", + "rep": 1, + "injected_at": "cut cortex.cx at the record boundary before the last record (C6c), then recover", + "outcome": "start refused (mark); recover mark_lost=1; execute ReconcileFailed; reconcile ok=true; execute A3 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "start_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-1/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "recover_mark_lost_1", + "ok": true, + "value": "1" + }, + { + "check": "mark_kept_as_lost_seq_file", + "ok": true, + "value": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-1/compose.cortex-mark.lost-9" + }, + { + "check": "kept_mark_identical_to_damaged_state", + "ok": true, + "value": null + }, + { + "check": "repair_constraint_record", + "ok": true, + "value": "{\"journal_records\":25,\"kept_as\":\"/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-1/compose.cortex-mark.lost-9\",\"lost\":1,\"mark_records\":26,\"old_digest\":\"a32d37ad02540b24318898532ce386d25a22a1193afbe22d75ad893044c2b1b6\",\"old_seq" + }, + { + "check": "authorize_A3_answers", + "ok": true, + "value": "32" + }, + { + "check": "first_execute_refused_ReconcileFailed", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-1/compose refused: Cortex journal holds 25 " + }, + { + "check": "no_write_before_reconcile", + "ok": true, + "value": null + }, + { + "check": "reconcile_ok", + "ok": true, + "value": "ok" + }, + { + "check": "second_execute_A3_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "30359f43ad7348e9d0e8f38c29291f6fbbd2d37f7db12c402982076bc57a20ea", + "30359f43ad7348e9d0e8f38c29291f6fbbd2d37f7db12c402982076bc57a20ea" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 33 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 2, + 2 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "cfd88aa1c64d6d1dd460bb2e8394636680cd84197dec9679d90cf68e43aed828" + }, + { + "file": "steps/A2.json", + "sha256": "43d7b753c933f5dd570770355b6366b2adcf79b45bbbae3835ba397f5834da92" + }, + { + "file": "steps/A3.json", + "sha256": "9e06dce856ec09392629ea1c8caa705ef5c291159673fd3cc8578c365857c2d8" + }, + { + "file": "steps/final-ledger.json", + "sha256": "3fe26811500dd42f4c90c540c36ab34a518af56151d13546774bd8c864052015" + }, + { + "file": "steps/final-recall.json", + "sha256": "0b2540130f6ad1c9db64553556eded35b85977c1a7e28d858e444b81d560ac4c" + }, + { + "file": "steps/pre.json", + "sha256": "1e96beb8031a0e9d30e91ee7acd6ed3b60ae036a4aab4fbb3898501e35191f8f" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "6387976d69b0e2f957be5e2a2aad01ef5ab24a09c66e086260435afa98306fda" + }, + { + "file": "steps/RC.json", + "sha256": "ff6016f1e0512e9d7fa32c32b389af753435e1e379d16ea1a9d85b2baf7cb88b" + }, + { + "file": "steps/RCR.json", + "sha256": "8c1495cf0adb2571a7d06509d576659c9ffeaf586d7f434e8e7fb7546b5f849d" + }, + { + "file": "steps/REC.json", + "sha256": "cc6ccd333612646697f6259770831e39af0aeeaa013520ad77c51b7c564cac96" + }, + { + "file": "steps/X1.json", + "sha256": "50671eb9b6d10de4f332705a28775d8e1916d86be01e543714997cdc9810b74f" + }, + { + "file": "steps/X3.json", + "sha256": "bdb6e44201ffaa773b9c1e7d3319b4ab8cdcfec1c53a41174022150e41fe715d" + }, + { + "file": "steps/X4.json", + "sha256": "912ba83ba32e476a8b1e6745516f9fb89ffa2812aef64514a667121edab58ea5" + }, + { + "file": "steps/X5.json", + "sha256": "11ba8abf3ecaa92d0640125812bf40d9bafecac84a218ae403e19e1865605e41" + }, + { + "file": "daemon-1.log", + "sha256": "14b8c6ce433ba6e9891124fce6e1b7c88cd06232dec2d056568dbb6cdfff5fbb" + }, + { + "file": "daemon-2.log", + "sha256": "58c179818646a3c57679e4b04e6f85d805c68ab4dfb6e104c9dc621c3aa12c72" + } + ] + }, + { + "row": "C7b", + "rep": 2, + "injected_at": "cut cortex.cx at the record boundary before the last record (C6c), then recover", + "outcome": "start refused (mark); recover mark_lost=1; execute ReconcileFailed; reconcile ok=true; execute A3 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "start_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-2/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "recover_mark_lost_1", + "ok": true, + "value": "1" + }, + { + "check": "mark_kept_as_lost_seq_file", + "ok": true, + "value": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-2/compose.cortex-mark.lost-9" + }, + { + "check": "kept_mark_identical_to_damaged_state", + "ok": true, + "value": null + }, + { + "check": "repair_constraint_record", + "ok": true, + "value": "{\"journal_records\":25,\"kept_as\":\"/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-2/compose.cortex-mark.lost-9\",\"lost\":1,\"mark_records\":26,\"old_digest\":\"be0b1182a7f0b16110b4a14461db32eb7ab1ed87b94738da9050717ee9f829cd\",\"old_seq" + }, + { + "check": "authorize_A3_answers", + "ok": true, + "value": "32" + }, + { + "check": "first_execute_refused_ReconcileFailed", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-2/compose refused: Cortex journal holds 25 " + }, + { + "check": "no_write_before_reconcile", + "ok": true, + "value": null + }, + { + "check": "reconcile_ok", + "ok": true, + "value": "ok" + }, + { + "check": "second_execute_A3_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "db1dd2188d2799f32402b0db6cdecbdc1c371a95c1fc242de56a23ca10502486", + "db1dd2188d2799f32402b0db6cdecbdc1c371a95c1fc242de56a23ca10502486" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 33 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 2, + 2 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "6be4fa75290d8eb81bac9cdb75246691f977ca8038bdfd93c75cfbd43f7ed28c" + }, + { + "file": "steps/A2.json", + "sha256": "f5d63ff18790233164ccd205414973a31e231b044e0834ea4527f8976e81300c" + }, + { + "file": "steps/A3.json", + "sha256": "22acb12c3d270c5996815df491a495fae84e956e7afe16f93c7af847cb6c5361" + }, + { + "file": "steps/final-ledger.json", + "sha256": "a88babd146896e1ced639feed06b98d07239a55b68a7c628fe88df11d306452c" + }, + { + "file": "steps/final-recall.json", + "sha256": "896c9f33e295493621e1701c7614a8346c96a3e07ec48f5b7d08c647cb27e489" + }, + { + "file": "steps/pre.json", + "sha256": "cdd02a80ef9405336ecf4e9570e997720be8c134316e4dcb08911a75cb85d7f2" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "6ce4835977f0cb3a12f3bbc049a5ca074db6e9201205c840a65b89265ade5e48" + }, + { + "file": "steps/RC.json", + "sha256": "a6b40b730cc0870e979e8507acedbbdb6c54b3d6d249e4e4aa30822789a561d5" + }, + { + "file": "steps/RCR.json", + "sha256": "f2cc32d74a1b248a3298682f744af8f8816df840bbabeeadd78361768c5208b0" + }, + { + "file": "steps/REC.json", + "sha256": "d46004fd5a2057a1a3cb827f5c6d0797a39fd36707ec3885346eccd89cb6a9ba" + }, + { + "file": "steps/X1.json", + "sha256": "ff0580f38f05a63f432717f0a71e8fb588484fca50ea7ea0206c0ce3e8fdfd43" + }, + { + "file": "steps/X3.json", + "sha256": "4dd70a062513ecfa4a34d67fd0a175a33e980446a782600671275fd27a132f4e" + }, + { + "file": "steps/X4.json", + "sha256": "5824128dc4f56ad8e29a7b16a6a39257232370fb77be452b80d31e5e58d620e7" + }, + { + "file": "steps/X5.json", + "sha256": "11ba8abf3ecaa92d0640125812bf40d9bafecac84a218ae403e19e1865605e41" + }, + { + "file": "daemon-1.log", + "sha256": "99ee39303f2da1bf64cddfb21c3fc978d720559dd99010a39a619c6250daf79e" + }, + { + "file": "daemon-2.log", + "sha256": "11d21b92bdfb146c8568217b5ddf341703f868662f84abe0e0f103099d7e5bbe" + } + ] + }, + { + "row": "C7b", + "rep": 3, + "injected_at": "cut cortex.cx at the record boundary before the last record (C6c), then recover", + "outcome": "start refused (mark); recover mark_lost=1; execute ReconcileFailed; reconcile ok=true; execute A3 DONE", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "base_execute_done", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "start_refused_E_MARK_TRUNCATED", + "ok": true, + "value": "Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-3/compose refused: Cortex journal holds 25 records, its record mark says 26: 1 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 9)" + }, + { + "check": "recover_mark_lost_1", + "ok": true, + "value": "1" + }, + { + "check": "mark_kept_as_lost_seq_file", + "ok": true, + "value": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-3/compose.cortex-mark.lost-9" + }, + { + "check": "kept_mark_identical_to_damaged_state", + "ok": true, + "value": null + }, + { + "check": "repair_constraint_record", + "ok": true, + "value": "{\"journal_records\":25,\"kept_as\":\"/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-3/compose.cortex-mark.lost-9\",\"lost\":1,\"mark_records\":26,\"old_digest\":\"0bd62e28c741028d895ac1ddc2b591604d0f472a6a9d80bebfbcc608e35b7697\",\"old_seq" + }, + { + "check": "authorize_A3_answers", + "ok": true, + "value": "32" + }, + { + "check": "first_execute_refused_ReconcileFailed", + "ok": true, + "value": "EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C7b-3/compose refused: Cortex journal holds 25 " + }, + { + "check": "no_write_before_reconcile", + "ok": true, + "value": null + }, + { + "check": "reconcile_ok", + "ok": true, + "value": "ok" + }, + { + "check": "second_execute_A3_DONE", + "ok": true, + "value": "DONE" + }, + { + "check": "written_once", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "20985d2f9fb10b4337d51066f993fa289c047a50b5b8fb31c2f4fc43959cd731", + "20985d2f9fb10b4337d51066f993fa289c047a50b5b8fb31c2f4fc43959cd731" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24, + 33 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 2, + 2 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "f879fe7ffd51860f9bd5bb117b676b3bd4ec58d6570f923e26002923c0be915f" + }, + { + "file": "steps/A2.json", + "sha256": "31d7871d11531a232ae0f6ac00612a63281f3b8775bfd5ad2f2b92f9b3bd3a49" + }, + { + "file": "steps/A3.json", + "sha256": "ab1527559f8df30d17662686d85404d02d89af20aef0173c28ef23f11573fec0" + }, + { + "file": "steps/final-ledger.json", + "sha256": "5cb98b91c4f2355654ce0964a08c8ed8ecad7f9e30103407c778c21d7472503b" + }, + { + "file": "steps/final-recall.json", + "sha256": "8f53acc4281acde2db389912bcf3038bcfbd08ec36a6082443eb7fde00fc16cb" + }, + { + "file": "steps/pre.json", + "sha256": "b850ebc2fc96ec7f1b4b81380a49680c778830db4fed58c3caeca529a9c608d4" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "80fb017d8a77abca961c52822f5e6a8d1212959a328fddf5257c13c41a1a2b44" + }, + { + "file": "steps/RC.json", + "sha256": "f277384120518d5383ccfcb82142112ced1159b90750e3719403e6465768d46d" + }, + { + "file": "steps/RCR.json", + "sha256": "5b8a8cc2c96c77ab81ea24ad65d9136206a64b4f69d6142d15fcb8e3d79bfd48" + }, + { + "file": "steps/REC.json", + "sha256": "901a591bbb9d4d916a0c612ac39990d1f03a5d2d4fb76affc50659a35e66eab6" + }, + { + "file": "steps/X1.json", + "sha256": "15949f7053bdadf24d2402ba87b05ca84e91bf05cb14e78c3e2dceeef0e8bc10" + }, + { + "file": "steps/X3.json", + "sha256": "8009eecce3b70b71eff43b951258e8d1ccff6a2c1d3b0b2271d33edeb5372d09" + }, + { + "file": "steps/X4.json", + "sha256": "c16804df8dd3542093d09f1ebdc7c280ac9c22a23b1fa3cd39ba09d730ab7b0c" + }, + { + "file": "steps/X5.json", + "sha256": "11ba8abf3ecaa92d0640125812bf40d9bafecac84a218ae403e19e1865605e41" + }, + { + "file": "daemon-1.log", + "sha256": "18d9b7739173ab3ba66196a5dda2fc253f4c721b5aacc5ce04df04ff7432ece7" + }, + { + "file": "daemon-2.log", + "sha256": "b15142d2119ff9c31f9a637537d98e1ddf25888af5285561354d7223f3762ee3" + } + ] + }, + { + "row": "C8a", + "rep": 1, + "injected_at": "v2 home without a record mark (copy of F0v2)", + "outcome": "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a l; second start quiet", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "first_start_one_adopted_line", + "ok": true, + "value": "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a loss before this start cannot be ruled out" + }, + { + "check": "mark_128_bytes", + "ok": true, + "value": null + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "second_start_no_adopt_or_advance", + "ok": true, + "value": "" + }, + { + "check": "second_recall_ok", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e", + "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "b106fb3c95a3a392ad034caf6f4f4bcc4f48b113ad4bfa07dbdca7b7cd7f46bc", + "b106fb3c95a3a392ad034caf6f4f4bcc4f48b113ad4bfa07dbdca7b7cd7f46bc" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/final-ledger.json", + "sha256": "5bfeda1dcd0b60b21bdc48bc75bdebf0c8498faf44ed66493d56743cc0a1108e" + }, + { + "file": "steps/final-recall.json", + "sha256": "f6c79e113dc69d3082c74974a5d32d587e62ffd2abbfb14b59c866618d323dd7" + }, + { + "file": "steps/pre.json", + "sha256": "f2b37170a043123274014cb15e57b5d3bde363b0a11cef818232975299baf922" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "3f8b755a0ed620fe52ce6b3c82558245de7ea019ffbcbc2f2ab6a75f3b3a9932" + }, + { + "file": "steps/R2.json", + "sha256": "1766094a59529388a0b1094c4ec3260ad1c0f59ecd006ffc89c117c3e998c390" + }, + { + "file": "daemon-1.log", + "sha256": "47e5e32c1287595199d9b49d3736a934e8488f7167a5f394c3a919f1852551b3" + }, + { + "file": "daemon-2.log", + "sha256": "8eab6c3745d6897723aebdedb82fee819c4fbed09507e0ffa92b2f5d263502f0" + } + ] + }, + { + "row": "C8a", + "rep": 2, + "injected_at": "v2 home without a record mark (copy of F0v2)", + "outcome": "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a l; second start quiet", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "first_start_one_adopted_line", + "ok": true, + "value": "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a loss before this start cannot be ruled out" + }, + { + "check": "mark_128_bytes", + "ok": true, + "value": null + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "second_start_no_adopt_or_advance", + "ok": true, + "value": "" + }, + { + "check": "second_recall_ok", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e", + "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "c6bcc93339f2b39901c09dee86dcb0b8883eeaebec599be73e493059f4a4834f", + "c6bcc93339f2b39901c09dee86dcb0b8883eeaebec599be73e493059f4a4834f" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/final-ledger.json", + "sha256": "5bfeda1dcd0b60b21bdc48bc75bdebf0c8498faf44ed66493d56743cc0a1108e" + }, + { + "file": "steps/final-recall.json", + "sha256": "58d56b67916fd4d9df1576a0ade85a0de9bcbe06121bfe72acfd7621ae96afcc" + }, + { + "file": "steps/pre.json", + "sha256": "f41143f783d1c55a80bb85fa0fb520a9aafb403bc3198f67f47fc2863678bd8f" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "583aca2ca6c976e73b3dcd765f79380903688c483630b7e026ef43e8ed1f5953" + }, + { + "file": "steps/R2.json", + "sha256": "7c86080e7aee2777ba23719bc0f1b263814e61be663971ea2b38a7b277dec58c" + }, + { + "file": "daemon-1.log", + "sha256": "f2c74fd2f59414b220016322e19471bddf90c03cff2d81d6c42a44b2ee3219fc" + }, + { + "file": "daemon-2.log", + "sha256": "3617618a00d5baae8bd81345d24b8a870761d2015ef1a5d969046dae99c3528c" + } + ] + }, + { + "row": "C8a", + "rep": 3, + "injected_at": "v2 home without a record mark (copy of F0v2)", + "outcome": "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a l; second start quiet", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "first_start_one_adopted_line", + "ok": true, + "value": "Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a loss before this start cannot be ruled out" + }, + { + "check": "mark_128_bytes", + "ok": true, + "value": null + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "second_start_no_adopt_or_advance", + "ok": true, + "value": "" + }, + { + "check": "second_recall_ok", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e", + "515432af9cabe1b1fc129406f593be79481bcbea562d6f26cfafc4e49c21673e" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "dbd66b8fc44f8c2385fa0cf4ae4d27308349021f2bdab7a56b4936ee86c385b8", + "dbd66b8fc44f8c2385fa0cf4ae4d27308349021f2bdab7a56b4936ee86c385b8" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 0, + 0 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/final-ledger.json", + "sha256": "5bfeda1dcd0b60b21bdc48bc75bdebf0c8498faf44ed66493d56743cc0a1108e" + }, + { + "file": "steps/final-recall.json", + "sha256": "f5ca05b4a1bd20ec1ed21d7dd07ddfab95b0ee0812f9be8bcb09932cd67f1072" + }, + { + "file": "steps/pre.json", + "sha256": "eeca90668220fd54510622a644c02d1e804d99444fa7bcb6821cfff3bda4fabc" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "91a13632f56bdd3b97c67ee683b082a9494970f46b5e724f4901b35445d5a67c" + }, + { + "file": "steps/R2.json", + "sha256": "2787bf064bb77cf8a1c67c5b7ef20a499eff2882ac03b413b4149318a1e06f74" + }, + { + "file": "daemon-1.log", + "sha256": "e82086ae550def18c64254872db4772dfb199e57c76729fd9c3e018ad27bfd12" + }, + { + "file": "daemon-2.log", + "sha256": "54dfd93cb5d08f16fcac6319145682ba8114eb79006e5483a71e7adf9f9876e2" + } + ] + }, + { + "row": "C8b", + "rep": 1, + "injected_at": "after the control steps: delete compose.cortex-mark (daemon stopped)", + "outcome": "control done; mark deleted; restart adopted; re-execute AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "d1b59eda153e3127936aa5ef3ad1ba7d61b15a466d4b0afedf41ce33bc4453d7", + "d1b59eda153e3127936aa5ef3ad1ba7d61b15a466d4b0afedf41ce33bc4453d7" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-3_up", + "ok": true, + "value": null + }, + { + "check": "start_one_adopted_line", + "ok": true, + "value": "Cortex mark: mark adopted (seq 1, records 35): this home had no record mark; a loss before this start cannot be ruled out" + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "reexecute_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "d1b59eda153e3127936aa5ef3ad1ba7d61b15a466d4b0afedf41ce33bc4453d7", + "d1b59eda153e3127936aa5ef3ad1ba7d61b15a466d4b0afedf41ce33bc4453d7" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "c3a0b95582f248c5601c1922678e054683f0f787b26db5144c1865b805c86507" + }, + { + "file": "steps/final2-ledger.json", + "sha256": "8587ec8c6a678d9ce71523d1a2079c5d66b7733c8a7b04587b169a7b5491829b" + }, + { + "file": "steps/final2-recall.json", + "sha256": "d7a6fea52968d9888a14032d2cc7768b6251408db335f7f9d46855f6abe6aeb5" + }, + { + "file": "steps/final-ledger.json", + "sha256": "8587ec8c6a678d9ce71523d1a2079c5d66b7733c8a7b04587b169a7b5491829b" + }, + { + "file": "steps/final-recall.json", + "sha256": "21c0a092364a1ed007bf4c315801bd6a948642678f42cf9fbf8185796b4a9170" + }, + { + "file": "steps/pre.json", + "sha256": "f9bbab5eb981d5ff2ee70888f291fdc2f1946b6346030da5ec163597bcffdef2" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "7d6e953664639d50a1423ee29e3de3857129ac687e320e5add8e71d385478cc9" + }, + { + "file": "steps/R3.json", + "sha256": "ce5451fdfc41ee2668916ba8bc600f9011ff91609c149129099f9943486de5ba" + }, + { + "file": "steps/X1.json", + "sha256": "4b14b21f6ff2af1939e1b0dbd3dd6636760a6cffc531e07dd7671cffd08ee710" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "steps/X9.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "b0f86d1c64299d8f26654087ec8fbfdbe12b77f3cc92fa35ae620297c27eef27" + }, + { + "file": "daemon-2.log", + "sha256": "b0f86d1c64299d8f26654087ec8fbfdbe12b77f3cc92fa35ae620297c27eef27" + }, + { + "file": "daemon-3.log", + "sha256": "c56835793e3a6dfbde168ce269c490846a776cf48c51d95d2bbb4a0a0b549607" + } + ] + }, + { + "row": "C8b", + "rep": 2, + "injected_at": "after the control steps: delete compose.cortex-mark (daemon stopped)", + "outcome": "control done; mark deleted; restart adopted; re-execute AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "e663547a794e7e2ffb38a427832fdf4828724c1fab57abf75ad89d9510f9718b", + "e663547a794e7e2ffb38a427832fdf4828724c1fab57abf75ad89d9510f9718b" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-3_up", + "ok": true, + "value": null + }, + { + "check": "start_one_adopted_line", + "ok": true, + "value": "Cortex mark: mark adopted (seq 1, records 35): this home had no record mark; a loss before this start cannot be ruled out" + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "reexecute_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "e663547a794e7e2ffb38a427832fdf4828724c1fab57abf75ad89d9510f9718b", + "e663547a794e7e2ffb38a427832fdf4828724c1fab57abf75ad89d9510f9718b" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "a2f2a035ca75df3fa4bf6ffd5b46582def52bc3593496880837675c0e433e926" + }, + { + "file": "steps/final2-ledger.json", + "sha256": "acb8529b09c664227231e7e20872ce63e416bcfd09692ad2c82edca2bcbc4e56" + }, + { + "file": "steps/final2-recall.json", + "sha256": "07243a52b8a51d50e24df3029a5e75781834a765a89f5aad9439ca6ec19c1db0" + }, + { + "file": "steps/final-ledger.json", + "sha256": "acb8529b09c664227231e7e20872ce63e416bcfd09692ad2c82edca2bcbc4e56" + }, + { + "file": "steps/final-recall.json", + "sha256": "4cd719c9d57241382c187aa382a29af0ea5383b8133d558c68510db600c8b6eb" + }, + { + "file": "steps/pre.json", + "sha256": "d598288e552cb2c28e1db8c28301475a8b47b3a04fabc4a7ecee42db2cae1692" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "7fb313b473e9719ea9b76f2603c11908390656bb353d9273fb8b4b82e919e9ca" + }, + { + "file": "steps/R3.json", + "sha256": "2c116d6c42fb7efa435e0ac6a6ad1c85a2653137c2d98a85e6d81ea36920cfdb" + }, + { + "file": "steps/X1.json", + "sha256": "b0b73ff486b989187fae195a30b01f9bf4da82b118c67648b92f4097ed99f2a9" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "steps/X9.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "e0b3571a9babd863c1f4671e9c4fc6b116b6acdf061a299ac11c25652a15e8b0" + }, + { + "file": "daemon-2.log", + "sha256": "e0b3571a9babd863c1f4671e9c4fc6b116b6acdf061a299ac11c25652a15e8b0" + }, + { + "file": "daemon-3.log", + "sha256": "8d9e5ed53806bb720025d7af4363284da0628ddef20f8d0c2e674902aff33cb1" + } + ] + }, + { + "row": "C8b", + "rep": 3, + "injected_at": "after the control steps: delete compose.cortex-mark (daemon stopped)", + "outcome": "control done; mark deleted; restart adopted; re-execute AlreadySpent", + "verdict": "PASS", + "checks": [ + { + "check": "daemon_daemon-1_up", + "ok": true, + "value": null + }, + { + "check": "reconcile_at_start_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "execute_done", + "ok": true, + "value": "DONE" + }, + { + "check": "written", + "ok": true, + "value": null + }, + { + "check": "retry_refused_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "retry_no_write", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-2_up", + "ok": true, + "value": null + }, + { + "check": "restart_reconcile_nothing_open", + "ok": true, + "value": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "d7f4884b6d8c19eec7f4d5b3c3d56cffc89a830decf3c711ef88f800c154417e", + "d7f4884b6d8c19eec7f4d5b3c3d56cffc89a830decf3c711ef88f800c154417e" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "daemon_daemon-3_up", + "ok": true, + "value": null + }, + { + "check": "start_one_adopted_line", + "ok": true, + "value": "Cortex mark: mark adopted (seq 1, records 35): this home had no record mark; a loss before this start cannot be ruled out" + }, + { + "check": "recall_ok", + "ok": true, + "value": null + }, + { + "check": "reexecute_AlreadySpent", + "ok": true, + "value": "AlreadySpent" + }, + { + "check": "no_second_write", + "ok": true, + "value": null + }, + { + "check": "R4_machine_id", + "ok": true, + "value": [ + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023", + "bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023" + ] + }, + { + "check": "R4_machine_id_file", + "ok": true, + "value": null + }, + { + "check": "R4_prefix_digest", + "ok": true, + "value": [ + "d7f4884b6d8c19eec7f4d5b3c3d56cffc89a830decf3c711ef88f800c154417e", + "d7f4884b6d8c19eec7f4d5b3c3d56cffc89a830decf3c711ef88f800c154417e" + ] + }, + { + "check": "R1_intents_cite_earlier_matching_grants", + "ok": true, + "value": [ + 24 + ] + }, + { + "check": "R1_workspace_only_proposal_path", + "ok": true, + "value": [ + "NOTES.md" + ] + }, + { + "check": "R1_outside_unchanged", + "ok": true, + "value": null + }, + { + "check": "R2_one_intent_per_authorization", + "ok": true, + "value": null + }, + { + "check": "R2_success_receipts_le_done_intents", + "ok": true, + "value": [ + 1, + 1 + ] + }, + { + "check": "R3_execute_ok_only_when_done", + "ok": true, + "value": "\"DONE\"" + }, + { + "check": "R3_done_means_content_on_disk", + "ok": true, + "value": null + }, + { + "check": "R6_no_E_MARK", + "ok": true, + "value": "" + } + ], + "evidence_digests": [ + { + "file": "steps/A1.json", + "sha256": "fd12989f08c187fb3363abd47947275830b7ea232862cf93543cb42431248424" + }, + { + "file": "steps/final2-ledger.json", + "sha256": "da04e3932fed27d3b0037691ac149b1c27bc1b284924859dc2275b31fa74e058" + }, + { + "file": "steps/final2-recall.json", + "sha256": "c37cda664fe50ee833c2b90eba9d7a6085543078d1ebd8d0c72de7fed4229eda" + }, + { + "file": "steps/final-ledger.json", + "sha256": "da04e3932fed27d3b0037691ac149b1c27bc1b284924859dc2275b31fa74e058" + }, + { + "file": "steps/final-recall.json", + "sha256": "87aefed6aa1f1fdfe5550ffbca87692c9db40be585c868e88d095344353daeaa" + }, + { + "file": "steps/pre.json", + "sha256": "e6e8a506f05d4471a2799a80a7b65b4b4b3f3f807d3869ea0f2f864adc5278e0" + }, + { + "file": "steps/pre-prefix.json", + "sha256": "c6f286dbb745f304e068f5e994e9443ac2ab52f46462d2f5a012d35a2b759849" + }, + { + "file": "steps/R3.json", + "sha256": "4296245dfe8c12a23932c28af90f90f00755f272beda1dd3b75b551f7f1a7592" + }, + { + "file": "steps/X1.json", + "sha256": "926e468f081f006ab1914b2f1c2c1eb111a194b875742d4d531c2065d5af3fc9" + }, + { + "file": "steps/X2.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "steps/X9.json", + "sha256": "e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac" + }, + { + "file": "daemon-1.log", + "sha256": "225f47a58bc61bd6544dc81f76b05377b08fffb1a9553bc29ab7fb39948fb745" + }, + { + "file": "daemon-2.log", + "sha256": "225f47a58bc61bd6544dc81f76b05377b08fffb1a9553bc29ab7fb39948fb745" + }, + { + "file": "daemon-3.log", + "sha256": "fcefd7a5a009f1ab2316dc50aea0c3449e6251a2afafe7bfc295f84a0b3d5736" + } + ] + } + ], + "not_proved": [ + "runtime loss of the GPU in a GPU-linked build", + "omega in-settle crash hooks (A12)", + "caproot revoke on the effect path (A11)", + "Cortex and J-Space rolled back together (omega known limit)", + "torn writes below the file level", + "tamper resistance of the record mark (journal and mark rewritten together, mark deleted then journal cut, compose dir and mark rolled back together)", + "a real process kill between an append and its mark update (C6c-ctl reproduces the on-disk state only)", + "J-Space spill damage while compose never spills (C6d)" + ], + "note": "Binaries built from the tree of d3e597c (crates unchanged at this commit). F0v3 on gpu under quietlock hold np2v3-builder 17:06-17:07Z. Cases on cpu-fault. A harness smoke run (REPS=1, F0v2, rows C2a C6c C6c-ctl C6d C7a C7b C8a C8b C3a C6a; never C6i) preceded the campaign to debug the harness; its results are not part of this receipt. C7a: the release profile has panic=abort (Cargo.toml [profile.release]), so the forced start-up reconcile panic aborts the daemon instead of reaching the JoinError path of G4." +} diff --git a/docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.summary.txt b/docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.summary.txt new file mode 100644 index 00000000..cc0e69ef --- /dev/null +++ b/docs/campaigns/next-phase-2/5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.summary.txt @@ -0,0 +1,42 @@ +NEXT_PHASE_2 receipt 5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json verdict FAIL +sovereign-core 3fa00e43031be06de70fef4f50baff6faef0985a; omega compose 62b6a2899fa230e57fcf7855ea7e2c26404514b6 +build gpu 0ab7abc48d6a107d8561ce54d9dd55054ddd478ac566511dfc67a5c3a25fc95b +build cpu-fault 7aa59474dda83c2f7a387cbfa579ea92ea6a87b2f4e7712a863f7eecffbf846b +fixture F0 f09af7421ff377ac956d5a9463eebe13a84f6f0b45202f17ae9a46088472329a: s3_committed true, machine bd964d56ce4375be74ef20cee0cbf87f35718dbbd2221709cc8a9d6a89b2b023, backend NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121) +Rows (ACCEPTANCE-v3 section 5 over v2; injected variants x3, C6i once, control once per case): +build_env: {"AIEN_OMEGA_COMPOSE_DIR":{"path":"/home/drakestapleton/.claude/jobs/9bfe8553/tmp/omega-pin","head":"62b6a2899fa230e57fcf7855ea7e2c26404514b6"},"AIEN_PHYSICS_DIR":{"path":"/home/drakestapleton/.claude/jobs/9bfe8553/tmp/physics-np1","head":"6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf"},"AIEN_AIENOS_LOCK_REPO":"/home/drakestapleton/workspace/aienos-repo","AIEN_OMEGA_GPU_LIB":{"path":"/home/drakestapleton/.claude/jobs/a7c5d201/tmp/w8/gpu/libomega_gpu.a","sha256":"ef80e4313d4e678335dceac3493aadec8d0df4352dd5356854b92e0a9e070887","builds":["gpu"]},"unset":["AIEN_FORCE_CPU_STUB","AIEN_OMEGA_DIR","AIEN_OMEGA_COMPOSE_LIB","AIEN_OMEGA_COMPOSE_SHA"],"commands":{"gpu":"cargo build --release -p aien-cli (with AIEN_OMEGA_GPU_LIB)","cpu-fault":"cargo build --release -p aien-cli --features fault-hold (no AIEN_OMEGA_GPU_LIB)"}} +link_proof: {"method":"strings(1) on the release binary: librx_compose.a skill names and libomega_gpu.a GB10 strings; build log stub warnings","cpu-fault":{"compose_markers":["compose.candidate.0","compose.commit","compose.verify"],"gpu_markers":[],"reconcile_panic_strings":1,"compose_stub_warning_lines":0},"gpu":{"compose_markers":["compose.candidate.0","compose.commit","compose.verify"],"gpu_markers":["NVID +NOT_APPLICABLE (not counted as PASS): C6d + PASS C1a (3 run(s), control control-C1 PASS) ack lost -> UNRESOLVED (exit 3) -> restart reconcile DONE; retry AlreadySpent + PASS C1b (3 run(s), control control-C1 PASS) ack lost + world changed -> restart UNRESOLVED; retry ReconciliationRequired; operator NOT_DONE; retry AlreadySpent + PASS C2a (3 run(s), control control-C2 PASS) refused while daemon dead (no intent, no write); after restart DONE once + PASS C2b (3 run(s), control control-C2 PASS) executor killed at after_intent -> NOT_DONE; retry AlreadySpent; new grant A2 DONE (approvals 2) + PASS C2c (3 run(s), control control-C2 PASS) executor killed at after_intent -> NOT_DONE; retry AlreadySpent + PASS C2d (3 run(s), control control-C2 PASS) executor killed at after_write -> DONE; retry AlreadySpent + PASS C3a (3 run(s), control F0 PASS) refused: Fatal: the GB10 GPU is required (AIEN_REQUIRE_BLACKWELL or AIEN_GPU_BACKEND=omega) but the Omega GPU engine is not linke + PASS C3b (3 run(s), control F0 PASS) CPU-reference daemon; propose committed=false + PASS C4 (3 run(s), control control-C4 PASS) Stopped, Stopped after restart, Stale after resume; A2 DONE + PASS C5a (3 run(s), control control-C5 PASS) revoked:true; execute Revoked + PASS C5b (3 run(s), control control-C5 PASS) revoke after spend: revoked:false, nothing recorded + PASS C5c (3 run(s), control control-C5 PASS) world changed after grant: Stale + PASS C6a (3 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6a-1/compose refused: Cortex journal tail torn (E_TORN, CX_ERR_TO + PASS C6b (3 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6b-1/compose refused: rxc_host E_OPEN (-4), detail -4; effect com + PASS C6c (3 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6c-1/compose refused: Cortex journal holds 25 records, its record + PASS C6c-ctl (3 run(s), control control-C6 PASS) mark M=25 put back; Cortex mark: record mark advanced 25->26 (records written before an interrupted ; A2 DONE + NOT_APPLICABLE C6d (3 run(s), control control-C6 PASS) NOT_APPLICABLE: jspace.data 0 bytes, spill_end 0 before and after the case (compose never spills at omega 62b6a28) + PASS C6e (3 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6e-1/compose refused: Cortex journal behind its J-Space anchor (E + PASS C6f (3 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6f-1/compose.machine-root holds 16 bytes, expected 32; effect commands refuse + PASS C6g (3 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6g-1/compose refused: rxc_host E_IDENTITY (-2), detail 0; effect + PASS C6h (3 run(s), control control-C6 PASS) daemon refused to start: Fatal: idempotency state /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6h-1/state/processed_operations.json is damaged (invalid | daemon refused to start: Fatal: + PASS C6i (1 run(s), control control-C6 PASS) opened; recall ok=false; execute ok=false; Reconcile: refused: compose home /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np2v3-runs/C6i-1/compose refused: Cortex journal behind its J-Space anchor (E + FAIL C7a (3 run(s), control control-C7 PASS) + PASS C7b (3 run(s), control control-C7 PASS) start refused (mark); recover mark_lost=1; execute ReconcileFailed; reconcile ok=true; execute A3 DONE + PASS C8a (3 run(s), control control-C8 PASS) Cortex mark: mark adopted (seq 1, records 22): this home had no record mark; a l; second start quiet + PASS C8b (3 run(s), control control-C8 PASS) control done; mark deleted; restart adopted; re-execute AlreadySpent + PASS C3 control (1 run(s), control F0 PASS) gpu daemon with AIEN_REQUIRE_BLACKWELL=1: NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121) +Failed checks: + C7a rep 1: daemon_serves_socket_up "fault hold reconcile_panic: forced start-up reconcile failure (test build) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace " + C7a rep 2: daemon_serves_socket_up "fault hold reconcile_panic: forced start-up reconcile failure (test build) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace " + C7a rep 3: daemon_serves_socket_up "fault hold reconcile_panic: forced start-up reconcile failure (test build) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace " +Not proved (declared): runtime loss of the GPU in a GPU-linked build; omega in-settle crash hooks (A12); caproot revoke on the effect path (A11); Cortex and J-Space rolled back together (omega known limit); torn writes below the file level; tamper resistance of the record mark (journal and mark rewritten together, mark deleted then journal cut, compose dir and mark rolled back together); a real process kill between an append and its mark update (C6c-ctl reproduces the on-disk state only); J-Space spill damage while compose never spills (C6d) +Note: Binaries built from the tree of d3e597c (crates unchanged at this commit). F0v3 on gpu under quietlock hold np2v3-builder 17:06-17:07Z. Cases on cpu-fault. A harness smoke run (REPS=1, F0v2, rows C2a C6c C6c-ctl C6d C7a C7b C8a C8b C3a C6a; never C6i) preceded the campaign to debug the harness; its results are not part of this receipt. C7a: the release profile has panic=abort (Cargo.toml [profile.release]), so the forced start-up reconcile panic aborts the daemon instead of reaching the JoinError path of G4. diff --git a/docs/campaigns/next-phase-2/INDEX.md b/docs/campaigns/next-phase-2/INDEX.md index 248d370e..b780ba6d 100644 --- a/docs/campaigns/next-phase-2/INDEX.md +++ b/docs/campaigns/next-phase-2/INDEX.md @@ -3,3 +3,4 @@ Each receipt is named by the sha256 of its content and never edited. - `dc0c88a84f410ca5547b20626971b9b93eed03ccae511fe62029efc5eaad4206.json` verdict FAIL, sovereign-core b1cf3be83bffdd8a2223dc7cc3232bc397a686a4 (2026-10-06T15:09Z) +- `5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json` verdict FAIL, sovereign-core 3fa00e43031be06de70fef4f50baff6faef0985a (2026-10-06T17:30Z) diff --git a/docs/campaigns/next-phase-2/VERDICT-v3.md b/docs/campaigns/next-phase-2/VERDICT-v3.md new file mode 100644 index 00000000..e985df42 --- /dev/null +++ b/docs/campaigns/next-phase-2/VERDICT-v3.md @@ -0,0 +1,81 @@ +# NEXT-PHASE-2 (ACCEPTANCE-v3): campaign verdict + +```text +receipt = 5bd665307665a8f7e014fa9c11c9d228f9e61c54d4cb9e2cd57f40308d4decff.json (never edited) +VERDICT = FAIL (one row: C7a) +C6c = PASS (v2: FAIL) +C2a = PASS under the frozen G1 rule (v2: UNVERIFIED) +C6d = NOT_APPLICABLE (guard; named, not counted as a pass) +C6i = PASS (run exactly once) +C7a = FAIL +``` + +This note sits beside the receipt and is written after the run. The receipt is not edited. Every +reading below is the frozen ACCEPTANCE-v3 rule applied as written; no rule was added after the run. + +## 1. Inputs + +- sovereign-core `3fa00e4` (code at `d3e597c`, crates unchanged since); omega compose `62b6a28`. +- Builds (receipt `builds`, `build_env`, `link_proof`): `gpu` sha256 `0ab7abc4…5fc95b`, + `cpu-fault` sha256 `7aa59474…bf846b`. Both carry the `librx_compose.a` skill names + (`compose.candidate.0`, `compose.verify`, `compose.commit`) and no compose stub warning; `gpu` + carries `NVIDIA_DGX_SPARK_GB10_SM121` from `libomega_gpu.a` and no GPU stub warning; + `reconcile_panic` appears only in `cpu-fault`. +- F0v3 valid: S3 committed on `OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)`, + Llama-3.2-1B-Instruct, inside one quietlock hold (17:06-17:07Z, start and release whispers + delivered). The pre-registered F0v2 fallback was not needed. F0v2 was used only as the C8a + input; its files sha256 was re-checked by the harness before each C8a run. + +## 2. Rows + +All v2 rows not replaced: PASS (C1a, C1b, C2b, C2c, C2d, C3a, C3b, C4, C5a, C5b, C5c, C6a, C6b, +C6e, C6f, C6g, C6h, each 3 runs, controls PASS). C3 control PASS. Rows of ACCEPTANCE-v3 section 5: + +| Row | Verdict | Reading (receipt checks) | +|---|---|---| +| C2a | PASS x3 | records 23 -> 28 across the restart; ids 24..28 are class 1, kind 65538, subjects 1..5; host count unchanged | +| C6c | PASS x3 | `Reconcile: refused` and recall both name `E_MARK_TRUNCATED` ("holds 25 records, its record mark says 26"); A2 refused; no write; journal and mark byte-identical to the damaged state | +| C6c-ctl | PASS x3 | start log `record mark advanced 25->26`; recall ok; no `E_MARK`; A2 DONE once | +| C6d | NOT_APPLICABLE x3 | `jspace.data` 0 bytes and `spill_end` 0 before; still 0 bytes at the end of the case, so the late injection never fired | +| C6i | PASS x1 | refused `E_REPLAY` (journal behind its J-Space anchor); `jspace.meta` still absent; `cortex.cx` byte-identical (9608 bytes) | +| C7a | FAIL x3 | see section 3 | +| C7b | PASS x3 | start refused `E_MARK_TRUNCATED`; recover `mark_lost` 1, old mark kept as `.cortex-mark.lost-9`, byte-identical; repair constraint with `"lost":1`; A3 refused `ReconcileFailed`, no write; reconcile ok; A3 DONE once | +| C8a | PASS x3 | one `mark adopted (seq 1, records 22)` line; 128-byte mark; recall ok; second start quiet | +| C8b | PASS x3 | one `mark adopted` line after the mark was deleted; recall ok; re-execute `AlreadySpent` | + +R6 (no `E_MARK` in controls, C1..C5, C6c-ctl, C7a, C8): held in every run. + +## 3. C7a FAIL + +The rule expects the daemon to keep serving after a start-up reconcile panic and print +`Reconcile: failed: …`. In all three runs the daemon aborted instead (log: `panicked at +crates/aien-runtime/src/effects.rs:807:9`, shell `Aborted (core dumped)`), so no socket was +served and no command ran. + +Cause (source): the workspace release profile sets `panic = "abort"` (`Cargo.toml:58`), and +`cpu-fault` is a release build (ACCEPTANCE-v2 section 4). A panic inside `spawn_blocking` ends +the process before `JoinHandle::await` can return `Err`, so the `Err(e)` branch at +`crates/aien-runtime/src/server.rs:190-197` (G4's `unwrap_or_else` path) cannot run in a release +build. G4 was read from source without checking the panic strategy, so the frozen injection +tests a path that release builds never take. + +What this means in practice (OBSERVED): a start-up reconcile panic stops the daemon before it +serves anything, so no effect can run. That is fail-closed, but the daemon will not start until +the cause is fixed. The error path (`Reconcile: refused` plus the `ReconcileFailed` gate) is +proven by C6a..c, C6e..g, C6i and C7b. + +For the next cut (not decided here): either amend the C7a rule so that a non-zero exit with no +socket counts as the expected outcome under `panic = "abort"`, or change the hook to return an +error instead of panicking. + +## 4. Not proved (declared) + +As in the receipt: the five items of v2, plus tamper resistance of the record mark, a real +process kill between an append and its mark update (C6c-ctl reproduces only the on-disk state), +and J-Space spill damage while compose never spills (C6d). + +## 5. Disclosure + +Before the campaign, one smoke run of the harness (REPS=1, on F0v2, rows C2a C6c C6c-ctl C6d C7a +C7b C8a C8b C3a C6a; never C6i) was used to debug it. It showed the same C7a abort. Its results +are not part of the receipt. From efc0621b2b6d1ef3235fead40f5383ee13b755cf Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 12:31:24 -0500 Subject: [PATCH 5/7] crumb compile Co-Authored-By: Claude Opus 5.5 --- .crumb | 10 +++++----- crates/aien-cli/.crumb | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.crumb b/.crumb index 27c26c8e..a400dcee 100644 --- a/.crumb +++ b/.crumb @@ -77,14 +77,14 @@ } ], "children_root": "sha256:5bc6c40c7fc034d6f7a949a438fcc78ed8c452232e3a6ab7bb6ef6b622ebaf49", - "compiled_at": "2026-10-06T16:09:42Z", + "compiled_at": "2026-10-06T17:31:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:e389669582d6a9e363e793412444f4ff77e7ceedf2277bbd40bbc09159d8d8cd", + "digest": "sha256:b221823bccfa6eeb1cee77301dfd62feb6ebdec1a8be624a38be4369d6f97313", "evidence_files": 24, "evidence_root": "sha256:16192fc4be2f886385affd6e26faae4b831eb62b87ceac4ab39d662e0859d7f8", - "files": 773, - "generated_at_commit": "4495cd18c347023f927482e6a0c217607fb81d7c", - "source_tree": "sha256:74b5dbeda647d64fb1cf303653473b4e96a5351500e83ddff41d456daeb5caab" + "files": 779, + "generated_at_commit": "ff21694b8cc8d19a41b7ed2d13eb9af76d17dd25", + "source_tree": "sha256:46d9d7427580c2614f7ed231394b2f12351f12fd281d849bfe8b51440bb6f5d5" } }, "history": [], diff --git a/crates/aien-cli/.crumb b/crates/aien-cli/.crumb index 16d6517c..44464248 100644 --- a/crates/aien-cli/.crumb +++ b/crates/aien-cli/.crumb @@ -35,20 +35,20 @@ "children": [ { "digest": "3062b8985e319718022104992c0d01ef7f31900a3e24a29613e901c679b2f649", - "last_commit": "4b06424", + "last_commit": "aec763c", "name": "src", "purpose": "" } ], "children_root": "sha256:29019a0a594a2f7d9cdb902777848df5fa77da996e754c842934fd9f4cc74817", - "compiled_at": "2026-10-06T15:58:15Z", + "compiled_at": "2026-10-06T17:31:20Z", "compiler": "crumb-compile/1", - "digest": "sha256:daa9d0f70aaad6f94f79fcc6b16e44f3c549dc974e092283ea419f80ce21d10b", + "digest": "sha256:e820f5a2c20acccef8b7b31e55a5481d4db44307d631ae0b2414a046c49ebd6d", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 28, - "generated_at_commit": "743daed144fa5b7136202a3cf8c49134fba1c4b7", - "source_tree": "sha256:8781fef485e2e8e887643581a5c2564a48aaec0a329ea7557f9c69bb2a7acd5c" + "generated_at_commit": "ff21694b8cc8d19a41b7ed2d13eb9af76d17dd25", + "source_tree": "sha256:72421f7c45f6772df6a85c2ec1fd7830dad5bed2fcd4d70397f1e5d7a9fa536e" } }, "history": [ From e1ba48c2ec0eb065a7f17f65f42e7fa075e161b2 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 12:36:53 -0500 Subject: [PATCH 6/7] NEXT-PHASE-2 v3: VERDICT-v3 review additions (stale socket, claim scope, om/ path note, stub test limit) Co-Authored-By: Claude Opus 5.5 --- docs/campaigns/next-phase-2/VERDICT-v3.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/campaigns/next-phase-2/VERDICT-v3.md b/docs/campaigns/next-phase-2/VERDICT-v3.md index e985df42..c257f06c 100644 --- a/docs/campaigns/next-phase-2/VERDICT-v3.md +++ b/docs/campaigns/next-phase-2/VERDICT-v3.md @@ -79,3 +79,21 @@ and J-Space spill damage while compose never spills (C6d). Before the campaign, one smoke run of the harness (REPS=1, on F0v2, rows C2a C6c C6c-ctl C6d C7a C7b C8a C8b C3a C6a; never C6i) was used to debug it. It showed the same C7a abort. Its results are not part of the receipt. + +## 6. Review additions (fresh-clone review of sc#228, before merge) + +Added after review; no code change, receipt untouched. + +1. **Stale socket disclosure.** C7a's aborted daemon left a stale socket file in its run folder, + with no process behind it. It is not recorded in the receipt. +2. **Claim statement.** The claim is at most one intent per authorization (and at most one + write per intent), or an explicit `UNRESOLVED`; no exactly-once claim. This is inherited from + ACCEPTANCE-v2 (line 57 "One authorization opens at most one intent, ever", R2 at line 92, and + line 106 "no receipt or document text claims exactly-once"), which v3 keeps unchanged; v3 + itself has no separate line for it. +3. **Path note.** ACCEPTANCE-v3 cites omega files as `om/...`. Those files live at + `src/runtime/...` in omega; the line numbers are correct. ACCEPTANCE-v3 line 15 defines the + shorthand (`om/` = omega `src/runtime/`). The frozen file is not edited; this note records it. +4. **Test limit.** 5 of the 6 cortex_mark integration tests skip under `AIEN_FORCE_CPU_STUB`, so + on a stub build the mark logic is not exercised by `cargo test`. The proof against the real + library is the receipt's link proof plus its campaign rows. From 1f8ad4963d891bfb66304547cf32829b78a01f2f Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Tue, 6 Oct 2026 12:36:53 -0500 Subject: [PATCH 7/7] crumb compile Co-Authored-By: Claude Opus 5.5 --- .crumb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.crumb b/.crumb index a400dcee..fc3130b0 100644 --- a/.crumb +++ b/.crumb @@ -77,14 +77,14 @@ } ], "children_root": "sha256:5bc6c40c7fc034d6f7a949a438fcc78ed8c452232e3a6ab7bb6ef6b622ebaf49", - "compiled_at": "2026-10-06T17:31:20Z", + "compiled_at": "2026-10-06T17:36:53Z", "compiler": "crumb-compile/1", - "digest": "sha256:b221823bccfa6eeb1cee77301dfd62feb6ebdec1a8be624a38be4369d6f97313", + "digest": "sha256:4132c9c56181228c1d0a30f7af04db49c02f08ce61689a23bf9a547ec39bf95c", "evidence_files": 24, "evidence_root": "sha256:16192fc4be2f886385affd6e26faae4b831eb62b87ceac4ab39d662e0859d7f8", "files": 779, - "generated_at_commit": "ff21694b8cc8d19a41b7ed2d13eb9af76d17dd25", - "source_tree": "sha256:46d9d7427580c2614f7ed231394b2f12351f12fd281d849bfe8b51440bb6f5d5" + "generated_at_commit": "efc0621b2b6d1ef3235fead40f5383ee13b755cf", + "source_tree": "sha256:870d4ad7ee593f2c325d2cd21c10977e13d8453bb481fc20734f090b79a5b800" } }, "history": [],