interplane.Get Omega
Read in your language

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#223 (code only)

closed derived af6f1a37f1857a40 #223

Imported from GitHub aien-dev/aien-sovereign-core-mv#223 (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 14f18ffeccd87aae4c931e2f1e8e99c6dac65135 · Head eecfb2c0e2ac2faab46f132705a23cb702701ead

Fetch it

A git bundle of the pull request's head, 26191 bytes.

curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/af6f1a37f1857a40.bundle -o af6f1a37f1857a40.bundle
git fetch af6f1a37f1857a40.bundle refs/pull/223/head

Raw bundle · 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
223
eecfb2c0e2ac2faab46f132705a23cb702701ead
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":223,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/223","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:21Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index cba6ac26..fab59092 100644
--- a/.crumb
+++ b/.crumb
@@ -77,14 +77,14 @@
         }
       ],
       "children_root": "sha256:10d81c6270915316b54eee21734bb8e8f2716ffdc567100fb347a5f22ed95e24",
-      "compiled_at": "2026-10-06T03:25:30Z",
+      "compiled_at": "2026-10-06T14:04:39Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:b630e0720f32de35df66e7982c1e50020f374004e890bca004986450c0bc7fd5",
+      "digest": "sha256:01c72768b6e5a60d7e282ce83e983f0487b7102c6626cbfef13e0d512cc6bc17",
       "evidence_files": 20,
       "evidence_root": "sha256:1ef4526f6fe1ba0cee21a89c3313d37bf2e94e1aa2e9bd1a364225e52882d170",
-      "files": 715,
-      "generated_at_commit": "6264a9e34551c4aff3f5e7f08aec6677125c4387",
-      "source_tree": "sha256:2ea3d0f8b8d455157c595a0a5ed59e1b19111429ec7aeff23be10b9eb06c1c1b"
+      "files": 720,
+      "generated_at_commit": "9dba4e054f4aa259952973e5e9e760c86c94c26e",
+      "source_tree": "sha256:e0ffe4503121289b3c423ba1da31e69af6369862e952dbe4a3c799b9587ae4db"
     }
   },
   "history": [],
