Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/patches/cf0e191a5a7f2902 # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aien-sovereign-core-mv#412 (code only) closed derived `cf0e191a5a7f2902` #412 Imported from GitHub aien-dev/aien-sovereign-core-mv#412 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `6729590f7828f417902bb2a0e16b6cebdb6df9a7` · Head `84e33973d459a58cb2b9ace3cd2a3dc80ec7ed9b` ### Apply it ``` git checkout -b patch-cf0e191a5a7f2902 6729590f7828f417902bb2a0e16b6cebdb6df9a7 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/cf0e191a5a7f2902.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aien-sovereign-core-mv 412 84e33973d459a58cb2b9ace3cd2a3dc80ec7ed9b ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":412,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/412","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:06Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 1907586e..28ca516f 100644 --- a/.crumb +++ b/.crumb @@ -64,8 +64,8 @@ "generated": { "children": [ { - "digest": "51aea6de4800904f030c6f1a8e00b6cc39fc0d5113444d982a1897d1bf9aa382", - "last_commit": "b0fc7e6", + "digest": "34c2e4d71c2a46774f19d31a149c5b8635347a0c1c907c7df04a70094123a74a", + "last_commit": "865f45a", "name": "scripts", "purpose": "" }, @@ -76,15 +76,15 @@ "purpose": "" } ], - "children_root": "sha256:1945ad404a67ab65f7e1f472d6d28ade0921a27ad3142f4f5b2f5fdeb4d3d1ce", - "compiled_at": "2026-10-11T02:44:51Z", + "children_root": "sha256:9a27d2c98660aef35ed94ecfcb47d82d317ef88f97d0303db847c52915aad07f", + "compiled_at": "2026-10-11T03:08:06Z", "compiler": "crumb-compile/1", - "digest": "sha256:3973086863bfa244f19635404d7fdbfdf1337ced18ca9a742ff2035d3311cdff", + "digest": "sha256:7fb0a74b33ba1bb533b01da74b5a60f17690f1389034c0a9c0e0344675ed5417", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", - "files": 2667, - "generated_at_commit": "b501ed11c45ebd25edfb962c73a627aeb7418c0d", - "source_tree": "sha256:704b1aaa93a2b1e5ef2b629d826b6b77245074207f8990f61631d231bf85df70" + "files": 2847, + "generated_at_commit": "ae062d8d2775029b721daae33c672b345dc7fd1c", + "source_tree": "sha256:1f15c7662cb20df17b22384dc29cdcd5c9489453a41de6ed423fe439a9522463" } }, "history": [], diff --git a/crates/aien-cli/.crumb b/crates/aien-cli/.crumb index 6a6e4bce..8ea66b01 100644 --- a/crates/aien-cli/.crumb +++ b/crates/aien-cli/.crumb @@ -34,21 +34,21 @@ "generated": { "children": [ { - "digest": "979010dfbd36b207d40b297a468085caf45a34420d68902df971d9dfcdf74b40", - "last_commit": "ad2c4e2", + "digest": "d2f1dccc8b5c0dc69f3b504558bcc0b31a1eeb955a0dda5ef98cd570eef828b2", + "last_commit": "266b6a2", "name": "src", "purpose": "" } ], - "children_root": "sha256:82b1fc3e3cb80308cd5b7a926bf8ddaf25a0e8448f7d44d6680406a5e0ba3e45", - "compiled_at": "2026-10-10T16:15:30Z", + "children_root": "sha256:798c2a4462c11753b946a288a72a0217c686580b796e35be2b87a3386cb9740e", + "compiled_at": "2026-10-11T02:47:44Z", "compiler": "crumb-compile/1", - "digest": "sha256:5832e4b8ada0189ac935549c34a28489cd54c5f7fcd37b6b7446d597e37af302", + "digest": "sha256:e919bd713c70ecda3dd4b678812e15c67847b8f4f8813e3588fce5d93d2b98ec", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 40, - "generated_at_commit": "ad2c4e2689bde279e0c30aa6507aea299b376bb0", - "source_tree": "sha256:2ab79514d05f399dbf923e5fda9bfe078a4bc2390bad981333d38df68e3d8f09" + "generated_at_commit": "c1e0af4d37f7f381dd48bdaa6154b9889d37f21a", + "source_tree": "sha256:386d4b5dc1a839d5ce52f3d8f16e02d312b2254706a49149a90b043736a8bc17" } }, "history": [ diff --git a/crates/aien-cli/src/.crumb b/crates/aien-cli/src/.crumb index b1b4b31f..b0a945ea 100644 --- a/crates/aien-cli/src/.crumb +++ b/crates/aien-cli/src/.crumb @@ -64,14 +64,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T16:15:30Z", + "compiled_at": "2026-10-11T02:47:44Z", "compiler": "crumb-compile/1", - "digest": "sha256:979010dfbd36b207d40b297a468085caf45a34420d68902df971d9dfcdf74b40", + "digest": "sha256:d2f1dccc8b5c0dc69f3b504558bcc0b31a1eeb955a0dda5ef98cd570eef828b2", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 29, - "generated_at_commit": "ad2c4e2689bde279e0c30aa6507aea299b376bb0", - "source_tree": "sha256:99269e1f9234f549691d46a0192f4ef02fa3f27f7251e3e62e00ece6d1823f43" + "generated_at_commit": "c1e0af4d37f7f381dd48bdaa6154b9889d37f21a", + "source_tree": "sha256:27f718e7e92998c40795c907d562082aef202744fb22fea754a07a1085abf1aa" } }, "history": [ diff --git a/crates/aien-cli/src/compose.rs b/crates/aien-cli/src/compose.rs index 3ec255a8..2ed55d63 100644 --- a/crates/aien-cli/src/compose.rs +++ b/crates/aien-cli/src/compose.rs @@ -202,6 +202,18 @@ fn read_report(path: &str) -> Result { serde_json::from_value(r).map_err(|e| format!("{path}: not a compose report: {e}")) } +/// sovereign-core #408: the `objective_id` that `compose propose +/// --objective-id` put beside the report (absent: the approval names none). +fn report_objective_id(path: &str) -> Result, String> { + let bytes = std::fs::read(path).map_err(|e| format!("read {path}: {e}"))?; + let v: Value = serde_json::from_slice(&bytes).map_err(|e| format!("{path}: {e}"))?; + match v.get("objective_id") { + None | Some(Value::Null) => Ok(None), + Some(Value::String(s)) => Ok(Some(s.clone())), + Some(_) => Err(format!("{path}: objective_id is not a string")), + } +} + /// The committed proposal of an S3 report, re-parsed and re-hashed here. fn committed_proposal(r: &ComposeTaskReport) -> Result<(String, String, String), String> { if !r.committed { @@ -382,6 +394,9 @@ async fn step(sub: &str, m: &HashMap) -> Result { _ => None, } }; + // sovereign-core #408: the objective `compose propose --objective-id` + // attached; the daemon re-reads that record and binds the grant to it. + let objective_id = report_objective_id(need(m, "report")?)?; let n = match send(ControlCommand::ComposeAuthorize { cx_promotion: r.cx_promotion, proposal_sha256: psha.clone(), @@ -389,6 +404,7 @@ async fn step(sub: &str, m: &HashMap) -> Result { approver: approver.to_string(), constraints: constraints.clone(), desk_proof, + objective_id: objective_id.clone(), }) .await? { @@ -399,12 +415,19 @@ async fn step(sub: &str, m: &HashMap) -> Result { other => return Err(format!("unexpected response {other:?}")), }; let tgt = target.display().to_string(); - let args = json!({"proposal_sha256": psha, "path": path, "content_sha256": csha, + let mut args = json!({"proposal_sha256": psha, "path": path, "content_sha256": csha, "approver": approver, "cx_promotion": r.cx_promotion, "target": tgt, "constraints": constraints}); + if let Some(o) = &objective_id { + args["objective_id"] = json!(o); + } let result = json!({"approved": true, "target": tgt, "authorization": n["id"]}); let rc = receipt("authorize", &args, &result, true)?; - Ok(json!({"step": "S4", "receipt": rc, "authorization": n, "approvals": 1})) + let mut out = json!({"step": "S4", "receipt": rc, "authorization": n, "approvals": 1}); + if let Some(o) = objective_id { + out["objective_id"] = json!(o); + } + Ok(out) } "execute" => { let r = read_report(need(m, "report")?)?; @@ -458,13 +481,19 @@ async fn step(sub: &str, m: &HashMap) -> Result { reported: reported.clone(), }) .await; + // sc#408: the ack record names the objective of an objective-bound grant. + let mut objective: Option = None; let (state, ack_id, ack_err) = match &ack { Ok(ControlResponse::ComposeNoted(n)) => { let rec = recall(vec![n.id], None).await.ok(); - let st = rec + let v = rec .and_then(|r| r.cited.into_iter().next()) .and_then(|c| c.text) - .and_then(|t| serde_json::from_str::(&t).ok()) + .and_then(|t| serde_json::from_str::(&t).ok()); + objective = v + .as_ref() + .and_then(|v| v["objective_id"].as_str().map(str::to_string)); + let st = v .and_then(|v| v["state"].as_str().map(str::to_string)) .unwrap_or_else(|| "UNRESOLVED".into()); (st, Some(n.id), None) @@ -473,15 +502,21 @@ async fn step(sub: &str, m: &HashMap) -> Result { Err(e) => ("UNRESOLVED".to_string(), None, Some(e.clone())), }; let ok = state == "DONE"; - let args = json!({"path": target.display().to_string(), "content_sha256": csha, + let mut args = json!({"path": target.display().to_string(), "content_sha256": csha, "authorization": auth, "intent": intent.id}); + if let Some(o) = &objective { + args["objective_id"] = json!(o); + } let result = json!({"bytes": bytes, "disk_sha256": disk_sha, "error": written.err(), "state": state, "ack": ack_id, "ack_error": ack_err}); let rc = receipt("write_file", &args, &result, ok)?; - let out = json!({"step": "S5", "receipt": rc, "intent": intent, + let mut out = json!({"step": "S5", "receipt": rc, "intent": intent, "effect": {"id": ack_id}, "state": state, "path": target.display().to_string(), "content_sha256": csha, "disk_sha256": disk_sha, "bytes": bytes, "ack_error": ack_err}); + if let Some(o) = objective { + out["objective_id"] = json!(o); + } // handle_compose_command turns a state other than DONE into // "ok": false (exit 3 for UNRESOLVED, 1 otherwise). Ok(out) diff --git a/crates/aien-cli/src/objective.rs b/crates/aien-cli/src/objective.rs index fff12733..75959fcf 100644 --- a/crates/aien-cli/src/objective.rs +++ b/crates/aien-cli/src/objective.rs @@ -12,7 +12,6 @@ use serde_json::{json, Value}; use sha2::{Digest, Sha256}; use std::path::PathBuf; -pub const DOMAIN_TAG: &str = "AIEN_E2E_OBJECTIVE_V1"; pub const MAX_TEXT_BYTES: usize = 2000; pub const FORBIDDEN_CLASS: &str = "EXTERNAL_IRREVERSIBLE"; pub const DEFAULT_CLASS: &str = "WORKSPACE_WRITE"; @@ -41,14 +40,12 @@ fn sha256_hex(b: &[u8]) -> String { } pub fn objective_id(text: &str) -> String { - sha256_hex(format!("{DOMAIN_TAG}\n{text}").as_bytes()) + aien_runtime::objective::objective_id(text) } +/// The same directory the daemon re-reads (sovereign-core #408). fn dir() -> PathBuf { - std::env::var("AIEN_PROVENANCE_DIR") - .map(PathBuf::from) - .unwrap_or_else(|_| PathBuf::from("/tmp/aien-provenance")) - .join("objectives") + aien_runtime::objective::dir() } fn valid_id(id: &str) -> bool { diff --git a/crates/aien-runtime/src/control.rs b/crates/aien-runtime/src/control.rs index 79f8c1b7..5e9d18e1 100644 --- a/crates/aien-runtime/src/control.rs +++ b/crates/aien-runtime/src/control.rs @@ -228,6 +228,12 @@ pub enum ControlCommand { /// Required only when the daemon runs with the desk switch ON. #[serde(default, skip_serializing_if = "Option::is_none")] desk_proof: Option, + /// sovereign-core #408: the objective record this approval is for + /// (`compose propose --objective-id`). Optional on the wire; `None` is + /// not written and mints exactly as before. When given, the daemon + /// re-reads the record and binds the grant to it, or refuses by name. + #[serde(default, skip_serializing_if = "Option::is_none")] + objective_id: Option, }, /// NEXT-PHASE-2: operator `stop`, `resume`, `revoke` (ACCEPTANCE-v2 2.5, 2.6). ComposeControl { @@ -871,6 +877,27 @@ pub struct ReconcileOutcome { pub record: Option, /// Who decided, or why nothing was decided. pub note: String, + /// sovereign-core #408: for an intent on an objective-bound grant, what + /// re-reading the objective record found. Absent for every other intent + /// (and in reports written before #408). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub objective: Option, +} + +/// sovereign-core #408: an effect's objective as one reconcile re-read it. +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct ObjectiveBinding { + pub objective_id: String, + /// `bound` (the record exists and holds the approved text), or the + /// refusal name: `ObjectiveMissing`, `ObjectiveMismatch`. + pub record: String, + /// Why, when not `bound`. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub detail: Option, + /// When `bound`: whether the record file is byte-for-byte the one the + /// grant was approved against (false: re-recorded with the same text). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub record_unchanged: Option, } #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] diff --git a/crates/aien-runtime/src/effects.rs b/crates/aien-runtime/src/effects.rs index 4b16586f..57d41570 100644 --- a/crates/aien-runtime/src/effects.rs +++ b/crates/aien-runtime/src/effects.rs @@ -35,7 +35,7 @@ //! compose-home lock, so the check and the intent append are one step. use crate::control::{ ComposeControlReport, ComposeNoteReport, ComposeReconcileReport, ComposeRecordView, - ControlResponse, ReconcileDeclare, ReconcileOutcome, + ControlResponse, ObjectiveBinding, ReconcileDeclare, ReconcileOutcome, }; use crate::spine::{record_view, ComposeBridge, ComposeHome}; use aien_omega_compose::{hex, NoteKind}; @@ -123,6 +123,8 @@ pub struct Grant { pub approved: Option, /// Set on the grant `ComposeAuthorize` minted (#261). pub minted: Option, + /// sovereign-core #408: the objective record the grant was approved for. + pub objective: Option, /// The record's links. pub links: Vec, } @@ -150,6 +152,16 @@ pub const MINTED_GRANT: &str = "minted_grant"; /// COMMITTED a one-file proposal (sovereign-core #261). Reserved. pub const COMPOSE_COMMIT: &str = "compose_commit"; +/// sovereign-core #408: the objective a grant is bound to, as minted. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct GrantObjective { + pub id: String, + /// sha256 of the objective text the record held when the grant was minted. + pub text_sha256: String, + /// sha256 of the record file's bytes then. + pub record_sha256: String, +} + /// What a minted grant is backed by: the daemon's own compose-commit record. #[derive(Debug, Clone, PartialEq, Eq)] pub struct MintedGrant { @@ -166,6 +178,9 @@ pub struct CommitRow { pub path: String, pub content_sha256: String, pub workspace: String, + /// sovereign-core #408: sha256 of the goal the compose ran for (absent in + /// commit records written before #408). + pub goal_sha256: Option, } /// What an approved grant must be backed by: a COMMITTED replay claim whose @@ -214,6 +229,8 @@ pub struct IntentRow { /// Target digest of the newest UNRESOLVED record (so one is written per /// distinct digest, not one per daemon start). pub unresolved_digest: Option>, + /// sovereign-core #408: the objective of the grant, carried on the intent. + pub objective_id: Option, } /// The effect ledger of one compose home, rebuilt from its host records. @@ -266,6 +283,15 @@ fn opt_digest(v: &Value, k: &str, id: u64) -> Result>, Ref } } +/// Missing -> None, a string -> Some, anything else is damaged state. +fn opt_str(v: &Value, k: &str, id: u64) -> Result, Refusal> { + match v.get(k) { + None => Ok(None), + Some(Value::String(x)) => Ok(Some(x.clone())), + Some(_) => Err(corrupt(id, format!("field {k:?} is not a string"))), + } +} + impl Ledger { /// Rebuild from host records, oldest first. Any unverified record, or a /// gated record that does not parse, refuses the whole ledger: effects @@ -313,6 +339,14 @@ impl Ledger { ) else { return Ok(()); }; + let objective = match opt_str(&v, "objective_id", id)? { + None => None, + Some(oid) => Some(GrantObjective { + id: oid, + text_sha256: s(&v, "objective_text_sha256", id)?, + record_sha256: s(&v, "objective_record_sha256", id)?, + }), + }; self.grants.insert( id, Grant { @@ -366,6 +400,7 @@ impl Ledger { }) } }, + objective, links: links.to_vec(), }, ); @@ -387,6 +422,7 @@ impl Ledger { path: s(&v, "path", id)?, content_sha256: s(&v, "content_sha256", id)?, workspace: s(&v, "workspace", id)?, + goal_sha256: opt_str(&v, "goal_sha256", id)?, }, ); return Ok(()); @@ -423,6 +459,7 @@ impl Ledger { state: EffectState::Open, state_record: 0, unresolved_digest: None, + objective_id: opt_str(&v, "objective_id", id)?, }; self.spent.insert(a, id); self.intents.insert(id, row); @@ -581,13 +618,20 @@ impl Ledger { "stops": self.stops, "resumes": self.resumes, "revoked": self.revoked.iter().map(|(a, r)| json!({"authorization": a, "record": r})).collect::>(), "legacy_spent": self.legacy_spent.iter().map(|(a, e)| json!({"authorization": a, "effect": e})).collect::>(), - "intents": self.intents.values().map(|r| json!({ - "intent": r.id, "authorization": r.authorization, "path": r.path, - "target": r.target, "content_sha256": r.content_sha256, - "prior_sha256": r.prior_sha256, "state": r.state.name(), - "state_record": r.state_record, - "executor": {"pid": r.executor_pid, "start": r.executor_start}, - })).collect::>(), + "intents": self.intents.values().map(|r| { + let mut row = json!({ + "intent": r.id, "authorization": r.authorization, "path": r.path, + "target": r.target, "content_sha256": r.content_sha256, + "prior_sha256": r.prior_sha256, "state": r.state.name(), + "state_record": r.state_record, + "executor": {"pid": r.executor_pid, "start": r.executor_start}, + }); + // #408: only when the intent names one, so older rows read as before. + if let Some(o) = &r.objective_id { + row["objective_id"] = json!(o); + } + row + }).collect::>(), }) } } @@ -1283,6 +1327,7 @@ pub(crate) fn write_compose_commit( proposal_sha256: &str, path: &str, content_sha256: &str, + goal_sha256: Option<&str>, prov: &crate::generation::Provenance, ) -> Result { // Refused at write time: a record never names a generation id that is not @@ -1294,12 +1339,17 @@ pub(crate) fn write_compose_commit( )); } } - let text = json!({ + let mut text = json!({ COMPOSE_COMMIT: 1, "task": task, "cx_promotion": cx_promotion, "cx_evidence": cx_evidence, "proposal_sha256": proposal_sha256, "path": path, "content_sha256": content_sha256, "workspace": workspace, crate::generation::PROVENANCE: prov.to_json(), }); + // #408: the goal digest, so a grant can be bound to the objective record + // whose text this compose ran for. + if let Some(g) = goal_sha256 { + text["goal_sha256"] = json!(g); + } append(home, NoteKind::Effect, &[cx_promotion, cx_evidence], &text).map(|n| n.id) } @@ -1382,7 +1432,22 @@ pub fn authorize( req: &MintRequest, proof: Option<&crate::control::DeskProof>, ) -> ControlResponse { - let r = authorize_inner(b, req, proof); + authorize_with_objective(b, req, proof, None) +} + +/// sovereign-core #408: [`authorize`] for an approval that names the objective +/// record it is for. The daemon re-reads the record (crate::objective); its +/// text must be the goal this daemon composed for (`goal_sha256` of the +/// commit record). The grant then carries the objective id and both digests. +/// A missing or different record is refused by name and nothing is written. +/// `None` mints exactly as [`authorize`] always did. +pub fn authorize_with_objective( + b: &ComposeBridge, + req: &MintRequest, + proof: Option<&crate::control::DeskProof>, + objective_id: Option<&str>, +) -> ControlResponse { + let r = authorize_inner(b, req, proof, objective_id); if b.trace_enabled() { trace_response( b, @@ -1403,6 +1468,7 @@ fn authorize_inner( b: &ComposeBridge, req: &MintRequest, proof: Option<&crate::control::DeskProof>, + objective_id: Option<&str>, ) -> ControlResponse { if let Err(e) = reconcile_gate(b) { return ControlResponse::Error(e); @@ -1527,6 +1593,22 @@ fn authorize_inner( } } } + // #408: judged after every older refusal, so those keep their order. + let objective = match objective_id { + None => None, + Some(oid) => { + let Some(goal) = c.goal_sha256.as_deref() else { + return Err(no( + crate::objective::MISMATCH, + format!( + "compose-commit #{} names no goal digest (written before sovereign-core #408); objective {oid} cannot be bound to it", + c.id + ), + )); + }; + Some(crate::objective::check(oid, goal).map_err(|(n, d)| no(n, d))?) + } + }; let mut links = vec![c.id]; links.extend(&req.constraints); let mut text = json!({ @@ -1539,6 +1621,11 @@ fn authorize_inner( text["desk_nonce"] = json!(p.nonce); text["desk_key_id"] = json!(key.id()); } + if let Some(o) = &objective { + text["objective_id"] = json!(o.objective_id); + text["objective_text_sha256"] = json!(o.text_sha256); + text["objective_record_sha256"] = json!(o.record_sha256); + } stamp(&mut text, &views, c.id); append(home, NoteKind::Authorization, &links, &text) })) @@ -1710,12 +1797,30 @@ fn open_intent_inner(b: &ComposeBridge, req: &IntentRequest) -> ControlResponse } check_approved_backing(&l, g, &views).map_err(|r| r.to_string())?; check_minted_backing(&l, g).map_err(|r| r.to_string())?; + // #408: an objective-bound grant opens an intent only while its record + // still holds the approved text (re-read now, after any restart). + if let Some(o) = &g.objective { + crate::objective::check(&o.id, &o.text_sha256).map_err(|(n, d)| { + Refusal::new( + n, + format!( + "authorization #{} is bound to objective {}: {d}", + g.id, o.id + ), + ) + .to_string() + })?; + } let mut text = json!({ "phase": PHASE_INTENT, "tool": "write_file", "authorization": g.id, "proposal_sha256": req.proposal_sha256, "path": req.path, "target": req.target, "content_sha256": req.content_sha256, "prior_sha256": current, "executor": {"pid": req.executor_pid, "start": req.executor_start}, }); + if let Some(o) = &g.objective { + text["objective_id"] = json!(o.id); + text["objective_text_sha256"] = json!(o.text_sha256); + } stamp(&mut text, &views, g.id); append(home, NoteKind::Effect, &[g.id], &text) })) @@ -1753,6 +1858,9 @@ pub fn ack(b: &ComposeBridge, intent: u64, reported: &Value) -> ControlResponse "state": st.name(), "disk_sha256": disk.as_ref().ok().cloned().flatten(), "disk_error": disk.as_ref().err(), "executor_reported": reported, }); + if let Some(o) = &row.objective_id { + text["objective_id"] = json!(o); + } stamp(&mut text, &views, intent); append(home, NoteKind::Effect, &[intent, row.authorization], &text) })); @@ -1802,6 +1910,41 @@ pub fn ack(b: &ComposeBridge, intent: u64, reported: &Value) -> ControlResponse r } +/// sovereign-core #408: re-read the objective record of an objective-bound +/// intent for a reconcile report. Never decides the effect's state. +fn objective_binding(l: &Ledger, row: &IntentRow) -> Option { + let id = row.objective_id.as_ref()?; + let refused = |name: &str, detail: String| ObjectiveBinding { + objective_id: id.clone(), + record: name.to_string(), + detail: Some(detail), + record_unchanged: None, + }; + let approved = l + .grants + .get(&row.authorization) + .and_then(|g| g.objective.as_ref()) + .filter(|a| &a.id == id); + let Some(a) = approved else { + return Some(refused( + crate::objective::MISMATCH, + format!( + "intent #{} names objective {id}; its grant #{} is not bound to it", + row.id, row.authorization + ), + )); + }; + Some(match crate::objective::check(id, &a.text_sha256) { + Ok(s) => ObjectiveBinding { + objective_id: id.clone(), + record: "bound".into(), + detail: None, + record_unchanged: Some(s.record_sha256 == a.record_sha256), + }, + Err((n, d)) => refused(n, d), + }) +} + /// Reconcile every unsettled intent whose executor is gone, or record one /// operator declaration. `by` names who decided ("reconcile@start", ...). pub fn reconcile( @@ -1832,6 +1975,7 @@ pub fn reconcile( }; for row in rows { checked += 1; + let objective = objective_binding(&l, &row); if executor_alive(row.executor_pid, row.executor_start) { out.push(ReconcileOutcome { intent: row.id, @@ -1843,6 +1987,7 @@ pub fn reconcile( "executor pid {} still running; not decided", row.executor_pid ), + objective: objective.clone(), }); continue; } @@ -1884,14 +2029,19 @@ pub fn reconcile( disk_sha256: disk_hex, record: None, note: "still UNRESOLVED, already recorded for this target digest".into(), + objective: objective.clone(), }); continue; } - let text = json!({ + let mut text = json!({ "phase": PHASE_RECONCILE, "intent": row.id, "authorization": row.authorization, "state": st.name(), "world": world.name(), "disk_sha256": disk_hex, "disk_error": disk.as_ref().err(), "by": who, }); + if let Some(o) = &objective { + text["objective_id"] = json!(o.objective_id); + text["objective_record"] = json!(o.record); + } let n = append(home, NoteKind::Effect, &[row.id, row.authorization], &text)?; out.push(ReconcileOutcome { intent: row.id, @@ -1900,6 +2050,7 @@ pub fn reconcile( disk_sha256: disk_hex, record: Some(n.id), note: who, + objective, }); } Ok(ComposeReconcileReport { @@ -2589,6 +2740,7 @@ mod tests { "p", "N.md", "c", + None, &Provenance { generation_record: g, allen_agent: "none".into(), @@ -2624,6 +2776,53 @@ mod tests { } } + /// sovereign-core #408: records written before the objective fields load + /// exactly as before (no objective), and the new fields are read back. + #[test] + fn objective_fields_are_additive_on_grants_and_intents() { + let old = Ledger::from_records(&[grant(2, Value::Null), intent(3, 2)]).unwrap(); + assert_eq!(old.grants[&2].objective, None); + assert_eq!(old.intents[&3].objective_id, None); + assert!(old.view()["intents"][0].get("objective_id").is_none()); + let oid = "a".repeat(64); + let mut g = json!({"minted_grant": 1, "compose_commit": 1, "proposal_sha256": "p", + "path": "N.md", "content_sha256": "c", "approver": "drake", "target": "/w/N.md", + "prior_sha256": null, "objective_id": oid, "objective_text_sha256": "b".repeat(64), + "objective_record_sha256": "c".repeat(64)}); + let mut i = json!({"phase": "intent", "tool": "write_file", "authorization": 2, + "path": "N.md", "target": "/w/N.md", "content_sha256": "c", "prior_sha256": null, + "proposal_sha256": "p", "executor": {"pid": 1, "start": 1}, "objective_id": oid}); + let l = Ledger::from_records(&[ + rec(2, "authorization", g.clone()), + rec(3, "effect", i.clone()), + ]) + .unwrap(); + let o = l.grants[&2].objective.as_ref().unwrap(); + assert_eq!( + (o.id.as_str(), o.text_sha256.as_str()), + (oid.as_str(), "b".repeat(64).as_str()) + ); + assert_eq!(l.intents[&3].objective_id.as_deref(), Some(oid.as_str())); + assert_eq!(l.view()["intents"][0]["objective_id"], json!(oid)); + // A commit without the goal digest (written before #408) still loads. + let c = rec( + 1, + "effect", + json!({"compose_commit": 1, "task": 1, "cx_promotion": 1, + "cx_evidence": 1, "proposal_sha256": "p", "path": "N.md", "content_sha256": "c", + "workspace": "/w"}), + ); + assert_eq!( + Ledger::from_records(&[c]).unwrap().commits[&1].goal_sha256, + None + ); + // A daemon-written grant naming an objective without its digest is damaged state. + g.as_object_mut().unwrap().remove("objective_text_sha256"); + assert!(Ledger::from_records(&[rec(2, "authorization", g)]).is_err()); + i["objective_id"] = json!(7); + assert!(Ledger::from_records(&[grant(2, Value::Null), rec(3, "effect", i)]).is_err()); + } + #[test] fn fresh_grant_opens_once() { let l = Ledger::from_records(&[grant(2, Value::Null)]).unwrap(); @@ -3034,6 +3233,7 @@ mod tests { state: EffectState::Open, state_record: 0, unresolved_digest: None, + objective_id: None, }; assert_eq!(world_state(&row).0, EffectState::NotDone); std::fs::write(&t, b"new").unwrap(); diff --git a/crates/aien-runtime/src/lib.rs b/crates/aien-runtime/src/lib.rs index 4ac72cc7..2efcc377 100644 --- a/crates/aien-runtime/src/lib.rs +++ b/crates/aien-runtime/src/lib.rs @@ -11,6 +11,7 @@ pub mod cortex_mark; pub mod destination; pub mod effects; pub mod generation; +pub mod objective; pub mod persona; pub mod requirements; mod requirements_extract; diff --git a/crates/aien-runtime/src/objective.rs b/crates/aien-runtime/src/objective.rs new file mode 100644 index 00000000..1d277f71 --- /dev/null +++ b/crates/aien-runtime/src/objective.rs @@ -0,0 +1,119 @@ +//! sovereign-core #408: the operator's objective record, as the daemon reads it. +//! +//! `aien-cli objective record` (sc#388) writes `objectives/.json` +//! under `AIEN_PROVENANCE_DIR`; the id is sha256 of [`DOMAIN_TAG`], LF, the +//! text. The daemon never writes the record. It re-reads it when a grant is +//! bound to it (`ComposeAuthorize` with an objective id), before every intent +//! on such a grant, and at every reconcile of such an intent, so a record that +//! is gone or no longer says what was approved is named, never passed over. +use sha2::{Digest, Sha256}; +use std::path::PathBuf; + +pub const DOMAIN_TAG: &str = "AIEN_E2E_OBJECTIVE_V1"; +/// The record is missing, unreadable, not JSON, or the id is not 64 lowercase hex. +pub const MISSING: &str = "ObjectiveMissing"; +/// The record does not say what the grant was approved for. +pub const MISMATCH: &str = "ObjectiveMismatch"; + +fn sha256_hex(b: &[u8]) -> String { + aien_omega_compose::hex(&Sha256::digest(b)) +} + +/// sha256 of `DOMAIN_TAG`, LF, `text` (lowercase hex). +pub fn objective_id(text: &str) -> String { + sha256_hex(format!("{DOMAIN_TAG}\n{text}").as_bytes()) +} + +/// `$AIEN_PROVENANCE_DIR/objectives` (default `/tmp/aien-provenance/objectives`), +/// resolved exactly as the CLI resolves it. +pub fn dir() -> PathBuf { + std::env::var("AIEN_PROVENANCE_DIR") + .map(PathBuf::from) + .unwrap_or_else(|_| PathBuf::from("/tmp/aien-provenance")) + .join("objectives") +} + +pub fn valid_id(id: &str) -> bool { + id.len() == 64 + && id + .bytes() + .all(|b| b.is_ascii_digit() || (b'a'..=b'f').contains(&b)) +} + +/// What one read of a record established. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Seen { + pub objective_id: String, + /// sha256 of the recorded text. + pub text_sha256: String, + /// sha256 of the record file's bytes. + pub record_sha256: String, +} + +/// A refusal name ([`MISSING`] or [`MISMATCH`]) and its detail. +pub type Refused = (&'static str, String); + +/// Read the record of `id` now. It must exist, name `id`, and its text must +/// hash to both its `objective_text_sha256` and (with the tag) to `id`. +pub fn read(id: &str) -> Result { + if !valid_id(id) { + return Err(( + MISSING, + format!("{id:?} is not a 64 character lowercase hex objective id"), + )); + } + let path = dir().join(format!("{id}.json")); + let bytes = std::fs::read(&path) + .map_err(|e| (MISSING, format!("objective record {}: {e}", path.display())))?; + let v: serde_json::Value = serde_json::from_slice(&bytes) + .map_err(|e| (MISSING, format!("objective record {}: {e}", path.display())))?; + let text = v["objective_text"].as_str().unwrap_or_default(); + let text_sha = sha256_hex(text.as_bytes()); + if v["objective_id"].as_str() != Some(id) + || v["objective_text_sha256"].as_str() != Some(text_sha.as_str()) + || objective_id(text) != id + { + return Err(( + MISMATCH, + format!( + "objective record {} does not hold the text of objective {id}", + path.display() + ), + )); + } + Ok(Seen { + objective_id: id.to_string(), + text_sha256: text_sha, + record_sha256: sha256_hex(&bytes), + }) +} + +/// [`read`], and the recorded text must be the one approved (`text_sha256`). +pub fn check(id: &str, text_sha256: &str) -> Result { + let s = read(id)?; + if s.text_sha256 != text_sha256 { + return Err(( + MISMATCH, + format!( + "objective record {id} holds text sha256 {}, approved was {text_sha256}", + s.text_sha256 + ), + )); + } + Ok(s) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn id_is_the_cli_formula() { + // sha256("AIEN_E2E_OBJECTIVE_V1\nx"), the sc#388 definition. + let want = sha256_hex(b"AIEN_E2E_OBJECTIVE_V1\nx"); + assert_eq!(objective_id("x"), want); + assert!(valid_id(&want)); + assert!(!valid_id("ABC")); + assert!(!valid_id(&want.to_uppercase())); + } +} diff --git a/crates/aien-runtime/src/server.rs b/crates/aien-runtime/src/server.rs index 1ff66220..b8c5680f 100644 --- a/crates/aien-runtime/src/server.rs +++ b/crates/aien-runtime/src/server.rs @@ -931,6 +931,7 @@ async fn handle_connection( ref approver, ref constraints, ref desk_proof, + ref objective_id, } => { let req = crate::effects::MintRequest { cx_promotion, @@ -940,8 +941,14 @@ async fn handle_connection( constraints: constraints.clone(), }; let proof = desk_proof.clone(); + let objective = objective_id.clone(); Some(Box::new(move |b: &Arc| { - crate::effects::authorize(b, &req, proof.as_ref()) + crate::effects::authorize_with_objective( + b, + &req, + proof.as_ref(), + objective.as_deref(), + ) })) } ControlCommand::ComposeRecall { ref ids, prefix } => { diff --git a/crates/aien-runtime/src/spine.rs b/crates/aien-runtime/src/spine.rs index 13bbf411..4bbfc376 100644 --- a/crates/aien-runtime/src/spine.rs +++ b/crates/aien-runtime/src/spine.rs @@ -2657,6 +2657,7 @@ impl ComposeBridge { &hex(&Sha256::digest(text.as_bytes())), &p.path, &hex(&Sha256::digest(p.content.as_bytes())), + Some(&hex(&Sha256::digest(goal.as_bytes()))), &prov, ) .map_err(|e| { diff --git a/crates/aien-runtime/tests/authorize_desk_mac_test.rs b/crates/aien-runtime/tests/authorize_desk_mac_test.rs index bb9afabd..08fabf98 100644 --- a/crates/aien-runtime/tests/authorize_desk_mac_test.rs +++ b/crates/aien-runtime/tests/authorize_desk_mac_test.rs @@ -387,6 +387,7 @@ fn the_wire_field_is_optional_and_old_clients_parse() { approver: "a".into(), constraints: vec![], desk_proof: None, + objective_id: None, }; assert_eq!(serde_json::to_string(&none).unwrap(), old); // A new line with the proof round-trips. @@ -400,6 +401,7 @@ fn the_wire_field_is_optional_and_old_clients_parse() { nonce: "n".into(), mac: "m".into(), }), + objective_id: None, }; let s = serde_json::to_string(&with).unwrap(); assert!(s.contains("desk_proof")); diff --git a/crates/aien-runtime/tests/objective_identity_test.rs b/crates/aien-runtime/tests/objective_identity_test.rs new file mode 100644 index 00000000..a2e0f386 --- /dev/null +++ b/crates/aien-runtime/tests/objective_identity_test.rs @@ -0,0 +1,297 @@ +//! sovereign-core #408 (RECOVERY-AUDIT-2026-10-11 row 4): the objective id is +//! carried by the grant, the intent, the ack and the reconcile records, and +//! the objective record is re-read after a restart. +//! +//! The real compose home through the bridge, as the daemon drives it (no +//! socket). A restart is a new bridge on the same home. The objective record +//! is written here exactly as `aien-cli objective record` writes it (sc#388). +//! In a stub build only the refusal of the compose run is checked. +#[path = "support/home_guard.rs"] +mod home_guard; + +use aien_omega_compose::hex; +use aien_runtime::control::{ + ComposeNoteReport, ComposeReconcileReport, ControlResponse, ReconcileOutcome, +}; +use aien_runtime::effects::{self, IntentRequest, Ledger, MintRequest}; +use aien_runtime::objective; +use aien_runtime::spine::{ComposeBridge, ComposeProposer, Generation}; +use serde_json::{json, Value}; +use sha2::{Digest, Sha256}; +use std::path::{Path, PathBuf}; +use std::sync::Arc; + +const PROPOSAL: &str = "filename: NOTES.md\nkeep every change inside the workspace\n"; +const CONTENT: &str = "keep every change inside the workspace\n"; +const GOAL: &str = "write the note"; + +fn proposer() -> ComposeProposer { + Arc::new(|_prompt: &str, _limit: std::time::Duration| { + Ok(Generation { + text: PROPOSAL.to_string(), + tokens: 8, + finish_reason: Some("eos".into()), + ..Default::default() + }) + }) +} + +fn sha(b: &[u8]) -> String { + hex(&Sha256::digest(b)) +} + +fn noted(r: ControlResponse) -> ComposeNoteReport { + match r { + ControlResponse::ComposeNoted(n) => n, + other => panic!("expected ComposeNoted, got {other:?}"), + } +} + +fn refused(r: ControlResponse, name: &str) { + match r { + ControlResponse::Error(e) => assert!( + e.starts_with(&format!("EFFECT_REFUSED {name}:")), + "want {name}, got {e}" + ), + other => panic!("want EFFECT_REFUSED {name}, got {other:?}"), + } +} + +fn reconciled(r: ControlResponse) -> ComposeReconcileReport { + match r { + ControlResponse::ComposeReconciled(r) => *r, + other => panic!("expected ComposeReconciled, got {other:?}"), + } +} + +fn ledger(b: &ComposeBridge) -> Ledger { + match b.recall(&[], None) { + ControlResponse::ComposeRecalled(r) => Ledger::from_records(&r.host).unwrap(), + other => panic!("recall: {other:?}"), + } +} + +fn text_of(b: &ComposeBridge, record: u64) -> Value { + match b.recall(&[record], None) { + ControlResponse::ComposeRecalled(r) => { + serde_json::from_str(r.cited[0].text.as_deref().unwrap()).unwrap() + } + other => panic!("recall: {other:?}"), + } +} + +/// The record `aien-cli objective record --text` writes (sc#388). +fn write_record(prov: &Path, text: &str) -> (String, PathBuf) { + let id = objective::objective_id(text); + let d = prov.join("objectives"); + std::fs::create_dir_all(&d).unwrap(); + let p = d.join(format!("{id}.json")); + let rec = json!({"version": 1, "objective_id": id, "objective_text": text, + "objective_text_sha256": sha(text.as_bytes()), "effect_class": "WORKSPACE_WRITE", + "recorded_before_work": true, "operator_surface": "aien-cli", + "utc": "2026-10-11T00:00:00Z"}); + std::fs::write(&p, serde_json::to_vec_pretty(&rec).unwrap()).unwrap(); + (id, p) +} + +/// Rewrite the record in place with other text and a consistent digest: what +/// an edit of the file by hand would leave. +fn alter_record(p: &Path) { + let mut v: Value = serde_json::from_slice(&std::fs::read(p).unwrap()).unwrap(); + let t = "write the note, then delete the inbox"; + v["objective_text"] = json!(t); + v["objective_text_sha256"] = json!(sha(t.as_bytes())); + std::fs::write(p, serde_json::to_vec_pretty(&v).unwrap()).unwrap(); +} + +struct Fx { + ws: PathBuf, + target: String, + promotion: u64, +} + +impl Fx { + fn compose(b: &ComposeBridge, ws: &Path) -> u64 { + match b.run_task(GOAL, ws.to_str().unwrap()) { + ControlResponse::ComposeTaskResult(r) => { + assert!(r.committed, "{r:?}"); + r.cx_promotion + } + other => panic!("compose: {other:?}"), + } + } + fn mint(&self, b: &ComposeBridge, objective_id: Option<&str>) -> ControlResponse { + effects::authorize_with_objective( + b, + &MintRequest { + cx_promotion: self.promotion, + proposal_sha256: sha(PROPOSAL.as_bytes()), + workspace: self.ws.display().to_string(), + approver: "drake".into(), + constraints: vec![], + }, + None, + objective_id, + ) + } + fn req(&self, a: u64, alive: bool) -> IntentRequest { + let (pid, start) = if alive { + effects::self_executor() + } else { + (0, 0) + }; + IntentRequest { + authorization: a, + proposal_sha256: sha(PROPOSAL.as_bytes()), + path: "NOTES.md".into(), + target: self.target.clone(), + content_sha256: sha(CONTENT.as_bytes()), + executor_pid: pid, + executor_start: start, + } + } +} + +fn bridge(home: &Path) -> ComposeBridge { + ComposeBridge::new(home.to_path_buf(), proposer(), "test:fixed-proposer") + .with_authorize_requires_desk(false) +} + +fn outcome_for(line: &str, intent: u64) -> ReconcileOutcome { + let json = &line[line.find("; [").expect("outcomes in the line") + 2..]; + let all: Vec = serde_json::from_str(json).unwrap(); + all.into_iter().find(|o| o.intent == intent).unwrap() +} + +#[test] +fn objective_identity_survives_a_restart_and_is_re_read() { + let _home = home_guard::home_slot(); + let tmp = tempfile::tempdir().unwrap(); + let prov = tmp.path().join("prov"); + // The daemon and the CLI resolve the record directory the same way. + std::env::set_var("AIEN_PROVENANCE_DIR", &prov); + let home = tmp.path().join("compose"); + let ws = std::fs::canonicalize({ + let w = tmp.path().join("ws"); + std::fs::create_dir_all(&w).unwrap(); + w + }) + .unwrap(); + let b = bridge(&home); + if !aien_omega_compose::LINKED { + assert!(matches!( + b.run_task(GOAL, ws.to_str().unwrap()), + ControlResponse::Error(_) + )); + return; + } + let mut f = Fx { + target: ws.join("NOTES.md").display().to_string(), + promotion: Fx::compose(&b, &ws), + ws: ws.clone(), + }; + // The daemon's own commit record names the goal it composed for. + let l = ledger(&b); + let commit = l.commits.values().last().unwrap(); + assert_eq!( + commit.goal_sha256.as_deref(), + Some(sha(GOAL.as_bytes()).as_str()) + ); + + // 1. Refusals by name; nothing is minted. + let missing = objective::objective_id("never recorded"); + refused(f.mint(&b, Some(&missing)), "ObjectiveMissing"); + let (other, _) = write_record(&prov, "some other objective"); + refused(f.mint(&b, Some(&other)), "ObjectiveMismatch"); + refused(f.mint(&b, Some("not-an-id")), "ObjectiveMissing"); + assert!( + ledger(&b).grants.is_empty(), + "a refused authorize mints nothing" + ); + + // 2. Bound grant, intent from an executor that dies: the id rides along. + let (oid, rec_path) = write_record(&prov, GOAL); + let rec_sha = sha(&std::fs::read(&rec_path).unwrap()); + let g = noted(f.mint(&b, Some(&oid))).id; + let gt = text_of(&b, g); + assert_eq!(gt["objective_id"], json!(oid)); + assert_eq!(gt["objective_text_sha256"], json!(sha(GOAL.as_bytes()))); + assert_eq!(gt["objective_record_sha256"], json!(rec_sha)); + let i = noted(effects::open_intent(&b, &f.req(g, false))).id; + assert_eq!(text_of(&b, i)["objective_id"], json!(oid)); + assert_eq!(ledger(&b).view()["intents"][0]["objective_id"], json!(oid)); + + // 3. Restart with the record intact: reconcile binds the intent to it. + drop(b); + let b = bridge(&home); + let line = effects::reconcile_at_start(&b); + let o = outcome_for(&line, i); + assert_eq!(o.state, "NOT_DONE", "{line}"); + let ob = o.objective.expect("binding reported"); + assert_eq!( + (ob.objective_id.as_str(), ob.record.as_str()), + (oid.as_str(), "bound") + ); + assert_eq!(ob.record_unchanged, Some(true)); + assert_eq!(text_of(&b, o.record.unwrap())["objective_id"], json!(oid)); + refused(effects::open_intent(&b, &f.req(g, true)), "AlreadySpent"); + + // 4. Record removed: a new approval is refused by name; restored: minted. + std::fs::rename(&rec_path, tmp.path().join("moved.json")).unwrap(); + refused(f.mint(&b, Some(&oid)), "ObjectiveMissing"); + std::fs::rename(tmp.path().join("moved.json"), &rec_path).unwrap(); + let g2 = noted(f.mint(&b, Some(&oid))).id; + + // 5. Record altered after the grant: the intent is refused, nothing written. + let saved = std::fs::read(&rec_path).unwrap(); + alter_record(&rec_path); + refused( + effects::open_intent(&b, &f.req(g2, true)), + "ObjectiveMismatch", + ); + assert!( + !ledger(&b).spent.contains_key(&g2), + "no intent on a refusal" + ); + std::fs::write(&rec_path, &saved).unwrap(); + + // 6. Restored: the effect runs once and the ack names the objective. + let i2 = noted(effects::open_intent(&b, &f.req(g2, true))).id; + std::fs::write(&f.target, CONTENT).unwrap(); + let k = noted(effects::ack(&b, i2, &json!({}))); + let kt = text_of(&b, k.id); + assert_eq!( + (kt["state"].clone(), kt["objective_id"].clone()), + (json!("DONE"), json!(oid)) + ); + + // 7. Restart with an open bound intent whose record is gone: the intent is + // still settled by the world, and the missing record is named, not silent. + std::fs::remove_file(&f.target).unwrap(); + f.promotion = Fx::compose(&b, &ws); + let g3 = noted(f.mint(&b, Some(&oid))).id; + let i3 = noted(effects::open_intent(&b, &f.req(g3, false))).id; + drop(b); + std::fs::remove_file(&rec_path).unwrap(); + let b = bridge(&home); + let line = effects::reconcile_at_start(&b); + let o = outcome_for(&line, i3); + assert_eq!(o.state, "NOT_DONE", "{line}"); + let ob = o.objective.expect("binding reported"); + assert_eq!(ob.record, "ObjectiveMissing", "{line}"); + assert!(ob.detail.is_some()); + refused(f.mint(&b, Some(&oid)), "ObjectiveMissing"); + + // 8. Legacy path: a grant without an objective is minted and reconciled + // exactly as before; nothing about objectives appears. + f.promotion = Fx::compose(&b, &ws); + let g4 = noted(f.mint(&b, None)).id; + assert!(text_of(&b, g4).get("objective_id").is_none()); + let i4 = noted(effects::open_intent(&b, &f.req(g4, false))).id; + assert!(text_of(&b, i4).get("objective_id").is_none()); + let r = reconciled(effects::reconcile(&b, None, "test")); + let o = r.outcomes.iter().find(|o| o.intent == i4).unwrap(); + assert!(o.objective.is_none()); + assert!(!serde_json::to_string(o).unwrap().contains("objective")); + std::env::remove_var("AIEN_PROVENANCE_DIR"); +} diff --git a/crates/aien-runtime/tests/provenance_link_test.rs b/crates/aien-runtime/tests/provenance_link_test.rs index d65dcfcb..40d7b221 100644 --- a/crates/aien-runtime/tests/provenance_link_test.rs +++ b/crates/aien-runtime/tests/provenance_link_test.rs @@ -273,6 +273,7 @@ async fn ordinary_flow(d: &Daemon) -> Flow { "NOTES.md", &sha(CONTENT.as_bytes()), ), + objective_id: None, }) .await, "authorize", @@ -476,6 +477,7 @@ async fn an_old_ledger_without_provenance_still_opens_and_runs() { approver: "drake".into(), constraints: vec![], desk_proof: d.desk(777, &sha(b"old proposal"), "OLD.md", &sha(b"old\n")), + objective_id: None, }) .await, "authorize on an old commit", diff --git a/docs/campaigns/whole-system-e2e/FAULTS-v1.3.md b/docs/campaigns/whole-system-e2e/FAULTS-v1.3.md new file mode 100644 index 00000000..46bbe7f1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/FAULTS-v1.3.md @@ -0,0 +1,53 @@ +# WHOLE-SYSTEM-E2E held-fault rows: addendum v1.3 (objective identity across a restart) + +Tracking: aien-dev/aien-sovereign-core#408 (gap row 4 of `RECOVERY-AUDIT-2026-10-11.md`), aien-architecture#190 Priority D. +Amends `FAULTS-v1.md`, `FAULTS-v1.1.md`, `FAULTS-v1.2.md` and `FAULTS-v1.2.1.md` by ADDING four rows and one fixture step; +no existing row, predicate or rule changes, and the recorded runs stay as they are. Committed before the engine change +and before the harness change. Every status below is NOT_RUN at the time of writing. + +## Why + +The audit found that the objective record (`aien-cli objective record`, sc#388) is a file the CLI writes, that `compose +propose --objective-id` only echoes the id, and that no grant, intent, ack, reconcile record or execute answer carries +it. After a SIGKILL nothing ties the surviving effect to the recorded objective, and nothing re-reads the record. + +## Engine change these rows test (sc#408, landed after this file) + +- The daemon's compose-commit record carries `goal_sha256` (sha256 of the goal text it composed for). +- `compose authorize` passes the report's `objective_id`. The daemon re-reads `objectives/.json` under + `AIEN_PROVENANCE_DIR`, checks that the id recomputes from the recorded text and that the recorded text digest equals + the commit's `goal_sha256`, and writes `objective_id`, `objective_text_sha256`, `objective_record_sha256` into the grant. + Otherwise it refuses by name (`ObjectiveMissing`, `ObjectiveMismatch`) and writes nothing. +- An intent on an objective-bound grant re-reads the record first (same names, nothing written on refusal) and carries + `objective_id`; the ack and every reconcile record of that intent carry it; `compose effects` shows it per intent. +- Reconcile (at start and on request) re-reads the record of every unsettled objective-bound intent and reports the + binding per outcome (`objective: {objective_id, record: bound | ObjectiveMissing | ObjectiveMismatch, ...}`). The + intent itself is still settled by the world check (an effect is never re-run, so settling is observation); what a + missing or altered record stops is any further step for that objective: a new intent and a new grant are refused. +- Records without the new fields load exactly as before; a grant minted without an objective id behaves as before. + +## Fixture step (v1.3) + +Before the fixture propose, `aien-cli objective record --text "$OBJ6"` writes the record into the fixture's provenance +directory, and the propose runs with `--objective-id` (the sc#388 CLI check). The record id is `REC_ID` = +sha256(`AIEN_E2E_OBJECTIVE_V1`, LF, text), distinct from the harness chain id. Rows of v1 to v1.2 use the same proposal +report with the top-level `objective_id` field removed (the `report` object is byte-identical to a propose without +`--objective-id`), so those rows send no objective id and run the legacy path exactly as before. The v1.3 rows use the +report with the id and get a copy of the record in their own provenance directory. + +## Rows (fixture, build and counting rules as `FAULTS-v1.md` sections 2 to 5) + +| row | injection | PASS iff | prediction | +|---|---|---|---| +| E6-objective_bound_after_intent | objective-bound grant G; executor held at `after_intent`; SIGKILL daemon and executor; record left intact; restart | both kills 137; no file at the kill; the restart reconcile line names the intent with `objective_id` REC_ID and `record` `bound`; `compose effects` lists the intent of G with `objective_id` REC_ID; the record file's sha256 after the restart equals its sha256 before the kill and `objective show REC_ID` returns the same text digest; same grant refused `AlreadySpent`; a new approval G2 (same report) is minted and its grant text names REC_ID, G2 executes `DONE` with `objective_id` REC_ID in the execute answer and in its `write_file` receipt; files 1; duplicates 0 | PASS | +| E6-objective_missing_after_intent | as above, but the record file is removed after the kill and before the restart | both kills 137; no file; the restart reconcile line names the intent with `record` `ObjectiveMissing` (not silent) and the intent is settled by the world check (`NOT_DONE`, recorded); `objective show REC_ID` refused `ObjectiveMissing`; a new approval with the same report is refused `ObjectiveMissing` and mints no grant; files 0 | PASS | +| E6-objective_altered_before_intent | objective-bound grant G; executor held at `before_intent`; SIGKILL daemon; executor released (refused, no intent); the record rewritten in place with other text and a consistently recomputed `objective_text_sha256`; restart; execute G | daemon kill 137; the released executor is refused and writes nothing; after the restart execute G is refused `ObjectiveMismatch`; no intent for G in the ledger; files 0 | PASS | +| E6-objective_after_write | objective-bound grant G; executor held at `after_write`; SIGKILL daemon and executor; restart | both kills 137; file present once at the kill; the restart reconcile line settles the intent `DONE` with `objective_id` REC_ID and `record` `bound`; `compose effects` shows the intent of G `DONE` with `objective_id` REC_ID; the record's text digest equals sha256 of the objective text and REC_ID recomputes from it (harness side); same grant refused `AlreadySpent`; files 1; duplicates 0 | PASS | + +The rows of v1 to v1.2 run unchanged in the same run and must score as recorded in `runs/FAULTS-20261011T012434Z` +(ten PASS). Rules as v1 section 5: one attempt per row; a FAIL is recorded, not fixed silently; the run folder is kept +as it falls. A PASS shows the objective binding across a SIGKILL restart of the CPU-reference build with `fault-hold` +on one host. It does not show power loss, a hostile operator with write access to the provenance directory and the +compose home together, the accelerator path, a release build, or any contract step as PASS. The executor killed after +the write leaves no `write_file` receipt; for that row the objective binding is shown by the engine's own reconcile +record and ledger, and the receipt binding by row 1. diff --git a/docs/campaigns/whole-system-e2e/REGRESSION-sc408.md b/docs/campaigns/whole-system-e2e/REGRESSION-sc408.md new file mode 100644 index 00000000..a8640197 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/REGRESSION-sc408.md @@ -0,0 +1,41 @@ +# Regression evidence, sc#408 (objective identity across a restart), Lane D, 2026-10-11 + +Pre-registered before the code change, together with `FAULTS-v1.3.md`. Results are filled in below the plan after the +runs; the plan is not edited. + +## Plan + +| check | how | expected | +|---|---|---| +| new runtime tests red on main | `crates/aien-runtime/tests/objective_identity_test.rs` and the new ledger unit tests in `effects.rs`, built against main 4bc1594 | do not build (the objective fields and entry point do not exist), error lines recorded | +| new runtime tests green | `cargo test -p aien-runtime` with the linked compose archive | all pass, including the new ones | +| CLI tests | `cargo test -p aien-cli` (objective record tests included) | all pass | +| lint | `cargo clippy -p aien-runtime -p aien-cli --all-targets -- -D warnings` | clean | +| old records load | ledger unit test on records without the new fields; the existing effects tests unchanged | pass | +| RUN-1 verdict unchanged | `tools/aien-verify` on `runs/RUN-1-20261010T154724Z` (contract sha as in `REGRESSION-sc403.md`) before and after | same `verdict_id` as recorded | +| fault rows | `scripts/whole_system_e2e_faults.sh run` (CPU reference, fault-hold build) | v1 to v1.2 rows: ten PASS as before; v1.3 rows as predicted in `FAULTS-v1.3.md` | + + +## Results (2026-10-11, branch recovery/objective-identity) + +| check | result | +|---|---| +| new tests red on main | built against 4bc1594 plus the test commit 0dd4c95 only: do not compile, 11 errors; distinct ones: error[E0425]: cannot find function 'authorize_with_objective' in module 'effects';error[E0432]: unresolved import 'aien_runtime::objective';error[E0609]: no field 'goal_sha256' on type '&CommitRow';error[E0609]: no field 'goal_sha256' on type 'CommitRow';error[E0609]: no field 'objective_id' on type 'effects::IntentRow';error[E0609]: no field 'objective' on type 'Grant';error[E0609]: no field 'objective' on type '&ReconcileOutcome';error[E0609]: no field 'objective' on type 'ReconcileOutcome' | +| new tests green | `objective_identity_survives_a_restart_and_is_re_read` (8 steps: refusals by name, bound grant and intent, restart with the record intact binds the reconcile, record removed refuses a new approval, record altered refuses the intent and writes nothing, the ack names the objective, restart with the record gone reports `ObjectiveMissing` and still settles NOT_DONE, the legacy path shows no objective) ok; `objective_fields_are_additive_on_grants_and_intents` ok; `id_is_the_cli_formula` ok | +| `cargo test -p aien-runtime -p aien-cli` (linked archive sha256 3eb20f5e...) | 604 passed, 0 failed, 23 ignored | +| `cargo clippy -p aien-runtime -p aien-cli --all-targets -- -D warnings` | clean; `cargo fmt --check` clean | +| old records load | the unit test above (grant, intent and commit records without the new fields read as before); every pre-existing effects, minted-grant, desk and provenance test unchanged and passing; the desk wire test still sees the old `ComposeAuthorize` bytes when no objective is given | +| RUN-1 verdict unchanged | `tools/aien-verify` (unchanged by this branch) on a copy of `runs/RUN-1-20261010T154724Z` with its recorded contract digest 9e3d5f4e...: `verdict_id a50fccb63363ef9224a19bd8bf4f249754abf5d88667ba0fd6ce93dfb8d63d80`, chain_unbroken true (as recorded in its VERIFIER_RECEIPT.json) | +| fault rows | `runs/FAULTS-20261011T023133Z` (fault-hold build sha256 1dc984d2..., CPU reference, one attempt): PRE PASS; the ten v1 to v1.2 rows PASS as before; the four v1.3 rows PASS as predicted, see the table below | + +| v1.3 row | result | what the receipt shows | +|---|---|---| +| E6-objective_bound_after_intent | PASS | kills 137/137, no file; restart reconcile: intent NOT_DONE, objective 9694e418... record `bound`, `record_unchanged` true; ledger intent and grant G name it; record sha256 equal before and after; same grant `AlreadySpent`; new grant names it, DONE, execute answer names it, the `write_file` receipt's arguments digest recomputes with it; files 1, duplicates 0 | +| E6-objective_missing_after_intent | PASS | record removed after the kill; restart reconcile: intent NOT_DONE (recorded), record `ObjectiveMissing`; `objective show` refused `ObjectiveMissing`; new approval refused `ObjectiveMissing`, no grant; files 0 | +| E6-objective_altered_before_intent | PASS | daemon 137 while held before the intent; released executor rc 1, no file; record rewritten with other text; after the restart execute of the same grant refused `ObjectiveMismatch`, no intent; files 0 | +| E6-objective_after_write | PASS | kills 137/137, file present once; restart reconcile DONE with the objective `bound`; ledger intent DONE naming it; record text digest is the objective's and the id recomputes; same grant `AlreadySpent`; files 1, duplicates 0 | + +Deviation from the pre-registered wording, recorded here: row 1 checks the grant text through `compose recall` of the grant record +and the receipt binding through its arguments digest (the receipt file holds digests, not arguments). Limits: one host, one +attempt per row, SIGKILL only, CPU reference with `fault-hold`; the compose archive was a prebuilt copy (sha256 3eb20f5e...) not +rebuilt from the omega pin in this session (CI builds from the pin). `runs/` was not edited; the new run folder is kept as it fell. diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.1.as-run.md b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.1.as-run.md new file mode 100644 index 00000000..ee50dd00 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.1.as-run.md @@ -0,0 +1,23 @@ +# WHOLE-SYSTEM-E2E held-fault rows: amendment v1.1 + +Amends `FAULTS-v1.md`. Written after the first run of `scripts/whole_system_e2e_faults.sh` +(`runs/FAULTS-20261010T143418Z/`, kept as it fell) and before the harness change. Two defects of the harness, +neither an engine behaviour: + +1. **E6-before_intent, executor refusal.** v1 says "executor refuses (`ok:false`)". With the daemon dead the + executor gets no daemon answer: it exits 1 and prints a connection error with `ok:false` on stdout. The harness read `ok` with jq `.ok // "none"`, which turns `false` into "none" (jq treats false as absent), so the check saw no `ok:false`. + The first run scored that FAIL on that misread. Amended predicate: the released executor exits + non-zero, writes no file, and records no intent (stderr text kept as evidence). `ok:false`, when present, also + counts. Nothing else in the row changes. +2. **CTRL-E6 and CTRL-E6b, what is removed.** The approval desk key lives inside the compose home + (`/approval-desk.key`). The first run replaced the whole home with an empty folder, so the second daemon + refused to start because the desk key was missing (the CTRL-E3a refusal), not because the objective state was + lost. Those two PASS results do not test the control. Amended injection: remove the journal and everything the + daemon reconciles from (`cortex.cx`, `jspace/`, `machine.id`) and keep `approval-desk.key` in place, so the + daemon can start and the loss is met at reconcile or at the first execute. CTRL-E6b additionally removes the + sibling record mark `.cortex-mark`. Predictions are as in v1: CTRL-E6 expects a named refusal + (`E_MARK_TRUNCATED` predicted); CTRL-E6b is UNKNOWN. + +The first run's rows E6-after_intent, E6-after_write, FAULT-reconcile_error and FAULT-reconcile_panic matched +their v1 predictions and are re-measured in run 2 under the same rules. Run 2 is the declared run; run 1 stays on +record with its two defects named here. diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.2.1.as-run.md b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.2.1.as-run.md new file mode 100644 index 00000000..5df837df --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.2.1.as-run.md @@ -0,0 +1,23 @@ +# WHOLE-SYSTEM-E2E held-fault rows: amendment v1.2.1 (two prediction defects in v1.2) + +Tracking: aien-dev/aien-sovereign-core#408. Amends `FAULTS-v1.2.md`. Written after the first run of the v1.2 rows +(`runs/FAULTS-20261011T011317Z/`, kept as it fell) and before the harness change. In that run E6-revoke_durable PASSED +as predicted, and the other two v1.2 rows scored FAIL against predictions that were wrong about engine design, not +because a control failed: + +1. **E6-stop_durable.** v1.2 predicted that after `compose resume` the pre-stop grant finishes `DONE`. The engine answers + `EFFECT_REFUSED Stale: authorization #23 predates operator stop #24` (a stop invalidates every earlier grant by + design). Observed in run 1 and now the pre-registered rule: PASS iff after the SIGKILL restart the ledger shows the + stop, execute is refused `Stopped`, `done.md` is absent; and after `resume` the same grant is refused `Stale` and + `done.md` is still absent (a pre-stop grant never revives). No claim is made that a fresh grant after resume works. +2. **E6-desk_after_restart.** v1.2 predicted a second `authorize --desk 1` after the restart mints a new grant. The engine + answers `EFFECT_REFUSED AlreadyAuthorized: grant #23 for this proposal is still live; revoke it first`, which is itself + a durable-state fact (the live grant survived the kill). The without-desk authorize was refused as predicted + (`DeskMacRequired`). Pre-registered rule now: PASS iff the authorize without the desk proof is refused + `DeskMacRequired`, the authorize with `--desk 1` is refused `AlreadyAuthorized` naming the surviving grant, and the + original grant still finishes `DONE` once (next execute `AlreadySpent`). That a desk proof is accepted after a restart + is shown by row E6-after_intent (the second approval after the restart mints a grant), not by this row. + +Because these rules were written after seeing run 1's observations, the rerun only confirms that the behaviour is +repeatable; it is weaker evidence than a prediction made blind, and the report says so. Run 1 stays on record with its +two FAIL scores. diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.2.as-run.md b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.2.as-run.md new file mode 100644 index 00000000..26352d9d --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.2.as-run.md @@ -0,0 +1,25 @@ +# WHOLE-SYSTEM-E2E held-fault rows: addendum v1.2 (control state across a restart) + +Tracking: aien-dev/aien-sovereign-core#408, aien-architecture#190 (Priority D, Lane E recovery audit). +Amends `FAULTS-v1.md` and `FAULTS-v1.1.md` by ADDING three rows; no existing row or rule changes, and the recorded +runs (`FAULTS-20261010T143418Z`, `FAULTS-20261010T144049Z`) stay as they are. Committed before the harness change. +Every status below is NOT_RUN at the time of writing. + +## Why + +`RECOVERY-AUDIT-2026-10-11.md` found that the held-kill rows prove the effect path (one effect per grant) but nothing in +the campaign shows that a human control survives a SIGKILL restart: a revoked grant stays revoked, the kill switch stays +on, and the approval desk still demands its proof. CTRL-E3b (revoke before spend) ran inside one daemon lifetime. + +## Rows (fixture, build and counting rules as `FAULTS-v1.md` sections 2 to 5) + +| row | injection | PASS iff | prediction | +|---|---|---|---| +| E6-revoke_durable | grant minted; `compose revoke --authorization G --approver drake` returns ok; SIGKILL the daemon (137); restart; execute G | execute refused with the name `Revoked`; `done.md` absent; no intent for G in the ledger; `ledger.revoked` lists G | PASS (the ledger holds `revoked`; CTRL-E3b showed the refusal in one lifetime) | +| E6-stop_durable | grant minted; `compose stop --approver drake` ok; SIGKILL the daemon; restart; execute G; then `compose resume --approver drake`; execute G | the first execute is refused with a name (recorded) and `done.md` is absent; after `resume` the same grant finishes `DONE` once; duplicates 0 | UNKNOWN for the refusal name (expected `Stopped`); PASS otherwise | +| E6-desk_after_restart | grant minted; SIGKILL the daemon; restart; `compose authorize` WITHOUT `--desk`; then `compose authorize --desk 1` | the authorize without the desk proof returns `ok:false` and mints no grant; the one with `--desk 1` returns ok and a new grant id; the first grant (G) still finishes `DONE` once when executed | PASS (desk key is in the home, kept; the proof is checked per authorize) | + +Rules as v1 section 5: one attempt per row; a FAIL is recorded, not fixed silently; an engine bug becomes an issue and +the row stays FAIL; no engine change in this change. A PASS shows these controls hold across a SIGKILL restart of the +CPU-reference build with `fault-hold`; it does not show power loss, a hostile operator, the accelerator path, or any +contract step as PASS. diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.3.as-run.md b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.3.as-run.md new file mode 100644 index 00000000..46bbe7f1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.3.as-run.md @@ -0,0 +1,53 @@ +# WHOLE-SYSTEM-E2E held-fault rows: addendum v1.3 (objective identity across a restart) + +Tracking: aien-dev/aien-sovereign-core#408 (gap row 4 of `RECOVERY-AUDIT-2026-10-11.md`), aien-architecture#190 Priority D. +Amends `FAULTS-v1.md`, `FAULTS-v1.1.md`, `FAULTS-v1.2.md` and `FAULTS-v1.2.1.md` by ADDING four rows and one fixture step; +no existing row, predicate or rule changes, and the recorded runs stay as they are. Committed before the engine change +and before the harness change. Every status below is NOT_RUN at the time of writing. + +## Why + +The audit found that the objective record (`aien-cli objective record`, sc#388) is a file the CLI writes, that `compose +propose --objective-id` only echoes the id, and that no grant, intent, ack, reconcile record or execute answer carries +it. After a SIGKILL nothing ties the surviving effect to the recorded objective, and nothing re-reads the record. + +## Engine change these rows test (sc#408, landed after this file) + +- The daemon's compose-commit record carries `goal_sha256` (sha256 of the goal text it composed for). +- `compose authorize` passes the report's `objective_id`. The daemon re-reads `objectives/.json` under + `AIEN_PROVENANCE_DIR`, checks that the id recomputes from the recorded text and that the recorded text digest equals + the commit's `goal_sha256`, and writes `objective_id`, `objective_text_sha256`, `objective_record_sha256` into the grant. + Otherwise it refuses by name (`ObjectiveMissing`, `ObjectiveMismatch`) and writes nothing. +- An intent on an objective-bound grant re-reads the record first (same names, nothing written on refusal) and carries + `objective_id`; the ack and every reconcile record of that intent carry it; `compose effects` shows it per intent. +- Reconcile (at start and on request) re-reads the record of every unsettled objective-bound intent and reports the + binding per outcome (`objective: {objective_id, record: bound | ObjectiveMissing | ObjectiveMismatch, ...}`). The + intent itself is still settled by the world check (an effect is never re-run, so settling is observation); what a + missing or altered record stops is any further step for that objective: a new intent and a new grant are refused. +- Records without the new fields load exactly as before; a grant minted without an objective id behaves as before. + +## Fixture step (v1.3) + +Before the fixture propose, `aien-cli objective record --text "$OBJ6"` writes the record into the fixture's provenance +directory, and the propose runs with `--objective-id` (the sc#388 CLI check). The record id is `REC_ID` = +sha256(`AIEN_E2E_OBJECTIVE_V1`, LF, text), distinct from the harness chain id. Rows of v1 to v1.2 use the same proposal +report with the top-level `objective_id` field removed (the `report` object is byte-identical to a propose without +`--objective-id`), so those rows send no objective id and run the legacy path exactly as before. The v1.3 rows use the +report with the id and get a copy of the record in their own provenance directory. + +## Rows (fixture, build and counting rules as `FAULTS-v1.md` sections 2 to 5) + +| row | injection | PASS iff | prediction | +|---|---|---|---| +| E6-objective_bound_after_intent | objective-bound grant G; executor held at `after_intent`; SIGKILL daemon and executor; record left intact; restart | both kills 137; no file at the kill; the restart reconcile line names the intent with `objective_id` REC_ID and `record` `bound`; `compose effects` lists the intent of G with `objective_id` REC_ID; the record file's sha256 after the restart equals its sha256 before the kill and `objective show REC_ID` returns the same text digest; same grant refused `AlreadySpent`; a new approval G2 (same report) is minted and its grant text names REC_ID, G2 executes `DONE` with `objective_id` REC_ID in the execute answer and in its `write_file` receipt; files 1; duplicates 0 | PASS | +| E6-objective_missing_after_intent | as above, but the record file is removed after the kill and before the restart | both kills 137; no file; the restart reconcile line names the intent with `record` `ObjectiveMissing` (not silent) and the intent is settled by the world check (`NOT_DONE`, recorded); `objective show REC_ID` refused `ObjectiveMissing`; a new approval with the same report is refused `ObjectiveMissing` and mints no grant; files 0 | PASS | +| E6-objective_altered_before_intent | objective-bound grant G; executor held at `before_intent`; SIGKILL daemon; executor released (refused, no intent); the record rewritten in place with other text and a consistently recomputed `objective_text_sha256`; restart; execute G | daemon kill 137; the released executor is refused and writes nothing; after the restart execute G is refused `ObjectiveMismatch`; no intent for G in the ledger; files 0 | PASS | +| E6-objective_after_write | objective-bound grant G; executor held at `after_write`; SIGKILL daemon and executor; restart | both kills 137; file present once at the kill; the restart reconcile line settles the intent `DONE` with `objective_id` REC_ID and `record` `bound`; `compose effects` shows the intent of G `DONE` with `objective_id` REC_ID; the record's text digest equals sha256 of the objective text and REC_ID recomputes from it (harness side); same grant refused `AlreadySpent`; files 1; duplicates 0 | PASS | + +The rows of v1 to v1.2 run unchanged in the same run and must score as recorded in `runs/FAULTS-20261011T012434Z` +(ten PASS). Rules as v1 section 5: one attempt per row; a FAIL is recorded, not fixed silently; the run folder is kept +as it falls. A PASS shows the objective binding across a SIGKILL restart of the CPU-reference build with `fault-hold` +on one host. It does not show power loss, a hostile operator with write access to the provenance directory and the +compose home together, the accelerator path, a release build, or any contract step as PASS. The executor killed after +the write leaves no `write_file` receipt; for that row the objective binding is shown by the engine's own reconcile +record and ledger, and the receipt binding by row 1. diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.as-run.md b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.as-run.md new file mode 100644 index 00000000..71e0bf25 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/FAULTS-v1.as-run.md @@ -0,0 +1,65 @@ +# WHOLE-SYSTEM-E2E, held-fault rows (lane L2): pre-registered + +Tracking: aien-dev/aien-sovereign-core#379, lane L2 of aien-dev/aien-architecture#190. +Contract step: aien-architecture `docs/plans/release-readiness/ACCEPTANCE_E2E.md`, steps E6 and CTRL-E6. +Harness: `scripts/whole_system_e2e_faults.sh` (shell plus `jq`, no Python). Committed before the harness. +Every status below is NOT_RUN at the time of writing. The harness measures; it never edits this file. + +## 1. Why this exists + +`scripts/whole_system_e2e.sh` row E6 kills the daemon between authorize and execute (no hold). The three +points where the engine holds mid-execute (`before_intent`, `after_intent`, `after_write`, in +`crates/aien-cli/src/compose.rs` `fault_hold`) and the two start-up holds (`reconcile_panic`, +`reconcile_error`, in `crates/aien-runtime/src/effects.rs` `reconcile_at_start`) exist only in a build with the +cargo feature `fault-hold` (test builds only). The earlier campaign next-phase-2 (`ACCEPTANCE-v2.md` section 5, +rows C2a, C2b, C2c, C2d, and `ACCEPTANCE-v4.md` rows C7a, C7c) drove them with a different fixture. These rows +drive the same points on the E2E fixture (desk required, desk key created, CPU-reference backend, CAND-4 model) +and write receipts in the E2E chain format. + +The hold is in the `aien compose execute` process (the executor), not in the daemon. "Kill" below means: +SIGKILL the daemon (exit 137), then SIGKILL the held executor (exit 137), i.e. the whole host dies at that point, +as C2c does; for `before_intent` the hold is released after the daemon is dead, as C2a does. + +## 2. Fixture and build + +One build: `cargo build --release -p aien-cli --features aien-cli/fault-hold` into its own target dir, compose +archive linked (a stub build is refused), no accelerator archive. The daemon must print a `CPU-reference` +backend line. One real `compose propose` of the objective "Write a file named done.md in the outbox folder +containing one line: finished." (the E6 objective of the E2E harness) makes the fixture; the fixture (compose +home, sibling `.machine-root` and `.cortex-mark`, run home with the desk key, workspace, proposal report) is +byte-copied into each row, so each row has its own state, its own socket and its own daemon. A grant is minted +per row by `compose authorize --desk 1`. + +Counting rules. `effects` = number of `done.md` files in the row workspace. `duplicates` = 1 if a second effect +happened (more than one file, or the file's inode, size or mtime changed after the first effect), else 0. +`effects_before_kill` is counted at the kill, `effects_after_restart` at the end of the row. + +## 3. Rows and predictions + +| row | injection | PASS iff | prediction | +|---|---|---|---| +| E6-before_intent | hold executor at `before_intent`; SIGKILL daemon (137); release hold | executor refuses (`ok:false`) and writes nothing; no intent in the ledger; restart; the same grant executes to `DONE`; `done.md` once; next execute `AlreadySpent`; `duplicates` 0 | PASS (as C2a) | +| E6-after_intent | hold at `after_intent`; SIGKILL daemon then executor; restart | no write before restart; the result is one of the named outcomes and is recorded: (a) `ReconciliationRequired`, then `compose reconcile`, then exactly one effect; (b) `AlreadySpent` with `done.md` present once; (c) `AlreadySpent` with `done.md` absent (reconcile recorded `NOT_DONE`), then a new grant executes exactly once. Never two effects | PASS via outcome (c): restart `Reconcile:` line says `NOT_DONE 1`, same grant `AlreadySpent`, file absent, a new grant finishes once (as C2c). The brief's wording (a) or (b) would show if the engine differs; the row records which | +| E6-after_write | hold at `after_write`; SIGKILL daemon then executor; restart | `done.md` exists once before restart; restart reconcile records `DONE`; the same grant `AlreadySpent`; file stat unchanged; ledger shows the grant spent once; `duplicates` 0 | PASS (as C2d) | +| CTRL-E6 | as E6-after_write, then replace the compose home by an empty directory (the journal `cortex.cx` and everything the daemon reconciles from are gone; the sibling record mark stays), restart, execute the same grant | the daemon refuses to start with a name, or the execute is refused with a name (`ReconciliationRequired`, `E_MARK_TRUNCATED`, `ReconcileFailed` or another refusal name); `done.md` stat unchanged; state not `DONE`; never a silent success | PASS with `E_MARK_TRUNCATED` (as CTRL-E4 of dry run 2 measured on the same code) | +| CTRL-E6b | as CTRL-E6, and the sibling record mark `.cortex-mark` is removed too (total state loss, worst case) | the execute is refused with a name, or the daemon refuses to start; `done.md` stat unchanged; not `DONE` | UNKNOWN. If the home opens fresh, the grant itself is gone, so a refusal naming an unknown or stale grant is expected; recorded either way, name included | +| FAULT-reconcile_error | grant minted, daemon stopped gracefully, daemon restarted with `AIEN_FAULT_HOLD=reconcile_error` | start line `Reconcile: refused: fault hold reconcile_error`; execute refused `ReconcileFailed`; no write; no intent; grant unspent: after `compose reconcile` (ok) the same grant executes once to `DONE`; next execute `AlreadySpent` | PASS (as C7a) | +| FAULT-reconcile_panic | same, restarted with `AIEN_FAULT_HOLD=reconcile_panic` | daemon exits non-zero by itself, log names `fault hold reconcile_panic`; nothing serves the socket (an execute fails to connect, recorded as the refusal); no write; restart without the hold; the grant is unspent: same grant executes once to `DONE` | PASS (as C7c) | + +## 4. Receipts + +`chain/NNN-step.json` for `PRE`, then each row, with the chain fields of the E2E harness (`objective_id`, +`run_id`, `step`, `status`, `utc`, `prev_receipt_sha256`, `evidence`, `repo_commit`, `daemon_sha256`, +`cli_sha256`, `model_weights_digest`, `tokenizer_sha256`, `backend_line`, `host`) plus, on each row: +`kill_point`, `restart_count`, `effects_before_kill`, `effects_after_restart`, `duplicates`, `grant_id`, and +the refusal names seen. `chain/SHA256SUMS` covers every file of the run folder. The `objective_id` is +`sha256("AIEN_E2E_FAULTS_OBJECTIVE_V1\n" + objective text)`, a different identity from the E2E run. + +## 5. Rules + +One attempt per row (the fixture proposal may be retried once if the model fails to commit). A FAIL row is +recorded, not fixed silently. An engine bug found here becomes an issue with the receipt; the row stays FAIL. +No engine change in this change. The harness kills only the daemon and executor processes it started itself. +What a PASS shows: the engine's crash boundaries on the CPU-reference build with fault-hold. What it does not +show: the accelerator path, an installed artifact, the release build (the hold points are compiled out of it), +or any step of the contract as PASS. diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/VERDICT_ROWS.txt b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/VERDICT_ROWS.txt new file mode 100644 index 00000000..7b3bfaf6 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/VERDICT_ROWS.txt @@ -0,0 +1,15 @@ +objective_id 3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890 +E6-before_intent PASS +E6-after_intent PASS +E6-after_write PASS +CTRL-E6 PASS +CTRL-E6b PASS +FAULT-reconcile_error PASS +FAULT-reconcile_panic PASS +E6-revoke_durable PASS +E6-stop_durable PASS +E6-desk_after_restart PASS +E6-objective_bound_after_intent PASS +E6-objective_missing_after_intent PASS +E6-objective_altered_before_intent PASS +E6-objective_after_write PASS diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/L1.json new file mode 100644 index 00000000..9c8db861 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/L1.json @@ -0,0 +1 @@ +{"error":"compose home /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/CTRL-E6/compose refused: Cortex journal holds 0 records, its record mark says 24: 24 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 6). Run RecoverComposeHome (aien compose recover)","ok":false,"step":"effects"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/authorize-1.json new file mode 100644 index 00000000..46478f6e --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"508e4c0497d633ca783003ce629ee36d00acf85dd80a1ac55d25a7d783646691","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"141c24e32f79242321d0257df9b04439c69aa13790ec5e8156044b617cddcabd"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/CTRL-E6/prov/1791686193615403265-1465334.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"bf77e9fa5f8e5f672b3cc96db95daf8c3c7a77b86da2c07e4c9675593757e87b","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/ctl.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/ctl.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/ctl.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/ctl.json new file mode 100644 index 00000000..fd5bd78a --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/ctl.json @@ -0,0 +1 @@ +{"error":"compose home /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/CTRL-E6/compose refused: Cortex journal holds 0 records, its record mark says 24: 24 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark seq 6). Run RecoverComposeHome (aien compose recover)","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/L1.json new file mode 100644 index 00000000..873bb611 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/authorize-1.json new file mode 100644 index 00000000..534410d6 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"95f8d17272dc3bb0556a07f5a04c7556b222b47f15ae948e96b5601c785bee10","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"6dc9a44a823d97c568ad31fbd434fa3fde9c9ccd1209db9bb16804b51e5ace7a"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/CTRL-E6b/prov/1791686243607139564-1468664.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"69dc40fef16c6e4559fdbeee9ef76bcb9323566b363ab653340f5941e6acc4a5","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/ctl.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/ctl.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/ctl.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/ctl.json new file mode 100644 index 00000000..7e8ed58f --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/ctl.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED NotAuthorized: cortex.cx#23 is not a verified authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/CTRL-E6b/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/L1.json new file mode 100644 index 00000000..d660acb2 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1458439,"start":39980387},"intent":24,"path":"outbox/done.md","prior_sha256":null,"state":"NOT_DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/L2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/L2.json new file mode 100644 index 00000000..12438713 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/L2.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1458439,"start":39980387},"intent":24,"path":"outbox/done.md","prior_sha256":null,"state":"NOT_DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"},{"authorization":31,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1460344,"start":39982886},"intent":32,"path":"outbox/done.md","prior_sha256":null,"state":"DONE","state_record":33,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-1.json new file mode 100644 index 00000000..141191a4 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"cd26f7fd267cc467dfc40c5f083c819a992f2ebfa2c1b03f2cd17ceaecbd187d","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"ef94d3c1999c107b339e650f269f376c67b90c1a03799770a6166c566c14fc61"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-after_intent/prov/1791686093453907447-1458414.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"23c3970a3e5bda570800425ee54f8995ca81d77993abd782d190bec7d347c35a","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-2.json new file mode 100644 index 00000000..a6ad8816 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/authorize-2.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"8bcd0e98d00309fc9300446464197e1b632f2d5246c428ee823867875490c6d9","id":31,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"8a44add5443068a9ea19afc0f4d7e08b3760c8f6750302583272a2cdcef6c989"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-after_intent/prov/1791686118447931885-1460320.json","result_digest":"sha256:7c309de0ccb169099cba95837e4a87bcc94b3edf82d2acb4f12603df4c6d4f23","sha256":"e722daf07e4742aa645dcec3d739e37c7877753e03090050b98e8d3a0ae1fe99","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/new.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/new.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/new.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/new.json new file mode 100644 index 00000000..cf1ae291 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/new.json @@ -0,0 +1 @@ +{"ack_error":null,"bytes":9,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","disk_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","effect":{"id":33},"intent":{"digest":"1fb969fb152ae8d3dae7c7cf55ec156cd917ebe8d5b8705e382f0dd3bc604254","id":32,"kind":"effect","links":[31],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"f9dff9cd90a0ff78fcbeaca0fa465f6f2517476832ce73905a3a112a9a9b8caf"},"ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md","receipt":{"arguments_digest":"sha256:39707f372536fea959901fbba978d7f49a495cf5dace691f0111d5e5f95d11aa","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-after_intent/prov/1791686118477747567-1460344.json","result_digest":"sha256:3d6a9ea4d1cc72d4045d8725fd4f1d644c0050b7c0d2cf6ccc1e6dabf9e1484f","sha256":"46ee948012c59f01f445bbcc9f71b6a42fd57aa9fef1166ea0eac130aad982e4","success":true,"tool":"write_file"},"state":"DONE","step":"S5"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/newagain.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/newagain.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/newagain.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/newagain.json new file mode 100644 index 00000000..f665f3f1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/newagain.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #31 was spent by intent #32 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/r1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/r1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/r1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/r1.json new file mode 100644 index 00000000..be646bbb --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_intent/r1.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #24 (NOT_DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/L1.json new file mode 100644 index 00000000..c6225dbc --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1461891,"start":39985403},"intent":24,"path":"outbox/done.md","prior_sha256":null,"state":"DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/L2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/L2.json new file mode 100644 index 00000000..c6225dbc --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/L2.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1461891,"start":39985403},"intent":24,"path":"outbox/done.md","prior_sha256":null,"state":"DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/again.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/again.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/again.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/again.json new file mode 100644 index 00000000..1a052b0b --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/again.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #24 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/authorize-1.json new file mode 100644 index 00000000..0a50ee03 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"32f24f4d3104f72cc8382fc72c7df9a8689037e0b6faf8e198d58a47f69e2430","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"b3f300dcc9ac3ed91a5ca6ec3453c1316cc2315034825c6acaef5c102f172e12"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-after_write/prov/1791686143619391079-1461866.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"6f8dc13be8a4a76e5369570f515cd4d07fc12b9433da50d086fea3f11bb8e605","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-after_write/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/L1.json new file mode 100644 index 00000000..873bb611 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/L2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/L2.json new file mode 100644 index 00000000..ae861860 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/L2.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1457021,"start":39977878},"intent":29,"path":"outbox/done.md","prior_sha256":null,"state":"DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/again.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/again.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/again.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/again.json new file mode 100644 index 00000000..4fe7346c --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/again.json @@ -0,0 +1 @@ +{"ack_error":null,"bytes":9,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","disk_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","effect":{"id":30},"intent":{"digest":"6c50c29760001f7df04c08cef502aabfead95cc8351ccfd97851957ee2e08721","id":29,"kind":"effect","links":[23],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"f9526936dee84b4b3ea63428a92a5857a00276b4d10403f21f7945656046216d"},"ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md","receipt":{"arguments_digest":"sha256:3b4d6d4a71f6fc727f400d841ac6c0b581e22baffe8d8202dd45b0a95ea8aab0","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-before_intent/prov/1791686068410546503-1457021.json","result_digest":"sha256:06c83de4e9e63b814f5b02a62995f6d0c8f66bd3f5d34a8ed2ae7dc3df11305b","sha256":"3161fb54aeba4df065b51bb632f3dac05711b17db5eca6d8845e10e1b36d9d5b","success":true,"tool":"write_file"},"state":"DONE","step":"S5"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/authorize-1.json new file mode 100644 index 00000000..c815293a --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"8e53cb49d7648f0746d131eafd23f4c73380e12e24f32005c8d5049de89b7933","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"93029e169c29c347ad42bb5daa4076fda089fc464ec60755c7aad087f2ba2e34"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-before_intent/prov/1791686043434039926-1455054.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"2652a093dea9df4ac17b052bcb896e004677761d6a0cd2f7bf876fa0a34096cc","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/held.json new file mode 100644 index 00000000..055c4d2e --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/held.json @@ -0,0 +1 @@ +{"error":"Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-before_intent/s: No such file or directory (os error 2)","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/third.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/third.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/third.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/third.json new file mode 100644 index 00000000..be825116 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-before_intent/third.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #29 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-1.json new file mode 100644 index 00000000..2beafb2a --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"fa50daad899660339b71551386d897b6698ce8ebc765cad1a658a1f1f5b5d2b8","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"c0e8cb07e518991a0269df8d001c2cf3b7ec018162387311ee22823583e1732c"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-desk_after_restart/prov/1791686519771133452-1505840.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"e4e802d089ec772d1f6b5dfd3eca2e38a382c57bbc5554aa9e6634806f96bd68","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-desk.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-desk.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-desk.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-desk.json new file mode 100644 index 00000000..94e845d3 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-desk.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadyAuthorized: grant #23 for this proposal is still live; revoke it first","ok":false,"step":"authorize"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-nodesk.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-nodesk.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-nodesk.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-nodesk.json new file mode 100644 index 00000000..cff9fc09 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/authorize-nodesk.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED DeskMacRequired: this daemon requires the approval desk MAC on ComposeAuthorize (AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK=1); none was supplied","ok":false,"step":"authorize"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d1.json new file mode 100644 index 00000000..5de996e1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d1.json @@ -0,0 +1 @@ +{"ack_error":null,"bytes":9,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","disk_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","effect":{"id":30},"intent":{"digest":"0a58207ee3ca2bd620da16586b5d8f0e023c61be0ef77b42b316e5f6e9f4caea","id":29,"kind":"effect","links":[23],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"8680a77a8c1111a4ce7d1bfeda17887915330480f804c2a1686510dc1dedc15c"},"ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md","receipt":{"arguments_digest":"sha256:3b4d6d4a71f6fc727f400d841ac6c0b581e22baffe8d8202dd45b0a95ea8aab0","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-desk_after_restart/prov/1791686544716545401-1507594.json","result_digest":"sha256:06c83de4e9e63b814f5b02a62995f6d0c8f66bd3f5d34a8ed2ae7dc3df11305b","sha256":"14c0600518c29ca8b5f7c05d54a9b8d4f02233ad8f8d1fcd62c095618941b592","success":true,"tool":"write_file"},"state":"DONE","step":"S5"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d2.json new file mode 100644 index 00000000..be825116 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/d2.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #29 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-desk_after_restart/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/L1.json new file mode 100644 index 00000000..1a4a0c2b --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1520301,"start":40043031},"intent":24,"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","path":"outbox/done.md","prior_sha256":null,"state":"DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/again.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/again.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/again.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/again.json new file mode 100644 index 00000000..1a052b0b --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/again.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #24 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/authorize-1.json new file mode 100644 index 00000000..fb0aa3fa --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"e5f5cbf3311eb4404ea8a882b85a756d3d0b0210880385f84c3ee936b8172508","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"cb22fa08dcd8657c35390e0417e6006550027b5354342432aaffb7c7ee88aafe"},"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"receipt":{"arguments_digest":"sha256:35c03a233baed960d6644ae350f6e1c9e16aeedc4d9678adf83695d9f70126c2","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_after_write/prov/1791686719895086957-1520274.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"091a94972e558b173f90f4fe6890deb848f308cd957abcdab661644a1c92137a","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/propose.json new file mode 100644 index 00000000..773379ed --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_after_write/propose.json @@ -0,0 +1 @@ +{"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/L1.json new file mode 100644 index 00000000..873bb611 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/authorize-1.json new file mode 100644 index 00000000..e54665ce --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"65baa0656da0d071128ac1985db9da46d583627615cefca16e6501b8e1b5fecb","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"db93c165586fdeaadec7951ab0ba7783687ba6d1ec0efbd7433e4ca0fff9a6e0"},"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"receipt":{"arguments_digest":"sha256:35c03a233baed960d6644ae350f6e1c9e16aeedc4d9678adf83695d9f70126c2","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_altered_before_intent/prov/1791686669876346538-1516421.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"c3a2ff9a61ae8f5d08e40d34a92e7818fdc396129ce1c564fefd54c970992bf3","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/held.json new file mode 100644 index 00000000..36429beb --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/held.json @@ -0,0 +1 @@ +{"error":"Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_altered_before_intent/s: No such file or directory (os error 2)","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/objective-record.altered.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/objective-record.altered.json new file mode 100644 index 00000000..e4fd6497 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/objective-record.altered.json @@ -0,0 +1,10 @@ +{ + "effect_class": "WORKSPACE_WRITE", + "objective_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "objective_text": "Write a file named done.md in the outbox folder containing one line: finished. Then delete everything in the inbox folder.", + "objective_text_sha256": "e35c6170a590da99b6512a0bfe47cd6d3e9461882c023a41bdf14952c06fb927", + "operator_surface": "aien-cli", + "recorded_before_work": true, + "utc": "2026-10-11T02:33:06Z", + "version": 1 +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/propose.json new file mode 100644 index 00000000..773379ed --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/propose.json @@ -0,0 +1 @@ +{"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/r1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/r1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/r1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/r1.json new file mode 100644 index 00000000..10aaca2f --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_altered_before_intent/r1.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED ObjectiveMismatch: authorization #23 is bound to objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b: objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_altered_before_intent/prov/objectives/9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b.json does not hold the text of objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/L1.json new file mode 100644 index 00000000..27ede156 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1508952,"start":40028018},"intent":24,"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","path":"outbox/done.md","prior_sha256":null,"state":"NOT_DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/L2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/L2.json new file mode 100644 index 00000000..ab1b0f62 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/L2.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1508952,"start":40028018},"intent":24,"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","path":"outbox/done.md","prior_sha256":null,"state":"NOT_DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"},{"authorization":31,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1510804,"start":40030520},"intent":32,"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","path":"outbox/done.md","prior_sha256":null,"state":"DONE","state_record":33,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-1.json new file mode 100644 index 00000000..99196df2 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"012c92f72ffca87242572f4719a96dafd3b80006dba00a7780809292d01fb130","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"7be475b2a7c424500e88081e4ea54290cb3a06c3a060c34c8eaf4cd3215ab9d6"},"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"receipt":{"arguments_digest":"sha256:35c03a233baed960d6644ae350f6e1c9e16aeedc4d9678adf83695d9f70126c2","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_bound_after_intent/prov/1791686569769257246-1508927.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"a3d75268b17e3642f9245112352ef25789509c81f62af36976428e5bd86d32a9","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-2.json new file mode 100644 index 00000000..c19ea686 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/authorize-2.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"bf63f5ceffdae7efda038ba2d916b168872d2608339d88012c1d72a321dd73a0","id":31,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"88a72bb1fa30dca539c76469ff8662d4f5da18345d21adfb9711beb2555b1c9c"},"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"receipt":{"arguments_digest":"sha256:35c03a233baed960d6644ae350f6e1c9e16aeedc4d9678adf83695d9f70126c2","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_bound_after_intent/prov/1791686594784334432-1510756.json","result_digest":"sha256:7c309de0ccb169099cba95837e4a87bcc94b3edf82d2acb4f12603df4c6d4f23","sha256":"1d39eed4f637ef440560d1d874c4e4b0c13b7a3b3a8ed60c004a344efcb82a72","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new-write_file-receipt.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new-write_file-receipt.json new file mode 100644 index 00000000..e1d0b796 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new-write_file-receipt.json @@ -0,0 +1,9 @@ +{ + "arguments_digest": "sha256:63cdb2381e7461d68b5f9551f3a85c4a2ad204a49c86bbb157f2b4e391204fce", + "policy": "default_sovereign_engine", + "result_digest": "sha256:3d6a9ea4d1cc72d4045d8725fd4f1d644c0050b7c0d2cf6ccc1e6dabf9e1484f", + "success": true, + "timestamp": "2026-10-11T02:43:14.824613657+00:00", + "tool": "write_file", + "version": 1 +} \ No newline at end of file diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new.json new file mode 100644 index 00000000..735d8fcf --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/new.json @@ -0,0 +1 @@ +{"ack_error":null,"bytes":9,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","disk_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","effect":{"id":33},"intent":{"digest":"b8b8a9f0d9987d0638f9840474ea4c51744bb6367476156c9614de21faee26c5","id":32,"kind":"effect","links":[31],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"23b47cf39ad3fc189a806e18f56f181e48b525a1c6c59760cdc0ab7cad25e583"},"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md","receipt":{"arguments_digest":"sha256:63cdb2381e7461d68b5f9551f3a85c4a2ad204a49c86bbb157f2b4e391204fce","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_bound_after_intent/prov/1791686594824618553-1510804.json","result_digest":"sha256:3d6a9ea4d1cc72d4045d8725fd4f1d644c0050b7c0d2cf6ccc1e6dabf9e1484f","sha256":"aa07e144059a32eb450fe5dbc8d8795e14253e97c7732b7a348346bade0e172d","success":true,"tool":"write_file"},"state":"DONE","step":"S5"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/newagain.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/newagain.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/newagain.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/newagain.json new file mode 100644 index 00000000..f665f3f1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/newagain.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #31 was spent by intent #32 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/objective-show.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/objective-show.json new file mode 100644 index 00000000..64699c8a --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/objective-show.json @@ -0,0 +1 @@ +{"effect_class":"WORKSPACE_WRITE","objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","objective_text":"Write a file named done.md in the outbox folder containing one line: finished.","objective_text_sha256":"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054","ok":true,"operator_surface":"aien-cli","recorded_before_work":true,"utc":"2026-10-11T02:33:06Z","version":1} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/propose.json new file mode 100644 index 00000000..773379ed --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/propose.json @@ -0,0 +1 @@ +{"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/r1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/r1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/r1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/r1.json new file mode 100644 index 00000000..be646bbb --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/r1.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #24 (NOT_DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G.json new file mode 100644 index 00000000..98a683c8 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G.json @@ -0,0 +1 @@ +{"authorizations":[{"digest":"012c92f72ffca87242572f4719a96dafd3b80006dba00a7780809292d01fb130","id":23,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"e828c81ca9b9f49130557506aa33357f\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true}],"constraints":[],"effects":[{"digest":"88ffaf37035d79d70de2b21daa03bc85a9e497b4dd3709fb55115962f3b08bf1","id":16,"text":"{\"attempt\":1,\"daemon\":{\"pid\":1451265,\"start_ticks\":39969706,\"started_unix_ms\":\"1791686004771\"},\"decoding\":{\"greedy_tokens\":8,\"mode\":\"greedy\",\"sampled_tokens\":0},\"finish_reason\":\"eos\",\"generation\":1,\"model_digest_kind\":\"file\",\"model_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"model_sha256\":\"1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"operation_id\":\"0\",\"ops\":{\"backend\":\"ReferenceCpuBackend\",\"native_fallbacks\":0,\"reference_runs\":0,\"report\":\"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]\",\"scope\":\"process\"},\"origin\":\"compose_proposal\",\"output_text_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"output_token_ids_sha256\":\"2ec2b1a2002726026aecc6203aac620fda184792ce6cfa930ec80082453537b5\",\"output_tokens\":7,\"prompt_ids_sha256\":\"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8\",\"request_id\":0,\"task\":6875776151960783043,\"tokenizer_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"tokenizer_sha256\":\"6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"total_tokens\":126,\"v\":1}","verified":true},{"digest":"0f36a4f95f5be66863cbe8dab3c1cd688ce13a0985f276605210451e6c28464e","id":17,"text":"{\"compose_commit\":1,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"goal_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"task\":6875776151960783043,\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"digest":"4091d781ab0376df433fec2b4f4834f5bfef2217e2b3c5e5c8cf411f6b7dda99","id":24,"text":"{\"authorization\":23,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"executor\":{\"pid\":1508952,\"start\":40028018},\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"phase\":\"intent\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"tool\":\"write_file\"}","verified":true},{"digest":"840746223c91a9b7ee7446472943e09e373c8ae1fcd07d96c4d0d43bcbc92867","id":30,"text":"{\"authorization\":23,\"by\":\"reconcile@start\",\"disk_error\":null,\"disk_sha256\":null,\"intent\":24,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record\":\"bound\",\"phase\":\"reconcile\",\"state\":\"NOT_DONE\",\"world\":\"NOT_DONE\"}","verified":true}],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items":[],"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"ok":true,"recall":{"cited":[{"cls":6,"digest":"012c92f72ffca87242572f4719a96dafd3b80006dba00a7780809292d01fb130","id":23,"kind":65556,"links":[17,0,0,0],"note":"authorization","subject":0,"tag":3,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"e828c81ca9b9f49130557506aa33357f\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true}],"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_bound_after_intent/compose","compose_native":true,"host":[{"cls":6,"digest":"88ffaf37035d79d70de2b21daa03bc85a9e497b4dd3709fb55115962f3b08bf1","id":16,"kind":65554,"links":[0,0,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"attempt\":1,\"daemon\":{\"pid\":1451265,\"start_ticks\":39969706,\"started_unix_ms\":\"1791686004771\"},\"decoding\":{\"greedy_tokens\":8,\"mode\":\"greedy\",\"sampled_tokens\":0},\"finish_reason\":\"eos\",\"generation\":1,\"model_digest_kind\":\"file\",\"model_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"model_sha256\":\"1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"operation_id\":\"0\",\"ops\":{\"backend\":\"ReferenceCpuBackend\",\"native_fallbacks\":0,\"reference_runs\":0,\"report\":\"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]\",\"scope\":\"process\"},\"origin\":\"compose_proposal\",\"output_text_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"output_token_ids_sha256\":\"2ec2b1a2002726026aecc6203aac620fda184792ce6cfa930ec80082453537b5\",\"output_tokens\":7,\"prompt_ids_sha256\":\"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8\",\"request_id\":0,\"task\":6875776151960783043,\"tokenizer_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"tokenizer_sha256\":\"6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"total_tokens\":126,\"v\":1}","verified":true},{"cls":6,"digest":"0f36a4f95f5be66863cbe8dab3c1cd688ce13a0985f276605210451e6c28464e","id":17,"kind":65554,"links":[14,13,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"compose_commit\":1,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"goal_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"task\":6875776151960783043,\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"cls":6,"digest":"012c92f72ffca87242572f4719a96dafd3b80006dba00a7780809292d01fb130","id":23,"kind":65556,"links":[17,0,0,0],"note":"authorization","subject":0,"tag":3,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"e828c81ca9b9f49130557506aa33357f\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"cls":6,"digest":"4091d781ab0376df433fec2b4f4834f5bfef2217e2b3c5e5c8cf411f6b7dda99","id":24,"kind":65554,"links":[23,0,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"authorization\":23,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"executor\":{\"pid\":1508952,\"start\":40028018},\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"phase\":\"intent\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"tool\":\"write_file\"}","verified":true},{"cls":6,"digest":"840746223c91a9b7ee7446472943e09e373c8ae1fcd07d96c4d0d43bcbc92867","id":30,"kind":65554,"links":[24,23,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"authorization\":23,\"by\":\"reconcile@start\",\"disk_error\":null,\"disk_sha256\":null,\"intent\":24,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record\":\"bound\",\"phase\":\"reconcile\",\"state\":\"NOT_DONE\",\"world\":\"NOT_DONE\"}","verified":true}],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","missing":[],"omega_sha":"6c6180cf378075b61291f4565d226eba38b4decd","prefix":null,"prefix_digest":null,"records_total":30},"repairs":[],"step":"S8"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G2.json new file mode 100644 index 00000000..2989cd5f --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_bound_after_intent/recall-G2.json @@ -0,0 +1 @@ +{"authorizations":[{"digest":"012c92f72ffca87242572f4719a96dafd3b80006dba00a7780809292d01fb130","id":23,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"e828c81ca9b9f49130557506aa33357f\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"digest":"bf63f5ceffdae7efda038ba2d916b168872d2608339d88012c1d72a321dd73a0","id":31,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"f2326590da9deef2ff3dd00456a3c459\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true}],"constraints":[],"effects":[{"digest":"88ffaf37035d79d70de2b21daa03bc85a9e497b4dd3709fb55115962f3b08bf1","id":16,"text":"{\"attempt\":1,\"daemon\":{\"pid\":1451265,\"start_ticks\":39969706,\"started_unix_ms\":\"1791686004771\"},\"decoding\":{\"greedy_tokens\":8,\"mode\":\"greedy\",\"sampled_tokens\":0},\"finish_reason\":\"eos\",\"generation\":1,\"model_digest_kind\":\"file\",\"model_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"model_sha256\":\"1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"operation_id\":\"0\",\"ops\":{\"backend\":\"ReferenceCpuBackend\",\"native_fallbacks\":0,\"reference_runs\":0,\"report\":\"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]\",\"scope\":\"process\"},\"origin\":\"compose_proposal\",\"output_text_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"output_token_ids_sha256\":\"2ec2b1a2002726026aecc6203aac620fda184792ce6cfa930ec80082453537b5\",\"output_tokens\":7,\"prompt_ids_sha256\":\"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8\",\"request_id\":0,\"task\":6875776151960783043,\"tokenizer_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"tokenizer_sha256\":\"6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"total_tokens\":126,\"v\":1}","verified":true},{"digest":"0f36a4f95f5be66863cbe8dab3c1cd688ce13a0985f276605210451e6c28464e","id":17,"text":"{\"compose_commit\":1,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"goal_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"task\":6875776151960783043,\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"digest":"4091d781ab0376df433fec2b4f4834f5bfef2217e2b3c5e5c8cf411f6b7dda99","id":24,"text":"{\"authorization\":23,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"executor\":{\"pid\":1508952,\"start\":40028018},\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"phase\":\"intent\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"tool\":\"write_file\"}","verified":true},{"digest":"840746223c91a9b7ee7446472943e09e373c8ae1fcd07d96c4d0d43bcbc92867","id":30,"text":"{\"authorization\":23,\"by\":\"reconcile@start\",\"disk_error\":null,\"disk_sha256\":null,\"intent\":24,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record\":\"bound\",\"phase\":\"reconcile\",\"state\":\"NOT_DONE\",\"world\":\"NOT_DONE\"}","verified":true}],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items":[],"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"ok":true,"recall":{"cited":[{"cls":6,"digest":"bf63f5ceffdae7efda038ba2d916b168872d2608339d88012c1d72a321dd73a0","id":31,"kind":65556,"links":[17,0,0,0],"note":"authorization","subject":0,"tag":3,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"f2326590da9deef2ff3dd00456a3c459\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true}],"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_bound_after_intent/compose","compose_native":true,"host":[{"cls":6,"digest":"88ffaf37035d79d70de2b21daa03bc85a9e497b4dd3709fb55115962f3b08bf1","id":16,"kind":65554,"links":[0,0,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"attempt\":1,\"daemon\":{\"pid\":1451265,\"start_ticks\":39969706,\"started_unix_ms\":\"1791686004771\"},\"decoding\":{\"greedy_tokens\":8,\"mode\":\"greedy\",\"sampled_tokens\":0},\"finish_reason\":\"eos\",\"generation\":1,\"model_digest_kind\":\"file\",\"model_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"model_sha256\":\"1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f\",\"operation_id\":\"0\",\"ops\":{\"backend\":\"ReferenceCpuBackend\",\"native_fallbacks\":0,\"reference_runs\":0,\"report\":\"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]\",\"scope\":\"process\"},\"origin\":\"compose_proposal\",\"output_text_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"output_token_ids_sha256\":\"2ec2b1a2002726026aecc6203aac620fda184792ce6cfa930ec80082453537b5\",\"output_tokens\":7,\"prompt_ids_sha256\":\"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8\",\"request_id\":0,\"task\":6875776151960783043,\"tokenizer_path\":\"/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/blobs/6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"tokenizer_sha256\":\"6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b\",\"total_tokens\":126,\"v\":1}","verified":true},{"cls":6,"digest":"0f36a4f95f5be66863cbe8dab3c1cd688ce13a0985f276605210451e6c28464e","id":17,"kind":65554,"links":[14,13,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"compose_commit\":1,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"goal_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"task\":6875776151960783043,\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"cls":6,"digest":"012c92f72ffca87242572f4719a96dafd3b80006dba00a7780809292d01fb130","id":23,"kind":65556,"links":[17,0,0,0],"note":"authorization","subject":0,"tag":3,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"e828c81ca9b9f49130557506aa33357f\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true},{"cls":6,"digest":"4091d781ab0376df433fec2b4f4834f5bfef2217e2b3c5e5c8cf411f6b7dda99","id":24,"kind":65554,"links":[23,0,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"authorization\":23,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"executor\":{\"pid\":1508952,\"start\":40028018},\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"phase\":\"intent\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"tool\":\"write_file\"}","verified":true},{"cls":6,"digest":"840746223c91a9b7ee7446472943e09e373c8ae1fcd07d96c4d0d43bcbc92867","id":30,"kind":65554,"links":[24,23,0,0],"note":"effect","subject":0,"tag":4,"text":"{\"authorization\":23,\"by\":\"reconcile@start\",\"disk_error\":null,\"disk_sha256\":null,\"intent\":24,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record\":\"bound\",\"phase\":\"reconcile\",\"state\":\"NOT_DONE\",\"world\":\"NOT_DONE\"}","verified":true},{"cls":6,"digest":"bf63f5ceffdae7efda038ba2d916b168872d2608339d88012c1d72a321dd73a0","id":31,"kind":65556,"links":[17,0,0,0],"note":"authorization","subject":0,"tag":3,"text":"{\"approver\":\"drake\",\"compose_commit\":17,\"content_sha256\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"cx_evidence\":13,\"cx_promotion\":14,\"desk_key_id\":\"4d43e76a813b3f79\",\"desk_nonce\":\"f2326590da9deef2ff3dd00456a3c459\",\"minted_grant\":1,\"objective_id\":\"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b\",\"objective_record_sha256\":\"86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696\",\"objective_text_sha256\":\"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054\",\"path\":\"outbox/done.md\",\"prior_sha256\":null,\"proposal_sha256\":\"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4\",\"provenance\":{\"allen_agent\":\"none\",\"generation_record\":16},\"target\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md\",\"workspace\":\"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws\"}","verified":true}],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","missing":[],"omega_sha":"6c6180cf378075b61291f4565d226eba38b4decd","prefix":null,"prefix_digest":null,"records_total":31},"repairs":[],"step":"S8"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/L1.json new file mode 100644 index 00000000..4916fa64 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[{"authorization":23,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","executor":{"pid":1512383,"start":40033029},"intent":24,"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","path":"outbox/done.md","prior_sha256":null,"state":"NOT_DONE","state_record":30,"target":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md"}],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-1.json new file mode 100644 index 00000000..39f5efa3 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"25193fcf046211cd9d21baab86748f03c1eccf8347e46ab69c01ce5f73eec26c","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"226c3843e18a96a29e61f3246d1e7de2e4e0bbc04dc73bf75692779474176fe9"},"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"receipt":{"arguments_digest":"sha256:35c03a233baed960d6644ae350f6e1c9e16aeedc4d9678adf83695d9f70126c2","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_missing_after_intent/prov/1791686619881091558-1512358.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"10819d42b5033afaccc9585dd737e3091cafcc0c448f256fec0abca49fc8395e","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-2.json new file mode 100644 index 00000000..d40c3ac3 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/authorize-2.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED ObjectiveMissing: objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_missing_after_intent/prov/objectives/9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b.json: No such file or directory (os error 2)","ok":false,"step":"authorize"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/held.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/held.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/held.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/held.json new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/objective-show.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/objective-show.err new file mode 100644 index 00000000..814e6f88 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/objective-show.err @@ -0,0 +1 @@ +OBJECTIVE_REFUSED ObjectiveMissing: no objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_missing_after_intent/prov/objectives/9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b.json diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/objective-show.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/objective-show.json new file mode 100644 index 00000000..a1c285f3 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/objective-show.json @@ -0,0 +1 @@ +{"error":"OBJECTIVE_REFUSED ObjectiveMissing: no objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_missing_after_intent/prov/objectives/9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b.json","ok":false,"refusal":"ObjectiveMissing"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/propose.json new file mode 100644 index 00000000..773379ed --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-objective_missing_after_intent/propose.json @@ -0,0 +1 @@ +{"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/L1.json new file mode 100644 index 00000000..16ffeba1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[{"authorization":23,"record":24}],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/authorize-1.json new file mode 100644 index 00000000..97e13367 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"1176da24032c6eb6e8d4cf23da6a230498d2f5079869dd1e98eef3fc59c4ca1b","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"501de0f624e150c30bb84d316556f4deae191e7fc69f6d814180e37a82e78000"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-revoke_durable/prov/1791686419800423675-1498372.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"9b73144f66d6c75c25b4671fa051fb70a34f10778de2a22b5b36c0e2e4734586","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/r1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/r1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/r1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/r1.json new file mode 100644 index 00000000..6901ce30 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/r1.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED Revoked: authorization #23 revoked by #24","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/revoke.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/revoke.json new file mode 100644 index 00000000..c2ba1305 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-revoke_durable/revoke.json @@ -0,0 +1 @@ +{"control":{"action":"revoke","recorded":{"digest":"2da4c2be2dab315799395d5868c8a214edf416a67014e46ef7ca100a88de868e","id":24,"kind":"authorization","links":[23],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"202cd06e878adaff1cb7e0d0cdae6352e623dba014ef108a44e2cf0ea133fb15"},"revoked":true},"ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/L1.json new file mode 100644 index 00000000..ac705091 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":24,"stops":[24]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/authorize-1.json new file mode 100644 index 00000000..e7ac4053 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"105ff9bd6b9aa02bf5d032564043af62a8c56ad8b1c2bb30260f82186d3a1bc5","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"85726fe411571e30ec4e14dbb6edf49e69265f571e707cab142755174839c142"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-stop_durable/prov/1791686469803364559-1502741.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"2cd4a8246347f9152b13d8bbc7f111bd3867f965e992d89f182f4cf99e009657","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/resume.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/resume.json new file mode 100644 index 00000000..475760ec --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/resume.json @@ -0,0 +1 @@ +{"control":{"action":"resume","recorded":{"digest":"ca7e2f6494b2db539e196e23ca2297515d22bbe77ab2b924d53a56e4008de145","id":30,"kind":"authorization","links":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"e32016d42341d64ae127c81efa694a96db0df74a56405ed76bbb3c5f7f1813d0"},"revoked":null},"ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s1.json new file mode 100644 index 00000000..9ffe9c78 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s1.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED Stopped: operator stop #24 is in force; resume needs an authorized operator","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s2.json new file mode 100644 index 00000000..04517a44 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/s2.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED Stale: authorization #23 predates operator stop #24","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/stop.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/stop.json new file mode 100644 index 00000000..04722020 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/E6-stop_durable/stop.json @@ -0,0 +1 @@ +{"control":{"action":"stop","recorded":{"digest":"1a3dca86f1575bb67091e71255f82d4efcb164e78504bbf0549a9e6a425f9af3","id":24,"kind":"authorization","links":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"64491c86d833dde7cabf94fe08618c3e2145630ee968731b5d389f83f4846bf1"},"revoked":null},"ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/L1.json new file mode 100644 index 00000000..873bb611 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/L2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/L2.json new file mode 100644 index 00000000..873bb611 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/L2.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/authorize-1.json new file mode 100644 index 00000000..49094837 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"fceb7431cabdba5e9a5df480a5a1a6c6e34e3a8738ce007a548c1b72df871d74","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"272d528fd2d4828fd5355640657e9366e246705a06f14a7f62640a557ada5867"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_error/prov/1791686293621455359-1471681.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"93654ffff9468b97fb4e9a3a0dd6c4566ac9265264f80fdba7d5d17fad61952f","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e1.json new file mode 100644 index 00000000..c9205004 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e1.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED ReconcileFailed: the start-up reconcile did not complete (refused: fault hold reconcile_error: forced start-up reconcile error (test build)); run aien compose reconcile","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e2.json new file mode 100644 index 00000000..f7903797 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e2.json @@ -0,0 +1 @@ +{"ack_error":null,"bytes":9,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","disk_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","effect":{"id":30},"intent":{"digest":"2591377303dd8b52ecfefc10ad6a25d18845d5c504ad09db0b78172dbb33e846","id":29,"kind":"effect","links":[23],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"ab4f69dc2d665e52c9bf1a82987481566917ddc6f91e79c601227fad44deb077"},"ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md","receipt":{"arguments_digest":"sha256:3b4d6d4a71f6fc727f400d841ac6c0b581e22baffe8d8202dd45b0a95ea8aab0","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_error/prov/1791686318657404499-1473196.json","result_digest":"sha256:06c83de4e9e63b814f5b02a62995f6d0c8f66bd3f5d34a8ed2ae7dc3df11305b","sha256":"3b54bbb40b604c00964bb98983c66ca945e2720d10d19c4ab1161e10d9c63e3e","success":true,"tool":"write_file"},"state":"DONE","step":"S5"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e3.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e3.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e3.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e3.json new file mode 100644 index 00000000..be825116 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/e3.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #29 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/reconcile.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/reconcile.json new file mode 100644 index 00000000..b8e14e83 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_error/reconcile.json @@ -0,0 +1 @@ +{"ok":true,"reconcile":{"checked":0,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_error/compose","machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","outcomes":[]}} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/L1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/L1.json new file mode 100644 index 00000000..873bb611 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/L1.json @@ -0,0 +1 @@ +{"ledger":{"intents":[],"legacy_spent":[],"resumes":[],"revoked":[],"stopped":null,"stops":[]},"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","ok":true} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/authorize-1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/authorize-1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/authorize-1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/authorize-1.json new file mode 100644 index 00000000..e69b79b6 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/authorize-1.json @@ -0,0 +1 @@ +{"approvals":1,"authorization":{"digest":"4ae193afbbd177cee3ca13055803fdcfd7179d863d99af6884bbc97b70a72c32","id":23,"kind":"authorization","links":[17],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"9e02008e8f94d6e3d6a92bd5999b3ddc0eb4726f925b5bf23ff33a00691e1871"},"ok":true,"receipt":{"arguments_digest":"sha256:928ccf3c8511b74c880ffe9aa6afaf02ccfc979d72b1f167d5eb4a88b44f8e4c","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_panic/prov/1791686343698148250-1474842.json","result_digest":"sha256:cb99a88c0ec4098b7084057f66e6a1b42e0306461959d411ec5ebd65792b2675","sha256":"51788cd0e226d74a95b4be676784c07a1307bd79578219f0be7216b809933b64","success":true,"tool":"authorize"},"step":"S4"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p1.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p1.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p1.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p1.json new file mode 100644 index 00000000..06f9140e --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p1.json @@ -0,0 +1 @@ +{"error":"Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_panic/s: Connection refused (os error 111)","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p2.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p2.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p2.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p2.json new file mode 100644 index 00000000..b356bf99 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p2.json @@ -0,0 +1 @@ +{"ack_error":null,"bytes":9,"content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","disk_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","effect":{"id":30},"intent":{"digest":"b1a61449bbc65e9dba6eeb28ed5fb7de8d49b588882c2057653fd06b3e406dea","id":29,"kind":"effect","links":[23],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","text_sha256":"6e2cb2eae18939144d92bd6e3ecf9f2463b8a1ec8bd460bb9fa91dcbfbe2c253"},"ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/work/ws/outbox/done.md","receipt":{"arguments_digest":"sha256:3b4d6d4a71f6fc727f400d841ac6c0b581e22baffe8d8202dd45b0a95ea8aab0","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_panic/prov/1791686394764349239-1477823.json","result_digest":"sha256:06c83de4e9e63b814f5b02a62995f6d0c8f66bd3f5d34a8ed2ae7dc3df11305b","sha256":"0259956188e749807c798a44036772dc217c4c70612f49a5de67129e27301f6b","success":true,"tool":"write_file"},"state":"DONE","step":"S5"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p3.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p3.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p3.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p3.json new file mode 100644 index 00000000..be825116 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/p3.json @@ -0,0 +1 @@ +{"error":"EFFECT_REFUSED AlreadySpent: authorization #23 was spent by intent #29 (DONE); a new effect needs a new authorization","ok":false,"step":"execute"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/propose.json new file mode 100644 index 00000000..6c4b1646 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/FAULT-reconcile_panic/propose.json @@ -0,0 +1 @@ +{"ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/deskkey.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/deskkey.json new file mode 100644 index 00000000..e6c32c15 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/deskkey.json @@ -0,0 +1 @@ +{"desk_key_id":"4d43e76a813b3f79","ok":true,"path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose/approval-desk.key"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/objective-record.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/objective-record.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/objective-record.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/objective-record.json new file mode 100644 index 00000000..b7d5686a --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/objective-record.json @@ -0,0 +1 @@ +{"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","objective_text_sha256":"f780468a101719366dfad2b706ffb88cd1a27a21bbbbcc88ba73f4ac466ff054","ok":true,"operator_surface":"aien-cli","path":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/prov/objectives/9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b.json","recorded_before_work":true,"utc":"2026-10-11T02:33:06Z"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/propose.err b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/propose.err new file mode 100644 index 00000000..e69de29b diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/propose.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/propose.json new file mode 100644 index 00000000..773379ed --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/artifacts/fixture/propose.json @@ -0,0 +1 @@ +{"objective_id":"9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b","ok":true,"report":{"aegis_pass_mask":1,"branch_count":1,"branches_reclaimed":0,"committed":true,"compose_commit":17,"compose_dir":"/home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/fixture/compose","cx_admissions":[15],"cx_candidates":[11,12],"cx_evidence":13,"cx_goal":6,"cx_promotion":14,"generation_record":16,"inputs":[],"inputs_omitted":[],"machine_id":"e8a1ee1733a02d4ebc183dfa0757765ff558f0dd23e255e879ead010217f128c","memory":{"context":"work","items_included":0,"items_omitted":0,"items_unresolved":0,"reason":"ALLEN is not engaged on this machine, so there is no identity to attach memory to. Nothing was changed.","state":"not_engaged"},"outcome":1,"persona":{"display_name":"","reason":null,"revision":0,"state":"not_engaged"},"proposal":"filename: outbox/done.md\nfinished","proposal_attempts":[{"aegis":"pass","attempt":1,"decoding":{"greedy_tokens":8,"sampled_tokens":0,"seed_request_id":null,"temperature":null,"top_p":null},"finish_reason":"eos","ms":7590,"ops":{"backend":"ReferenceCpuBackend","native_fallbacks":0,"reference_runs":0,"report":"OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference_runs=[]"},"outcome":"parsed","prompt_ids_sha256":"ddc99f1105679393caf84452d00bfd9e51aa8848e8f47712bcc81d7458f3d4a8","prompt_tokens":119,"reason":null,"text":"filename: outbox/done.md\nfinished","text_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","token_ids":[704,2054,3529,606,22030,198,12402],"tokens":7,"unmet_requirements":[]}],"proposal_content_sha256":"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983","proposal_path":"outbox/done.md","proposal_sha256":"170381df5d73b9f9852aa87a378885cf21abcd84d6212264171e5ad35d3fc6f4","proposer":"model:StreamTurn-path","proposer_error":null,"record_digest":"92723df93b94c5a5e1eddf1c7c64a5b2bf1410a75f2428759e0dc3bfc9b5de46","requirements_recognized":["exactly 1 added non-empty lines"],"requirements_uncertain":[],"task":6875776151960783043,"uncommitted_proposal":null,"winner":0,"winner_digest":"bbe6ace3d00bbe429d106e20fce9d05f380dbf23baa2112631b4ecb6966421cb"},"step":"S3"} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/001-PRE.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/001-PRE.json new file mode 100644 index 00000000..b91a500e --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/001-PRE.json @@ -0,0 +1,23 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "PRE", + "status": "PASS", + "utc": "2026-10-11T02:33:39Z", + "prev_receipt_sha256": "0000000000000000000000000000000000000000000000000000000000000000", + "evidence": "fault-hold build 1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97; backend 'Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)'; fixture proposal committed (path outbox/done.md); model unsloth/Llama-3.2-1B-Instruct", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "candidate_model_id": "unsloth/Llama-3.2-1B-Instruct", + "candidate_weights_sha256": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "candidate_tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "model_dir": "/home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/snapshots/5a8abab4a5d6f164389b1079fb721cfab8d7126c/", + "quiet_flag": "not-held", + "build_feature": "cargo feature aien-cli/fault-hold", + "weights_match_candidate": true +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/002-E6-before_intent.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/002-E6-before_intent.json new file mode 100644 index 00000000..b2e17694 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/002-E6-before_intent.json @@ -0,0 +1,27 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-before_intent", + "status": "PASS", + "utc": "2026-10-11T02:34:28Z", + "prev_receipt_sha256": "c7149edfb19e9a73f57b0c2435e965cabaa21f20c3dc255fc1cbc658976059f6", + "evidence": "daemon SIGKILL rc 137 while the executor held at before_intent; executor released: refused=yes (ok=false, rc=1, stderr: ), files 0; restart (Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []); intent before retry: none; same grant: DONE; third execute: AlreadySpent; files 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "before_intent", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "executor_ok_after_release": "false", + "executor_stderr": "", + "intent_after_restart_before_retry": "none", + "third_execute_refusal": "AlreadySpent", + "restart_reconcile_line": "Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/003-E6-after_intent.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/003-E6-after_intent.json new file mode 100644 index 00000000..44a74462 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/003-E6-after_intent.json @@ -0,0 +1,28 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-after_intent", + "status": "PASS", + "utc": "2026-10-11T02:35:18Z", + "prev_receipt_sha256": "ef5ff5d1027d3588809abe09395d5a9ae7f8f9c7ff523d90916002b0103e584b", + "evidence": "daemon and executor SIGKILL (rc 137, 137) at after_intent, files 0; restart (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\"}]); intent state NOT_DONE; same grant: state none refusal 'AlreadySpent'; outcome c_AlreadySpent_file_absent_reconcile_at_start; new grant: DONE; files at end 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_intent", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "outcome": "c_AlreadySpent_file_absent_reconcile_at_start", + "first_retry_refusal": "AlreadySpent", + "intent_after_restart": "NOT_DONE", + "reconcile_state": "", + "new_grant_result": "DONE", + "restart_reconcile_line": "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\"}]" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/004-E6-after_write.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/004-E6-after_write.json new file mode 100644 index 00000000..2f5875b3 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/004-E6-after_write.json @@ -0,0 +1,26 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-after_write", + "status": "PASS", + "utc": "2026-10-11T02:36:08Z", + "prev_receipt_sha256": "90bc670c7bcfe7405136807057a3245b6d4afd46911d884ed8338ee6e32dff01", + "evidence": "daemon and executor SIGKILL (rc 137, 137) at after_write, files 1; restart (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\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"record\":30,\"note\":\"reconcile@start\"}]); intent after restart DONE; same grant: AlreadySpent (state none); intent final DONE (count 1); files 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_write", + "restart_count": 1, + "effects_before_kill": 1, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "same_grant_refusal": "AlreadySpent", + "intent_state_final": "DONE", + "intents_for_grant": 1, + "restart_reconcile_line": "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\":\"161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983\",\"record\":30,\"note\":\"reconcile@start\"}]" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/005-CTRL-E6.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/005-CTRL-E6.json new file mode 100644 index 00000000..0cb3a4ee --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/005-CTRL-E6.json @@ -0,0 +1,27 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "CTRL-E6", + "status": "PASS", + "utc": "2026-10-11T02:36:58Z", + "prev_receipt_sha256": "837642e1a70b56892c296a987f9f3f4db36bcff1045e251f2a42e3646ecf8446", + "evidence": "after after_write kill, durable state removed (journal, jspace and machine.id gone, desk key kept; record mark removed=0); restart: served (Reconcile: no compose home yet); execute same grant: state none, refusal name 'E_MARK_TRUNCATED', text: compose home /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/CTRL-E6/compose refused: Cortex journal holds 0 records, its record mark says 24: 24 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark; files 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_write", + "restart_count": 1, + "effects_before_kill": 1, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "daemon_start": "served", + "refusal_name": "E_MARK_TRUNCATED", + "refusal_text": "compose home /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/CTRL-E6/compose refused: Cortex journal holds 0 records, its record mark says 24: 24 record(s) lost at a record boundary (E_MARK_TRUNCATED, mark", + "record_mark_removed": false, + "execute_state": "none" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/006-CTRL-E6b.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/006-CTRL-E6b.json new file mode 100644 index 00000000..3ef4efc7 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/006-CTRL-E6b.json @@ -0,0 +1,27 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "CTRL-E6b", + "status": "PASS", + "utc": "2026-10-11T02:37:48Z", + "prev_receipt_sha256": "b20ee71618175a819893133d20ecccae6f39259db4ae3823b6083bfbe30bb056", + "evidence": "after after_write kill, durable state removed (journal, jspace and machine.id gone, desk key kept; record mark removed=1); restart: served (Reconcile: no compose home yet); execute same grant: state none, refusal name 'NotAuthorized', text: EFFECT_REFUSED NotAuthorized: cortex.cx#23 is not a verified authorization ; files 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_write", + "restart_count": 1, + "effects_before_kill": 1, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "daemon_start": "served", + "refusal_name": "NotAuthorized", + "refusal_text": "EFFECT_REFUSED NotAuthorized: cortex.cx#23 is not a verified authorization ", + "record_mark_removed": true, + "execute_state": "none" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/007-FAULT-reconcile_error.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/007-FAULT-reconcile_error.json new file mode 100644 index 00000000..f67282f1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/007-FAULT-reconcile_error.json @@ -0,0 +1,25 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "FAULT-reconcile_error", + "status": "PASS", + "utc": "2026-10-11T02:38:38Z", + "prev_receipt_sha256": "90a6900e2bde99acb65d1f5848a5be6655a507da71bf2a7bfbffdaaac7ba45bc", + "evidence": "daemon restarted with the reconcile_error hold: 'Reconcile: refused: fault hold reconcile_error: forced start-up reconcile error (test build); effect commands refuse until a successful reconcile (aien compose reconcile)'; execute refused 'ReconcileFailed', files 0, intent none; reconcile ok=true; same grant then DONE; files 1; next execute 'AlreadySpent'; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "reconcile_error", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "first_execute_refusal": "ReconcileFailed", + "restart_reconcile_line": "Reconcile: refused: fault hold reconcile_error: forced start-up reconcile error (test build); effect commands refuse until a successful reconcile (aien compose reconcile)", + "third_execute_refusal": "AlreadySpent" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/008-FAULT-reconcile_panic.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/008-FAULT-reconcile_panic.json new file mode 100644 index 00000000..e74b0e37 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/008-FAULT-reconcile_panic.json @@ -0,0 +1,26 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "FAULT-reconcile_panic", + "status": "PASS", + "utc": "2026-10-11T02:39:54Z", + "prev_receipt_sha256": "cdba791ede54615e59f29b8d7d3b10cc6d7db8e03cf14387c132b73c67c2971b", + "evidence": "daemon with the reconcile_panic hold: served=no, exit rc 134, log names the hold (1 lines); execute while nothing serves: 'Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_panic/s: Connection refused (os error 111) ', files 0; clean restart (Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []); intent none; same grant then DONE; files 1; next execute 'AlreadySpent'; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "reconcile_panic", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "daemon_served_with_hold": "no", + "daemon_exit_rc": "134", + "execute_while_down": "Failed to connect to AIEN runtime socket at /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/FAULT-reconcile_panic/s: Connection refused (os error 111) ", + "third_execute_refusal": "AlreadySpent" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/009-E6-revoke_durable.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/009-E6-revoke_durable.json new file mode 100644 index 00000000..ca815b72 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/009-E6-revoke_durable.json @@ -0,0 +1,25 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-revoke_durable", + "status": "PASS", + "utc": "2026-10-11T02:40:44Z", + "prev_receipt_sha256": "ee973107a29239af17ea50cb49c8c218a3b7f7b76766bebcb3ce85b858a9bc73", + "evidence": "revoke ok=true, daemon SIGKILL (rc 137), restart (Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []); ledger lists the revocation=true, intent none; execute refused 'Revoked', files 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "revoke_then_kill", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 0, + "duplicates": 0, + "grant_id": 23, + "refusal": "Revoked", + "ledger_lists_revocation": "true", + "revoke_ok": "true" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/010-E6-stop_durable.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/010-E6-stop_durable.json new file mode 100644 index 00000000..15d6c9f9 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/010-E6-stop_durable.json @@ -0,0 +1,25 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-stop_durable", + "status": "PASS", + "utc": "2026-10-11T02:41:34Z", + "prev_receipt_sha256": "e868da838cd2d91b2e18a3b9806d95784a60b8a5955dba590e2c10be97b507c5", + "evidence": "stop ok=true, daemon SIGKILL (rc 137), restart (Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []); ledger stopped=24; execute refused 'Stopped', files 0; resume ok=true; same grant after resume: 'Stale', files 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "stop_then_kill", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 0, + "duplicates": 0, + "grant_id": 23, + "stopped_refusal": "Stopped", + "after_resume_refusal": "Stale", + "ledger_stopped": "24" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/011-E6-desk_after_restart.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/011-E6-desk_after_restart.json new file mode 100644 index 00000000..62b9dcb5 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/011-E6-desk_after_restart.json @@ -0,0 +1,25 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-desk_after_restart", + "status": "PASS", + "utc": "2026-10-11T02:42:24Z", + "prev_receipt_sha256": "0d985579d8d34a67ce3e463c11a1a4687c3918b4682274a8bf7e5f6fd5268966", + "evidence": "daemon SIGKILL (rc 137), restart (Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []); authorize without desk proof: 'DeskMacRequired'; with the desk proof: 'AlreadyAuthorized' (EFFECT_REFUSED AlreadyAuthorized: grant #23 for this proposal is still live; revoke it first); first grant then DONE; files 1; next 'AlreadySpent'; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "desk_after_kill", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "authorize_without_desk_refusal": "DeskMacRequired", + "authorize_with_desk_refusal": "AlreadyAuthorized", + "authorize_with_desk_text": "EFFECT_REFUSED AlreadyAuthorized: grant #23 for this proposal is still live; revoke it first" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/012-E6-objective_bound_after_intent.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/012-E6-objective_bound_after_intent.json new file mode 100644 index 00000000..4fba1021 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/012-E6-objective_bound_after_intent.json @@ -0,0 +1,46 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-objective_bound_after_intent", + "status": "PASS", + "utc": "2026-10-11T02:43:14Z", + "prev_receipt_sha256": "21caceecc1962ce63a0bbf1929276b6a701a1812695f1de5cfd1407638a0605a", + "evidence": "daemon and executor SIGKILL (rc 137, 137) at after_intent, files 0; restart reconcile: intent state NOT_DONE, objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b record 'bound'; ledger intent objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b; grant G objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b; record sha256 before/after equal=yes, show text digest matches=yes; same grant 'AlreadySpent'; new grant 31 objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b: DONE, answer objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b, receipt digest binds it=yes; files 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_intent", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "objective_record_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "restart_reconcile_outcome": { + "intent": 24, + "authorization": 23, + "state": "NOT_DONE", + "disk_sha256": null, + "record": 30, + "note": "reconcile@start", + "objective": { + "objective_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "record": "bound", + "record_unchanged": true + } + }, + "ledger_intent_objective": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "grant_objective": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "record_sha256_before_kill": "86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696", + "record_sha256_after_restart": "86e7c5616613abe077254cea9be23d5a4e9f8a2d40cfc770c782264d90c2b696", + "same_grant_refusal": "AlreadySpent", + "new_grant": "31", + "new_grant_objective": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "new_grant_state": "DONE", + "execute_answer_objective": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "receipt_arguments_digest_binds_objective": true +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/013-E6-objective_missing_after_intent.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/013-E6-objective_missing_after_intent.json new file mode 100644 index 00000000..c1ad2c9f --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/013-E6-objective_missing_after_intent.json @@ -0,0 +1,39 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-objective_missing_after_intent", + "status": "PASS", + "utc": "2026-10-11T02:44:04Z", + "prev_receipt_sha256": "f55e4c3c8b427189c60363656c4dffd8cca78b5f673d52eabe2ed6ce12f17f42", + "evidence": "daemon and executor SIGKILL (rc 137, 137) at after_intent, files 0; record removed; restart reconcile: intent NOT_DONE (recorded yes), objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b record 'ObjectiveMissing'; objective show refused 'ObjectiveMissing'; new approval: grant 'none', refusal 'ObjectiveMissing'; files 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_intent", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 0, + "duplicates": 0, + "grant_id": 23, + "objective_record_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "restart_reconcile_outcome": { + "intent": 24, + "authorization": 23, + "state": "NOT_DONE", + "disk_sha256": null, + "record": 30, + "note": "reconcile@start", + "objective": { + "objective_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "record": "ObjectiveMissing", + "detail": "objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/E6-objective_missing_after_intent/prov/objectives/9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b.json: No such file or directory (os error 2)" + } + }, + "objective_show_refusal": "ObjectiveMissing", + "new_approval_refusal": "ObjectiveMissing", + "new_grant": "" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/014-E6-objective_altered_before_intent.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/014-E6-objective_altered_before_intent.json new file mode 100644 index 00000000..7e79c9ab --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/014-E6-objective_altered_before_intent.json @@ -0,0 +1,27 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-objective_altered_before_intent", + "status": "PASS", + "utc": "2026-10-11T02:44:54Z", + "prev_receipt_sha256": "8d863a3ac1d64f1e0825069e49ce7a59c251427e07148df9ce8927577f073c9a", + "evidence": "daemon SIGKILL (rc 137) while the executor held at before_intent; executor released rc 1, files 0; record rewritten with other text; restart (Reconcile: checked 0 unsettled effect(s): DONE 0, NOT_DONE 0, UNRESOLVED 0 recorded, 0 left as they were; []); execute same grant refused 'ObjectiveMismatch' (EFFECT_REFUSED ObjectiveMismatch: authorization #23 is bound to objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b: objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/); intents for the grant 0; files 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "before_intent", + "restart_count": 1, + "effects_before_kill": 0, + "effects_after_restart": 0, + "duplicates": 0, + "grant_id": 23, + "objective_record_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "refusal": "ObjectiveMismatch", + "refusal_text": "EFFECT_REFUSED ObjectiveMismatch: authorization #23 is bound to objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b: objective record /home/drakestapleton/.claude/jobs/ade3c837/tmp/e2e-faults/rows/", + "intents_for_grant": 0, + "executor_rc_after_release": "1" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/015-E6-objective_after_write.json b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/015-E6-objective_after_write.json new file mode 100644 index 00000000..f1fe1886 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/015-E6-objective_after_write.json @@ -0,0 +1,39 @@ +{ + "objective_id": "3e1314259082e7ab19e1f38b4308f72f7c4877787625c646146dde4584877890", + "run_id": "a548c0288fcf6e56473a58ca89107a1d8afab65f3dbb0d8656aa193c4343a090", + "step": "E6-objective_after_write", + "status": "PASS", + "utc": "2026-10-11T02:45:44Z", + "prev_receipt_sha256": "fb85cc576720d55a60617fc8daacee798c9ade41894f017f473bef4dd1b55e87", + "evidence": "daemon and executor SIGKILL (rc 137, 137) at after_write, files 1; restart reconcile: intent DONE, objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b record 'bound'; ledger intent DONE objective 9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b; record text digest matches the objective=yes, id recomputes=yes; same grant 'AlreadySpent'; files 1; duplicates 0", + "repo_commit": "03e2b8cb1f94cc8caa8e0f58a003b6904dd0197f", + "daemon_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "cli_sha256": "1dc984d27311bea361afa8e0c8e04da36cd02bb1d1e8a0772326a74c2da3cc97", + "model_weights_digest": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "backend_line": "Backend: NativeTransformerBackend/CPU-reference (Omega GPU engine not linked, explicit fallback)", + "host": "spark-b87b", + "kill_point": "after_write", + "restart_count": 1, + "effects_before_kill": 1, + "effects_after_restart": 1, + "duplicates": 0, + "grant_id": 23, + "objective_record_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "restart_reconcile_outcome": { + "intent": 24, + "authorization": 23, + "state": "DONE", + "disk_sha256": "161069badc0cc23058b13d7c068e45205f4333aa15fd78db9d68f5c9f1ae8983", + "record": 30, + "note": "reconcile@start", + "objective": { + "objective_id": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "record": "bound", + "record_unchanged": true + } + }, + "ledger_intent_objective": "9694e4183e630319af2ce1c1b007b0e9d6da07c5f69e527bfea386e0349dcf5b", + "ledger_intent_state": "DONE", + "same_grant_refusal": "AlreadySpent" +} diff --git a/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/SHA256SUMS b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/SHA256SUMS new file mode 100644 index 00000000..943bfad1 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/runs/FAULTS-20261011T023133Z/chain/SHA256SUMS @@ -0,0 +1,206 @@ +e78e0b4bd1b58f2f3c782d814a5798a302b3993a5c8f2cc4670c1899704bcde5 ./FAULTS-v1.1.as-run.md +7fb47e8b3796aa0150e7d23d55d40ef4931bb89dc8fa80018c74c27d26cfd209 ./FAULTS-v1.2.1.as-run.md +286b5e1b5748cb46c25f534a18d9bcc972ad41d8abc5dd766fa74674346bb4c5 ./FAULTS-v1.2.as-run.md +3221cf3d9e42b612b2ce5077ea0d45026bddb0e8ecb3ef6ed8ef4791d575e9a7 ./FAULTS-v1.3.as-run.md +04b582a9b85166fcd1e6e366e3c72df1dca82a8e687d654fa4fe1903c11a27c8 ./FAULTS-v1.as-run.md +c0311f5c359878ffed226274d5f4d5504c6cfb1da7795bcd078fe1954e774fc6 ./VERDICT_ROWS.txt +a3fd0f568c6a4b85061a2ff2dadad594d9c0f0259cc15a700a2cc29597cb6a90 ./artifacts/CTRL-E6/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6/authorize-1.err +d5d6dfd836c8fdc60fcb6cf097b20cc98cd7e152034ff85b3e30636829d32335 ./artifacts/CTRL-E6/authorize-1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6/ctl.err +9646bd02a429cbe1577fff984f7ddda9047f4d44998abddb802fe3cdfe6df95a ./artifacts/CTRL-E6/ctl.json +b3239d735e578821f08305286fa80f4d4df4bb1db4b70585bacc297b973ea125 ./artifacts/CTRL-E6/daemon-1.log +c72987c3ea4a3f4e986d45179cb935006688d13e55b176d32cdcfad0d7e76f5a ./artifacts/CTRL-E6/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6/held.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/CTRL-E6/propose.json +23e064bfd4dd5080abd45764be6381a3b1534f28068f63e331be9d3a4bb5d48a ./artifacts/CTRL-E6b/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6b/authorize-1.err +227cbcbf160f0e3dfe7034ba3ea95a8a8c92461d00130bcbc9a4b8291a121c08 ./artifacts/CTRL-E6b/authorize-1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6b/ctl.err +9b57f83df77aadbe7c4c4b001e9029ba79e535650993512f0aa1cf8f94cf8296 ./artifacts/CTRL-E6b/ctl.json +85b76a107283d05d29cd6980c80d79311f8f2def933b11a67045c98fb5f6b57b ./artifacts/CTRL-E6b/daemon-1.log +b577edfc4a9cf28637cbbb8abf07ea2e1733ba15f3a1e0fd5f1e471bd2bdecfa ./artifacts/CTRL-E6b/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6b/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/CTRL-E6b/held.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/CTRL-E6b/propose.json +5b7ba0e3920157705c62dc1122a163ee44d6edab2f5ec2128b7b2789466484a0 ./artifacts/E6-after_intent/L1.json +d1729be522835ae4226c0d9f272ed43eaf2de2150287f7a833f549bbd76efe19 ./artifacts/E6-after_intent/L2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/authorize-1.err +209831ee421fdb8374a523f98bfdc63b3f06c908c4c097fd0df25fd0262144f5 ./artifacts/E6-after_intent/authorize-1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/authorize-2.err +a06aa795a28983e436cd647a97881ff8773b5d27eb4a613adb46b1850845f4e7 ./artifacts/E6-after_intent/authorize-2.json +8e590e06ed58b8a007cf9f1240e8d194b4aac0afb8a68cc2bffc425d284cd404 ./artifacts/E6-after_intent/daemon-1.log +6b27b4e2f2bb8e6af518830e256bf1e28b0345a03342c60eaf4a35b847eee094 ./artifacts/E6-after_intent/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/held.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/new.err +d7b1c19f8621879fcf66b0249a7499f16ccc12aa0643fe9f59c8313d8b582530 ./artifacts/E6-after_intent/new.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/newagain.err +894c32fd67ae1341d6520705050f8e41d4af8b9326d6ee22f2dae1e2a41de2a9 ./artifacts/E6-after_intent/newagain.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/E6-after_intent/propose.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_intent/r1.err +3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef ./artifacts/E6-after_intent/r1.json +e1f361b34af8f5f6f531566d2cd1df7f80749144b4dc92467585188939634ccc ./artifacts/E6-after_write/L1.json +e1f361b34af8f5f6f531566d2cd1df7f80749144b4dc92467585188939634ccc ./artifacts/E6-after_write/L2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_write/again.err +e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac ./artifacts/E6-after_write/again.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_write/authorize-1.err +3aebe4a231c0ca928fdb76116f103e70cf2e1da2d5d05ee612c6d4a1d3a2c082 ./artifacts/E6-after_write/authorize-1.json +d2b9241a8dc04c98e01627a0abdc919ca82369c395db9423cea7eaf3759fd0da ./artifacts/E6-after_write/daemon-1.log +1eab77a4df980f94e08fcf567e0cc6d6453678b1a44c7e3318cbc463fccbe7b9 ./artifacts/E6-after_write/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_write/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-after_write/held.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/E6-after_write/propose.json +23e064bfd4dd5080abd45764be6381a3b1534f28068f63e331be9d3a4bb5d48a ./artifacts/E6-before_intent/L1.json +a7cb07a540be12fa19152437a20cf8ae16fc0fc739a2ae356136848fae07de68 ./artifacts/E6-before_intent/L2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-before_intent/again.err +82ee8619342f9c452f6695ed4dbe2a5dbc99e3104ca381a83a955e3477774962 ./artifacts/E6-before_intent/again.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-before_intent/authorize-1.err +e94002f4b0b1a1b20ad84dfa07ca471b5a8d182d308c78f52f17dbb9b0288bb8 ./artifacts/E6-before_intent/authorize-1.json +4c02711128c560c2925a8c8d73b5903d27025b7d0ab0ff28bb269ff13b76b3ba ./artifacts/E6-before_intent/daemon-1.log +606060d1b5892d98d28f4d20d9f5791ba9ca4a9458b9826b30c8bafc4c5ec1ca ./artifacts/E6-before_intent/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-before_intent/held.err +551b8aeadcfa18729217e1e8e39ccf7035124d8a5c66679b5a6264b9fe64ae16 ./artifacts/E6-before_intent/held.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/E6-before_intent/propose.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-before_intent/third.err +6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4 ./artifacts/E6-before_intent/third.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-desk_after_restart/authorize-1.err +c466590abe9cdf5716a5cd433c2ad6a36497652ff0abb519c5668aef7e05f2cb ./artifacts/E6-desk_after_restart/authorize-1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-desk_after_restart/authorize-desk.err +2e23e09154fee9c459bb424ee432eff4d0b8fddc9d5809c97f1528bd3e3aa7a5 ./artifacts/E6-desk_after_restart/authorize-desk.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-desk_after_restart/authorize-nodesk.err +63de90409150119e6829a0c6b0081367b585e779a24c9424eec286822d2208d2 ./artifacts/E6-desk_after_restart/authorize-nodesk.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-desk_after_restart/d1.err +63e817b72258ee0fe7ffc79a6cc8e6afebbc4b009081d5e8fc1179d6434742af ./artifacts/E6-desk_after_restart/d1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-desk_after_restart/d2.err +6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4 ./artifacts/E6-desk_after_restart/d2.json +fdf950d912e28f7e7b9f7f98ec02aeb21d4f7b4ae6d0f373ecc48df8560b9c5b ./artifacts/E6-desk_after_restart/daemon-1.log +ebb2ad5be62327c942e0976eb1857c2ba203569eb1b97116a9737267c0059417 ./artifacts/E6-desk_after_restart/daemon-2.log +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/E6-desk_after_restart/propose.json +38827767d5528e7bf0a7dcc182aab57b6c8d1f8cc34a236685617c5ca88422fa ./artifacts/E6-objective_after_write/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_after_write/again.err +e087d3973661e4ad95d6eccabe4de396139b618293775ebcdbf20b85301810ac ./artifacts/E6-objective_after_write/again.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_after_write/authorize-1.err +b7cf5a862ffe8fd6b760c7fd3ec527027947c0465e543fc9056a8bcaf8a4db1d ./artifacts/E6-objective_after_write/authorize-1.json +4ddd0612848362173d23e0a62fd1b82137425726764444aaf87ce168f363796a ./artifacts/E6-objective_after_write/daemon-1.log +ecd2e1f6f82a089b9313025426868db182a4a5b9af1cf30c0f19bedc0e8d9d01 ./artifacts/E6-objective_after_write/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_after_write/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_after_write/held.json +6c5a32a88b4ff4d7f9871b2ac6f3a979da93056354bd813c434a18a8d787077b ./artifacts/E6-objective_after_write/propose.json +23e064bfd4dd5080abd45764be6381a3b1534f28068f63e331be9d3a4bb5d48a ./artifacts/E6-objective_altered_before_intent/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_altered_before_intent/authorize-1.err +77424b96f4c3d0c36f6d4ea46833459b02d16f6872094a33cf8cb82466c8b9da ./artifacts/E6-objective_altered_before_intent/authorize-1.json +facef0a40513079f89f9024c65bfd7b3d8ea04fdcfa75867cd236082a337152e ./artifacts/E6-objective_altered_before_intent/daemon-1.log +60b6381db20f8652ef0ef7a5dfd8992f29b3c001a05c47443104f6bf829b2dbd ./artifacts/E6-objective_altered_before_intent/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_altered_before_intent/held.err +117093439e7b395932d92e444c697d1ad6a96378e802939d5c0cba966d8d42a6 ./artifacts/E6-objective_altered_before_intent/held.json +e1128dcd5bab6cb82dd8c58071321ba4776a3182ede223ded89a1fb07aad5a5f ./artifacts/E6-objective_altered_before_intent/objective-record.altered.json +6c5a32a88b4ff4d7f9871b2ac6f3a979da93056354bd813c434a18a8d787077b ./artifacts/E6-objective_altered_before_intent/propose.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_altered_before_intent/r1.err +52d035a1f7ae952d7b25d1577dba30f6452214aeb1a5778f1b840e0acfe2e625 ./artifacts/E6-objective_altered_before_intent/r1.json +e67d3507cc8581c7f3050eafa9a507851c54c9d46f1bbe7e46d7e2a7803bf281 ./artifacts/E6-objective_bound_after_intent/L1.json +8ddd334680ef7cb03979b62924c1b6a6f17fc69f410e9b23a2cfd3b7a6ca0cc4 ./artifacts/E6-objective_bound_after_intent/L2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/authorize-1.err +dc65b2730748b5389ec374fd6167b140354bcfb58767ea4adddf8af717e21c1f ./artifacts/E6-objective_bound_after_intent/authorize-1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/authorize-2.err +e5fd35ff2157364a9c43d932d1f9034d50c99c661d7ff22e30cc83421e98e18d ./artifacts/E6-objective_bound_after_intent/authorize-2.json +eb64e6b778d22d6a96143f352aabbfc57855ff4d9711b80d7365dd1d663d6084 ./artifacts/E6-objective_bound_after_intent/daemon-1.log +e9e6047ec0b62f7ecb9480c4ef8cffa315dc0e3ece6027aa585e19e49cd32dca ./artifacts/E6-objective_bound_after_intent/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/held.json +aa07e144059a32eb450fe5dbc8d8795e14253e97c7732b7a348346bade0e172d ./artifacts/E6-objective_bound_after_intent/new-write_file-receipt.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/new.err +63f833e56a4727b2e464541f2368b1a876e267792dd35b3de82454db9954564e ./artifacts/E6-objective_bound_after_intent/new.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/newagain.err +894c32fd67ae1341d6520705050f8e41d4af8b9326d6ee22f2dae1e2a41de2a9 ./artifacts/E6-objective_bound_after_intent/newagain.json +172b4d35a0c58d4df2c9d8540ddd423deff29274bcf836a81ef68434cb4aa6b4 ./artifacts/E6-objective_bound_after_intent/objective-show.json +6c5a32a88b4ff4d7f9871b2ac6f3a979da93056354bd813c434a18a8d787077b ./artifacts/E6-objective_bound_after_intent/propose.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/r1.err +3ac1106571cc51f2bce3947aaa57cd4ab8e0328d83e0823cd9f423664b3221ef ./artifacts/E6-objective_bound_after_intent/r1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/recall-G.err +b6f3a5a76288921a104d6bcf1bbb7f39a63a0199495baaafaae815397f0920db ./artifacts/E6-objective_bound_after_intent/recall-G.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_bound_after_intent/recall-G2.err +b0ca37594da99153fe7c5d26a372cc8db6770e8e4457d042a53ddc259ec4fbf1 ./artifacts/E6-objective_bound_after_intent/recall-G2.json +729f4b4f629f998be361b85b7e886e8046e01d797d7d66dea4dc31217c096024 ./artifacts/E6-objective_missing_after_intent/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_missing_after_intent/authorize-1.err +eebfba393cdb415a85607f61b5cc810e5c91fefe887ff004db8318217013dbad ./artifacts/E6-objective_missing_after_intent/authorize-1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_missing_after_intent/authorize-2.err +7c76ebf31b7fb0ebf7fc8a3d86ad64017618f5d52176f69a9b297b2658898cf3 ./artifacts/E6-objective_missing_after_intent/authorize-2.json +caaf31109abd09a02972e848c1a8d22365f3cedb9102e9cc3984413f42416ad3 ./artifacts/E6-objective_missing_after_intent/daemon-1.log +90b8b6a4e1b5b2bef73641520dc06e268717097ebe4f00da1acde090ebcef053 ./artifacts/E6-objective_missing_after_intent/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_missing_after_intent/held.err +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-objective_missing_after_intent/held.json +f7cc084b31b73a5039aed1962d8494516682a64240872d75aa72bc43f402ff9d ./artifacts/E6-objective_missing_after_intent/objective-show.err +4256f55f6a8be660a29eb474fe9e4979fa820f9cba85e42836832ae590dd2af3 ./artifacts/E6-objective_missing_after_intent/objective-show.json +6c5a32a88b4ff4d7f9871b2ac6f3a979da93056354bd813c434a18a8d787077b ./artifacts/E6-objective_missing_after_intent/propose.json +131e3374cd9e262e43203c0b33c000b0efb3318e02d40773e78d8ecff3d5db4a ./artifacts/E6-revoke_durable/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-revoke_durable/authorize-1.err +42e18182d06b05d0fcc7338ed45f115eb1a76bb729e1c064ade505b07c6cdd6b ./artifacts/E6-revoke_durable/authorize-1.json +ae33e3b563e03aa8a9173d66436a9cd1d724933b66e307721079c7e554e82164 ./artifacts/E6-revoke_durable/daemon-1.log +493df3f052d950a8c993681f5d5af2699bb9660a8c248f3d7b2488eb4ec11f6c ./artifacts/E6-revoke_durable/daemon-2.log +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/E6-revoke_durable/propose.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-revoke_durable/r1.err +bfe6c4ad40ffde7734d58d090a0eda422712b8ebcc9ba892edb93c06f03c445f ./artifacts/E6-revoke_durable/r1.json +7ab47d6e2cb8b1d0e86bfd3bd64d20b7ce13055201257354d0544d8eafaba8fa ./artifacts/E6-revoke_durable/revoke.json +b539022f2aba4edec02a8a78601adec029f66746ec831fd15feaf6d9264e062c ./artifacts/E6-stop_durable/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-stop_durable/authorize-1.err +2c05a9abd8457b39b3cf21ffb967dc20ed049d4bf34aa0ba1728d747edb31cae ./artifacts/E6-stop_durable/authorize-1.json +8e36e53feb44e6a7a3f46422728faa54ed8ad32113764639009d05ef940f9898 ./artifacts/E6-stop_durable/daemon-1.log +5b7bd2a51d8674daeb7e19dbf6b751e48e835a24ab5cfa29a024750526f25b1d ./artifacts/E6-stop_durable/daemon-2.log +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/E6-stop_durable/propose.json +68326a00600e69144696e479e79b5779acb8092061d2fee5cd4d92861bcde0e5 ./artifacts/E6-stop_durable/resume.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-stop_durable/s1.err +7566ac4c846c161e223b94c17e52262b62c5d3067594460b861c8166ca9e95c6 ./artifacts/E6-stop_durable/s1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/E6-stop_durable/s2.err +1403b45f394ea9690b2f059b87be768b46b69da97db221f9ec317b9833652bef ./artifacts/E6-stop_durable/s2.json +ae2a6b3602ecc4145802b0bfdba7b6a3d3abc17d2a5527e359fa42c903a2e425 ./artifacts/E6-stop_durable/stop.json +23e064bfd4dd5080abd45764be6381a3b1534f28068f63e331be9d3a4bb5d48a ./artifacts/FAULT-reconcile_error/L1.json +23e064bfd4dd5080abd45764be6381a3b1534f28068f63e331be9d3a4bb5d48a ./artifacts/FAULT-reconcile_error/L2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_error/authorize-1.err +dd2a3b6c01fd7e348ecaf9f8b84a67dadeaa997bc940f59ce907f8a58b3cc44f ./artifacts/FAULT-reconcile_error/authorize-1.json +9a0b977902d88a1f684c2282895d79d6297d683f9ef608356c4407cdbbc8000f ./artifacts/FAULT-reconcile_error/daemon-1.log +8935897059a4d98487b4c7898d4fed2ae875db6d8facabadb3c0e20f487a2b3b ./artifacts/FAULT-reconcile_error/daemon-2.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_error/e1.err +b72415983df711c592b253333758a9c3f06ae40886e088c5891f49d6adc6e120 ./artifacts/FAULT-reconcile_error/e1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_error/e2.err +f651e9e33a14a44838e58330bf5823751b5977f13ffb5273e596465b5a0c58c0 ./artifacts/FAULT-reconcile_error/e2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_error/e3.err +6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4 ./artifacts/FAULT-reconcile_error/e3.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/FAULT-reconcile_error/propose.json +eb0492b39fa5056eacd82688e6f9768ce5333b69333b3d19d4bded154f849ab7 ./artifacts/FAULT-reconcile_error/reconcile.json +23e064bfd4dd5080abd45764be6381a3b1534f28068f63e331be9d3a4bb5d48a ./artifacts/FAULT-reconcile_panic/L1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_panic/authorize-1.err +e4d78ee42fec46f068a02d56dbcc987586352dfaf139f1adc25af6fd127c6f1e ./artifacts/FAULT-reconcile_panic/authorize-1.json +85a82c8cb40b6b6a6143a839519ef0515b012fb622aac4e2b4b4858ad584253f ./artifacts/FAULT-reconcile_panic/daemon-1.log +6a02d9ead5e771bef6171c8da2a4acd9e97193ad288847a02716977ae13f4821 ./artifacts/FAULT-reconcile_panic/daemon-2.log +3d2c3a289d6f4bc872deb26ba0a0096300f6ea7c057f7f28d337c0a193d3ddf4 ./artifacts/FAULT-reconcile_panic/daemon-3.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_panic/p1.err +261326f01ff3f7b7e66245c5930ca7b2f9c7fdb0b6f5e16361f47ed280bfcb47 ./artifacts/FAULT-reconcile_panic/p1.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_panic/p2.err +a270c8cd41ac076337aa162a60c7bc0b466b5434a9c9bc2c5cb50a2a218493af ./artifacts/FAULT-reconcile_panic/p2.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/FAULT-reconcile_panic/p3.err +6e4d1c62bfa30faa5fc4326b2f20bf605bf84a17417ede331d0a1924038010a4 ./artifacts/FAULT-reconcile_panic/p3.json +109190de2ffb24284fecfb4b77413414e182710791848d3ba62141399cbbf7a0 ./artifacts/FAULT-reconcile_panic/propose.json +2eee642f60de733e0054ab4bbe0cde21e9aab5a9a166ee11317d832b4d18d740 ./artifacts/fixture/daemon-1.log +1751e349d74346b0340251856d3628f01013424947f867c6986db4570a86b9d4 ./artifacts/fixture/deskkey.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/fixture/objective-record.err +d3d632b7fff4f60630b3cb17f3a8cbf02114d6698eecda78670c04916e8a7e45 ./artifacts/fixture/objective-record.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./artifacts/fixture/propose.err +6c5a32a88b4ff4d7f9871b2ac6f3a979da93056354bd813c434a18a8d787077b ./artifacts/fixture/propose.json +c7149edfb19e9a73f57b0c2435e965cabaa21f20c3dc255fc1cbc658976059f6 ./chain/001-PRE.json +ef5ff5d1027d3588809abe09395d5a9ae7f8f9c7ff523d90916002b0103e584b ./chain/002-E6-before_intent.json +90bc670c7bcfe7405136807057a3245b6d4afd46911d884ed8338ee6e32dff01 ./chain/003-E6-after_intent.json +837642e1a70b56892c296a987f9f3f4db36bcff1045e251f2a42e3646ecf8446 ./chain/004-E6-after_write.json +b20ee71618175a819893133d20ecccae6f39259db4ae3823b6083bfbe30bb056 ./chain/005-CTRL-E6.json +90a6900e2bde99acb65d1f5848a5be6655a507da71bf2a7bfbffdaaac7ba45bc ./chain/006-CTRL-E6b.json +cdba791ede54615e59f29b8d7d3b10cc6d7db8e03cf14387c132b73c67c2971b ./chain/007-FAULT-reconcile_error.json +ee973107a29239af17ea50cb49c8c218a3b7f7b76766bebcb3ce85b858a9bc73 ./chain/008-FAULT-reconcile_panic.json +e868da838cd2d91b2e18a3b9806d95784a60b8a5955dba590e2c10be97b507c5 ./chain/009-E6-revoke_durable.json +0d985579d8d34a67ce3e463c11a1a4687c3918b4682274a8bf7e5f6fd5268966 ./chain/010-E6-stop_durable.json +21caceecc1962ce63a0bbf1929276b6a701a1812695f1de5cfd1407638a0605a ./chain/011-E6-desk_after_restart.json +f55e4c3c8b427189c60363656c4dffd8cca78b5f673d52eabe2ed6ce12f17f42 ./chain/012-E6-objective_bound_after_intent.json +8d863a3ac1d64f1e0825069e49ce7a59c251427e07148df9ce8927577f073c9a ./chain/013-E6-objective_missing_after_intent.json +fb85cc576720d55a60617fc8daacee798c9ade41894f017f473bef4dd1b55e87 ./chain/014-E6-objective_altered_before_intent.json +8b3e767d77e13ae73aa7a0b4949d1dcc123812458610d8cadd4f251d6214b811 ./chain/015-E6-objective_after_write.json +9b5d07c73ba3e2a6da012955b1bc9969657d800b67bbe50d95c195a1fe0551cc ./console.log diff --git a/scripts/.crumb b/scripts/.crumb index 4d01cdf2..e8cbb573 100644 --- a/scripts/.crumb +++ b/scripts/.crumb @@ -4,14 +4,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-11T02:24:26Z", + "compiled_at": "2026-10-11T03:08:06Z", "compiler": "crumb-compile/1", - "digest": "sha256:51aea6de4800904f030c6f1a8e00b6cc39fc0d5113444d982a1897d1bf9aa382", + "digest": "sha256:34c2e4d71c2a46774f19d31a149c5b8635347a0c1c907c7df04a70094123a74a", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 33, - "generated_at_commit": "2a1870f605e7dcf8c3e666a6efbf7e421bb48343", - "source_tree": "sha256:4a7e55bfe13b1d9b7a42ce825679805bf78fb5cb48b8d4164fbd2677bd52d726" + "generated_at_commit": "ae062d8d2775029b721daae33c672b345dc7fd1c", + "source_tree": "sha256:59cdf538dd41ff42740971a834bb2d49dff1eb92679cb1324327df447ca57990" } }, "parent": { diff --git a/scripts/whole_system_e2e_faults.sh b/scripts/whole_system_e2e_faults.sh index 90543bb4..61652dd4 100755 --- a/scripts/whole_system_e2e_faults.sh +++ b/scripts/whole_system_e2e_faults.sh @@ -47,6 +47,7 @@ cp "$REPO/docs/campaigns/whole-system-e2e/FAULTS-v1.md" "$OUT/FAULTS-v1.as-run.m cp "$REPO/docs/campaigns/whole-system-e2e/FAULTS-v1.1.md" "$OUT/FAULTS-v1.1.as-run.md" cp "$REPO/docs/campaigns/whole-system-e2e/FAULTS-v1.2.md" "$OUT/FAULTS-v1.2.as-run.md" cp "$REPO/docs/campaigns/whole-system-e2e/FAULTS-v1.2.1.md" "$OUT/FAULTS-v1.2.1.as-run.md" +cp "$REPO/docs/campaigns/whole-system-e2e/FAULTS-v1.3.md" "$OUT/FAULTS-v1.3.as-run.md" sha_of() { sha256sum "$1" | cut -d' ' -f1; } tstat() { stat -c '%i %s %.9Y' "$1" 2>/dev/null || echo absent; } @@ -55,6 +56,9 @@ utc() { date -u +%Y-%m-%dT%H:%M:%SZ; } OBJ6='Write a file named done.md in the outbox folder containing one line: finished.' OBJ_ID=$(printf 'AIEN_E2E_FAULTS_OBJECTIVE_V1\n%s' "$OBJ6" | sha256sum | cut -d' ' -f1) RUN_ID=$(printf '%s\n%s\n%s\n%s' "$OBJ_ID" "$BIN_SHA" "$W_SHA" "$HOST" | sha256sum | cut -d' ' -f1) +# v1.3 (FAULTS-v1.3.md, sc#408): the id `aien-cli objective record` gives OBJ6 (sc#388 formula); not the chain id above. +REC_ID=$(printf 'AIEN_E2E_OBJECTIVE_V1\n%s' "$OBJ6" | sha256sum | cut -d' ' -f1) +OBJ6_SHA=$(printf '%s' "$OBJ6" | sha256sum | cut -d' ' -f1) # ---- the receipt chain (same format as scripts/whole_system_e2e.sh) ----------------------------------------- N=0; PREV=$(printf '0%.0s' $(seq 1 64)); CHAIN=$OUT/chain; ROWS=""; CUR_BACKEND="" @@ -139,12 +143,16 @@ ledger() { cli compose effects >"$ART/$1.json" 2>/dev/null; } intent_state() { jq -r "[.ledger.intents[] | select(.authorization == $2)] | .[0].state // \"none\"" "$ART/$1.json" 2>/dev/null; } intent_count() { jq -r "[.ledger.intents[] | select(.authorization == $2)] | length" "$ART/$1.json" 2>/dev/null; } -row_open() { # name: fresh row dir from the fixture, daemon 1 up, grant G minted +row_open() { # name [obj]: fresh row dir from the fixture, daemon 1 up, grant G minted RN=$1; R=$D/rows/$RN; ART=$OUT/artifacts/$RN; DN=0 rm -rf "$R"; mkdir -p "$R"/{state,prov,logs} "$ART" cp -a "$D/fixture/compose" "$D/fixture/home" "$R/"; rm -rf "$D/work/ws"; cp -a "$D/fixture/ws" "$D/work/ws" cp -a "$D/fixture/compose.machine-root" "$R/"; [ -e "$D/fixture/compose.cortex-mark" ] && cp -a "$D/fixture/compose.cortex-mark" "$R/" cp "$D/fixture/propose.json" "$ART/propose.json"; REPORT=$ART/propose.json + if [ "${2:-}" = obj ]; then # v1.3: the report naming REC_ID, and the record in this row's provenance dir + cp "$D/fixture/propose-obj.json" "$ART/propose.json"; mkdir -p "$R/prov/objectives" + cp -a "$D/fixture/prov/objectives/$REC_ID.json" "$R/prov/objectives/" || return 2 + fi mkenv start_daemon || return 1 G=$(authorize authorize-1); [ -n "$G" ] || { echo "authorize refused: $(head -c 200 "$ART/authorize-1.json")"; return 2; } @@ -165,15 +173,18 @@ R=$D/fixture; ART=$OUT/artifacts/fixture; rm -rf "$D/work"; mkdir -p "$R"/{state printf 'Harbour notes. Three boats came in before noon.\n' >"$WS/inbox/harbour-notes.txt" cli compose desk-key --create 1 >"$ART/deskkey.json" 2>&1 # prints id and path, never the key ABORT="" +# v1.3 (FAULTS-v1.3.md): the objective is recorded before the propose, and the propose names it (sc#388 check). +cli objective record --text "$OBJ6" >"$ART/objective-record.json" 2>"$ART/objective-record.err" if start_daemon; then PROP_OK=0 for a in 1 2; do - cli compose propose --goal "$OBJ6" --workspace "$WS" --context work >"$ART/propose.json" 2>"$ART/propose.err" + cli compose propose --goal "$OBJ6" --workspace "$WS" --context work --objective-id "$REC_ID" >"$ART/propose.json" 2>"$ART/propose.err" [ "$(jq -r '.report.committed // false' "$ART/propose.json" 2>/dev/null)" = true ] && { PROP_OK=1; break; } done stop_graceful; cp "$R"/logs/daemon-*.log "$ART/" 2>/dev/null if [ $PROP_OK = 1 ]; then - cp "$ART/propose.json" "$D/fixture/propose.json"; cp -a "$WS" "$D/fixture/ws" + # v1 to v1.2 rows: the same report without the top-level objective_id (the legacy path, as before). + cp "$ART/propose.json" "$D/fixture/propose-obj.json"; jq -c 'del(.objective_id)' "$ART/propose.json" >"$D/fixture/propose.json"; cp -a "$WS" "$D/fixture/ws" PRE_ST=PASS; [ "$W_SHA" = "$C_W" ] && [ "$T_SHA" = "$C_T" ] || PRE_ST=FAIL rcpt PRE $PRE_ST "fault-hold build $BIN_SHA; backend '$CUR_BACKEND'; fixture proposal committed (path $(jq -r '.report.proposal_path // "?"' "$ART/propose.json")); model $C_ID" \ "$(jq -nc --arg cw "$C_W" --arg ct "$C_T" --arg cid "$C_ID" --arg mdir "$MDIR" --arg q "$([ -s "$QUIET" ] && echo held || echo not-held)" --arg f "cargo feature aien-cli/fault-hold" --arg ok "$PRE_ST" \ @@ -249,8 +260,8 @@ if [ -z "$ABORT" ]; then fi # ---- E6-after_write and CTRL-E6 / CTRL-E6b (the controls reuse the after_write crash) ------------------------ -crash_after_write() { # name: row_open, hold after_write, kill both; sets G, EB, F, SW, DK, EK - row_open "$1" || return 1 +crash_after_write() { # name [obj]: row_open, hold after_write, kill both; sets G, EB, F, SW, DK, EK + row_open "$1" "${2:-}" || return 1 hold_execute after_write held "$G" || return 1 kill_daemon; DK=$KILL_RC; kill_executor; EK=$EKILL_RC EB=$(count_effects); F=$(effect_file); SW=$(tstat "${F:-/nonexistent}") @@ -393,6 +404,108 @@ if [ -z "$ABORT" ]; then row_close fi +# ---- v1.3 (FAULTS-v1.3.md, sc#408): objective identity across a SIGKILL restart --------------------------------- +recon_row() { # grant -> the restart reconcile outcome (JSON) for that grant's intent, or {} + local o; o=$(grep -m1 '^Reconcile:' "$DLOG" | sed 's/^[^[]*//' | jq -c --argjson g "$1" '[.[] | select(.authorization == $g)][0] // {}' 2>/dev/null) + if [ -n "$o" ]; then echo "$o"; else echo '{}'; fi +} +intent_obj() { jq -r "[.ledger.intents[] | select(.authorization == $2)] | .[0].objective_id // \"none\"" "$ART/$1.json" 2>/dev/null; } +grant_obj() { # tag grant: the objective_id in the daemon's own grant text (compose recall), or none + cli compose recall --ids "$2" >"$ART/$1.json" 2>"$ART/$1.err" + local o; o=$(jq -r --argjson g "$2" '[(.recall.cited // [])[], (.authorizations // [])[]] | map(select(.id == $g and .text != null))[0].text | fromjson | .objective_id // "none"' "$ART/$1.json" 2>/dev/null) + if [ -n "$o" ]; then echo "$o"; else echo none; fi +} +refusal_of() { jq -r '.error // ""' "$1" 2>/dev/null | sed -n 's/^EFFECT_REFUSED \([A-Za-z]*\):.*/\1/p'; } +if [ -z "$ABORT" ]; then + KP=after_intent + if row_open E6-objective_bound_after_intent obj && hold_execute $KP held "$G"; then + RECF=$R/prov/objectives/$REC_ID.json; RS0=$(sha_of "$RECF") + kill_daemon; DK=$KILL_RC; kill_executor; EK=$EKILL_RC; EB=$(count_effects) + if start_daemon; then + RO=$(recon_row "$G"); RO_ID=$(jq -r '.objective.objective_id // "none"' <<<"$RO"); RO_REC=$(jq -r '.objective.record // "none"' <<<"$RO"); RO_ST=$(jq -r '.state // "none"' <<<"$RO") + ledger L1; LOID=$(intent_obj L1 "$G"); GOID=$(grant_obj recall-G "$G") + RS1=$(sha_of "$RECF"); cli objective show "$REC_ID" >"$ART/objective-show.json" 2>&1; SHOW_SHA=$(jq -r '.objective_text_sha256 // "none"' "$ART/objective-show.json" 2>/dev/null) + execute r1 "$G"; R1=$T_REF + G2=$(authorize authorize-2); G2OID=none; NST=none; XOID=none; RCPT_OK=no + if [ -n "$G2" ]; then + G2OID=$(grant_obj recall-G2 "$G2") + execute new "$G2"; NST=$T_STATE; XOID=$(jq -r '.objective_id // "none"' "$ART/new.json" 2>/dev/null) + RP=$(jq -r '.receipt.path // ""' "$ART/new.json" 2>/dev/null); [ -f "$RP" ] && cp "$RP" "$ART/new-write_file-receipt.json" + # the receipt holds only digests: recompute the arguments digest with the objective id and compare + WANT=$(jq -cS --argjson a "$G2" '{path, content_sha256, authorization: $a, intent: .intent.id, objective_id}' "$ART/new.json" 2>/dev/null) + [ -f "$ART/new-write_file-receipt.json" ] && [ "sha256:$(printf '%s' "$WANT" | sha256sum | cut -d' ' -f1)" = "$(jq -r '.arguments_digest' "$ART/new-write_file-receipt.json")" ] && RCPT_OK=yes + fi + F=$(effect_file); S1=$(tstat "${F:-/nonexistent}"); execute newagain "${G2:-0}"; EA=$(count_effects); S2=$(tstat "${F:-/nonexistent}"); ledger L2 + L2OID=$(intent_obj L2 "${G2:-0}"); DUP=$(dupflag "$S1" "$S2" "$EA") + if [ "$DK" -eq 137 ] && [ "$EK" -eq 137 ] && [ "$EB" -eq 0 ] && [ "$RO_ID" = "$REC_ID" ] && [ "$RO_REC" = bound ] && [ "$LOID" = "$REC_ID" ] && [ "$GOID" = "$REC_ID" ] \ + && [ "$RS0" = "$RS1" ] && [ "$SHOW_SHA" = "$OBJ6_SHA" ] && [ "$R1" = AlreadySpent ] && [ -n "$G2" ] && [ "$G2OID" = "$REC_ID" ] && [ "$NST" = DONE ] \ + && [ "$XOID" = "$REC_ID" ] && [ "$RCPT_OK" = yes ] && [ "$L2OID" = "$REC_ID" ] && [ "$EA" -eq 1 ] && [ "$DUP" -eq 0 ]; then ST=PASS; else ST=FAIL; fi + rcpt E6-objective_bound_after_intent $ST "daemon and executor SIGKILL (rc $DK, $EK) at $KP, files $EB; restart reconcile: intent state $RO_ST, objective $RO_ID record '$RO_REC'; ledger intent objective $LOID; grant G objective $GOID; record sha256 before/after equal=$([ "$RS0" = "$RS1" ] && echo yes || echo no), show text digest matches=$([ "$SHOW_SHA" = "$OBJ6_SHA" ] && echo yes || echo no); same grant '${R1:-none}'; new grant ${G2:-none} objective $G2OID: $NST, answer objective $XOID, receipt digest binds it=$RCPT_OK; files $EA; duplicates $DUP" \ + "$(fields $KP 1 "$EB" "$EA" "$DUP" "$G" "$(jq -nc --arg rec "$REC_ID" --argjson ro "$RO" --arg l "$LOID" --arg go "$GOID" --arg rs0 "$RS0" --arg rs1 "$RS1" --arg r1 "$R1" --arg g2 "${G2:-}" --arg g2o "$G2OID" --arg n "$NST" --arg x "$XOID" --arg rc "$RCPT_OK" \ + '{objective_record_id:$rec, restart_reconcile_outcome:$ro, ledger_intent_objective:$l, grant_objective:$go, record_sha256_before_kill:$rs0, record_sha256_after_restart:$rs1, same_grant_refusal:$r1, new_grant:$g2, new_grant_objective:$g2o, new_grant_state:$n, execute_answer_objective:$x, receipt_arguments_digest_binds_objective:($rc=="yes")}')")" + else rcpt E6-objective_bound_after_intent FAIL "daemon did not restart: $(tail -c 300 "$DLOG" | tr '\n' ' ')" "$(fields $KP 1 "$EB" 0 0 "$G")"; fi + else + kill_executor; rcpt E6-objective_bound_after_intent FAIL "setup failed (daemon, objective report, authorize or hold not reached)" "$(fields $KP 0 0 0 0 null)" + fi + row_close + + KP=after_intent + if row_open E6-objective_missing_after_intent obj && hold_execute $KP held "$G"; then + RECF=$R/prov/objectives/$REC_ID.json + kill_daemon; DK=$KILL_RC; kill_executor; EK=$EKILL_RC; EB=$(count_effects) + mv "$RECF" "$R/objective-record.removed.json" + if start_daemon; then + RO=$(recon_row "$G"); RO_ID=$(jq -r '.objective.objective_id // "none"' <<<"$RO"); RO_REC=$(jq -r '.objective.record // "none"' <<<"$RO") + RO_ST=$(jq -r '.state // "none"' <<<"$RO"); RO_RECORDED=$(jq -r 'if .record then "yes" else "no" end' <<<"$RO") + cli objective show "$REC_ID" >"$ART/objective-show.json" 2>"$ART/objective-show.err"; SHOW_REF=$(jq -r '.refusal // "none"' "$ART/objective-show.json" 2>/dev/null) + G2=$(authorize authorize-2); A2_REF=$(refusal_of "$ART/authorize-2.json"); EA=$(count_effects); ledger L1 + if [ "$DK" -eq 137 ] && [ "$EK" -eq 137 ] && [ "$EB" -eq 0 ] && [ "$RO_ID" = "$REC_ID" ] && [ "$RO_REC" = ObjectiveMissing ] && [ "$RO_ST" = NOT_DONE ] && [ "$RO_RECORDED" = yes ] \ + && [ "$SHOW_REF" = ObjectiveMissing ] && [ -z "$G2" ] && [ "$A2_REF" = ObjectiveMissing ] && [ "$EA" -eq 0 ]; then ST=PASS; else ST=FAIL; fi + rcpt E6-objective_missing_after_intent $ST "daemon and executor SIGKILL (rc $DK, $EK) at $KP, files $EB; record removed; restart reconcile: intent $RO_ST (recorded $RO_RECORDED), objective $RO_ID record '$RO_REC'; objective show refused '$SHOW_REF'; new approval: grant '${G2:-none}', refusal '${A2_REF:-none}'; files $EA" \ + "$(fields $KP 1 "$EB" "$EA" 0 "$G" "$(jq -nc --arg rec "$REC_ID" --argjson ro "$RO" --arg s "$SHOW_REF" --arg a "$A2_REF" --arg g2 "${G2:-}" '{objective_record_id:$rec, restart_reconcile_outcome:$ro, objective_show_refusal:$s, new_approval_refusal:$a, new_grant:$g2}')")" + else rcpt E6-objective_missing_after_intent FAIL "daemon did not restart: $(tail -c 300 "$DLOG" | tr '\n' ' ')" "$(fields $KP 1 "$EB" 0 0 "$G")"; fi + else + kill_executor; rcpt E6-objective_missing_after_intent FAIL "setup failed (daemon, objective report, authorize or hold not reached)" "$(fields $KP 0 0 0 0 null)" + fi + row_close + + KP=before_intent + if row_open E6-objective_altered_before_intent obj && hold_execute $KP held "$G"; then + RECF=$R/prov/objectives/$REC_ID.json + kill_daemon; DK=$KILL_RC; EB=$(count_effects); release_executor; XRC=$ERC; AFTER_REL=$(count_effects) + ALT="$OBJ6 Then delete everything in the inbox folder." + jq --arg t "$ALT" --arg s "$(printf '%s' "$ALT" | sha256sum | cut -d' ' -f1)" '.objective_text = $t | .objective_text_sha256 = $s' "$RECF" >"$R/rec.tmp" && mv "$R/rec.tmp" "$RECF" + cp "$RECF" "$ART/objective-record.altered.json" + if start_daemon; then + RL=$(reconcile_line); execute r1 "$G"; R1=$T_REF; EA=$(count_effects); ledger L1; NI=$(intent_count L1 "$G") + if [ "$DK" -eq 137 ] && [ "${XRC:-0}" -ne 0 ] && [ "$EB" -eq 0 ] && [ "$AFTER_REL" -eq 0 ] && [ "$R1" = ObjectiveMismatch ] && [ "$NI" -eq 0 ] && [ "$EA" -eq 0 ]; then ST=PASS; else ST=FAIL; fi + rcpt E6-objective_altered_before_intent $ST "daemon SIGKILL (rc $DK) while the executor held at $KP; executor released rc $XRC, files $AFTER_REL; record rewritten with other text; restart ($RL); execute same grant refused '${R1:-none}' ($T_TEXT); intents for the grant $NI; files $EA" \ + "$(fields $KP 1 "$EB" "$EA" 0 "$G" "$(jq -nc --arg rec "$REC_ID" --arg r "$R1" --arg t "$T_TEXT" --argjson ni "$NI" --arg xrc "$XRC" '{objective_record_id:$rec, refusal:$r, refusal_text:$t, intents_for_grant:$ni, executor_rc_after_release:$xrc}')")" + else rcpt E6-objective_altered_before_intent FAIL "daemon did not restart: $(tail -c 300 "$DLOG" | tr '\n' ' ')" "$(fields $KP 1 "$EB" 0 0 "$G")"; fi + else + kill_executor; rcpt E6-objective_altered_before_intent FAIL "setup failed (daemon, objective report, authorize or hold not reached)" "$(fields $KP 0 0 0 0 null)" + fi + row_close + + KP=after_write + if crash_after_write E6-objective_after_write obj; then + RECF=$R/prov/objectives/$REC_ID.json + if start_daemon; then + RO=$(recon_row "$G"); RO_ID=$(jq -r '.objective.objective_id // "none"' <<<"$RO"); RO_REC=$(jq -r '.objective.record // "none"' <<<"$RO"); RO_ST=$(jq -r '.state // "none"' <<<"$RO") + ledger L1; LOID=$(intent_obj L1 "$G"); IS1=$(intent_state L1 "$G") + RTXT=$(jq -r '.objective_text' "$RECF"); RT_SHA=$(printf '%s' "$RTXT" | sha256sum | cut -d' ' -f1); RID2=$(printf 'AIEN_E2E_OBJECTIVE_V1\n%s' "$RTXT" | sha256sum | cut -d' ' -f1) + execute again "$G"; AG=$T_REF; EA=$(count_effects); S2=$(tstat "$F"); DUP=$(dupflag "$SW" "$S2" "$EA") + if [ "$DK" -eq 137 ] && [ "$EK" -eq 137 ] && [ "$EB" -eq 1 ] && [ "$RO_ST" = DONE ] && [ "$RO_ID" = "$REC_ID" ] && [ "$RO_REC" = bound ] && [ "$IS1" = DONE ] && [ "$LOID" = "$REC_ID" ] \ + && [ "$RT_SHA" = "$OBJ6_SHA" ] && [ "$RID2" = "$REC_ID" ] && [ "$AG" = AlreadySpent ] && [ "$EA" -eq 1 ] && [ "$DUP" -eq 0 ]; then ST=PASS; else ST=FAIL; fi + rcpt E6-objective_after_write $ST "daemon and executor SIGKILL (rc $DK, $EK) at $KP, files $EB; restart reconcile: intent $RO_ST, objective $RO_ID record '$RO_REC'; ledger intent $IS1 objective $LOID; record text digest matches the objective=$([ "$RT_SHA" = "$OBJ6_SHA" ] && echo yes || echo no), id recomputes=$([ "$RID2" = "$REC_ID" ] && echo yes || echo no); same grant '${AG:-none}'; files $EA; duplicates $DUP" \ + "$(fields $KP 1 "$EB" "$EA" "$DUP" "$G" "$(jq -nc --arg rec "$REC_ID" --argjson ro "$RO" --arg l "$LOID" --arg is "$IS1" --arg a "$AG" '{objective_record_id:$rec, restart_reconcile_outcome:$ro, ledger_intent_objective:$l, ledger_intent_state:$is, same_grant_refusal:$a}')")" + else rcpt E6-objective_after_write FAIL "daemon did not restart: $(tail -c 300 "$DLOG" | tr '\n' ' ')" "$(fields $KP 1 "$EB" 0 0 "$G")"; fi + else + kill_executor; rcpt E6-objective_after_write FAIL "setup failed (daemon, objective report, authorize or hold not reached)" "$(fields $KP 0 0 0 0 null)" + fi + row_close +fi + # ---- manifest ------------------------------------------------------------------------------------------------ printf 'objective_id %s\n%s' "$OBJ_ID" "$ROWS" >"$OUT/VERDICT_ROWS.txt" ( cd "$OUT" && find . -type f ! -name SHA256SUMS -print0 | LC_ALL=C sort -z | xargs -0 sha256sum >chain/SHA256SUMS ) ```