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

branch main Branches Tags History

aien-sovereign-core-mv / docs / campaigns / open-model-qwen3 / ACCEPTANCE-v4.md

457 lines · 42584 bytes Raw Blame History Rendered
1# OPEN-MODEL-QWEN3 campaign v4: acceptance criteria (PREPARED)
2
3**Status: PREPARED, NOT FROZEN, NOT RUN**
4
5**SUPERSEDED by v5: diagnostic record only, never frozen, never run. Drake decision (c), 2026-10-08.**
6
7Drake chose to write v5 first (`ACCEPTANCE-v5.md`) and to keep this campaign unchanged in substance as the diagnostic spec and the regression
8evidence. Its "TO FILL AT FREEZE" entries stay unfilled on purpose, and `run-qwen3-v4.sh` keeps refusing a real run while its
9build identity holds the placeholder. v5 derives its wrapper and row modules from the files of this campaign.
10
11This is a draft written by session e3d035 for the orchestrator and Drake, 2026-10-07. It becomes FROZEN only when a later
12change fills every "TO FILL AT FREEZE" entry below, changes this status line, and is merged before the run. Until then no
13launch may run, `run-qwen3-v4.sh` refuses a real run while its build identity holds the placeholder, and nothing here is a
14verdict. VERDICT-v4.md is written after the run and changes no row.
15
16## 0. Read this first: what is and is not established
17
18- **v1, v2 and v3 stand as recorded** (VERDICT-v1.md; VERDICT-v2.md = FAIL, 85 of 115 rows; VERDICT-v3.md = FAIL, 153 of
19 156 rows, failing rows G2/Q2, G3/G3-L, G3/G3-RQ). Nothing here edits, reopens or reinterprets them, and no v1, v2 or v3
20 file is changed by this campaign's files.
21- **v4 asks a different question from v3.** v3 used goals written after seeing v2 and the diagnostic. v4 uses fresh goals
22 with varied natural wording, every measurable requirement declared in the task file before any run, and outcome-based
23 scoring on the exact saved bytes. The goals were written the way a user would phrase them, without reading the
24 requirement-extraction code or any in-flight branch of it, so no wording was shaped to a particular extractor.
25- **Three conclusions are kept apart and each is stated separately in the verdict:**
26 1. **Document qualification**: do the saved documents and edits meet the requirements their goals state (this campaign's
27 qualification rows).
28 2. **GPU memory reliability**: omega#327 and omega#277 stay open and separate. Qwen3 on the GB10 stays opt-in. A run
29 without a memory failure does not close either issue, and a memory failure is reported as its own finding, not as a
30 document failure.
31 3. **Release readiness**: not claimed by this campaign under any outcome.
32- **Regression is separate from qualification.** Section 6 re-runs tasks that failed before. Those rows are reported and
33 do NOT count toward the qualification verdict.
34- Token-limit cut and wall-clock timeout are different reasons and are scored separately, as in v3 (rows CUT, D, N2-R).
35
36## 1. Product limits under test
37
38| Task kind | Wall budget (one deadline shared by all attempts of the task) | Output cap |
39|---|---|---|
40| Small edit (the goal names an existing file) | 29 s (`AIEN_COMPOSE_EDIT_BUDGET_MS`) | 96 tokens (`AIEN_COMPOSE_MAX_TOKENS`) |
41| Full document (the goal creates a new file) | 120 s (`AIEN_COMPOSE_DOC_BUDGET_MS`) | 1024 tokens (`AIEN_COMPOSE_DOC_MAX_TOKENS`) |
42
43These equal the v3 limits (`test-v4.sh` checks the limits object against v3). The wrapper sets both budgets and both caps for
44every launch; the retired `AIEN_COMPOSE_BUDGET_MS` must be unset. N2 uses a document cap of 16 tokens (budget exhaustion),
45R1 a document cap of 96 (bounded CPU reference replay), as in v3. **W4 deliberately runs with both caps at their product
46values** (Section 2, "W4 and the product's classification"): no limit is changed to help it.
47
48## 2. Launches
49
50Ten qualification launches, once each, in this order: **W1, W2, W3, W4, W5, U1, U2, N1, N2, R1**, plus four regression
51launches **RG2, RG3, RT4, RT6** after them (Section 6), fourteen launches in all. Machine copy: `tasks-oq3-v4.json` (each task has
52`group`: qualification or regression).
53
54| id | group | kind | cap | budget | pre-seed | expected completion |
55|----|-------|------|-----|--------|----------|---------------------|
56| W1 | qualification | document: line count, three named sections, two stated words | 1024 | 120 s | none | DONE |
57| W2 | qualification | document: three fenced code examples, then a closing section with text | 1024 | 120 s | none | DONE |
58| W3 | qualification | document: line count in number words, three topics | 1024 | 120 s | none | DONE |
59| W4 | qualification | document created from a different existing source file | 1024 (edit cap 96 also at product value) | 120 s | `seed-v4/W4/notes/standup-log.txt` | DONE |
60| W5 | qualification | document: minimum and maximum line count, item format, two stated words | 1024 | 120 s | none | DONE |
61| U1 | qualification | small edit: add an item to one section | 96 | 29 s | `seed-v4/U1/notes/GARAGE.md` | DONE |
62| U2 | qualification | small edit: add a numbered item, nested path | 96 | 29 s | `seed-v4/U2/todo/CHORES.md` | DONE |
63| N1 | qualification | declared negative: destination outside the workspace | 1024 | 120 s | none | REFUSED |
64| N2 | qualification | declared negative: budget exhaustion (cap 16) | 16 | 120 s | none | REFUSED |
65| R1 | qualification | token-identity replay against the CPU reference | 96 | 120 s | none | DONE |
66| RG2 | regression | v3 G2, verbatim | 1024 | 120 s | none | reported |
67| RG3 | regression | v3 G3, verbatim | 1024 | 120 s | none | reported |
68| RT4 | regression | v2 T4, verbatim | 1024 | 120 s | none | reported |
69| RT6 | regression | v2 T6, verbatim | 1024 | 120 s | none | reported |
70
71Task rows in the ACCEPTANCE-v5 Section 2 format (read by the inherited Q2 check; `test-v4.sh` checks these lines against
72`tasks-oq3-v4.json`). **Every phrase in the last column is a string the goal itself states**, so the inherited phrase check
73(Q2, case-insensitive, whitespace collapsed) cannot require a word the goal did not name; `test-v4.sh` checks this for every
74qualification task. (The v3 G2/Q2 failure was a phrase the goal implied but did not state. The four regression rows keep their
75original phrases verbatim, on purpose, Section 6.)
76
77| id | goal (exact text given to the driver) | requested destination | required phrases (all) |
78|----|----------------------------------------|-----------------------|------------------------|
79| W1 | `Create the file docs/COMPOST.md, a beginner's guide to composting at home, with no fewer than 22 lines. Give it three sections titled "Choosing a bin", "What to add" and "Common problems". Somewhere in the guide use the exact words greens and browns.` | `docs/COMPOST.md` | `Choosing a bin`, `What to add`, `Common problems`, `greens`, `browns` |
80| W2 | `Write a new file called docs/BACKUPS.md that documents a nightly backup routine for a small file server. A minimum of 20 lines is needed. Include three separate fenced code examples, introduced by sections titled "Create the archive", "Copy it offsite" and "Verify the copy", and after the last example finish with a section titled "Restore notes" that holds at least 15 words of plain text.` | `docs/BACKUPS.md` | `Create the archive`, `Copy it offsite`, `Verify the copy`, `Restore notes` |
81| W3 | `Please put together docs/SEED-SAVING.md, a short explainer on saving vegetable seeds from your own garden. Make it at least eighteen lines long. Cover three topics: drying, labelling and storage. A topic counts as covered when its word, or another form of it such as dried, labelled or stored, appears in the file.` | `docs/SEED-SAVING.md` | `seed` |
82| W4 | `Create the file docs/WEEK-SUMMARY.md summarising notes/standup-log.txt in at least 14 lines. It needs a section titled "Highlights" and a section titled "Open questions", and it must name Priya, Tomas and Wen.` | `docs/WEEK-SUMMARY.md` | `Highlights`, `Open questions`, `Priya`, `Tomas`, `Wen` |
83| W5 | `Make a new file called docs/CAMPING-LIST.md, a packing checklist for a weekend camping trip. It should run to a minimum of 16 lines and no more than 45 lines. Write every item as a line starting with "- [ ]" and include at least twelve of them. Use sections titled "Shelter", "Food and water" and "Safety", and use the exact words headlamp and first-aid somewhere in the list.` | `docs/CAMPING-LIST.md` | `Shelter`, `Food and water`, `Safety`, `headlamp`, `first-aid` |
84| U1 | `Please add "- check tyre pressure" to the "## Before a trip" section of notes/GARAGE.md.` | `notes/GARAGE.md` | `## Before a trip`, `- check tyre pressure`, `- top up the washer fluid` |
85| U2 | `Under the heading "## Weekend jobs" in todo/CHORES.md, add the item "3. archive the old photos".` | `todo/CHORES.md` | `## Weekend jobs`, `3. archive the old photos`, `2. clean the gutters` |
86| R1 | `Create the file docs/THANKS.txt with a one-sentence thank-you note for everyone who tested the project.` | `docs/THANKS.txt` | `thank` |
87| RG2 | `Create the file docs/RELEASE-CHECKLIST.md with a release checklist of at least 25 lines that covers preparing, testing, publishing and announcing a release.` | `docs/RELEASE-CHECKLIST.md` | `preparing`, `testing`, `publishing`, `announcing` |
88| RG3 | `Create the file docs/ONBOARDING.md, an onboarding guide for a new team member, of at least 35 lines with at least 6 sections titled Welcome, Accounts and access, Tools to install, Your first week, Who to ask and Glossary. Write at least two sentences in every section.` | `docs/ONBOARDING.md` | `welcome`, `accounts and access`, `tools to install`, `your first week`, `who to ask`, `glossary` |
89| RT4 | `Create the file docs/GUIDE.md with a user guide of at least 12 lines that covers installation, configuration, running tests and getting help.` | `docs/GUIDE.md` | `installation`, `configuration`, `running tests`, `getting help` |
90| RT6 | `Create the file docs/TROUBLESHOOTING.md with a troubleshooting guide of at least 12 lines that covers error messages, log files, network problems and reporting a bug.` | `docs/TROUBLESHOOTING.md` | `error messages`, `log files`, `network problems`, `reporting a bug` |
91
92N1 goal: `Create the file ../shared/readme-copy.txt with the single line: copy for the other team.`
93N2 goal: `Create the file docs/HISTORY.md with a long account of the project history that has at least twelve paragraphs.`
94
95Seeds (pre-existing files; each edit seed has two or more headings on purpose):
96
97```text
98seed-v4/U1/notes/GARAGE.md sha256 949b53e7d9b4879ce1556053f1adb5fe85254c9dbe1128394ce7b75ed25008a0
99seed-v4/U2/todo/CHORES.md sha256 1120f45d25acbff22f773c1bfc46b8889387e65e30a305970691aab5f5d7b41d
100seed-v4/W4/notes/standup-log.txt sha256 0556f748cf22fb04f9440736cf6c2a6ae0682a0970c6c00360bc7f423b2ab630
101```
102
103Goals avoid backticks and pipes so the task rows above stay exact.
104
105**W4 and the product's classification.** W4 asks for a new file (`docs/WEEK-SUMMARY.md`) that summarises an existing one
106(`notes/standup-log.txt`). The merged `classify_target` (`spine.rs`, sovereign-core main at the time of writing, read in
107this session) treats the first existing path named in a goal as the target of an edit. W4's goal names an existing file, so the
108product may run it as an edit of the source under the edit limits (96 tokens, 29 s), which cannot hold a 14-line summary.
109UNVERIFIED until run: whether the product does that, and what it then produces. W4 is in the qualification set because a user
110who writes "create X summarising Y" expects X to appear and Y to stay as it was. The rows measure exactly that outcome
111(W4-SB, W4-RQ1 to W4-RQ5, W4-SRC) and the wrapper changes no limit for it. If W4 fails because of the classification, the
112failure stands as a product finding, not a model finding, and the verdict says which.
113
114## 3. Rows and exactly how each is counted
115
116Row counts (machine-read by `test-v4.sh`, which fails if they drift from the generated declarations):
117
118QUALIFICATION_ROWS=245
119REGRESSION_ROWS=105
120
121**Counting rules** (the same as ACCEPTANCE-v3 Section 12, plus the rules for the new requirement kinds; implemented in
122`rows-oq3-v4.jq`, tested by `test-v4.sh` on made-up documents):
123
124- **Lines**: every line with at least one non-whitespace character, code lines and fence marker lines included. Blank and
125 whitespace-only lines are not counted.
126- **Sections (headings)**: a markdown heading is 1 to 6 `#`, a space, then text; lines inside fenced code blocks (opened by three or
127 more backticks or tildes, closed by the same marker at least as long with nothing after it; an unclosed fence runs to the
128 end of the file) are skipped. A required section title matches a heading text after trimming, removing trailing closing `#`
129 characters, and ASCII case-folding. Any heading level counts; the level is not scored unless the goal says so (none does).
130- **Stated word** (`word`): the word occurs in the saved text as a whole word, ASCII case-insensitive. The character before
131 and after it must not be a letter or a digit. `first-aid` matches `First-Aid kit`; `greens` does not match `evergreens`.
132 Words contain only letters, digits and hyphen. The goal names each such word with the phrase "the exact words" or
133 "name", so the row checks only what the goal states.
134- **Covers topic X** (`topic`): the goal names the topic word and says that "its word, or another form of it such as dried,
135 labelled or stored" counts. The row passes when the saved text contains, as a whole word (same rule as a stated word), at
136 least one of the topic's accepted forms. The accepted forms are fixed here and in the task file, before any run:
137
138 | Topic | Accepted forms (whole word, case-insensitive) |
139 |---|---|
140 | drying | `dry`, `dries`, `dried`, `drying` |
141 | labelling | `label`, `labels`, `labelled`, `labeled`, `labelling`, `labeling` |
142 | storage | `store`, `stores`, `stored`, `storing`, `storage` |
143
144 No other form counts, and no form outside this table is used by any row. A longer word that merely contains a form
145 (`restored`, `dryer`) does not count.
146- **Code blocks** (`code_blocks`): the number of complete fenced blocks (an opening fence with its closing fence). An unclosed
147 fence counts zero. Which section a block sits under is not scored.
148- **Closing section after the last example** (`tail`): after the closing fence of the last complete code block there is a heading
149 whose text equals the declared heading (same title rule as sections); the words (whitespace-separated tokens) of the non-empty
150 lines after that heading, up to the next heading or the end of the file, number at least the declared minimum (W2: 15).
151- **Item lines** (`prefixed_lines`): lines whose text, after leading whitespace, starts with the declared prefix (W5: `- [ ]`).
152- **Maximum lines** (`max_lines`): non-empty lines, at most the declared number.
153- **Number words**: the task file records each requirement as written in the goal (`as_written`, for example "at least
154 eighteen") next to the numeric `n`; `test-v4.sh` checks that the goal contains that wording and that the number matches.
155
156**Declared requirements per task** (the structured `requirements` field of `tasks-oq3-v4.json`, in row order `RQ1`, `RQ2` ...):
157
158| Task | Row | Kind | Requirement as written in the goal | Rule |
159|---|---|---|---|---|
160| W1 | W1-RQ1 | min_lines | no fewer than 22 | at least 22 non-empty lines |
161| W1 | W1-RQ2 | headings | three sections titled | the three named sections are headings |
162| W1 | W1-RQ3 | word | greens | the word greens appears |
163| W1 | W1-RQ4 | word | browns | the word browns appears |
164| W2 | W2-RQ1 | min_lines | A minimum of 20 | at least 20 non-empty lines |
165| W2 | W2-RQ2 | headings | introduced by sections titled | the four named sections are headings |
166| W2 | W2-RQ3 | code_blocks | three separate fenced code examples | at least 3 complete fenced code blocks |
167| W2 | W2-RQ4 | tail | at least 15 words | after the last code block, a Restore notes heading followed by at least 15 words |
168| W3 | W3-RQ1 | min_lines | at least eighteen | at least 18 non-empty lines |
169| W3 | W3-RQ2 | topic | drying | covers the topic drying |
170| W3 | W3-RQ3 | topic | labelling | covers the topic labelling |
171| W3 | W3-RQ4 | topic | storage | covers the topic storage |
172| W4 | W4-RQ1 | min_lines | at least 14 | at least 14 non-empty lines |
173| W4 | W4-RQ2 | headings | a section titled | the two named sections are headings |
174| W4 | W4-RQ3 | word | Priya | the name Priya appears |
175| W4 | W4-RQ4 | word | Tomas | the name Tomas appears |
176| W4 | W4-RQ5 | word | Wen | the name Wen appears |
177| W5 | W5-RQ1 | min_lines | a minimum of 16 | at least 16 non-empty lines |
178| W5 | W5-RQ2 | max_lines | no more than 45 | at most 45 non-empty lines |
179| W5 | W5-RQ3 | prefixed_lines | at least twelve | at least 12 lines starting with - [ ] |
180| W5 | W5-RQ4 | headings | sections titled | the three named sections are headings |
181| W5 | W5-RQ5 | word | headlamp | the word headlamp appears |
182| W5 | W5-RQ6 | word | first-aid | the word first-aid appears |
183
184Regression tasks declare their requirements the same way (RG2: RQ1 at least 25 lines; RG3: RQ1 at least 35 lines, RQ2 the six titles Welcome, Accounts and access, Tools to install, Your first week, Who to ask, Glossary; RT4 and RT6: RQ1 at least 12 lines).
185
186**Inherited from v8, no row weakened** (rows-v8.jq and rows-v5.jq run unchanged; row names follow the launch id): the 8 v1 rows,
187Q1 to Q4, `<id>-A` approval binds the proposal, A3 to A6, `<id>-CM` containment, `<id>-L` and `<id>-M` for documents,
188`<id>-P/K/N/B` for edits, N1-C/B/Z/E/H, N2-L/F/C/Z/H, R1-X/P/T. `<id>-Z` and `N1-Z`/`N2-Z` (zero effects) and `N1-C`/`N2-C`
189(REFUSED) cover "nothing committed on refusal" in the receipt; `<id>-A` and `<id>-CM` cover approval binding.
190
191**New in v4** (computed beside the receipt by `v4-rows.sh` with `rows-oq3-v4.jq`, which includes `rows-oq3-v3.jq` unchanged):
192
193| Row | Launches | What it requires |
194|---|---|---|
195| `<id>-SB` Saved bytes equal approved bytes | documents, edits, R1 | exactly one authorization; the sha256 of the file found in the workspace (computed by the scorer after the run, not the runtime) equals the authorization's content sha256, S5 content sha256, S5 disk sha256 and the S3 proposal content sha256; the file path equals the task destination |
196| `<id>-F` Complete document saved | documents | fence lines even in number and at least 2 x `min_code_blocks`; the saved text equals the document an independent reading takes from the accepted reply by the merged parser rule (ACCEPTANCE-v3 Section 12) |
197| `<id>-CUT` Accepted reply not cut | documents, edits, R1 | an accepted (parsed) attempt exists and its finish_reason is not max_tokens (no cut reply was accepted) |
198| `<id>-RQ<k>` Requirement k met | documents | the saved file meets the k-th declared requirement by the counting rules above. Nothing saved is FAIL |
199| `W4-SRC` Source unchanged | W4 | the sha256 of `notes/standup-log.txt` in the workspace after the run equals the declared sha256, and the source path differs from the destination |
200| `<id>-EO` Edit outcome | U1, U2 | every non-empty seed line is a line of the saved text; a line equal to the declared new line follows the declared heading before the next level-one or level-two heading; the saved text has exactly one more non-empty line than the seed |
201| `<id>-D` One deadline | all | at least one attempt; the attempts' total ms is at or below the task's `budget_ms`; no attempt's reason contains "exceeded"; for positive launches an accepted attempt exists |
202| `<id>-NC` Nothing committed on refusal | N1, N2 | no authorization record, no S5 path and no file found at any S5 path |
203| `<id>-BE` No CPU, stub or fallback backend | every launch | `run.json` `daemon` (one entry per daemon start, `backend` read from the daemon log by the driver) is non-empty, every backend contains `OmegaGb10` and none contains cpu, stub, reference or fallback (case-insensitive); no entry, an empty backend or a missing `run.json` FAILs. This is the only backend field a receipt carries: it is per daemon start, not per operation |
204| `N2-R` Token-limit cut is not a timeout | N2 | every attempt has finish_reason max_tokens and a reason containing "token limit" and not containing "exceeded" |
205
206Whether the product recognized a requirement (`requirements_recognized` in the S3 report) is not a row condition. A reply the
207runtime refuses leaves no committed file, so every row that needs one FAILs for that launch; that is the intended reading.
208
209## 4. Declaration
210
211`gen-decl-oq3-v4.sh` writes two declarations from the v8 row shapes of the v2 declaration plus the v4 rows:
212`../scoring/declarations/oq3-v4.decl.json` (qualification, 235 rows) and `../scoring/declarations/oq3-v4-regression.decl.json`
213(regression, 101 rows). One repetition each, role case, no control, none NOT_APPLICABLE. `test-v4.sh` fails if either committed
214file differs from the generated one. Per launch, qualification: N1 8, N2 9, R1 25, U1 27, U2 27, W1 29, W2 29, W3 29, W4 31, W5 31.
215
216## 5. Verdict (qualification)
217
218scoring-v5 (`../scoring/score-rows.sh`) over `oq3-v4.decl.json` and the qualification result file only: **PASS only if every one of
219the 235 qualification rows is present once and PASS.** A launch with no `run.json` gets FAIL on every declared row of that
220launch. Rules, all binding:
221
222- A failed campaign stays failed: no rerun of a failure, no repeated launch, no retry after seeing a result, no rerun until
223 pass.
224- no task edit after seeing answers: goals, requirements, accepted forms, limits, rows and declarations are the ones merged at
225 the freeze. A defect found in the spec after the run is recorded in the verdict as a finding and fixes only a new
226 campaign (v5), never this one.
227- All attempts, outputs, exit codes, timings, receipts, side files and the sha256 of every file in the run base are retained
228 (`evidence-v4/`, as v3's). Nothing is deleted, trimmed or regenerated.
229- The legacy receipt `verdict` field is outside the verdict, as in v2 and v3 (VERDICT-v3 explains why).
230- The verdict reports the three conclusions of Section 0 in three separate lines.
231
232## 6. Regression section (reported, NOT part of the verdict)
233
234Four launches re-run, verbatim, tasks that failed in an earlier campaign. Their rows are declared in
235`oq3-v4-regression.decl.json`, scored by their own scorer call into `oq3-v4-regression-score.json`, run last (part 5, after the
236qualification score exists) so they cannot affect it, and **they do NOT count toward the qualification verdict**. The verdict
237file reports them in their own table.
238
239| Regression id | Origin | Why it failed before | Notes |
240|---|---|---|---|
241| RG2 | v3 G2 | G2/Q2: the reply had 26 lines but lacked the words preparing, publishing, announcing | phrases kept verbatim, so the same hidden-word check applies; reported for comparison |
242| RG3 | v3 G3 | G3-L and G3-RQ: 13 of 35 non-empty lines | requirements: 35 lines and six named sections |
243| RT4 | v2 T4 | v2 passed everything except a phrase check made impossible by a made-up goal; at a 256-token cap | goal verbatim, current limits |
244| RT6 | v2 T6 | v2: reply cut at the 256-token cap, nothing committed | goal verbatim, current limits (1024 tokens, 120 s) |
245
246v1: its three tasks failed on a containment row of the legacy receipt (VERDICT-v1.md), a receipt-reading problem fixed in v8, not on
247task content, so no v1 task is re-run here. The regression launches use the v3 document limits, not the v2 cap of 256, because
248the v2 cap was the reason T4 and T6 failed and a product that can now finish them is what is being checked.
249
250## 7. Model, environment and build (freeze checklist)
251
252Model: Qwen/Qwen3-4B-Instruct-2507, Hugging Face revision cdbee75f, Apache-2.0, weights unchanged. Every "TO FILL AT FREEZE" entry
253below is empty now and is filled and checked at the freeze; the wrapper compares what it can.
254
255```text
256sovereign-core commit (exact) = 6bbe2ec269768c7c9b94b9484c757ca45f55f564 (main; contains sc#311, #313, #315 to #319; v4 previously drafted at 4d4dfd4)
257omega.lock commit = 6c6180cf378075b61291f4565d226eba38b4decd (omega.lock at 6bbe2ec2; changed from 01f6a74636b8383b010cdb95597839582c415c27, v3 used that)
258physics commit = 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf (unchanged) (v3 used 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf)
259aienos.lock commit = b84c0a67590a934f3f3e001b12ec85ebc086a9eb (unchanged; build log "matches") (v3 used b84c0a67590a934f3f3e001b12ec85ebc086a9eb)
260Cargo.lock sha256 = 49d97bf30113b1727fcfc0e33be79d9446ae13651a08afc32bba889b77fca265
261aien-cli sha256 = 152c0aecce662f618bf683c8854d6de56a7075e0461c2433570f4c15b68571a5
262np1_reference sha256 = ea1e22f114192cbb94afddef8026239252246a03390ef6986eb4b2c00ad9c046
263np1_edit_merge sha256 = 1815cd51b2975afc3ef841123a47cf6d48b381cd14c42afa3dbf0fecaa43a07d
264build logs show has_omega_compose, has_omega_gpu, has_omega_wait_ms = confirmed (evidence-v4/build-lines.txt)
265```
266
267Model files (values recorded from the v3 wrapper and re-hashed on this machine on 2026-10-07; TO FILL AT FREEZE means re-hash
268and confirm at the freeze), directory `/home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75/`:
269
270```text
271model.safetensors.index.json d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
272model-00001-of-00003.safetensors 75311d91bb08cf0b882913da464a1e722a31fb44db35208663487efb7a3d8ed6 (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
273model-00002-of-00003.safetensors 0b48adbb1f60e901153d91907ba11ce63bd4b8b584482e730f48808d055dfba1 (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
274model-00003-of-00003.safetensors 7dd39ccca5e4de123c74c14af44c9bf2eb75df33b4614382af0134528e060d5d (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
275tokenizer.json aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4 (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
276tokenizer_config.json (holds the chat template; checked by the v4 wrapper, not by v3) a62ff0a2472a0fa1b8eaabcb57c59b58afa42a22831dc141400b6e0cf2b65ce3 (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
277chat template string alone (jq -j .chat_template | sha256sum) 64f85b198065d0fba2a81f37e10ed68161ce2c19a754c7100e67e0ca2ee9c326 (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
278config.json 5beea1a4a34c62782bfb2f911c606741a3bab8f92d80a118fa053c28af12e8ba (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
279generation_config.json 835fffe355c9438e7a25be099b3fccaa98350b83451f9fd2d99512e74f1ade48 (re-hashed 2026-10-08, identical to 2026-10-07; evidence-v4/model-sha256.txt)
280```
281
282Environment, checked by the wrapper (values are what v3 used; confirm at the freeze):
283
284```text
285AIEN_KV_CONTEXT_TOKENS = 4096 (TO FILL AT FREEZE: confirm)
286AIEN_REQUIRE_BLACKWELL = 1 (TO FILL AT FREEZE: confirm)
287AIEN_GB10_QWEN3_DECLARED_ATTEMPT = 1 (TO FILL AT FREEZE: confirm, opt-in flag; the daemon warns about omega#327 once per model call)
288AIEN_COMPOSE_EDIT_BUDGET_MS = 29000 (set by the wrapper from the tasks file; TO FILL AT FREEZE: confirm)
289AIEN_COMPOSE_DOC_BUDGET_MS = 120000 (set by the wrapper; TO FILL AT FREEZE: confirm)
290AIEN_COMPOSE_MAX_TOKENS = 96 for edits (set per launch by the wrapper; TO FILL AT FREEZE: confirm)
291AIEN_COMPOSE_DOC_MAX_TOKENS = 1024 for documents, 16 for N2, 96 for R1 (set per launch; TO FILL AT FREEZE: confirm)
292unset: AIEN_FORCE_CPU_STUB, AIEN_COMPOSE_BUDGET_MS, AIEN_OMEGA_SPIN_US, AIEN_OMEGA_CTA_BUDGET (TO FILL AT FREEZE: confirm)
293AIEN_OMEGA_DIR / AIEN_PHYSICS_DIR / AIEN_AIENOS_LOCK_REPO = TO FILL AT FREEZE
294```
295
296Campaign files (sha256 of each as merged at the freeze):
297
298```text
299run-qwen3-v4.sh = TO FILL AT FREEZE
300tasks-oq3-v4.json = TO FILL AT FREEZE
301oq3-v4.decl.json = TO FILL AT FREEZE
302oq3-v4-regression.decl.json = TO FILL AT FREEZE
303rows-oq3-v3.jq = TO FILL AT FREEZE (unchanged from v3, b81788df... in v3 evidence)
304rows-oq3-v4.jq = TO FILL AT FREEZE
305v4-rows.sh = TO FILL AT FREEZE
306gen-decl-oq3-v4.sh = TO FILL AT FREEZE
307test-v4.sh = TO FILL AT FREEZE
308seed-v4/ (three files, hashes in Section 2) = TO FILL AT FREEZE: confirm unchanged
309next-phase-1 driver run-campaign.sh, make-receipt.sh, v8-results.sh, rows-v8.jq, rows-v5.jq = TO FILL AT FREEZE (sha256 of each)
310```
311
312GPU hold names (quietlock), one per part, 20 minutes or less each, back to back:
313
314```text
315part 1 hold name = TO FILL AT FREEZE
316part 2 hold name = TO FILL AT FREEZE
317part 3 hold name = TO FILL AT FREEZE
318part 4 hold name = TO FILL AT FREEZE
319part 5 hold name = TO FILL AT FREEZE
320```
321
322The wrapper refuses a real run unless the commit arguments equal the frozen commits and the three binaries' sha256 equal
323the frozen values (it also refuses while any of them is still the placeholder), and run path and output directory are fresh.
324
325## 8. Run plan: parts and holds
326
327Run path pinned: `RUN_BASE=/home/drakestapleton/workspace/oq3-v4-runs` (to be created by the wrapper; the prompt embeds the
328workspace path). One run: no retry, no repeated launch, no cache drop; MemFree and Cached recorded before each part. Five parts, one
329quietlock hold of 20 minutes or less each, back to back. Part k refuses unless part k-1 completed in the same RUN_BASE with the
330same binaries, tasks file, declarations, rows modules and wrapper. No GPU work happens before the freeze and Drake's go-ahead.
331
332Time estimate. UNVERIFIED, derived from v3 (a launch costs about 140 s without decoding; documents decoded 20 to 43 s; the
333three v3 parts took 8 min 42 s, 9 min 51 s and 4 min 23 s):
334
335| Part | Launches | Expected | Worst case (documents at their 120 s deadline, edits at 29 s) | Hold |
336|---|---|---|---|---|
337| 1 | W1 W2 W3 | about 9 to 10 min | 3 x (140 + 120) s = 13 min | 20 min |
338| 2 | W4 W5 U1 U2 | about 11 min | 2 x (140 + 120) + 2 x (140 + 29) s = 14 min 18 s | 20 min |
339| 3 | N1 N2 | about 6 min | 2 x (140 + 120) s = 8 min 40 s | 20 min |
340| 4 | R1 and the QUALIFICATION score | about 5 min | about 14 min if the CPU reference runs to its 96-token cap | 20 min |
341| 5 | RG2 RG3 RT4 RT6 (regression) | about 12 min | 4 x (140 + 120) s = 17 min 20 s | 20 min |
342
343If the GPU dry run (Section 9, item 8) shows more, a part is split before freezing; a part is never extended.
344
345## 9. Self-test and freeze checklist
346
347`test-v4.sh` is CPU only (no model, no GPU, no hold) and is part of the pre-run gate. It checks: both declarations equal the
348generated ones and the row counts above; task freshness against every earlier tasks file, acceptance file, verdict and the
349diagnostic (goal text, destinations, distinctive topic words); every phrase and every requirement wording appears in its goal;
350regression goals are verbatim earlier goals; the scorer on made-up result lines for both declarations; one passing and at
351least one failing synthetic reply per qualification task, run through `v4-rows.sh` (each failing reply must fail exactly the
352intended requirement rows); negatives, identity, approval-binding, cut and deadline cases; direct tests of each counting
353rule; wrapper refusals; and the unchanged receipt builder staged as the wrapper stages it.
354
355Result when this draft was prepared (CPU only): test-v4.sh: 170 passed, 0 failed (CPU only, no GPU, no hold; run from the repository root of the branch)
356
357Freeze checklist (all TO FILL AT FREEZE unless marked done):
358
3591. Pick the sovereign-core commit to freeze on (main, with whatever product changes are then merged) and the matching
360 omega.lock and physics commits: 6bbe2ec2, omega 6c6180c, physics 6d7cf0d (Section 7; moved from 4d4dfd4 on 2026-10-08; if main moves again before freeze, repeat items 2 to 5).
3612. Re-read this file's Section 12 against that commit. TO FILL AT FREEZE.
3623. Combined build from clean checkouts, binaries' sha256 and build-line evidence into `evidence-v4/`: done 2026-10-08 on
363 6bbe2ec2, `evidence-v4/build-summary.txt` and `build-lines.txt`.
3644. Pre-run gate on that build: `cargo fmt --all --check`, clippy with `-D warnings`, the runtime and CLI tests in stub and
365 linked builds reported separately, `test-rows-v8.sh`, `test-v3.sh` and `test-v4.sh`: first run 2026-10-07 on 4d4dfd4, re-run in part on 6bbe2ec2 on 2026-10-08 (all but the linked tests and test-v3.sh), results in
366 `evidence-v4/pre-run-gate.txt` (4d4dfd4: stub 289/1/65, linked 350/0/5, test-v4 164/0; 6bbe2ec2: stub 365/0/107, linked NOT RUN, test-v4 170/0).
367 Repeat at freeze if the frozen commit changes.
3685. Scorer dry run on both declarations with made-up lines (`test-v4.sh` section 3): done in this draft; repeat at freeze.
3696. A GPU dry run of this exact wrapper in `OQ3_DRY_TASKS` mode: NOT DONE (needs five holds and Drake's approval). Until it runs,
370 the part timings of Section 8, the live reading of `requirements_recognized` and W4's classification are unmeasured.
3717. Fill every "TO FILL AT FREEZE" line of Section 7 and the `FROZEN_*` lines of `run-qwen3-v4.sh`; change the Status line;
372 merge that change alone, with Drake's go-ahead. TO FILL AT FREEZE.
373
374## 10. Prediction (stated before any run; UNVERIFIED)
375
376Written now from VERDICT-v1, VERDICT-v2, VERDICT-v3 and DIAGNOSTIC-LONG-1 numbers and my own judgment. Nothing here is
377measured; the rows decide. Probabilities are for "every row of that launch passes".
378
379- N1 about 85 percent, N2 about 85 percent, R1 about 80 percent (all three passed in v3 on similar goals).
380- U1 about 70 percent, U2 about 60 percent (v3 edits passed in about 5 s; risks are the numbered-list item in U2 and the
381 extra non-empty-line rule of EO).
382- W1 about 40 percent. The model must write 22 non-empty lines (v3 G2 gave 26 against 25 asked, v3 G3 gave 13 against 35), and
383 name three headings exactly and use the words greens and browns. Likely failing row: RQ1 (length).
384- W2 about 30 percent. Three complete code blocks plus a closing section of at least 15 words; v3 G1 passed a similar structure
385 at 20 lines. Likely failing rows: RQ1 (20 lines), RQ4 (words in the closing section) or RQ2 (a heading title).
386- W3 about 35 percent. Topics are easy to hit; the 18-line count is the risk.
387- W4 about 10 percent. Low because of the classification described in Section 2 (the product may run it as an edit of the
388 source file under 96 tokens and 29 s), not because of the model. If it is run as a document with the document limits, about 40 percent.
389- W5 about 35 percent. Needs at least 16 and at most 45 non-empty lines, twelve item lines in the stated form and two stated words.
390- Whole qualification PASS: about 2 to 3 percent (written before #295 merged; Section 10.1 now makes it 0 percent, because W3, W5 and R1 cannot commit). The expected verdict is FAIL. Launch results are correlated through the model's
391 habit of writing short paragraphs, so the product of the figures above (below 1 percent) is too low; I round up.
392- Regression, reported only: RG2 about 30 percent, RG3 about 25 percent, RT4 about 70 percent, RT6 about 70 percent.
393- GPU memory failure during the run (omega#327 or #277): about 5 percent. If it happens it is reported as the second conclusion
394 of Section 0 and the affected launches fail their rows without being read as document failures.
395- Per-token speed about 88 to 95 ms; documents between 300 and 700 tokens finish in 28 to 70 s; no token-limit cut at 1024 (about 5 percent).
396
397
398### 10.1 Requirement analyser outcome per task (stated before any run, from the product, not from any reply)
399
400Sovereign-core #295 (in the pinned 6bbe2ec2, with #319 FirstLineHeading) reads each goal's stated requirements and, when any span is uncertain, refuses the
401task before any model call (`spine.rs`, "refuse before any model call"; the verify step refuses again as a backstop). Such a
402launch therefore records no attempt at all. The table is what `crates/aien-runtime/tests/requirements_usability_test.rs`
403(lists SILENT, RECOGNIZED, REFUSED over `tests/fixtures/goal_corpus.tsv`) asserts for each v4 goal on that commit. It is a
404product fact, checked on CPU; it is not a model result. Regenerated mechanically on 2026-10-08 at 6bbe2ec2 by calling `requirements::analyze` on each goal text of `tasks-oq3-v4.json` (no model, no daemon, no GPU; output and probe source in `evidence-v4/requirements-probe-6bbe2ec2.txt`). The only difference from the 4d4dfd4 table is the longer span reported for R1; every outcome is unchanged. The goals were written before #295 merged and are kept verbatim:
405rewording a goal so the analyser accepts it would tailor the tasks to the product.
406
407| id | analyser | span reported (REFUSED only) | consequence for the rows |
408|----|----------|------------------------------|--------------------------|
409| W1 | RECOGNIZED | | requirements enforced at verify; the rows decide |
410| W2 | RECOGNIZED | | as W1 |
411| W3 | REFUSED (uncertain) | "three topics" | no model call, no commit: completion is not DONE, so W3 FAILS |
412| W4 | RECOGNIZED | | as W1 |
413| W5 | REFUSED (uncertain) | "twelve of them" | no model call, no commit: W5 FAILS |
414| U1 | SILENT | | nothing to enforce; the rows decide |
415| U2 | SILENT | | as U1 |
416| N1 | RECOGNIZED | | declared negative; expected REFUSED on the destination, the rows decide |
417| N2 | REFUSED (uncertain) | "at least twelve paragraphs" | refused, but before the model: no attempt, so N2-F and N2-R ("at least one attempt", rows-v8.jq and rows-oq3-v3.jq) FAIL; the budget limit is never exercised |
418| R1 | REFUSED (uncertain) | "one-sentence thank-you note for everyone who tested the project" | no model call and no commit: R1-X needs an accepted attempt, so R1 FAILS; token identity is not measured |
419| RG2, RG3, RT4, RT6 | RECOGNIZED (RG2, RG3 are v3 G2, G3 verbatim, listed under tasks-oq3-v3) | | regression, reported only |
420
421Consequence: the qualification verdict is predicted FAIL with certainty, independent of the model (W3, W5, N2 and R1 make no
422model call). The run still measures the model on W1, W2, W4, U1 and U2, N1's destination refusal, the four regression goals,
423and GPU memory over a long session. A refusal of W3, W5, N2 or R1 is a product limit, reported as such; it is not rerun and the goals are not changed afterwards.
424
425## 11. What v4 does not prove
426
427- One run, one launch per task: one observation each, not a rate. Greedy decoding is the intended mode (documented: `server.rs` model_proposer "Greedy"; `np1_reference` temperature 0.0), one model, one machine. **GAP, not closed:** no receipt, run.json or attempt field records the temperature or sampling used per launch (checked 2026-10-08 on 6bbe2ec2: the attempt carries tokens, token_ids, finish_reason, prompt_ids_sha256, text_sha256; the daemon entry carries pid, backend, model, vmhwm_kb, warm_up_ms). A "greedy proven per launch" row would need a new product field and is not added; the verdict reports greedy as DOCUMENTED, not OBSERVED.
428- The tasks are fresh and were written without reading the extraction code, but the author knows v1 to v3 results and chose
429 requirement kinds that earlier runs found hard (line counts, stated words, structure after code blocks). This is a held-out set
430 in the sense that no earlier goal or topic is reused (`test-v4.sh` proves it against the repository files), not in the
431 strict sense of unseen difficulty.
432- The rows were not checked against a live run: the GPU dry run has not happened.
433- `<id>-F` reads the merged parser's rule restated in jq (ACCEPTANCE-v3 Section 12); a shared misreading would pass both.
434- The topic rule is a stated list of word forms. It does not judge whether a section really covers a topic well, and a document
435 that mentions "dry" once passes the drying topic. That is the declared, fair, narrow reading.
436- "At least two sentences" style requirements are not measured anywhere in v4; no goal asks for them.
437- A PASS would show the saved documents meet the declared requirements on these tasks once. It would not close omega#327 or
438 omega#277, would not turn Qwen3 on GB10 on by default, and would not claim release readiness.
439
440## 12. Independence and findings recorded while preparing
441
442- This spec was written without reading `crates/aien-runtime/src/requirements.rs` or any in-flight requirement-extraction
443 branch. The counting rules in Section 3 are the v3 rules (ACCEPTANCE-v3 Section 12), which v3 recorded from the merged documentation of
444 the counting rules, plus the new kinds defined here. The only product code read for v4 is `classify_target` in `spine.rs`, to
445 learn how a goal that names an existing file is classified (W4).
446- The v3 verdict's lesson, G2/Q2, is applied: no phrase check requires a word the goal does not state (`test-v4.sh`).
447- The v3 verdict's lesson, G3, is applied by declaring every requirement in the task file and scoring the saved bytes, as v3
448 did after its decision, now with one row per requirement so a failure names the requirement.
449- Not done, by design: no task, limit or row was tuned to a guess of Qwen3's behaviour, and nothing was run on a GPU.
450- **Receipt builder limit, found while preparing.** The unchanged `make-receipt.sh` reads `seed/<destination>` for any task that
451 has a seed, which fits edits only. W4 is a document whose seed holds a different file. The wrapper therefore stages the tasks
452 file for the receipt builder with W4's seed set to null (`STAGE_FILTER` in `run-qwen3-v4.sh`), while the driver still receives
453 the real seed, and `v4-rows.sh` reads the source file itself (row W4-SRC). `test-v4.sh` section 6 stages it the same way and
454 checks that the builder gives exactly the declared v8-shape rows for all fourteen launches.
455- `v4-rows.sh` includes the unchanged `rows-oq3-v3.jq` through `jq -L`; the identity files of each part hash both row modules, so a
456 change to either stops the next part.
457- The row names `<id>-RQ<k>` replace v3's single `<id>-RQ` so a failing requirement is named in the declared row.