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
GitHub aien-dev/aien-sovereign-core-mv#388 (code only)
Apply it
git checkout -b patch-fa9db2bacde00393 bd27228c000a81703b9e4218373ceae59b89dae3 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/fa9db2bacde00393.patch | git am
Provenance
github-import 1
aien-dev/aien-sovereign-core-mv
388
f309adc83b6dcd26bae1a91da4505a98ed9b8628
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":388,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/388","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:02Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/.crumb b/.crumb index 47af2fd4..ef48f7b5 100644 --- a/.crumb +++ b/.crumb @@ -77,14 +77,14 @@ } ], "children_root": "sha256:0a9888c4482972fc88ec2b2fd7c1f0a1833e714e49850d47058179b11f0772a1", - "compiled_at": "2026-10-10T15:10:37Z", + "compiled_at": "2026-10-10T15:24:40Z", "compiler": "crumb-compile/1", - "digest": "sha256:8dd4cf803754d22be5554e67ecf361c4804f7f66acc5bb09a9dc211782f363e4", + "digest": "sha256:f0001a48d28c7e206cda9770b82134ef9a65ae3530f20e0592d0c892003426f9", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", - "files": 2168, - "generated_at_commit": "3e86c8010257b46ebacc501a1654b75b19829be4", - "source_tree": "sha256:31acafd6d35b30603634ccb8100e605f0fd588e8f94402e2abea0f3ee412e7eb" + "files": 2171, + "generated_at_commit": "1f3214e54b4593505dce6d3f0e0806342d289809", + "source_tree": "sha256:64c41b4454e55a08feed7a3be5c9a4da90de9ea1c16b5430db3172d2d1466d66" } }, "history": [], diff --git a/crates/aien-cli/.crumb b/crates/aien-cli/.crumb index abdcbc64..a6adf18b 100644 --- a/crates/aien-cli/.crumb +++ b/crates/aien-cli/.crumb @@ -34,21 +34,21 @@ "generated": { "children": [ { - "digest": "b4906bde0d826f84065bcbfae1724c0404dbea1561cfae1ec997e707c1f17c8e", - "last_commit": "c0ced46", + "digest": "d79e3c531b9d0a038789dc1ac2d1fd038e1d844a80b47f7b626b60db1a6898c5", + "last_commit": "ec3888e", "name": "src", "purpose": "" } ], - "children_root": "sha256:5d6f6c1612286d8a1999d93f2895e69ed34857e2d96e98913418950cb649efc5", - "compiled_at": "2026-10-10T14:33:59Z", + "children_root": "sha256:0fafe9f011663786acabfd4f8e2d52100507f22034ea7d0955b00bba32d78c8e", + "compiled_at": "2026-10-10T14:44:25Z", "compiler": "crumb-compile/1", - "digest": "sha256:aa13207860fcc47487d68feaf028ed20ec0caa3a91aebf47f517f1221a2fa263", + "digest": "sha256:cc57fc21fd819f61910e5765194a54812ab477e5b132f62769218795645eab1c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 38, - "generated_at_commit": "c0ced46e5afb91dc44a802aed6be4e194ddf37a7", - "source_tree": "sha256:39975b869aea43986cee1fe87eccddaabd16f195ef1fe1e4625b0ffb58f7773c" + "files": 40, + "generated_at_commit": "ec3888e156c27fa2d49ea2c9ac5cbbfd6484aa80", + "source_tree": "sha256:ede2cf2db79bdbaf96569eab23662ab4684cf67a243621c51036ca968c4bdd41" } }, "history": [ diff --git a/crates/aien-cli/src/.crumb b/crates/aien-cli/src/.crumb index 14aa4853..53a52224 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-10T14:33:59Z", + "compiled_at": "2026-10-10T14:44:25Z", "compiler": "crumb-compile/1", - "digest": "sha256:b4906bde0d826f84065bcbfae1724c0404dbea1561cfae1ec997e707c1f17c8e", + "digest": "sha256:d79e3c531b9d0a038789dc1ac2d1fd038e1d844a80b47f7b626b60db1a6898c5", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 28, - "generated_at_commit": "c0ced46e5afb91dc44a802aed6be4e194ddf37a7", - "source_tree": "sha256:b03d3940b14cfe7fe4028d7f1553968a4274840819f795460c3fabd2020dc011" + "files": 29, + "generated_at_commit": "ec3888e156c27fa2d49ea2c9ac5cbbfd6484aa80", + "source_tree": "sha256:0908835867852fbfb2d2759d8dfd7c0213cd5e615e56ea614bcacf44ffff4352" } }, "history": [ diff --git a/crates/aien-cli/src/compose.rs b/crates/aien-cli/src/compose.rs index 8bb3d55a..3ec255a8 100644 --- a/crates/aien-cli/src/compose.rs +++ b/crates/aien-cli/src/compose.rs @@ -288,15 +288,29 @@ async fn step(sub: &str, m: &HashMap<String, String>) -> Result<Value, String> { "entries": entries})) } "propose" => { + let goal = need(m, "goal")?.to_string(); + let objective = match m.get("objective-id") { + Some(id) => Some( + crate::objective::check_binding(id, &goal) + .map_err(crate::objective::refuse_propose)?, + ), + None => None, + }; let (_, ws) = confine(need(m, "workspace")?)?; match send(ControlCommand::RunComposeTask { - goal: need(m, "goal")?.to_string(), + goal, workspace: ws.display().to_string(), context: m.get("context").cloned(), }) .await? { - ControlResponse::ComposeTaskResult(r) => Ok(json!({"step": "S3", "report": r})), + ControlResponse::ComposeTaskResult(r) => { + let out = json!({"step": "S3", "report": r}); + Ok(match objective { + Some(id) => crate::objective::attach(out, &id), + None => out, + }) + } other => Err(format!("unexpected response {other:?}")), } } diff --git a/crates/aien-cli/src/main.rs b/crates/aien-cli/src/main.rs index 9535ece9..1b5ad5d0 100644 --- a/crates/aien-cli/src/main.rs +++ b/crates/aien-cli/src/main.rs @@ -11,6 +11,7 @@ pub mod goals; mod hive; pub mod hooks; mod nesting; +mod objective; pub mod platform; pub mod rules; mod safety; @@ -62,6 +63,10 @@ async fn main() { allen::handle_allen_command(&args[2..]).await; return; } + if args[1] == "objective" { + objective::handle_objective_command(&args[2..]); + return; + } if args[1] == "compose" { compose::handle_compose_command(&args[2..]).await; return; diff --git a/crates/aien-cli/src/objective.rs b/crates/aien-cli/src/objective.rs new file mode 100644 index 00000000..fff12733 --- /dev/null +++ b/crates/aien-cli/src/objective.rs @@ -0,0 +1,218 @@ +//! sovereign-core #380 (lane L6, acceptance step E2 and CTRL-E2): the +//! operator's objective is recorded, with its identity, before any work. +//! +//! `aien-cli objective record --text TEXT [--effect-class CLASS]` writes +//! `objectives/<objective_id>.json` under `AIEN_PROVENANCE_DIR` (the same +//! directory the effect receipts use). The operator declares the effect class; +//! nothing here classifies natural language. A declared +//! `EXTERNAL_IRREVERSIBLE` (the class name in `aien-mcp` `ToolEffects`) is +//! refused before anything is written. `compose propose --objective-id` ties +//! a proposal to a record by the sha256 of the goal text. +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"; + +/// A named refusal: `OBJECTIVE_REFUSED <name>: <detail>`. +#[derive(Debug)] +pub struct Refusal { + pub name: &'static str, + pub detail: String, +} + +impl Refusal { + fn new(name: &'static str, detail: impl Into<String>) -> Self { + Refusal { + name, + detail: detail.into(), + } + } + pub fn line(&self) -> String { + format!("OBJECTIVE_REFUSED {}: {}", self.name, self.detail) + } +} + +fn sha256_hex(b: &[u8]) -> String { + hex::encode(Sha256::digest(b)) +} + +pub fn objective_id(text: &str) -> String { + sha256_hex(format!("{DOMAIN_TAG}\n{text}").as_bytes()) +} + +fn dir() -> PathBuf { + std::env::var("AIEN_PROVENANCE_DIR") + .map(PathBuf::from) + .unwrap_or_else(|_| PathBuf::from("/tmp/aien-provenance")) + .join("objectives") +} + +fn valid_id(id: &str) -> bool { + id.len() == 64 + && id + .bytes() + .all(|b| b.is_ascii_digit() || (b'a'..=b'f').contains(&b)) +} + +/// Validate and write the record. Refuses before touching the disk. +pub fn record(text: &str, class: Option<&str>) -> Result<Value, Refusal> { + let class = class.unwrap_or(DEFAULT_CLASS).trim().to_ascii_uppercase(); + if class == FORBIDDEN_CLASS { + return Err(Refusal::new( + "ForbiddenEffectClass", + format!("the declared effect class {FORBIDDEN_CLASS} is never executed"), + )); + } + if text.trim().is_empty() { + return Err(Refusal::new("Empty", "the objective text is empty")); + } + if text.len() > MAX_TEXT_BYTES { + return Err(Refusal::new( + "TooLong", + format!("{} bytes, at most {MAX_TEXT_BYTES}", text.len()), + )); + } + let id = objective_id(text); + let text_sha = sha256_hex(text.as_bytes()); + let utc = chrono::Utc::now().format("%Y-%m-%dT%H:%M:%SZ").to_string(); + let rec = json!({ + "version": 1, + "objective_id": id, + "objective_text": text, + "objective_text_sha256": text_sha, + "effect_class": class, + "recorded_before_work": true, + "operator_surface": "aien-cli", + "utc": utc, + }); + let d = dir(); + std::fs::create_dir_all(&d) + .map_err(|e| Refusal::new("RecordUnwritable", format!("{}: {e}", d.display())))?; + let path = d.join(format!("{id}.json")); + let bytes = serde_json::to_vec_pretty(&rec).expect("record is JSON"); + std::fs::write(&path, bytes) + .map_err(|e| Refusal::new("RecordUnwritable", format!("{}: {e}", path.display())))?; + Ok(json!({ + "ok": true, + "objective_id": id, + "path": path.display().to_string(), + "objective_text_sha256": text_sha, + "recorded_before_work": true, + "operator_surface": "aien-cli", + "utc": utc, + })) +} + +pub fn load(id: &str) -> Result<Value, Refusal> { + if !valid_id(id) { + return Err(Refusal::new( + "ObjectiveMissing", + 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(|_| { + Refusal::new( + "ObjectiveMissing", + format!("no objective record {}", path.display()), + ) + })?; + serde_json::from_slice(&bytes) + .map_err(|e| Refusal::new("ObjectiveMissing", format!("{}: {e}", path.display()))) +} + +/// `compose propose --objective-id`: the record must exist and the goal must +/// be the recorded text. Returns the id to carry in the report. +pub fn check_binding(id: &str, goal: &str) -> Result<String, Refusal> { + let rec = load(id)?; + let want = rec["objective_text_sha256"].as_str().unwrap_or(""); + let got = sha256_hex(goal.as_bytes()); + if want != got { + return Err(Refusal::new( + "ObjectiveMismatch", + format!("sha256 of --goal is {got}, the record {id} holds {want}"), + )); + } + Ok(id.to_string()) +} + +/// Add the objective id to a propose report. +pub fn attach(mut report: Value, id: &str) -> Value { + report["objective_id"] = json!(id); + report +} + +fn refuse(r: Refusal) -> ! { + eprintln!("{}", r.line()); + let v = json!({"ok": false, "refusal": r.name, "error": r.line()}); + println!("{v}"); + std::process::exit(1); +} + +pub fn handle_objective_command(args: &[String]) { + let usage = || -> ! { + println!( + "{}", + json!({"ok": false, "error": "usage: aien-cli objective record --text TEXT [--effect-class CLASS] | objective show ID"}) + ); + std::process::exit(1); + }; + match args.first().map(String::as_str) { + Some("record") => { + let (mut text, mut class) = (None, None); + let mut i = 1; + while i < args.len() { + let Some(v) = args.get(i + 1) else { usage() }; + match args[i].as_str() { + "--text" => text = Some(v.clone()), + "--effect-class" => class = Some(v.clone()), + _ => usage(), + } + i += 2; + } + let Some(text) = text else { usage() }; + match record(&text, class.as_deref()) { + Ok(v) => println!("{v}"), + Err(r) => refuse(r), + } + } + Some("show") if args.len() == 2 => match load(&args[1]) { + Ok(mut v) => { + v["ok"] = json!(true); + println!("{v}"); + } + Err(r) => refuse(r), + }, + _ => usage(), + } +} + +pub fn refuse_propose(r: Refusal) -> String { + eprintln!("{}", r.line()); + r.line() +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn matching_objective_id_is_accepted_and_carried() { + let t = tempfile::tempdir().unwrap(); + std::env::set_var("AIEN_PROVENANCE_DIR", t.path()); + let r = record("do the thing", None).unwrap(); + let id = r["objective_id"].as_str().unwrap(); + assert_eq!(check_binding(id, "do the thing").unwrap(), id); + assert_eq!( + check_binding(id, "other").unwrap_err().name, + "ObjectiveMismatch" + ); + let rep = attach(json!({"step": "S3"}), id); + assert_eq!(rep["objective_id"], id); + std::env::remove_var("AIEN_PROVENANCE_DIR"); + } +} diff --git a/crates/aien-cli/tests/objective_record_test.rs b/crates/aien-cli/tests/objective_record_test.rs new file mode 100644 index 00000000..8f29d695 --- /dev/null +++ b/crates/aien-cli/tests/objective_record_test.rs @@ -0,0 +1,191 @@ +//! sovereign-core #380 (lane L6, acceptance step E2 and CTRL-E2): the +//! installation records the operator's objective before any work, refuses a +//! declared forbidden effect class, and ties `compose propose` to the record. +//! These tests drive the real CLI binary; none needs a daemon or a model. +use serde_json::Value; +use sha2::{Digest, Sha256}; +use std::path::{Path, PathBuf}; +use std::process::{Command, Output}; + +const TEXT: &str = "Summarise the three files in inbox/ into outbox/report.md"; + +fn expected_id(text: &str) -> String { + hex::encode(Sha256::digest( + format!("AIEN_E2E_OBJECTIVE_V1\n{text}").as_bytes(), + )) +} + +fn run(prov: &Path, args: &[&str]) -> Output { + Command::new(env!("CARGO_BIN_EXE_aien-cli")) + .args(args) + .env("AIEN_PROVENANCE_DIR", prov) + // No daemon exists: anything that reaches the daemon fails differently. + .env("AIEN_RUNTIME_SOCK", prov.join("no-such.sock")) + .output() + .expect("run aien-cli") +} + +fn json_of(o: &Output) -> Value { + String::from_utf8_lossy(&o.stdout) + .lines() + .rev() + .find_map(|l| serde_json::from_str::<Value>(l).ok()) + .unwrap_or_else(|| panic!("no JSON on stdout: {:?}", o)) +} + +fn stderr_of(o: &Output) -> String { + String::from_utf8_lossy(&o.stderr).to_string() +} + +fn prov() -> (tempfile::TempDir, PathBuf) { + let t = tempfile::tempdir().unwrap(); + let p = t.path().join("prov"); + (t, p) +} + +#[test] +fn record_writes_file_and_id_is_reproducible() { + let (_t, p) = prov(); + let o = run(&p, &["objective", "record", "--text", TEXT]); + assert!(o.status.success(), "{:?}", o); + let v = json_of(&o); + assert_eq!(v["ok"], true); + let id = v["objective_id"].as_str().unwrap().to_string(); + assert_eq!(id, expected_id(TEXT)); + assert_eq!( + v["objective_text_sha256"], + hex::encode(Sha256::digest(TEXT)) + ); + assert_eq!(v["recorded_before_work"], true); + assert_eq!(v["operator_surface"], "aien-cli"); + assert!(v["utc"].as_str().unwrap().ends_with('Z')); + let path = PathBuf::from(v["path"].as_str().unwrap()); + assert!(path.starts_with(&p) && path.is_file()); + assert_eq!( + path.file_name().unwrap().to_str().unwrap(), + format!("{id}.json") + ); + let rec: Value = serde_json::from_slice(&std::fs::read(&path).unwrap()).unwrap(); + assert_eq!(rec["objective_id"], id); + assert_eq!(rec["objective_text"], TEXT); + assert_eq!(rec["effect_class"], "WORKSPACE_WRITE"); + // Same text again gives the same identity. + let again = json_of(&run(&p, &["objective", "record", "--text", TEXT])); + assert_eq!(again["objective_id"], id); +} + +#[test] +fn record_refuses_over_length_text() { + let (_t, p) = prov(); + let ok = "a".repeat(2000); + assert!(run(&p, &["objective", "record", "--text", &ok]) + .status + .success()); + let long = "a".repeat(2001); + let o = run(&p, &["objective", "record", "--text", &long]); + assert!(!o.status.success()); + assert_eq!(json_of(&o)["ok"], false); + assert!( + stderr_of(&o).contains("OBJECTIVE_REFUSED TooLong"), + "{}", + stderr_of(&o) + ); +} + +#[test] +fn record_refuses_forbidden_effect_class_before_any_work() { + let (_t, p) = prov(); + let o = run( + &p, + &[ + "objective", + "record", + "--text", + "Email the report", + "--effect-class", + "EXTERNAL_IRREVERSIBLE", + ], + ); + assert!(!o.status.success()); + let v = json_of(&o); + assert_eq!(v["ok"], false); + assert_eq!(v["refusal"], "ForbiddenEffectClass"); + assert!( + stderr_of(&o).contains("OBJECTIVE_REFUSED ForbiddenEffectClass"), + "{}", + stderr_of(&o) + ); + // Nothing was recorded and no effect receipt exists. + assert!(!p + .join("objectives") + .join(format!("{}.json", expected_id("Email the report"))) + .exists()); + let leftovers = std::fs::read_dir(&p).map(|d| d.count()).unwrap_or(0); + assert_eq!(leftovers, 0); +} + +#[test] +fn show_prints_the_record() { + let (_t, p) = prov(); + let id = json_of(&run(&p, &["objective", "record", "--text", TEXT]))["objective_id"] + .as_str() + .unwrap() + .to_string(); + let o = run(&p, &["objective", "show", &id]); + assert!(o.status.success(), "{:?}", o); + let v = json_of(&o); + assert_eq!(v["ok"], true); + assert_eq!(v["objective_id"], id); + assert_eq!(v["objective_text"], TEXT); + let missing = run(&p, &["objective", "show", &"0".repeat(64)]); + assert!(!missing.status.success()); + assert!(stderr_of(&missing).contains("OBJECTIVE_REFUSED ObjectiveMissing")); +} + +fn propose(p: &Path, ws: &Path, goal: &str, id: &str) -> Output { + run( + p, + &[ + "compose", + "propose", + "--workspace", + ws.to_str().unwrap(), + "--goal", + goal, + "--objective-id", + id, + ], + ) +} + +#[test] +fn propose_with_mismatched_objective_id_is_refused() { + let (t, p) = prov(); + let id = json_of(&run(&p, &["objective", "record", "--text", TEXT]))["objective_id"] + .as_str() + .unwrap() + .to_string(); + let ws = t.path().join("ws"); + std::fs::create_dir_all(&ws).unwrap(); + let o = propose(&p, &ws, "Summarise something else", &id); + assert!(!o.status.success()); + let v = json_of(&o); + assert_eq!(v["ok"], false); + assert!( + v["error"].as_str().unwrap().contains("ObjectiveMismatch"), + "{v}" + ); +} + +#[test] +fn propose_with_missing_objective_id_is_refused() { + let (t, p) = prov(); + let ws = t.path().join("ws"); + std::fs::create_dir_all(&ws).unwrap(); + let o = propose(&p, &ws, TEXT, &"f".repeat(64)); + assert!(!o.status.success()); + assert!(json_of(&o)["error"] + .as_str() + .unwrap() + .contains("ObjectiveMissing")); +} diff --git a/docs/campaigns/whole-system-e2e/REGRESSION-sc380.md b/docs/campaigns/whole-system-e2e/REGRESSION-sc380.md new file mode 100644 index 00000000..f38b98e4 --- /dev/null +++ b/docs/campaigns/whole-system-e2e/REGRESSION-sc380.md @@ -0,0 +1,33 @@ +# REGRESSION-sc380: operator objective record and the CTRL-E2 refusal + +Tracking: aien-sovereign-core#380 (lane L6), aien-architecture#190. Contract: `docs/plans/release-readiness/ACCEPTANCE_E2E.md` step E2 and CTRL-E2. + +## Failing behaviour as observed + +In the harness runs under `docs/campaigns/whole-system-e2e/runs/` step E2 is recorded NOT_RUN: the installation has no command that accepts an objective and records it. `aien compose propose --goal` runs the model first and only afterwards stores the goal inside the proposal report. The harness therefore wrote the objective receipt itself, and CTRL-E2 (a forbidden effect class refused before execution) had nothing to test. + +## What is added + +- `aien objective record --text TEXT [--effect-class CLASS]` writes `objectives/<objective_id>.json` under `AIEN_PROVENANCE_DIR` (same fallback as effect receipts) and prints `ok`, `objective_id`, `path`, `objective_text_sha256`, `recorded_before_work` (true), `operator_surface` (`aien-cli`), `utc`. +- `objective_id` = lowercase hex sha256 of `AIEN_E2E_OBJECTIVE_V1`, LF, then the text bytes. Text is at most 2000 bytes UTF-8. +- The operator declares the effect class. Default is `WORKSPACE_WRITE`. The CLI does not classify natural language. CTRL-E2 therefore tests the declared class: `EXTERNAL_IRREVERSIBLE` is refused with `OBJECTIVE_REFUSED ForbiddenEffectClass: ...` on stderr, `ok:false` on stdout, non-zero exit, and no record is written. +- `aien objective show ID` prints the record. +- `aien compose propose --objective-id ID` refuses (`ObjectiveMissing`, `ObjectiveMismatch`) before any model call if the record is missing or sha256 of `--goal` differs from the record; on success the report carries `objective_id`. Without the flag nothing changes. + +## Tests (crates/aien-cli/tests/objective_record_test.rs and unit tests in src/objective.rs) + +| test | on current main | after fix | +|---|---|---| +| record_writes_file_and_id_is_reproducible | FAIL (no command) | PASS | +| record_refuses_over_length_text | FAIL | PASS | +| record_refuses_forbidden_effect_class_before_any_work | FAIL | PASS | +| show_prints_the_record | FAIL | PASS | +| propose_with_mismatched_objective_id_is_refused | FAIL | PASS | +| propose_with_missing_objective_id_is_refused | FAIL | PASS | +| unit: matching_objective_id_is_accepted_and_carried | FAIL (does not compile) | PASS | + +The matching case is a unit test of the check and the report attachment, because a live propose needs a daemon and the linked composition library. + +## Must not change + +Every existing command and flag, `compose propose` without `--objective-id`, the effect receipt format and location, `scripts/whole_system_e2e.sh`, and anything under `runs/`.