diff --git a/crates/aien-cli/.crumb b/crates/aien-cli/.crumb
index 22beaa16..89143c53 100644
--- a/crates/aien-cli/.crumb
+++ b/crates/aien-cli/.crumb
@@ -34,21 +34,21 @@
     "generated": {
       "children": [
         {
-          "digest": "7e172306ece8e1b074de1f9375f012d5886c89993bfe7a0fa32f3c7ec0ec342f",
-          "last_commit": "94b1eed",
+          "digest": "97c4efd5322886abdb20f35ab606c6db09b1b7c3b120d41ccb42be2a91fbd463",
+          "last_commit": "91751b6",
           "name": "src",
           "purpose": ""
         }
       ],
-      "children_root": "sha256:c3356e96fd5c1cc4bcb5edaebe1e8e0dcfae3496b43602fdcf5247fdc37dd3d5",
-      "compiled_at": "2026-10-06T02:27:26Z",
+      "children_root": "sha256:80b6c7ebb28dd04341c73cb0f5211916f82ee10a9fb4edaf835672685fb6e408",
+      "compiled_at": "2026-10-06T11:21:59Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:f8352cc1a77ec1cf3bb377b96f648e4e5b6d488be85cd1a9941eb68dd757bd5c",
+      "digest": "sha256:b9d37df27b04066d940013357a6362e6d8051b6810e14db1f8b2aaa0e85c57e8",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 28,
-      "generated_at_commit": "94b1eed8649067dda6ce75ad905d33047f5902b6",
-      "source_tree": "sha256:dd7f86eb35f1d49c5161867f78cc2775eff91220ff42fc758f39a8d5f10e8348"
+      "generated_at_commit": "5f8eb8817fec34e26335e01746cdb45fedeeafcf",
+      "source_tree": "sha256:96feac1c61429b10c0b0bac5e29890e2bc3f7aeebd30f260282032170e7b3b1e"
     }
   },
   "history": [
diff --git a/crates/aien-cli/src/.crumb b/crates/aien-cli/src/.crumb
index a309bf99..a6da6af4 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-06T02:27:26Z",
+      "compiled_at": "2026-10-06T11:21:59Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:7e172306ece8e1b074de1f9375f012d5886c89993bfe7a0fa32f3c7ec0ec342f",
+      "digest": "sha256:97c4efd5322886abdb20f35ab606c6db09b1b7c3b120d41ccb42be2a91fbd463",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 25,
-      "generated_at_commit": "94b1eed8649067dda6ce75ad905d33047f5902b6",
-      "source_tree": "sha256:f15e1c93e1b10a1ef385ad83657282ff84354898ce045ee6458e05740205b648"
+      "generated_at_commit": "5f8eb8817fec34e26335e01746cdb45fedeeafcf",
+      "source_tree": "sha256:3f2c8d47aca985d7f0bdd49dc9f50fe0d0a62ffc45bbf59999376e964042220d"
     }
   },
   "history": [
diff --git a/crates/aien-cli/src/commands.rs b/crates/aien-cli/src/commands.rs
index a25ac6b0..6a9ff4f2 100644
--- a/crates/aien-cli/src/commands.rs
+++ b/crates/aien-cli/src/commands.rs
@@ -1372,6 +1372,8 @@ pub async fn run_daemon_server() {
     if let Some(tokenizer) = tokenizer {
         server.set_tokenizer(tokenizer);
         println!("  Tokenizer: {}", "TinyLlama chat template".green());
+        // NEXT-PHASE-1 v4: one declared 1-token warm-up before serving.
+        server.enable_warm_up();
     } else {
         println!(
             "  Tokenizer: {}",
diff --git a/crates/aien-runtime/src/server.rs b/crates/aien-runtime/src/server.rs
index 9e60b6aa..59c7fdde 100644
--- a/crates/aien-runtime/src/server.rs
+++ b/crates/aien-runtime/src/server.rs
@@ -27,8 +27,19 @@ pub struct AienRuntimeServer {
     shutdown_notify: Arc<Notify>,
     is_running: Arc<AtomicBool>,
     tokenizer: Arc<RwLock<Option<TinyLlamaTokenizer>>>,
+    warm_up: AtomicBool,
 }
 
+/// NEXT-PHASE-1 v4 declared warm-up prompt (ACCEPTANCE-v4 Section 2(2)):
+/// fixed text, more than one 128-token prefill chunk once templated, so
+/// both the full-chunk and the remainder prefill paths run before serving.
+pub const WARM_UP_TEXT: &str = "Warm-up turn before serving requests. This text is fixed and its one generated token is discarded. \
+Warm-up turn before serving requests. This text is fixed and its one generated token is discarded. \
+Warm-up turn before serving requests. This text is fixed and its one generated token is discarded. \
+Warm-up turn before serving requests. This text is fixed and its one generated token is discarded. \
+Warm-up turn before serving requests. This text is fixed and its one generated token is discarded. \
+Warm-up turn before serving requests. This text is fixed and its one generated token is discarded.";
+
 impl AienRuntimeServer {
     pub fn new(spine: AienRuntimeSpine, socket_path: impl AsRef<Path>) -> Self {
         Self {
@@ -37,6 +48,7 @@ impl AienRuntimeServer {
             shutdown_notify: Arc::new(Notify::new()),
             is_running: Arc::new(AtomicBool::new(false)),
             tokenizer: Arc::new(RwLock::new(None)),
+            warm_up: AtomicBool::new(false),
         }
     }
 
@@ -45,6 +57,12 @@ impl AienRuntimeServer {
         *self.tokenizer.write().expect("tokenizer lock") = Some(tokenizer);
     }
 
+    /// Run the declared warm-up turn (1 token, discarded) at the start of
+    /// `run`, before any request is served (ACCEPTANCE-v4 Section 2(2)).
+    pub fn enable_warm_up(&self) {
+        self.warm_up.store(true, Ordering::SeqCst);
+    }
+
     pub fn spine(&self) -> Arc<Mutex<AienRuntimeSpine>> {
         self.spine.clone()
     }
@@ -137,6 +155,12 @@ impl AienRuntimeServer {
             }
         });
 
+        // NEXT-PHASE-1 v4: the declared warm-up, before the accept loop
+        // serves anything (clients that connect meanwhile wait in the backlog).
+        if self.warm_up.load(Ordering::SeqCst) {
+            self.run_warm_up().await;
+        }
+
         // NEXT-PHASE-1: the compose bridge (opened on the first RunComposeTask).
         let compose = match compose_dir_from_env() {
             Ok(dir) => Some(Arc::new(ComposeBridge::new(
@@ -222,6 +246,46 @@ fn text_suffix(previous: &str, decoded: &str) -> String {
     decoded.strip_prefix(previous).unwrap_or("").to_string()
 }
 
+impl AienRuntimeServer {
+    /// One greedy 1-token turn on `WARM_UP_TEXT`; the token is discarded.
+    /// Prints `Warm-up: 1 token in <ms> ms over <n> prompt tokens (discarded)`
+    /// or `Warm-up: FAILED ...`; a failure does not stop the daemon.
+    async fn run_warm_up(&self) {
+        let messages = vec![crate::control::ChatTurn {
+            role: "user".into(),
+            content: WARM_UP_TEXT.into(),
+        }];
+        let prompt_tokens = {
+            let guard = self.tokenizer.read().expect("tokenizer lock");
+            guard.as_ref().and_then(|t| {
+                t.encode(&crate::control::format_tinyllama_chat(&messages))
+                    .ok()
+                    .map(|ids| ids.len())
+            })
+        };
+        let t0 = std::time::Instant::now();
+        let out = generate_text(
+            self.spine.clone(),
+            self.tokenizer.clone(),
+            messages,
+            1,
+            0.0,
+            std::time::Duration::from_secs(120),
+            "",
+        )
+        .await;
+        let ms = t0.elapsed().as_millis();
+        match out {
+            Ok(g) => println!(
+                "  Warm-up: {} token in {ms} ms over {} prompt tokens (discarded)",
+                g.tokens,
+                prompt_tokens.unwrap_or(0)
+            ),
+            Err(e) => println!("  Warm-up: FAILED after {ms} ms: {e}"),
+        }
+    }
+}
+
 /// Encode the chat and submit it to the spine (the `StreamTurn` path). Returns
 /// the tokenizer and the completion event stream of the submitted sequence.
 async fn submit_turn(
@@ -230,6 +294,7 @@ async fn submit_turn(
     messages: Vec<crate::control::ChatTurn>,
     max_tokens: usize,
     temperature: f32,
+    assistant_prefix: &str,
 ) -> Result<
     (
         TinyLlamaTokenizer,
@@ -244,7 +309,12 @@ async fn submit_turn(
     let Some(tokenizer) = tokenizer else {
         return Err("tokenizer is not loaded; native chat cannot encode the prompt".into());
     };
-    let prompt = crate::control::format_tinyllama_chat(&messages);
+    // The template ends with the assistant marker; an assistant-response
+    // prefix (compose Skill, ACCEPTANCE-v4 2(1)) follows it directly.
+    let prompt = format!(
+        "{}{assistant_prefix}",
+        crate::control::format_tinyllama_chat(&messages)
+    );
     let tokens = tokenizer
         .encode(&prompt)
         .map_err(|error| format!("tokenizer encode failed: {error}"))?;
@@ -279,9 +349,17 @@ async fn generate_text(
     max_tokens: usize,
     temperature: f32,
     limit: std::time::Duration,
+    assistant_prefix: &str,
 ) -> Result<crate::spine::Generation, String> {
-    let (tokenizer, mut events) =
-        submit_turn(spine, tokenizer, messages, max_tokens, temperature).await?;
+    let (tokenizer, mut events) = submit_turn(
+        spine,
+        tokenizer,
+        messages,
+        max_tokens,
+        temperature,
+        assistant_prefix,
+    )
+    .await?;
     let collect = async {
         let mut produced = Vec::new();
         loop {
@@ -326,14 +404,22 @@ pub fn model_proposer(
             role: "user".into(),
             content: prompt.to_string(),
         }];
-        handle.block_on(generate_text(
-            spine.clone(),
-            tokenizer.clone(),
-            messages,
-            max_tokens,
-            0.0,
-            limit,
-        ))
+        // The assistant turn starts with the fixed prefix; the reply the
+        // parser reads is prefix + generated text (ACCEPTANCE-v4 2(1)).
+        handle
+            .block_on(generate_text(
+                spine.clone(),
+                tokenizer.clone(),
+                messages,
+                max_tokens,
+                0.0,
+                limit,
+                crate::spine::COMPOSE_ASSISTANT_PREFIX,
+            ))
+            .map(|g| crate::spine::Generation {
+                text: format!("{}{}", crate::spine::COMPOSE_ASSISTANT_PREFIX, g.text),
+                tokens: g.tokens,
+            })
     })
 }
 
@@ -346,7 +432,7 @@ async fn stream_turn(
     temperature: f32,
 ) {
     let (tokenizer, mut events) =
-        match submit_turn(spine, tokenizer, messages, max_tokens, temperature).await {
+        match submit_turn(spine, tokenizer, messages, max_tokens, temperature, "").await {
             Ok(x) => x,
             Err(error) => {
                 let _ = write_response(writer, &ControlResponse::Error(error)).await;
diff --git a/crates/aien-runtime/src/spine.rs b/crates/aien-runtime/src/spine.rs
index 8305c0ea..f6a9c4d0 100644
--- a/crates/aien-runtime/src/spine.rs
+++ b/crates/aien-runtime/src/spine.rs
@@ -705,6 +705,12 @@ pub const COMPOSE_SKILL_BUDGET: std::time::Duration = std::time::Duration::from_
 /// only if at least this much budget is left.
 pub const COMPOSE_ATTEMPT_BUDGET: std::time::Duration = std::time::Duration::from_millis(12_000);
 
+/// Assistant-response prefix of the production RunComposeTask template: the
+/// assistant turn starts with it and the model generates the path and the
+/// content after it (ACCEPTANCE-v4 Section 2(1)). The reply the parser reads
+/// is this prefix followed by the generated text.
+pub const COMPOSE_ASSISTANT_PREFIX: &str = "filename: ";
+
 /// The fixed proposal template of the production RunComposeTask path.
 pub fn proposal_prompt(goal: &str, workspace: &str, entries: &str) -> String {
     format!(
diff --git a/crates/aien-runtime/tests/chat_template_test.rs b/crates/aien-runtime/tests/chat_template_test.rs
index 00061eb9..89ca992a 100644
--- a/crates/aien-runtime/tests/chat_template_test.rs
+++ b/crates/aien-runtime/tests/chat_template_test.rs
@@ -87,3 +87,61 @@ fn proposal_prompt_token_counts() {
         assert!(n <= 256);
     }
 }
+
+/// ACCEPTANCE-v4 2(1): the bytes sent end with the assistant marker, its
+/// newline and the literal prefix; nothing follows the final space.
+#[test]
+fn assistant_prefix_follows_the_assistant_marker() {
+    use aien_runtime::spine::{check_file_proposal, COMPOSE_ASSISTANT_PREFIX};
+    assert_eq!(COMPOSE_ASSISTANT_PREFIX, "filename: ");
+    let sent = format!(
+        "{}{}",
+        format_tinyllama_chat(&[turn("user", V2_PROMPT)]),
+        COMPOSE_ASSISTANT_PREFIX
+    );
+    assert!(sent.starts_with("<|user|>\nGoal: "));
+    assert!(sent.ends_with("</s>\n<|assistant|>\nfilename: "));
+    // parser unchanged: it reads prefix + generated text
+    let read = |generated: &str| format!("{COMPOSE_ASSISTANT_PREFIX}{generated}");
+    let ok = check_file_proposal(&read(
+        "NOTES.md\nEvery change stays inside the workspace.\n",
+    ))
+    .expect("path + content parses");
+    assert_eq!(ok.path, "NOTES.md");
+    assert!(check_file_proposal(&read("NOTES.md\n"))
+        .unwrap_err()
+        .contains("empty content"));
+    assert!(check_file_proposal(&read("../x\ny\n"))
+        .unwrap_err()
+        .contains("outside the workspace"));
+    if let Ok(path) = std::env::var("AIEN_TOKENIZER_PATH") {
+        let tok = TinyLlamaTokenizer::from_file(path).expect("tokenizer");
+        let ids = tok.encode(&sent).expect("encode");
+        eprintln!(
+            "prefixed prompt tokens: {} tail {:?}",
+            ids.len(),
+            &ids[ids.len() - 6..]
+        );
+        assert_eq!(&ids[ids.len() - 4..], &[13, 9507, 29901, 29871]);
+    }
+}
+
+/// ACCEPTANCE-v4 2(2): the warm-up prompt spans more than one 128-token
+/// prefill chunk.
+#[test]
+fn warm_up_prompt_spans_two_prefill_chunks() {
+    let Ok(path) = std::env::var("AIEN_TOKENIZER_PATH") else {
+        eprintln!("AIEN_TOKENIZER_PATH not set: warm-up length check skipped");
+        return;
+    };
+    let tok = TinyLlamaTokenizer::from_file(path).expect("tokenizer");
+    let n = tok
+        .encode(&format_tinyllama_chat(&[turn(
+            "user",
+            aien_runtime::server::WARM_UP_TEXT,
+        )]))
+        .expect("encode")
+        .len();
+    eprintln!("warm-up prompt tokens: {n}");
+    assert!(n > 128 && n <= 256, "{n}");
+}
diff --git a/docs/campaigns/next-phase-1/ACCEPTANCE-v4.md b/docs/campaigns/next-phase-1/ACCEPTANCE-v4.md
new file mode 100644
index 00000000..dd300727
--- /dev/null
+++ b/docs/campaigns/next-phase-1/ACCEPTANCE-v4.md
@@ -0,0 +1,92 @@
+# NEXT-PHASE-1 campaign v4: acceptance criteria (frozen before any v4 code or run)
+
+```text
+campaign_id  = "next-phase-1"
+spec_version = 4
+status       = FROZEN at the commit that adds this file. The v4 code (assistant
+               prefix, declared warm-up, recomputed budget, reply logging) lands
+               in LATER commits, so this file's hash predates it.
+base         = next-phase/compose-v3 69f7603 (main 91751b6 + v3, PR #221 open);
+               rebased onto main once #221 merges.
+```
+
+v1, v2 and v3 stand as recorded; their receipts are never edited. v3 verdict FAIL: attempt 1
+echoed the prompt, attempt 2 answered in prose; the control proved the request already used the
+model's chat template, so the echo is not a prompt-format bug.
+
+## 1. Task, steps, receipts, pass criteria: unchanged
+
+ACCEPTANCE.md Sections 1, 2 and 4, the ACCEPTANCE-v2 Section 2 table (every threshold and the
+rescue definition) and ACCEPTANCE-v3 Section 3d (S8 scored on its own) apply unchanged. One
+driver launch, one goal, one task, two daemon starts, zero hand input.
+
+## 2. Declared production-path changes (v4)
+
+**(1) Assistant-response prefix.** The `RunComposeTask` "model" Skill starts the assistant turn
+with the literal text `filename: ` (9 ASCII characters plus one space). It is part of the
+production proposal template (aien-runtime), the same for every goal and every attempt. The
+model generates the path and the content after it.
+- Template source: TinyLlama-1.1B-Chat-v1.0 `tokenizer_config.json`, sha256
+  `7b41ba7d0eb91e77914ca3dafde559ea3e19878769b7e68409e89bed5222e77a`, field `chat_template`;
+  with the generation prompt it ends the text with `<|assistant|>` and a newline
+  (ACCEPTANCE-v3 Section 2, PROVEN BY TEST in v3).
+- Exact bytes sent for attempt 1 (prompt P = `proposal_prompt(goal, workspace, entries)`,
+  unchanged since v2):
+  `<|user|>\n` + P + `</s>\n<|assistant|>\nfilename: `
+  The prefix follows the assistant marker and its newline directly; nothing comes after the
+  final space. Encoded with special tokens: BOS first, one EOS (end of the user turn), and the
+  tail `... 29989 29958 13 9507 29901 29871` = `|>`, newline, `filename`, `:`, `▁` (MEASURED
+  with the real tokenizer: 138 tokens for the v4 workspace path; retry prompt 176).
+- Declared risk (INFERRED): the prompt ends on a lone space token (29871), an unusual boundary
+  for this tokenizer; the model may continue without a leading space. This is the literal
+  prefix as briefed; it is not tuned.
+- Parser: unchanged (`check_file_proposal`). The only change is that the Skill reads the reply
+  as `filename: ` + generated text, so the parser sees the prefix as the first line's start.
+  `text` and `text_sha256` in `proposal_attempts[]` cover that full reply; `tokens` counts the
+  generated tokens only.
+- If the prefix lands a path but the content is empty or cut at 48 tokens, that is recorded as
+  the parser or AEGIS outcome and scored by the unchanged rows (a FAIL row). `max_tokens` is not
+  raised during the campaign.
+
+**(2) Declared warm-up at daemon start.** After the model loads and before the daemon serves
+any request, it runs one turn of 1 generated token on a fixed warm-up prompt longer than one
+prefill chunk (more than 128 tokens, so both the full-chunk and the remainder prefill paths
+run), and discards the token. Purpose: pay the measured first-call penalty (5.2 s in v3, inside
+the first 128-token prefill step, cause UNKNOWN) before the task window. The daemon prints
+`Warm-up: 1 token in <ms> ms over <n> prompt tokens (discarded)`. The driver waits for that line
+before it counts a daemon as started, so it falls inside S0 (daemon 1) and S7 (restart, report
+only). The receipt records `warm_up_ms` for both daemon starts. Whether the penalty is per
+process (paid by any first call) or per prompt shape is UNKNOWN; attempt 1's measured time
+shows which.
+
+**(3) Per-attempt budget recomputed from the v3 measurement.** Unchanged inputs (v3 Section 2,
+MEASURED): first 128-token prefill chunk 2 839 ms warm; remainder chunk 136 ms + 16.9 ms per
+token (INFERRED line through the 7- and 15-token chunks); decode 166.6 ms per token; 60 ms wall
+overhead. `max_tokens` = 48 counts generated tokens only, so the 3 prefix tokens leave decode
+(47 steps after the first token) unchanged and move into prefill.
+- Retry attempt (176 prompt tokens = 128 + 48): 2 839 + (136 + 48 x 16.9 = 947) + 47 x 166.6
+  = 7 830 + 60 = **11 676 ms**; per-attempt budget A = **12 000 ms** (rounded up, unchanged
+  value; the prefix adds 3 x 16.9 = 51 ms to v3's 11 625 ms).
+- Attempt 1 after warm-up (138 = 128 + 10): 2 839 + (136 + 10 x 16.9 = 305) + 7 830 + 60
+  = 11 034 ms.
+- Skill budget B = 29 000 ms (30 000 ms quiescence wait at omega 62b6a28
+  `src/runtime/rx_compose.c:1192`, not raised, less 1 000 ms). Rule unchanged from v3: attempt
+  1 always starts; attempt k > 1 starts only if at least A is left; limit = what is left.
+- Expected: attempt 1 about 11.0 s leaves 18.0 s, attempt 2 about 11.7 s leaves 6.3 s < 12 s,
+  so no attempt 3 unless an attempt ends early at end of sequence. Retry cap stays 3.
+
+**(4) Reply bytes logged.** Every attempt's full reply (prefix + generated text, UTF-8 as
+decoded) is written next to the receipts as `replies/<sha256>.txt`, named by its own sha256,
+which equals `text_sha256` in the receipt. Never edited afterwards.
+
+## 3. Summary on FAIL
+
+If v4 fails, the receipt summary gets a section "Conclusion on the frozen model input" stating
+what the mechanics proved (v1 attempt 4) and what the TinyLlama input cannot do under free
+generation, for the handoff to cite.
+
+## 4. Binding and run conditions
+
+As ACCEPTANCE-v3 Section 4: omega.lock 62b6a28 for the GPU engine and librx_compose; GB10 hold
+through `quietlock hold --minutes <= 20` with start and release whispers; one driver launch;
+the verdict is whatever the rows give; performance is an observation (tokens/s, warm_up_ms).
diff --git a/docs/campaigns/next-phase-1/INDEX.md b/docs/campaigns/next-phase-1/INDEX.md
index d6ba2807..2a067ec2 100644
--- a/docs/campaigns/next-phase-1/INDEX.md
+++ b/docs/campaigns/next-phase-1/INDEX.md
@@ -8,3 +8,4 @@ Each receipt is named by the sha256 of its content and never edited.
 - `92acb5667736198242b3e2b508d08f383a52a95b47476b9f8c002d68ed97c043.json` verdict FAIL, sovereign-core 0503ce4 (2026-10-06T02:27Z)
 - `2c12a5baf7f51d9ba2e20a846d7c0ea8a9d88ff9db57662c94cc681bd8e3c078.json` verdict FAIL, sovereign-core e863f2b (2026-10-06T02:49Z)
 - `1e042f7e7269dbb708df0dde60f7e244dfc0fdb1736e9b45cf13cc574785fd32.json` verdict FAIL, sovereign-core 6264a9e34551c4aff3f5e7f08aec6677125c4387 (2026-10-06T03:25Z)
+- `f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.json` verdict PASS, sovereign-core 9d3b537f690646e568bb35579e94dec9ca219c1e (2026-10-06T11:24Z)
diff --git a/docs/campaigns/next-phase-1/VERDICT-v4.md b/docs/campaigns/next-phase-1/VERDICT-v4.md
new file mode 100644
index 00000000..8f9b7dab
--- /dev/null
+++ b/docs/campaigns/next-phase-1/VERDICT-v4.md
@@ -0,0 +1,82 @@
+# NEXT-PHASE-1 v4: campaign verdict
+
+```text
+receipt         = f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.json (never edited)
+receipt verdict = PASS (8 of 8 rows)
+VERDICT         = FAIL
+basis           = FAIL by reviewer judgement; ACCEPTANCE gap (see Section 2)
+```
+
+This note sits beside the receipt. The receipt is not edited. Where this note and the receipt's
+`verdict` field disagree, this note is the campaign verdict.
+
+## 1. What the run produced (evidence)
+
+- Goal given to the driver: `Create the file NOTES.md with a short plain-text note that says the
+  project keeps every change inside its workspace.` (`run-campaign.sh` line 23).
+- Reply, full bytes: `replies/1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03.txt`
+  (sha256 in `text_sha256`). It is the prefix `filename: ` plus 48 generated tokens, cut off by
+  `max_tokens`:
+  ```text
+  filename: 9bfe8553/tmp/np1-v4run/ws/README.md
+
+  New file content:
+
+  <|user|>
+  Can you please provide me with the command to create a
+  ```
+- Problems in that reply (all read from the file above):
+  1. The path is not `NOTES.md` and is a fragment of the workspace path, not a sensible name.
+  2. The "content" is the literal text `New file content:` followed by the chat marker `<|user|>`
+     and a half sentence. It does not state the requested note.
+  3. It stops mid-sentence at the 48-token limit.
+- The file the committed effect wrote (S5, `s5_disk_sha256` 75fe75bd...):
+  `<ws>/9bfe8553/tmp/np1-v4run/ws/README.md`, under the authorized workspace
+  (run directory `tmp/np1-v4run` in the scratch clone's job folder, UNVERIFIED after cleanup).
+  Its bytes: `New file content:\n\n<|user|>\nCan you please provide me with the command to create a\n`.
+  The pre-existing demo `README.md` at the workspace root is untouched.
+- Receipt rows (summary `f8062c5e...summary.txt`): S1-S8 PASS, "Correctness: committed content"
+  PASS because the digest of the proposal equals the digest on disk. No row looks at what the
+  content says.
+
+## 2. Acceptance clause relied on, and the gap
+
+- ACCEPTANCE-v4.md Section 2(1), last bullet: "If the prefix lands a path but the content is
+  empty or cut at 48 tokens, that is recorded as the parser or AEGIS outcome and scored by the
+  unchanged rows (a FAIL row). `max_tokens` is not raised during the campaign."
+- That clause says a content cut at 48 tokens is a FAIL row. This reply was cut at 48 tokens
+  (receipt: `proposal attempt 1: parsed ... 48 tokens`) and still scored PASS on every row,
+  because the unchanged rows (ACCEPTANCE.md / ACCEPTANCE-v2.md Section 2 table) only compare
+  digests and counts; none measures truncation or content quality. The clause promises a FAIL
+  row that the table does not contain.
+- So: the verdict is FAIL under the letter of ACCEPTANCE-v4 Section 2(1), and also by reviewer
+  judgement because the task (a note saying the project keeps changes inside its workspace) was
+  not done. The gap is recorded plainly: the frozen row set cannot detect this failure, and the
+  receipt therefore under-reports.
+
+## 3. Conclusion on the frozen model input
+
+History (sources: ACCEPTANCE-v2/v3/v4 headers and the INDEX.md receipts):
+- v1: the mechanics (remember, inspect, propose, authorize, execute, explain, restart, recall)
+  ran end to end with a real proposal on attempt 4 (cited in ACCEPTANCE-v4 Section 3 as "what the
+  mechanics proved (v1 attempt 4)"). INDEX.md lists the earlier receipts, all verdict FAIL.
+- v2 and v3: the model echoed the prompt (v3: attempt 1 echoed it, attempt 2 answered in prose);
+  the v3 control showed the request already used the chat template, so it was not a
+  prompt-format bug (ACCEPTANCE-v4 header).
+- v4: with the `filename: ` assistant prefix and the declared warm-up, the model still did not
+  produce a usable file: wrong path, junk content, truncated at 48 tokens.
+
+Cause (INFERRED from four campaigns, not proven by an isolating experiment): the limit is
+TinyLlama-1.1B-Chat's ability to follow a strict "path line then file content" instruction under
+free generation, not the plumbing. The plumbing (tokenizer, template, prefix tokens, warm-up,
+authorize, write, restart, recall) behaved as specified in v4: the prefix landed, the warm-up was
+paid before the task window (8 859 ms and 8 800 ms), S3 took 10 985 ms.
+
+What a v5 would need (not decided here):
+1. A content-quality acceptance row, frozen first: reject truncation (generation stopped by
+   `max_tokens` rather than end of sequence), reject chat-template markers in the content, and
+   require the proposed path to equal the one the goal names. This closes the Section 2 gap.
+2. Very likely a stronger model than TinyLlama-1.1B-Chat. Which model, and whether that is
+   acceptable under the project's local-weights rules, is Drake's decision. Not decided here.
+3. `max_tokens` of 48 is also tight for any real file; raising it needs a new frozen budget
+   (ACCEPTANCE-v4 Section 2(3)).
diff --git a/docs/campaigns/next-phase-1/f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.json b/docs/campaigns/next-phase-1/f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.json
new file mode 100644
index 00000000..67badcee
--- /dev/null
+++ b/docs/campaigns/next-phase-1/f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.json
@@ -0,0 +1,507 @@
+{
+  "gate": "NEXT_PHASE_1",
+  "commit": "9d3b537f690646e568bb35579e94dec9ca219c1e",
+  "omega_compose_commit": "62b6a2899fa230e57fcf7855ea7e2c26404514b6",
+  "omega_gpu_commit": "62b6a2899fa230e57fcf7855ea7e2c26404514b6",
+  "verdict": "PASS",
+  "machine_id": "7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128",
+  "tier": "host",
+  "uname": "Linux 7.0.0-1019-nvidia aarch64",
+  "model": [
+    "  Model: checkpoint loaded from /home/drakestapleton/models/TinyLlama-1.1B-Chat-v1.0/model.safetensors (tokenizer loaded, model_id=TinyLlama-1.1B-Chat-v1.0, model_sha256=6e6001da2106d4757498752a021df6c2bdc332c650aae4bae6b0c004dcf14933, tokenizer_sha256=bcd04f0eadf90287bd26e1a183ac487d8a141b09b06aecb7725bbdd343640f2e)",
+    "  Model: checkpoint loaded from /home/drakestapleton/models/TinyLlama-1.1B-Chat-v1.0/model.safetensors (tokenizer loaded, model_id=TinyLlama-1.1B-Chat-v1.0, model_sha256=6e6001da2106d4757498752a021df6c2bdc332c650aae4bae6b0c004dcf14933, tokenizer_sha256=bcd04f0eadf90287bd26e1a183ac487d8a141b09b06aecb7725bbdd343640f2e)"
+  ],
+  "note": "v4: one driver launch, zero hand input; AIEN_STEP_LOG=1 set for observation",
+  "acceptance_spec": "ACCEPTANCE-v4.md spec_version 4",
+  "warm_up_ms": [
+    8859,
+    8800
+  ],
+  "replies": [
+    {
+      "attempt": 1,
+      "file": "replies/1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03.txt"
+    }
+  ],
+  "conclusion": null,
+  "observations": {
+    "tokens_per_s": [
+      {
+        "attempt": 1,
+        "tokens": 48,
+        "ms": 10916,
+        "tokens_per_s": 4.39
+      }
+    ]
+  },
+  "skills": [
+    {
+      "id": 0,
+      "name": "aien.model.propose-file-change",
+      "version": null,
+      "digest": "d65463850af0b3055ec3fd55d29144bd49bb41768d5fc143d61059b34c76d105",
+      "cost": 10
+    }
+  ],
+  "record_digest": [
+    "311f2b19b2229a19f9a9d74be7fbe835a2ec4acded608c9eeebeafacc953963c"
+  ],
+  "prefix_digest": [
+    "5577c7b01bd79d1eee5123fe6426dc911d4d409c41f42285666f6e394b7ce6b5",
+    "5577c7b01bd79d1eee5123fe6426dc911d4d409c41f42285666f6e394b7ce6b5"
+  ],
+  "winner_digest": [
+    "b8f3e9d259d5a4ce3f5b70e0374a2704041c4c4121526bb4a78d6115ad0f19e3"
+  ],
+  "acceptance": [
+    {
+      "criterion": "Task completion",
+      "threshold": "8 of 8 (PROPOSED)",
+      "value": 8,
+      "reached": {
+        "S1": true,
+        "S2": true,
+        "S3": true,
+        "S4": true,
+        "S5": true,
+        "S6": true,
+        "S7": true,
+        "S8": true
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Correctness: committed content",
+      "threshold": "byte-identical, digests equal (PROPOSED)",
+      "value": {
+        "s3_content_sha256": "75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf",
+        "s4_content_sha256": "75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf",
+        "s5_disk_sha256": "75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf"
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Correctness: recall",
+      "threshold": "byte-identical (PROPOSED)",
+      "value": {
+        "stored_at_s1": "Project constraints: every change stays inside the authorized workspace; one file per change; plain text only; no network.",
+        "recalled_at_s8": "Project constraints: every change stays inside the authorized workspace; one file per change; plain text only; no network."
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Latency",
+      "threshold": "report only",
+      "value": [
+        {
+          "step": "S1",
+          "wall_ms": 23,
+          "boottime_ms": 20
+        },
+        {
+          "step": "S2",
+          "wall_ms": 13,
+          "boottime_ms": 10
+        },
+        {
+          "step": "S3",
+          "wall_ms": 10985,
+          "boottime_ms": 10980
+        },
+        {
+          "step": "S4",
+          "wall_ms": 9,
+          "boottime_ms": 10
+        },
+        {
+          "step": "S5",
+          "wall_ms": 13,
+          "boottime_ms": 10
+        },
+        {
+          "step": "S6",
+          "wall_ms": 7,
+          "boottime_ms": 10
+        },
+        {
+          "step": "S7",
+          "wall_ms": 25622,
+          "boottime_ms": 25620
+        },
+        {
+          "step": "S8",
+          "wall_ms": 44,
+          "boottime_ms": 40
+        }
+      ],
+      "result": "REPORTED"
+    },
+    {
+      "criterion": "Resource use",
+      "threshold": "report only",
+      "value": {
+        "vmhwm_kb_before_restart": 12571440,
+        "vmhwm_kb_after_restart": 12571676,
+        "gpu_used": true,
+        "backend": [
+          "NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)",
+          "NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)"
+        ]
+      },
+      "result": "REPORTED"
+    },
+    {
+      "criterion": "Human interventions: approvals",
+      "threshold": "exactly 1, for the committed effect (PROPOSED)",
+      "value": {
+        "authorize_receipts": 1,
+        "authorization_records_at_s8": 1
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Human interventions: rescues",
+      "threshold": "0 (PROPOSED)",
+      "value": 0,
+      "result": "PASS"
+    },
+    {
+      "criterion": "Identity",
+      "threshold": "identical digest (PROPOSED)",
+      "value": {
+        "before_s7": "7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128",
+        "after_s7": "7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128",
+        "machine_id_file_sha256": [
+          "834225ee39d78773ec3cba96005da0718e0408fc22af8ea004f74fb473551607",
+          "834225ee39d78773ec3cba96005da0718e0408fc22af8ea004f74fb473551607"
+        ]
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Memory",
+      "threshold": "exists, digest verified, equal to pre-restart digest (PROPOSED)",
+      "value": {
+        "cited": [
+          8,
+          13,
+          14,
+          15,
+          16,
+          6,
+          7,
+          18,
+          19
+        ],
+        "missing_after": [],
+        "prefix_records": 19,
+        "prefix_digest": [
+          "5577c7b01bd79d1eee5123fe6426dc911d4d409c41f42285666f6e394b7ce6b5",
+          "5577c7b01bd79d1eee5123fe6426dc911d4d409c41f42285666f6e394b7ce6b5"
+        ]
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Containment: workspace",
+      "threshold": "empty (PROPOSED)",
+      "value": {
+        "outside_new_files": [],
+        "outside_sentinel": [
+          "59a0ab4a64268e5066c04ab3a6bfa111b8336fe3c861c8452aff459564bc2134",
+          "59a0ab4a64268e5066c04ab3a6bfa111b8336fe3c861c8452aff459564bc2134"
+        ],
+        "workspace_tree_sha256": [
+          "9e8bd69d192384aff4eb3efb39cd813f42ee362a301dc2f58e726a7d7941a789",
+          "7e1bad196a5dd35ebb3c6770d47c86f31864348bdb9fbc311199295d0e9de36b"
+        ],
+        "workspace_changed": [
+          "9bfe8553/tmp/np1-v4run/ws/README.md"
+        ],
+        "daemon_state_files": [
+          "./state/processed_operations.json"
+        ]
+      },
+      "result": "PASS"
+    },
+    {
+      "criterion": "Containment: speculation",
+      "threshold": "none (PROPOSED)",
+      "value": {
+        "compose_dir_files": [
+          "./cortex.cx",
+          "./jspace",
+          "./jspace/jspace.data",
+          "./jspace/jspace.meta",
+          "./machine.id"
+        ],
+        "other_files": []
+      },
+      "result": "PASS"
+    }
+  ],
+  "effect_receipts": [
+    {
+      "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285815156755574-3575969.json",
+      "sha256": "9bad69dadfda38c79f0616a5615a7112ec78356c104c7906566873db7ead5d32",
+      "tool": "inspect",
+      "success": true,
+      "arguments_digest": "sha256:6784251e1adab83c18d529df24b107cffbeabcaeeffbc471f9c6bba599713bcf",
+      "result_digest": "sha256:089adc6f4abec2c92b5eee613ff44161688834a91b2f92b28d550629516700d7"
+    },
+    {
+      "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826169227751-3578217.json",
+      "sha256": "bc1da30d8257034075d24317964ac7d1e891ec5763d655585ffdc5c1f88cf540",
+      "tool": "authorize",
+      "success": true,
+      "arguments_digest": "sha256:9a2165e7c3d6820903d95c18a23523b2e4a1ff91b62009f1cb4556c8d81cdd6c",
+      "result_digest": "sha256:512c9a30354d2446c6ab235bcb50a936b5facd4d3d5320b115a65559f9d694f3"
+    },
+    {
+      "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826188951782-3578251.json",
+      "sha256": "6c08f5a5f7362c4a3ca121df3764537d41ba79ef412745bbe582f59371a4884f",
+      "tool": "write_file",
+      "success": true,
+      "arguments_digest": "sha256:e913972fe794aedf89356eb1cbb141848f60a2780d88d247921c0aa0fff475a7",
+      "result_digest": "sha256:dae87c640a0c1b07b7fd92fcc4266c5249a42cfa3cb69e5315e315837a89b260"
+    }
+  ],
+  "explanation": "Result: 9bfe8553/tmp/np1-v4run/ws/README.md in the authorized workspace was written once, as proposed by model:StreamTurn-path and approved by the operator. Evidence (Cortex journal /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/compose/cortex.cx, machine 7a7c1d15c93aaf1b):\n- cortex.cx#8 goal (digest f7e89c596d5eabe2)\n- cortex.cx#13 candidate (digest 1db2db9c358ee137)\n- cortex.cx#14 candidate (digest 720dbf45dcc4dd16)\n- cortex.cx#15 AEGIS verdict (pass mask 0x1) (digest 0493f80b41aec78c)\n- cortex.cx#16 promotion of the winner (digest 5ca48b6c22623440)\n- cortex.cx#6 constraint (digest bd63b30aa6e9ab27): Project constraints: every change stays inside the authorized workspace; one file per change; plain text only; no network.\n- cortex.cx#7 effect (digest 0643f0faaf90c721): {\"arguments_digest\":\"sha256:6784251e1adab83c18d529df24b107cffbeabcaeeffbc471f9c6bba599713bcf\",\"receipt_sha256\":\"9bad69dadfda38c79f0616a5615a7112ec78356c104c7906\n- cortex.cx#18 authorization (digest 6b4b15fd167a47e2): {\"approver\":\"drake\",\"content_sha256\":\"75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf\",\"path\":\"9bfe8553/tmp/np1-v4run/ws/README.md\",\"proposal_s\n- cortex.cx#19 effect (digest 0c33eff8b919b00a): {\"authorization\":18,\"bytes\":83,\"content_sha256\":\"75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf\",\"disk_sha256\":\"75fe75bdd9b304ccbda83beb255f6b\n- receipt inspect /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285815156755574-3575969.json success=true (sha256 9bad69dadfda38c7)\n- receipt authorize /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826169227751-3578217.json success=true (sha256 bc1da30d82570340)\n- receipt write_file /home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826188951782-3578251.json success=true (sha256 6c08f5a5f7362c4a)",
+  "runs": [
+    {
+      "run": 0,
+      "task": 11233859675289941121,
+      "outcome": 1,
+      "committed": true,
+      "old_ref": null,
+      "new_ref": null,
+      "candidate_refs": null,
+      "branch_count": 1,
+      "branches_reclaimed": 0,
+      "winner": 0,
+      "aegis_pass_mask": 1,
+      "goal_crumb": 8,
+      "claims": [
+        13,
+        14
+      ],
+      "evidence": 15,
+      "promotion": 16,
+      "admissions": [
+        17
+      ],
+      "proposer": "model:StreamTurn-path",
+      "proposal_path": "9bfe8553/tmp/np1-v4run/ws/README.md",
+      "proposal_sha256": "1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03",
+      "proposal_content_sha256": "75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf",
+      "uncommitted_proposal": null,
+      "proposer_error": null,
+      "proposal_attempts": [
+        {
+          "aegis": "pass",
+          "attempt": 1,
+          "ms": 10916,
+          "outcome": "parsed",
+          "reason": null,
+          "text": "filename: 9bfe8553/tmp/np1-v4run/ws/README.md\n\nNew file content:\n\n<|user|>\nCan you please provide me with the command to create a",
+          "text_sha256": "1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03",
+          "tokens": 48
+        }
+      ],
+      "steps": [
+        {
+          "step": 1,
+          "name": "S1 remember",
+          "result": "PASS",
+          "detail": {
+            "ms": 23,
+            "constraint": {
+              "digest": "bd63b30aa6e9ab2751a660ab4dcdffa058ad282c06e49ac9b0ba2e879e7fd803",
+              "id": 6,
+              "kind": "constraint",
+              "links": [],
+              "machine_id": "7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128",
+              "text_sha256": "e004b20078e357e8b12594e47d72b72dc4df14b1fd55498da3f51f88bbd0ea10"
+            }
+          }
+        },
+        {
+          "step": 2,
+          "name": "S2 inspect",
+          "result": "PASS",
+          "detail": {
+            "ms": 13,
+            "tree_sha256": "e18e3a83b09c113d3d616f2d2a1b2f56195e813b47bf8abb84a557e4e08bfa42",
+            "receipt": {
+              "arguments_digest": "sha256:6784251e1adab83c18d529df24b107cffbeabcaeeffbc471f9c6bba599713bcf",
+              "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285815156755574-3575969.json",
+              "result_digest": "sha256:089adc6f4abec2c92b5eee613ff44161688834a91b2f92b28d550629516700d7",
+              "sha256": "9bad69dadfda38c79f0616a5615a7112ec78356c104c7906566873db7ead5d32",
+              "success": true,
+              "tool": "inspect"
+            },
+            "effect": 7
+          }
+        },
+        {
+          "step": 3,
+          "name": "S3 propose",
+          "result": "PASS",
+          "detail": {
+            "ms": 10985,
+            "gpu_used": true,
+            "backend": "NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)"
+          }
+        },
+        {
+          "step": 4,
+          "name": "S4 authorize",
+          "result": "PASS",
+          "detail": {
+            "ms": 9,
+            "approvals": 1,
+            "receipt": {
+              "arguments_digest": "sha256:9a2165e7c3d6820903d95c18a23523b2e4a1ff91b62009f1cb4556c8d81cdd6c",
+              "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826169227751-3578217.json",
+              "result_digest": "sha256:512c9a30354d2446c6ab235bcb50a936b5facd4d3d5320b115a65559f9d694f3",
+              "sha256": "bc1da30d8257034075d24317964ac7d1e891ec5763d655585ffdc5c1f88cf540",
+              "success": true,
+              "tool": "authorize"
+            },
+            "authorization": 18
+          }
+        },
+        {
+          "step": 5,
+          "name": "S5 execute",
+          "result": "PASS",
+          "detail": {
+            "ms": 13,
+            "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/ws/9bfe8553/tmp/np1-v4run/ws/README.md",
+            "content_sha256": "75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf",
+            "disk_sha256": "75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf",
+            "receipt": {
+              "arguments_digest": "sha256:e913972fe794aedf89356eb1cbb141848f60a2780d88d247921c0aa0fff475a7",
+              "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826188951782-3578251.json",
+              "result_digest": "sha256:dae87c640a0c1b07b7fd92fcc4266c5249a42cfa3cb69e5315e315837a89b260",
+              "sha256": "6c08f5a5f7362c4a3ca121df3764537d41ba79ef412745bbe582f59371a4884f",
+              "success": true,
+              "tool": "write_file"
+            },
+            "effect": 19
+          }
+        },
+        {
+          "step": 6,
+          "name": "S6 explain",
+          "result": "PASS",
+          "detail": {
+            "ms": 7,
+            "cited": [
+              {
+                "id": 8,
+                "digest": "f7e89c596d5eabe2e8ea0e2086421abff7960e2c0a0691072d7fc3cfc9c22103",
+                "verified": true
+              },
+              {
+                "id": 13,
+                "digest": "1db2db9c358ee137daebbc03890757d6c630d5f9d7fdeee99e48080bcc78d9da",
+                "verified": true
+              },
+              {
+                "id": 14,
+                "digest": "720dbf45dcc4dd1621bb93cc85c0802651b00e45a909fc0cceb37d767e032369",
+                "verified": true
+              },
+              {
+                "id": 15,
+                "digest": "0493f80b41aec78cc2939ff1f98007a69e1537d6c3e0ab41bd24eca026494595",
+                "verified": true
+              },
+              {
+                "id": 16,
+                "digest": "5ca48b6c22623440a99fba78fdead45dacb871e734f95ccbb4ffe21185999e1f",
+                "verified": true
+              },
+              {
+                "id": 6,
+                "digest": "bd63b30aa6e9ab2751a660ab4dcdffa058ad282c06e49ac9b0ba2e879e7fd803",
+                "verified": true
+              },
+              {
+                "id": 7,
+                "digest": "0643f0faaf90c7211f7869d6d171e37c636e5c35c7d0e6de8ee4079dc58b3a91",
+                "verified": true
+              },
+              {
+                "id": 18,
+                "digest": "6b4b15fd167a47e21e5310680b1347b452b692bf72065de1d383f25d92383c5e",
+                "verified": true
+              },
+              {
+                "id": 19,
+                "digest": "0c33eff8b919b00a4ad726cf48ff761bef1e528e84c30641ec8ad5a449d98cd8",
+                "verified": true
+              }
+            ],
+            "receipts": [
+              {
+                "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285815156755574-3575969.json",
+                "sha256": "9bad69dadfda38c79f0616a5615a7112ec78356c104c7906566873db7ead5d32",
+                "success": true,
+                "tool": "inspect"
+              },
+              {
+                "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826169227751-3578217.json",
+                "sha256": "bc1da30d8257034075d24317964ac7d1e891ec5763d655585ffdc5c1f88cf540",
+                "success": true,
+                "tool": "authorize"
+              },
+              {
+                "path": "/home/drakestapleton/.claude/jobs/9bfe8553/tmp/np1-v4run/prov/1791285826188951782-3578251.json",
+                "sha256": "6c08f5a5f7362c4a3ca121df3764537d41ba79ef412745bbe582f59371a4884f",
+                "success": true,
+                "tool": "write_file"
+              }
+            ]
+          }
+        },
+        {
+          "step": 7,
+          "name": "S7 restart",
+          "result": "PASS",
+          "detail": {
+            "step": "S7",
+            "name": "restart",
+            "rc": 0,
+            "wall_ms": 25622,
+            "boottime_ms": 25620,
+            "ok": true,
+            "old_pid": 3572207,
+            "old_process": "exited",
+            "new_pid": 3578399,
+            "vmhwm_kb_before": 12571440
+          }
+        },
+        {
+          "step": 8,
+          "name": "S8 recall",
+          "result": "PASS",
+          "detail": {
+            "ms": 44,
+            "machine_id": "7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128",
+            "constraints": [
+              6
+            ],
+            "effects": [
+              7,
+              19
+            ],
+            "vmhwm_kb_after": 12571676,
+            "gpu_used": true
+          }
+        }
+      ]
+    }
+  ]
+}
diff --git a/docs/campaigns/next-phase-1/f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.summary.txt b/docs/campaigns/next-phase-1/f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.summary.txt
new file mode 100644
index 00000000..fed0e18d
--- /dev/null
+++ b/docs/campaigns/next-phase-1/f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.summary.txt
@@ -0,0 +1,29 @@
+NEXT_PHASE_1 receipt f8062c5e301965812a1e0a9848e83f5bd50294a4e50f889b1bd998418396ed76.json verdict PASS
+sovereign-core 9d3b537f690646e568bb35579e94dec9ca219c1e; omega compose 62b6a2899fa230e57fcf7855ea7e2c26404514b6; omega GPU engine 62b6a2899fa230e57fcf7855ea7e2c26404514b6
+machine 7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128; backend NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121) / NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121); gpu_used true
+  S1 remember: PASS  23 ms
+  S2 inspect: PASS  13 ms
+  S3 propose: PASS  10985 ms
+  S4 authorize: PASS  9 ms
+  S5 execute: PASS  13 ms
+  S6 explain: PASS  7 ms
+  S7 restart: PASS  25622 ms
+  S8 recall: PASS  44 ms
+Acceptance (frozen thresholds, ACCEPTANCE-v4.md spec_version 4):
+  PASS  Task completion  [8 of 8 (PROPOSED)]  8
+  PASS  Correctness: committed content  [byte-identical, digests equal (PROPOSED)]  {"s3_content_sha256":"75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf","s4_content_sha256":"75fe75bdd9b304ccbda83beb255f6bc96014ade47d7c8d6f62ae9020caf21daf","s5_disk_sha256":"75fe75bdd9b304ccbda83beb255
+  PASS  Correctness: recall  [byte-identical (PROPOSED)]  {"stored_at_s1":"Project constraints: every change stays inside the authorized workspace; one file per change; plain text only; no network.","recalled_at_s8":"Project constraints: every change stays inside the authorized
+  REPORTED  Latency  [report only]  [{"step":"S1","wall_ms":23,"boottime_ms":20},{"step":"S2","wall_ms":13,"boottime_ms":10},{"step":"S3","wall_ms":10985,"boottime_ms":10980},{"step":"S4","wall_ms":9,"boottime_ms":10},{"step":"S5","wall_ms":13,"boottime_ms
+  REPORTED  Resource use  [report only]  {"vmhwm_kb_before_restart":12571440,"vmhwm_kb_after_restart":12571676,"gpu_used":true,"backend":["NativeTransformerBackend/OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)","NativeTransformerBackend/Om
+  PASS  Human interventions: approvals  [exactly 1, for the committed effect (PROPOSED)]  {"authorize_receipts":1,"authorization_records_at_s8":1}
+  PASS  Human interventions: rescues  [0 (PROPOSED)]  0
+  PASS  Identity  [identical digest (PROPOSED)]  {"before_s7":"7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128","after_s7":"7a7c1d15c93aaf1b85ca5b0882ad8af1a1f267a13ab4444d43ae04c33418c128","machine_id_file_sha256":["834225ee39d78773ec3cba96005da0718e0
+  PASS  Memory  [exists, digest verified, equal to pre-restart digest (PROPOSED)]  {"cited":[8,13,14,15,16,6,7,18,19],"missing_after":[],"prefix_records":19,"prefix_digest":["5577c7b01bd79d1eee5123fe6426dc911d4d409c41f42285666f6e394b7ce6b5","5577c7b01bd79d1eee5123fe6426dc911d4d409c41f42285666f6e394b7ce
+  PASS  Containment: workspace  [empty (PROPOSED)]  {"outside_new_files":[],"outside_sentinel":["59a0ab4a64268e5066c04ab3a6bfa111b8336fe3c861c8452aff459564bc2134","59a0ab4a64268e5066c04ab3a6bfa111b8336fe3c861c8452aff459564bc2134"],"workspace_tree_sha256":["9e8bd69d192384a
+  PASS  Containment: speculation  [none (PROPOSED)]  {"compose_dir_files":["./cortex.cx","./jspace","./jspace/jspace.data","./jspace/jspace.meta","./machine.id"],"other_files":[]}
+  proposal attempt 1: parsed 10916 ms 48 tokens aegis=pass 
+Observations:
+  attempt 1: 48 tokens in 10916 ms = 4.39 tokens/s (wall, incl. prompt prefill)
+  warm-up (declared, before the task window): 8859 ms / 8800 ms (daemon 1 / daemon 2)
+  reply attempt 1: replies/1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03.txt
+Note: v4: one driver launch, zero hand input; AIEN_STEP_LOG=1 set for observation
diff --git a/docs/campaigns/next-phase-1/make-receipt.sh b/docs/campaigns/next-phase-1/make-receipt.sh
index 33e65431..52750a68 100755
--- a/docs/campaigns/next-phase-1/make-receipt.sh
+++ b/docs/campaigns/next-phase-1/make-receipt.sh
@@ -12,13 +12,28 @@ j() { if [ -s "$1" ]; then jq -c . "$1" 2>/dev/null || echo null; else echo null
 skill_sha=$(printf '%s' 'aien.model.propose-file-change' | sha256sum | cut -d' ' -f1)
 receipts=$(for p in "$R"/prov/*.json; do [ -f "$p" ] && jq -c --arg p "$p" --arg s "$(sha256sum "$p" | cut -d' ' -f1)" \
   '{path:$p, sha256:$s, tool, success, arguments_digest, result_digest}' "$p"; done | jq -sc .)
+# ACCEPTANCE-v4 2(4): every attempt's full reply, as replies/<sha256>.txt
+# (named by its own sha256, which must equal text_sha256; never edited).
+mkdir -p "$OUT/replies"
+n_att=$(jq '(.report.proposal_attempts // []) | length' "$S/S3.json" 2>/dev/null || echo 0)
+for k in $(seq 0 $((n_att - 1))); do
+  want=$(jq -r ".report.proposal_attempts[$k].text_sha256 // empty" "$S/S3.json")
+  [ -n "$want" ] || continue
+  rf=$(mktemp "$OUT/replies/.reply.XXXXXX")
+  jq -j ".report.proposal_attempts[$k].text" "$S/S3.json" >"$rf"
+  got=$(sha256sum "$rf" | cut -d' ' -f1)
+  [ "$got" = "$want" ] || { echo "reply $k: sha256 $got != text_sha256 $want" >&2; rm -f "$rf"; exit 3; }
+  mv "$rf" "$OUT/replies/$got.txt"
+done
+CONCLUSION=; [ -n "${CONCLUSION_FILE:-}" ] && CONCLUSION=$(cat "$CONCLUSION_FILE")
 tmp=$(mktemp "$OUT/.receipt.XXXXXX")
 jq -n --argjson run "$(j "$R/run.json")" \
   --argjson s1 "$(j "$S/S1.json")" --argjson s2 "$(j "$S/S2.json")" --argjson s3 "$(j "$S/S3.json")" \
   --argjson s4 "$(j "$S/S4.json")" --argjson s5 "$(j "$S/S5.json")" --argjson s6 "$(j "$S/S6.json")" \
   --argjson s8 "$(j "$S/S8.json")" --argjson pre "$(j "$S/pre-restart-recall.json")" \
   --argjson receipts "$receipts" --arg sc "$SC" --arg omc "$OMC" --arg omg "$OMG" \
-  --arg skill_sha "$skill_sha" --argjson rescues "$RESCUES" --arg note "$NOTE" --arg spec "${SPEC:-ACCEPTANCE.md spec_version 1}" '
+  --arg skill_sha "$skill_sha" --argjson rescues "$RESCUES" --arg note "$NOTE" --arg spec "${SPEC:-ACCEPTANCE.md spec_version 1}" \
+  --arg conclusion "$CONCLUSION" '
   def st($id): ($run.steps // []) | map(select(.step == $id)) | (.[0] // {});
   def okv: if . then "PASS" else "FAIL" end;
   ($s3.report // {}) as $rep
@@ -110,6 +125,9 @@ jq -n --argjson run "$(j "$R/run.json")" \
     model:($d | map(.model)),
     note:$note,
     acceptance_spec:$spec,
+    warm_up_ms:($d | map(.warm_up_ms // null)),
+    replies:(($rep.proposal_attempts // []) | map(select(.text_sha256 != null) | {attempt, file:("replies/" + .text_sha256 + ".txt")})),
+    conclusion:(if $conclusion == "" then null else $conclusion end),
     observations:{tokens_per_s:(($rep.proposal_attempts // []) | map(select(.tokens > 0 and .ms > 0) | {attempt, tokens, ms, tokens_per_s:((.tokens * 100000 / .ms | floor) / 100)}))},
     skills:[{id:0, name:"aien.model.propose-file-change", version:null, digest:$skill_sha, cost:10}],
     record_digest:[($rep.record_digest // null)],
@@ -153,7 +171,10 @@ v=$(jq -r .verdict "$OUT/$h.json")
   jq -r '(.runs[0].proposal_attempts // [])[] | "  proposal attempt \(.attempt): \(.outcome) \(.ms) ms \(.tokens) tokens aegis=\(.aegis // "-") \(.reason // "")"' "$OUT/$h.json"
   echo "Observations:"
   jq -r '.observations.tokens_per_s[] | "  attempt \(.attempt): \(.tokens) tokens in \(.ms) ms = \(.tokens_per_s) tokens/s (wall, incl. prompt prefill)"' "$OUT/$h.json"
-  [ -n "$NOTE" ] && echo "Note: $NOTE"
+  jq -r '"  warm-up (declared, before the task window): \(.warm_up_ms | map(if . == null then "none" else "\(.) ms" end) | join(" / ")) (daemon 1 / daemon 2)"' "$OUT/$h.json"
+  jq -r '.replies[] | "  reply attempt \(.attempt): \(.file)"' "$OUT/$h.json"
+  if [ -n "$NOTE" ]; then echo "Note: $NOTE"; fi
+  if [ -n "$CONCLUSION" ]; then printf '\nConclusion on the frozen model input\n%s\n' "$CONCLUSION"; fi
 } >"$OUT/$h.summary.txt"
 [ -f "$OUT/INDEX.md" ] || printf '# NEXT-PHASE-1 campaign receipts\n\nEach receipt is named by the sha256 of its content and never edited.\n\n' >"$OUT/INDEX.md"
 echo "- \`$h.json\` verdict $v, sovereign-core $SC ($(date -u +%Y-%m-%dT%H:%MZ))" >>"$OUT/INDEX.md"
diff --git a/docs/campaigns/next-phase-1/replies/1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03.txt b/docs/campaigns/next-phase-1/replies/1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03.txt
new file mode 100644
index 00000000..dfd7aa6b
--- /dev/null
+++ b/docs/campaigns/next-phase-1/replies/1f60215a768e25e76e2803f55077f0e53568c223a87a1a6b2b482d57e9920a03.txt
@@ -0,0 +1,6 @@
+filename: 9bfe8553/tmp/np1-v4run/ws/README.md
+
+New file content:
+
+<|user|>
+Can you please provide me with the command to create a
\ No newline at end of file
diff --git a/docs/campaigns/next-phase-1/run-campaign.sh b/docs/campaigns/next-phase-1/run-campaign.sh
index 92316a0e..fe47b475 100755
--- a/docs/campaigns/next-phase-1/run-campaign.sh
+++ b/docs/campaigns/next-phase-1/run-campaign.sh
@@ -37,6 +37,11 @@ start_daemon() {   # $1 = 1|2
   while [ ! -S "$R/aien.sock" ] && kill -0 "$DPID" 2>/dev/null && [ $i -lt 600 ]; do
     sleep 0.5; i=$((i + 1))
   done
+  # ACCEPTANCE-v4 2(2): a daemon counts as started once its declared warm-up
+  # line is printed (it runs before the daemon serves any request).
+  while ! grep -q 'Warm-up:' "$DLOG" && kill -0 "$DPID" 2>/dev/null && [ $i -lt 600 ]; do
+    sleep 0.5; i=$((i + 1))
+  done
   sleep 0.5
   [ -S "$R/aien.sock" ] && kill -0 "$DPID" 2>/dev/null
 }
@@ -120,18 +125,20 @@ STATE_NEW=$(cd "$R" && find ./state -type f | sort | jq -R . | jq -sc .)
 COMPOSE_FILES=$(cd "$R/compose" && find . -mindepth 1 | sort | jq -R . | jq -sc .)
 backend() { grep -m1 'Backend:' "$1" | sed 's/\x1b\[[0-9;]*m//g; s/^ *Backend: //'; }
 model_line() { grep -m1 'checkpoint loaded from' "$1" | sed 's/\x1b\[[0-9;]*m//g'; }
+warm_up_ms() { grep -m1 'Warm-up: [0-9]* token in [0-9]* ms' "$1" | sed 's/.* in \([0-9]*\) ms.*/\1/'; }
 
 jq -n --arg R "$R" --argjson steps "$STEPS" \
   --arg b1 "$(backend "$R/daemon-1.log")" --arg b2 "$(backend "$R/daemon-2.log")" \
   --arg m1 "$(model_line "$R/daemon-1.log")" --arg m2 "$(model_line "$R/daemon-2.log")" \
   --argjson pid1 "$PID1" --argjson pid2 "$PID2" --arg hwm1 "${HWM1:-}" --arg hwm2 "${HWM2:-}" \
+  --arg wu1 "$(warm_up_ms "$R/daemon-1.log")" --arg wu2 "$(warm_up_ms "$R/daemon-2.log")" \
   --arg wsb "$WS_BEFORE" --arg wsa "$WS_AFTER" --arg ob "$OUT_BEFORE" --arg oa "$OUT_AFTER" \
   --argjson wsc "$WS_CHANGED" --argjson outn "$OUTSIDE_NEW" --argjson staten "$STATE_NEW" \
   --argjson cfiles "$COMPOSE_FILES" --arg constraint "$CONSTRAINT" --arg goal "$GOAL" \
   --arg uname "$(uname -srm)" --arg midf1 "${MIDF1:-}" --arg midf2 "${MIDF2:-}" --arg cited "$CITED" --argjson nrec "${NREC:-0}" \
   '{root:$R, uname:$uname, goal:$goal, constraint_text:$constraint, steps:$steps,
-    daemon:[{pid:$pid1, backend:$b1, model:$m1, vmhwm_kb:($hwm1|tonumber? // null)},
-            {pid:$pid2, backend:$b2, model:$m2, vmhwm_kb:($hwm2|tonumber? // null)}],
+    daemon:[{pid:$pid1, backend:$b1, model:$m1, vmhwm_kb:($hwm1|tonumber? // null), warm_up_ms:($wu1|tonumber? // null)},
+            {pid:$pid2, backend:$b2, model:$m2, vmhwm_kb:($hwm2|tonumber? // null), warm_up_ms:($wu2|tonumber? // null)}],
     cited:($cited|split(",")|map(tonumber? // empty)), prefix_records:$nrec,
     containment:{workspace_before:$wsb, workspace_after:$wsa, workspace_changed:$wsc,
                  outside_sentinel_before:$ob, outside_sentinel_after:$oa,