diff --git a/.crumb b/.crumb index 37f88af4..5b6a95ad 100644 --- a/.crumb +++ b/.crumb @@ -77,14 +77,14 @@ } ], "children_root": "sha256:95ba9db41a2ad217bd02bbbe25aaf363580b5cd23754f40351ee780858343de5", - "compiled_at": "2026-10-09T00:33:00Z", + "compiled_at": "2026-10-09T13:17:21Z", "compiler": "crumb-compile/1", - "digest": "sha256:e78426abf00f4650b7714aa32a18a7156b1fb462f6f92e510a3c4339a872ef68", + "digest": "sha256:607cfba2229871c0ba078d0a30c0ce4f4a6857b71639a3d96f1a405ad05033aa", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", - "files": 1732, - "generated_at_commit": "71b5696248285f34d46697aabe0ae417e3f11aa7", - "source_tree": "sha256:98831b953fac9300fcc063377c65afb1663d007f3890072aa7440298f8d79f48" + "files": 1742, + "generated_at_commit": "e17b6c40a9437a863a478f1ab4d236a66afb0569", + "source_tree": "sha256:00309f93a9ed09a6829c30f7693b1231e79a8001ceab098b17d51d583b17b43f" } }, "history": [], diff --git a/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md b/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md index e5bea70d..9d338cc4 100644 --- a/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md +++ b/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md @@ -1,6 +1,6 @@ -# OPEN-MODEL-QWEN3 campaign v5: acceptance criteria (DRAFT) +# OPEN-MODEL-QWEN3 campaign v5: acceptance criteria (FROZEN) -**Status: DRAFT, NOT FROZEN, NOT RUN** +**Status: FROZEN, NOT RUN** Written by session fb5693 on 2026-10-08 under Drake's decision (c) (`~/handoffs/2026-10-08-drake-decisions.md`): do not run v4, write v5 first; keep v4 unchanged as a diagnostic spec and regression evidence; fix the product causes of legitimate @@ -67,8 +67,9 @@ Eleven qualification launches, once each, in this order: **D1, D2, D3, D4, D5, D CPU probe of all fourteen v4 goals on the frozen commit (Section 6), reported, not counted. Limits are the v3 and v4 product limits: small edit 29 s and 96 tokens; new document 120 s and 1024 tokens; N2 a document cap of -16 tokens (budget exhaustion); R1 a document cap of 96 (bounded CPU reference replay). The wrapper sets both budgets and both caps -for every launch; the retired `AIEN_COMPOSE_BUDGET_MS` must be unset. +16 tokens (budget exhaustion); R1 a document cap of 96 (bounded CPU reference replay). One declared adjustment: D6 runs at 170 s +and 1536 tokens (Section 2.1). The wrapper sets both budgets and both caps for every launch from the task file (the task's own +`max_tokens` and `budget_ms` for its kind, the product values for the other kind); the retired `AIEN_COMPOSE_BUDGET_MS` must be unset. | id | kind | cap | budget | seed | expected completion | |----|------|-----|--------|------|---------------------| @@ -77,12 +78,12 @@ for every launch; the retired `AIEN_COMPOSE_BUDGET_MS` must be unset. | D3 | document: line count, four named topics with stated word forms | 1024 | 120 s | none | DONE | | D4 | document created from a different existing file; titled sections; three names | 1024 | 120 s | `seed-v5/D4/notes/choir-rehearsal.txt` | DONE | | D5 | document: line range, item prefix and item count, titled sections, two stated words | 1024 | 120 s | none | DONE | -| D6 | document: paragraph count, one titled section | 1024 | 120 s | none | DONE | +| D6 | document: paragraph count, one titled section | 1536 | 170 s | none | DONE | | E1 | small edit: add a bullet to one section | 96 | 29 s | `seed-v5/E1/repairs/tap-repair.md` | DONE | | E2 | small edit, nested path: add a numbered item at the end of a list | 96 | 29 s | `seed-v5/E2/crafts/yarn/scarf.md` | DONE | | N1 | declared negative: destination outside the workspace | 1024 | 120 s | none | REFUSED, for the destination | | N2 | declared negative: budget exhaustion | 16 | 120 s | none | REFUSED, token limit | -| R1 | token-identity replay against the CPU reference; one sentence | 96 | 120 s | none | DONE | +| R1 | token-identity replay against the CPU reference; one sentence | 96 | 120 s | `seed-v5/R1/notes/README.txt` (the `notes/` folder only) | DONE | Task rows in the format the inherited Q2 check reads (`make-receipt.sh` builds this exact line from the task file and requires it verbatim in the acceptance file; generated from `tasks-oq3-v5.json` with the same jq). Phrases are matched as case-insensitive @@ -103,14 +104,48 @@ substrings after whitespace is collapsed (`rows-v5.jq`, Q2), so `shoulder` match N1 goal (declared negative, not a Q2 row): `Create a file at ../shared-stuff/reminder.txt containing just one line that says "Renew the library card on Friday."` N2 goal (declared negative, not a Q2 row): `I would like a long, detailed history of the marathon as a race, from the legend of ancient Greece to modern city events, saved as docs/marathon-story.md. Please make it at least twelve paragraphs long.` -Seeds (each edit seed has three level-two headings; the D4 source names the three people): +Seeds (each edit seed has three level-two headings; the D4 source names the three people; the R1 seed only provides the +`notes/` folder its destination needs, see the known limit below): ```text seed-v5/D4/notes/choir-rehearsal.txt sha256 aa8780bbc1c587cc6f980e44d838b1dfc39e11d06365d3471126008c9b99b7b7 seed-v5/E1/repairs/tap-repair.md sha256 4766451b85a3cabde953959bb75c990fbf9f82e1caf41554c9a695e8937b91b9 seed-v5/E2/crafts/yarn/scarf.md sha256 3a5a8494fbe60908c9a9431ac4839f17e4962a5a51f22399662087073cf00909 +seed-v5/R1/notes/README.txt sha256 d376553dc23c5cc230cfa60ec0f11cc0f0671b7f8bcbb3fc6f8bc46232ab6b0d ``` +Known product limit (found by the extra hold `a7c5d201-oq3-v5-extra-p1`, 2026-10-09): the product refuses to write into a +folder that does not exist. The compose step accepts such a destination as a new document (`spine::classify_destination` +treats a missing path whose nearest existing parent is inside the workspace as `New`), but authorize then refuses it +(`EFFECT_REFUSED OutsideWorkspace: target directory of /notes/swim-tip.txt ... (missing)`). v5 does not test or +change this behaviour. Every positive destination's folder therefore exists before its launch: the root and `docs/` come +from the default workspace that `run-campaign.sh` builds, `repairs/` and `crafts/yarn/` from the E1 and E2 seeds, and +`notes/` from the R1 seed (one placeholder file; the R1 goal text is unchanged and the prompt carries no file listing, so +the identity rows are unaffected). `test-v5.sh` checks this for every positive task. The receipt builder stages every +non-edit seed (D4, R1) as null, as it did for D4 (the wrapper's `STAGE_FILTER`). + +### 2.1 Declared adjustment: D6 answer budget (Drake, 2026-10-09T00:15:14Z) + +D6 runs at **1536 output tokens and 170 s** (170000 ms) instead of the document product values of 1024 tokens and 120 s. +Decided by Drake at 2026-10-09T00:15:14Z, before the freeze, in his words: "Option 1 approved. Raise D6's limit to 1,536 +output tokens and 170 seconds. Apply the change before the evaluation package is locked. A task should be judged on the +model's ability to complete it, not on an insufficient execution budget. The additional runtime is justified. Keep all +other evaluation conditions unchanged, document the adjustment, and apply the same limits to every model evaluated on D6 +to preserve fairness." + +| field (`tasks-oq3-v5.json`, D6) | old | new | +|---|---|---| +| `max_tokens` | 1024 | 1536 | +| `budget_ms` | 120000 | 170000 | + +- D6 only. These are the only two fields changed for this adjustment; every other task's limits are byte-identical. +- The same limits for every leg that scores D6: the wrapper passes D6's own `max_tokens` and `budget_ms` as + `AIEN_COMPOSE_DOC_MAX_TOKENS` and `AIEN_COMPOSE_DOC_BUDGET_MS` for the launch, and row `D6-D` scores against the same + `budget_ms`. There is no per-backend or per-model override; any other model evaluated on D6 uses 1536 tokens and 170 s. + D6 has no CPU reference leg (only R1 does). +- Within the product's limits (`spine.rs`: document tokens 16 to 4096, budget 1000 to 599000 ms). D6's prompt is 148 + tokens (G6 dry run), so 148 + 1536 fits the 4096-token KV context. Part 2 stays inside its 20-minute hold (Section 8). + ## 3. Rows and exactly how each is counted Every row is computed by the scorer from the files the run leaves, never from a runtime verdict. The scorer computes every @@ -274,8 +309,8 @@ chip in v5. ## 7. Model, environment and build Model: Qwen/Qwen3-4B-Instruct-2507, Hugging Face revision cdbee75f, Apache-2.0, weights unchanged, directory -`/home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75/`. Expected sha256 (re-hashed and confirmed at freeze; the values are -those of ACCEPTANCE-v4 Section 7, re-hashed there on 2026-10-08): +`/home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75/`. Expected sha256 (the values of ACCEPTANCE-v4 Section 7, re-hashed there on 2026-10-08; re-hashed again for v5 on +2026-10-08T21:39Z with no GPU hold, all nine identical: `evidence-v5/model-rehash-2026-10-08.txt`): ```text model.safetensors.index.json d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c @@ -305,8 +340,9 @@ model_sha256 (index+shards) 17a78fbba447a4e66a3d886c0998fbcf2f9201d ``` COMPUTED FROM LISTED SHA256s, NOT RE-HASHED: the value is the manifest built from the index and shard sha256 values listed -above, not from the files. Re-hashing the four files on the frozen build and confirming this value against the daemon's own -`CHECKPOINT_SHARDS` line = TO FILL AT FREEZE. Row `-GR` binds the index and all three shards through it (`frozen-v5.json`). +above, not from the files. Re-hash: DONE 2026-10-08T21:39Z (`evidence-v5/model-rehash-2026-10-08.txt`; +the four files equal the listed values and the manifest rebuilt from the re-hash is this value). Confirming it against the +daemon's own `CHECKPOINT_SHARDS` line = DONE in the G6 GPU dry run 2026-10-08T22:08-22:30Z: all 22 daemon starts logged a `CHECKPOINT_SHARDS` line equal to these values. G6 ran the 4770703 build; from 4770703 to the re-pin e27bda8 the only product source change is `crates/aien-runtime/src/destination.rs` (plus tests), so the code that logs the line (`aien-cli` `commands.rs`) and the locks are unchanged. Row `-GR` binds the index and all three shards through it (`frozen-v5.json`). Environment, checked by the wrapper and recorded in `run.json`: @@ -316,30 +352,39 @@ AIEN_REQUIRE_BLACKWELL = 1 (a missing GPU engine is fatal AIEN_REQUIRE_CHECKPOINT = 1 (already exported by the next-phase-1 driver, run-campaign.sh; the v5 wrapper also checks it; reference weights are fatal) AIEN_GB10_QWEN3_DECLARED_ATTEMPT = 1 (opt-in while omega#327 is open) AIEN_COMPOSE_EDIT_BUDGET_MS = 29000 -AIEN_COMPOSE_DOC_BUDGET_MS = 120000 +AIEN_COMPOSE_DOC_BUDGET_MS = the task budget_ms: 120000, D6 170000 (set per launch) AIEN_COMPOSE_MAX_TOKENS = 96 -AIEN_COMPOSE_DOC_MAX_TOKENS = 1024 for documents, 16 for N2, 96 for R1 +AIEN_COMPOSE_DOC_MAX_TOKENS = the task max_tokens: 1024 for documents, D6 1536, 16 for N2, 96 for R1 unset: AIEN_FORCE_CPU_STUB, AIEN_DEV_FALLBACK (new in v5), AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK (sc#342 dev-only opt-out), AIEN_COMPOSE_BUDGET_MS, AIEN_OMEGA_SPIN_US, AIEN_OMEGA_CTA_BUDGET build: release, linked (has_omega_compose, has_omega_gpu, has_omega_wait_ms in the build log), WITHOUT the dev-fallback feature; the exact cargo command line is recorded in evidence-v5/build-summary.txt ``` -Build pins (current main as of this draft; TO FILL AT FREEZE with the commit that contains the Section 1 fixes): +Build pins (FILLED IN A DRAFT, NOT FROZEN: main 30258fc holds the Section 1 fixes, sc#353, sc#354, the G6 fixes sc#357, sc#358, sc#359 and the +extra-hold fix sc#360 (CPU reference prompt, example only: no product source changed since e27bda8, aien-cli bytes equal); built from clean +clones by `evidence-v5/build.sh`, output `evidence-v5/build-summary.txt`; the same values are in `frozen-v5.json`, and G7 +rebuilds at these pins): ```text -sovereign-core commit = TO FILL AT FREEZE (draft written on 9b5e6e82359f4ad6b6f03042e83ef6411c5f15ce) -omega.lock commit = TO FILL AT FREEZE (6c6180cf378075b61291f4565d226eba38b4decd at 9b5e6e8) -physics commit = TO FILL AT FREEZE (6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf at 9b5e6e8) -aienos.lock commit = TO FILL AT FREEZE (b84c0a67590a934f3f3e001b12ec85ebc086a9eb at 9b5e6e8) -Cargo.lock sha256 = TO FILL AT FREEZE -aien-cli sha256 = TO FILL AT FREEZE -np1_reference sha256 = TO FILL AT FREEZE -np1_edit_merge sha256 = TO FILL AT FREEZE -campaign files (wrapper, tasks file, declaration, row modules, generator, self-test, seeds, next-phase-1 driver) sha256 = TO FILL AT FREEZE -GPU hold names, one per part = TO FILL AT FREEZE +sovereign-core commit = 30258fce8d373bbd01ede59076dddce6e8a64901 +omega.lock commit = 6c6180cf378075b61291f4565d226eba38b4decd (unchanged since v4) +physics commit = 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf (physics.lock at omega 6c6180c) +aienos.lock commit = b84c0a67590a934f3f3e001b12ec85ebc086a9eb (aienos.lock at omega 6c6180c) +Cargo.lock sha256 = 49d97bf30113b1727fcfc0e33be79d9446ae13651a08afc32bba889b77fca265 +aien-cli sha256 = 62d98e0b92372862c4a1f7d762a92ec8cddcf398dced8048f75e086b2d66bc55 (unchanged at 30258fc) +np1_reference sha256 = a684b55af6efb1cea91ee119352552e7462c50026f2c91d38010b40c4e3fb7b9 (new at 30258fc: sc#360) +np1_edit_merge sha256 = 66be8da4d3c5c7c32089e851acdbed9c050afa38f2d7db9e8fbced3811949e80 +campaign files sha256 = evidence-v5/campaign-files.sha256 (wrapper, tasks file, declaration, row modules, + generator, self-test, seeds, frozen values, next-phase-1 driver, receipt builder with rows-v5.jq and rows-v9.jq, scorer) +GPU hold names, one per part = 166657-oq3-v5-p1, 166657-oq3-v5-p2, 166657-oq3-v5-p3, 166657-oq3-v5-p4 (20 minutes each; runner session 166657) ``` +A real run refuses while any pin holds the placeholder and also while the `frozen-v5.json` status does not say FROZEN +(`run-qwen3-v5.sh`; filled pins alone are not a freeze). The pins describe the product build (sovereign-core 30258fc and its +locks); the campaign files are bound separately by `evidence-v5/campaign-files.sha256` and the wrapper's identity file, so a +later campaign-file commit on top of 30258fc does not change a pin. + ## 8. Run plan: one chip slot Run path pinned at freeze (`RUN_BASE=/home/drakestapleton/workspace/oq3-v5-runs`). One run: no retry, no repeated launch, no @@ -350,10 +395,10 @@ for each launch `.launch-v5.json` (wall time, driver exit, memory before the Time estimate, UNVERIFIED, from v3 (a launch costs about 140 s without decoding; documents decoded in 20 to 43 s): -| Part | Launches | Worst case (documents at 120 s, edits at 29 s) | Hold | +| Part | Launches | Worst case (documents at 120 s, D6 at 170 s, edits at 29 s) | Hold | |---|---|---|---| | 1 | D1 D2 D3 | 3 x (140 + 120) s = 13 min | 20 min | -| 2 | D4 D5 D6 | 3 x (140 + 120) s = 13 min | 20 min | +| 2 | D4 D5 D6 | 2 x (140 + 120) + (140 + 170) s = 13 min 50 s | 20 min | | 3 | E1 E2 N1 | 2 x (140 + 29) + (140 + 120) s = 9 min 58 s | 20 min | | 4 | N2 R1 and the score | (140 + 120) s + about 14 min if the CPU reference runs to its 96-token cap | 20 min | @@ -390,7 +435,20 @@ changed to pass a gate.** - **G7 Pre-run gate.** `cargo fmt --all --check`, clippy `-D warnings`, the stub and linked test suites reported separately, `test-rows-v8.sh`, `test-v3.sh`, `test-v5.sh` on the frozen build; combined build from clean checkouts at the pins. - **G8 Review and freeze.** An independent review of this file, the tooling and the gate evidence; then every "TO FILL AT - FREEZE" is filled, the status line changes, and that change alone merges with Drake's go-ahead. + FREEZE" is filled, the status line changes, and that change alone merges with Drake's go-ahead. **Freeze fill + prepared as a DRAFT (2026-10-08, status line unchanged):** the eight build pins at 30258fc (re-pinned after the extra hold, sc#360; before that at e27bda8 after the G6 fixes; first filled at 4770703), the model re-hash, the + generated declaration (identical, QUALIFICATION_ROWS=334), the campaign-file sha256 list and the daemon `CHECKPOINT_SHARDS` + confirmation (G6, all 22 daemon starts) are filled. On e27bda8 (product source identical at 30258fc) the 11 goals were probed again: the 10 positive goals + resolve their destination, N1 is refused, and no goal has an uncertain requirement span (`evidence-v5/repin-probes-e27bda8.txt`); the G7 stub gate at 30258fc is `evidence-v5/g7-stub-gate-30258fc.txt`. Still TO FILL AT FREEZE: the GPU hold names (who runs the parts). Any change to a campaign file + after this fill means regenerating `evidence-v5/campaign-files.sha256`; any product change means a new build and new pins. The + G8 change is therefore the status line plus what it touches: `frozen-v5.json` is a campaign file, so that change also + regenerates `campaign-files.sha256`, and the draft-only check of `test-v5.sh` (status says DRAFT, NOT FROZEN) changes to FROZEN. + **FROZEN 2026-10-09 (session 166657, Drake's go-ahead 2026-10-09 to freeze and run).** Before the status change, the second extra + hold (a7c5d201-oq3-v5-extra-p2, 13:07:40-13:12:09Z, build 30258fc, wrapper 7ec7585) PASSED: the R1-worded identity smoke on + the GB10 path matched the CPU reference exactly (R1-X, R1-P, R1-T PASS: 117 prompt tokens, 29 output tokens, finish eos, + same reply sha256), and the linked suite (aien-runtime, aien-cli) gave 527 passed, 0 failed, 19 ignored; NVRM count 1533 + before and after (`evidence-v5/extra-hold-2-30258fc.txt`). This closes the G7 linked suite. The hold names are filled; no + pin, goal, row or limit changed. ## 10. Prediction (stated before any run; UNVERIFIED) diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/build-summary.txt b/docs/campaigns/open-model-qwen3/evidence-v5/build-summary.txt new file mode 100644 index 00000000..2b4d1fe0 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/build-summary.txt @@ -0,0 +1,16 @@ +# v5 freeze-candidate build summary at sovereign-core 30258fc (2026-10-09T00:49:22Z); omega/physics/sc status --porcelain counts all 0 (output of evidence-v5/build.sh). +# The build log shows cargo:rustc-cfg=has_omega_compose, has_omega_gpu and has_omega_wait_ms (aien-cli and examples), and the +# aien-inference-abi feature dev-fallback is declared but not enabled. DRAFT, NOT FROZEN: G7 rebuilds from clean checkouts at these pins. +cargo build -vv --release -p aien-cli +aien-cli rc=0 +cargo build -vv --release -p aien-runtime --example np1_reference --example np1_edit_merge +examples rc=0 +6c6180cf378075b61291f4565d226eba38b4decd +0 +6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf +30258fce8d373bbd01ede59076dddce6e8a64901 +0 +49d97bf30113b1727fcfc0e33be79d9446ae13651a08afc32bba889b77fca265 /home/drakestapleton/workspace/oq3-v5-build-30258fc/sc/Cargo.lock +62d98e0b92372862c4a1f7d762a92ec8cddcf398dced8048f75e086b2d66bc55 /home/drakestapleton/workspace/oq3-v5-build-30258fc/target/release/aien-cli +a684b55af6efb1cea91ee119352552e7462c50026f2c91d38010b40c4e3fb7b9 /home/drakestapleton/workspace/oq3-v5-build-30258fc/target/release/examples/np1_reference +66be8da4d3c5c7c32089e851acdbed9c050afa38f2d7db9e8fbced3811949e80 /home/drakestapleton/workspace/oq3-v5-build-30258fc/target/release/examples/np1_edit_merge diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/build.sh b/docs/campaigns/open-model-qwen3/evidence-v5/build.sh new file mode 100755 index 00000000..e14cf778 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/build.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# OPEN-MODEL-QWEN3 v5 freeze-candidate build (DRAFT, NOT FROZEN): sovereign-core 30258fc (main, holds sc#353, sc#354, sc#357, sc#358, sc#359 and sc#360), +# omega 6c6180c (= omega.lock at 30258fc), physics 6d7cf0d (physics.lock), aienos b84c0a6 (aienos.lock). Clean clones, +# release, real compose + GPU libraries, never the stub, without the dev-fallback feature. Derived from evidence-v4/build.sh. +set -u +B=/home/drakestapleton/workspace/oq3-v5-build-30258fc +cd $B/sc +export AIEN_AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-repo AIEN_OMEGA_DIR=$B/omega AIEN_PHYSICS_DIR=$B/physics CARGO_TARGET_DIR=$B/target +unset AIEN_FORCE_CPU_STUB AIEN_OMEGA_GPU_LIB AIEN_OMEGA_COMPOSE_LIB AIEN_OMEGA_COMPOSE_DIR AIEN_OMEGA_COMPOSE_SHA AIEN_DEV_FALLBACK +echo "cargo build -vv --release -p aien-cli" +cargo build -vv --release -p aien-cli > $B/build-cli.log 2>&1; echo "aien-cli rc=$?" +echo "cargo build -vv --release -p aien-runtime --example np1_reference --example np1_edit_merge" +cargo build -vv --release -p aien-runtime --example np1_reference --example np1_edit_merge > $B/build-examples.log 2>&1; echo "examples rc=$?" +git -C $B/omega rev-parse HEAD; git -C $B/omega status --short | wc -l; git -C $B/physics rev-parse HEAD; git -C $B/sc rev-parse HEAD; git -C $B/sc status --short | wc -l +sha256sum $B/sc/Cargo.lock $B/target/release/aien-cli $B/target/release/examples/np1_reference $B/target/release/examples/np1_edit_merge diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/campaign-files.sha256 b/docs/campaigns/open-model-qwen3/evidence-v5/campaign-files.sha256 new file mode 100644 index 00000000..cbe33db5 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/campaign-files.sha256 @@ -0,0 +1,63 @@ +d097356ac9d9cd211b38a3ac01c63321c2a673330a462a7b039c9dae1974dab1 run-qwen3-v5.sh +e86215ad0de2196c2c4a6dfc986529b7bc0fd1562bc0f2eddbfb8f9100378d7a tasks-oq3-v5.json +4b071c37b1d70be11c900b5915108884a8ce560a81af87f82538028bf16ca40b ../scoring/declarations/oq3-v5.decl.json +b81788dfa87c4dc345d80ca90da0a20c0429154c346b87528969ad170c715cc7 rows-oq3-v3.jq +455aeeddba08368ac563d9fd6fc173a22919c1feea48093a01acbd3bdad3d3bd rows-oq3-v4.jq +4115d2bd84010db5d4f0dadcda5066efd9180d5cb083b5edeef13b7d813bf68c rows-oq3-v5.jq +022b01f516d37f140504dfad00e2fbc2a6d63dda63738bf3962a5bef7f737940 v5-rows.sh +9da090c868c8697e82b145ab3c305a3aed9cce5a723823e5dc450a137aad7e42 gen-decl-oq3-v5.sh +c2814fd3045ebb4ae2e0b31f3a4af3f6cb995f0bcbf1b8a639e30e3078ccb4b7 test-v5.sh +693397d9f21b06ac84bd3c44bd1f40ae199a74e63f490019e5e467a32495ed11 frozen-v5.json +d9ae6c5157419f4cd5c18c14a5e07d3da603ae6f734e12c5bb356b3201d87cee ../next-phase-1/run-campaign.sh +1ce3ff9f7fb5470dc212eb2fcc5a653acff49fbea4174d7dbc1b9b981ee9a144 ../next-phase-1/make-receipt.sh +fd3ab38c8478f50a3e950f71e4e93c27caeb602b23602cd7c73637ff30d65792 ../next-phase-1/rows-v5.jq +7d6047ec161aa913e18ef08a49947e026f2d62920f7e838c6fb1601ce5033575 ../next-phase-1/rows-v9.jq +9b2af4b94150d4d7da414ed9c63065e0b18095168513de9293217e5adc95143f ../next-phase-1/v8-results.sh +28759865639b54118c1159c79912a0b9392350852a94d6cfc837cce952f6b801 ../scoring/score-rows.sh +aa8780bbc1c587cc6f980e44d838b1dfc39e11d06365d3471126008c9b99b7b7 seed-v5/D4/notes/choir-rehearsal.txt +4766451b85a3cabde953959bb75c990fbf9f82e1caf41554c9a695e8937b91b9 seed-v5/E1/repairs/tap-repair.md +3a5a8494fbe60908c9a9431ac4839f17e4962a5a51f22399662087073cf00909 seed-v5/E2/crafts/yarn/scarf.md +d376553dc23c5cc230cfa60ec0f11cc0f0671b7f8bcbb3fc6f8bc46232ab6b0d seed-v5/R1/notes/README.txt +c176ac8e22d26860b152d1abe18e3c6a2b3f5e0cae31c88d8302a068dbdbd14d selftest-v5/D1.fail-a.md +a6a8b46e97448e772cb63076de0498cdc7c7b6b87eb1ebbb03f864d37a9c0d54 selftest-v5/D1.fail-a.rows +7e87dfeeb5935fe65a2066bf545898bcd4726f6491982435a5fe8989e8009742 selftest-v5/D1.fail-b.md +e90a8ec4bf129dc63412d3b2a3714781c078eb354ff017d6585ee954a1092e8c selftest-v5/D1.fail-b.rows +6a7c7777a27621759a9b2c281a1278843e1cddf314ead03facf804337bb611ad selftest-v5/D1.pass.md +b31e177606ca8e6462da1c2a8a3083dd8eb103816d233a36670f64f98df33a81 selftest-v5/D2.fail-a.md +0fe8c48c9e0117c903fc0dc16a0d030b042fdba5df510fa119714a8a6cf2fef7 selftest-v5/D2.fail-a.rows +87e0db097b3814e2fe54e2eca7d0f405d5fdca432f3a3ad323f5d8b187dcecc4 selftest-v5/D2.fail-b.md +e52afdc47f075d238d8a5a92c1598a6ae04c765df716205e4ed54280e34c2fd5 selftest-v5/D2.fail-b.rows +bca607476a705a01d26a4836cf6119dbb475b5c640f61b98ffc9e74fbfd1307e selftest-v5/D2.fail-c.md +666df97675534073eb2f8ddb4f10e31f4a1c685a46f4cd21a9b2d4726aca6b86 selftest-v5/D2.fail-c.rows +464ca574266823845beb5471b366914aa19c83d8fd36a85629771b20d1ea7118 selftest-v5/D2.pass.md +9f4548849cd395d51ab4339809c6b9de5b5a72017a9e2dcbab2faafb2bd4a6b1 selftest-v5/D3.fail-a.md +e90a8ec4bf129dc63412d3b2a3714781c078eb354ff017d6585ee954a1092e8c selftest-v5/D3.fail-a.rows +c0f1b632fb362fa8a8e92747837521b72e20784cdcf27a1ba5e58b7d9dde8c5c selftest-v5/D3.pass.md +5ae0e7cfc45b9edae3934191e5ab1e63220e16f137311773c4ea38f084122495 selftest-v5/D4.fail-a.md +e90a8ec4bf129dc63412d3b2a3714781c078eb354ff017d6585ee954a1092e8c selftest-v5/D4.fail-a.rows +2d3086769737b6f88080887f34e6159514a176698d8edc756c756e618e8b1b96 selftest-v5/D4.pass.md +140a94cfe5e8c966a58b706d0ccf31c9bbcccc6c8d1f6237ab00ca0e47893f9d selftest-v5/D5.fail-a.md +666df97675534073eb2f8ddb4f10e31f4a1c685a46f4cd21a9b2d4726aca6b86 selftest-v5/D5.fail-a.rows +95bf7996a7d83b2d0511c738e7bb8518176a05e2c0055fcb0b2181f28e03bad0 selftest-v5/D5.fail-b.md +f8c64a5ed86207849b4f382657b517d9a55bb458c330e7ab4101446c50c6271a selftest-v5/D5.fail-b.rows +dcb675d770b8dc5ae21c2da80664c95490f39a8b56a58c80b006fa632500a0a4 selftest-v5/D5.pass.md +0d1a942663ef596f46bcb775fc6198860df60919642af190162f8312abbdf864 selftest-v5/D6.fail-a.md +a6a8b46e97448e772cb63076de0498cdc7c7b6b87eb1ebbb03f864d37a9c0d54 selftest-v5/D6.fail-a.rows +bab937e836af0089593b3e3c881ba8aefe2f7e415148e933fb1049b8245f24c1 selftest-v5/D6.fail-b.md +a6a8b46e97448e772cb63076de0498cdc7c7b6b87eb1ebbb03f864d37a9c0d54 selftest-v5/D6.fail-b.rows +b1a926857df58b93bca583f28b747deb55288eab70611c0dffe202e82c85d608 selftest-v5/D6.pass.md +78c374d52555941cb23b21fd4bad70338b8f093af8a08b0f49f3317d7708c922 selftest-v5/E1.fail-a.md +a2346b35bb549920a9a92a3d2bff143185379bda99595f46fb55dcac5b603070 selftest-v5/E1.fail-a.rows +9440545be52af01467044843357dc1b60538d30b10ea299cdfd195a734a73aea selftest-v5/E1.fail-b.md +a2346b35bb549920a9a92a3d2bff143185379bda99595f46fb55dcac5b603070 selftest-v5/E1.fail-b.rows +0fd2acedecece70d6a94354d9acf7b6b985fa3f7fc17072e3c2570037d9f711d selftest-v5/E1.pass.md +3295253672303713e21c07932c3ab07345b9f24b40144b51ff7b99e0cef16bcd selftest-v5/E2.fail-a.md +f9122a23327873133d97ddcb55b69aa95ac613c17bb5d502cc68a50bd2878153 selftest-v5/E2.fail-a.rows +e9d66140c4f3fb1c18bf3ceb6bdc96295f5982e105b01cedc5dc40524b2bfde0 selftest-v5/E2.fail-b.md +06104a6d94727e6cd36df24982b6169469ab1a6777eb8966df19bab66853a685 selftest-v5/E2.fail-b.rows +6befa237939d3042d7645688483bd90e2d2e6af24a4c7c358bc86e6476a05db4 selftest-v5/E2.pass.md +f4b62d5fc89be2163ecf8024ea9301d77491e7b63797a6fbee6364eeae59266e selftest-v5/R1.fail-a.md +a6a8b46e97448e772cb63076de0498cdc7c7b6b87eb1ebbb03f864d37a9c0d54 selftest-v5/R1.fail-a.rows +2340c4ec0c53241e97375b88df38b63d027a5c7cd4e93efc3d4a385dbc530636 selftest-v5/R1.fail-b.md +a6a8b46e97448e772cb63076de0498cdc7c7b6b87eb1ebbb03f864d37a9c0d54 selftest-v5/R1.fail-b.rows +cc2af9ffc0de9f46026165b6957e774ae16792e14c0f53ad73319225de2cd3f3 selftest-v5/R1.pass.md diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/extra-hold-2-30258fc.txt b/docs/campaigns/open-model-qwen3/evidence-v5/extra-hold-2-30258fc.txt new file mode 100644 index 00000000..15b05d98 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/extra-hold-2-30258fc.txt @@ -0,0 +1,94 @@ +OPEN-MODEL-QWEN3 v5 second extra hold (G7 linked suite + R1-worded GPU-vs-CPU identity smoke). Not a qualification run; not scored. +hold owner a7c5d201-oq3-v5-extra-p2, 2026-10-09 13:07:40-13:12:09Z, rc 0; runner session 166657 +build ~/workspace/oq3-v5-build-30258fc (sovereign-core 30258fc), wrapper checkout 7ec7585, model qwen3-4b-instruct-2507-cdbee75 + +== hold log +== 1 GPU leg 13:07:40 +R1 driver exit 0 +== 2 linked suite 13:08:40 +linked test rc=0 +linked tests: passed=527 failed=0 ignored=19 +== end 13:12:09 NVRM before=1533 after=1533 + +== CPU reference leg 13:12:35-13:14:35Z (np1_reference, after the hold) + +== identity rows (rows-v9.jq R1-X/R1-P/R1-T clauses) +{"row":"R1-X","result":"PASS","value":{"gpu_used":true,"tokens":29,"n_ids":29,"prompt_tokens":117}} +{"row":"R1-P","result":"PASS","value":{"backend":"ReferenceCpuBackend","prompt_tokens":[117,117],"prompt_ids_sha256":["e413be3480c54b63600c76bed532004fffd2967a5da2d912cb85810d4dff8fe4","e413be3480c54b63600c76bed532004fffd2967a5da2d912cb85810d4dff8fe4"],"max_tokens":[96,96]}} +{"row":"R1-T","result":"PASS","value":{"n_gpu":29,"n_cpu":29,"finish":["eos","eos"],"reply_sha256":["1aae49d4d38838677d10a13beafcdbfdff910bd8315242eb2c243edde86764ca","1aae49d4d38838677d10a13beafcdbfdff910bd8315242eb2c243edde86764ca"]}} + +== linked suite per-binary results +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 64 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 2.47s +test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.82s +test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 0 passed; 0 failed; 12 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s +test result: ok. 84 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.46s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.06s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s +test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s +test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.59s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s +test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.75s +test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.55s +test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.58s +test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s +test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s +test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s +test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.96s +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s +test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.61s +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.34s +test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s +test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.53s +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s +test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 130.78s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.91s +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +records: /home/drakestapleton/workspace/oq3-v5-extra2/records (hold.log, linked-test.log, mem-before.txt, nvrm-*.txt), run dir /home/drakestapleton/workspace/oq3-v5-extra2/runs/R1 diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/g7-stub-gate-30258fc.txt b/docs/campaigns/open-model-qwen3/evidence-v5/g7-stub-gate-30258fc.txt new file mode 100644 index 00000000..5747e235 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/g7-stub-gate-30258fc.txt @@ -0,0 +1,36 @@ +# Gate G7 (ACCEPTANCE-v5 Section 9) on the re-pinned build 30258fc, 2026-10-09, CPU only, no hold, quietlock clear: stub part only. +# The linked suite (real librx_compose) is NOT RUN here: it runs inside the second extra hold (--test-threads=1) after Drake's go-ahead. +# test-v3 1 failed = its guard 'pinned run path already exists, wrapper checks skipped' (the v3 run record is kept), the same as at e27bda8. +# stub tests 432 = 429 at e27bda8 + the three np1_reference prompt-equality tests of sc#360. +# Script: +# #!/usr/bin/env bash +# # OPEN-MODEL-QWEN3 v5 gate G7 pre-run gate (ACCEPTANCE-v5 Section 9), CPU only, no hold. +# # Source: the released frozen build checkouts ~/workspace/oq3-v5-build-30258fc/{sc,omega,physics} (read only, --locked); +# # own target dir outside the build (the frozen release target is not touched). Campaign tests from the sc#356 checkout e43c210 (re-pin at 30258fc). +# set -u +# B=/home/drakestapleton/workspace/oq3-v5-build-30258fc; G=/home/drakestapleton/workspace/oq3-v5-gate-30258fc +# W=/home/drakestapleton/workspace/oq3-v5-repin2-wrap/docs/campaigns +# cd $B/sc +# export AIEN_AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-repo CARGO_TARGET_DIR=$G/target +# echo "sc HEAD $(git rev-parse HEAD) dirty=$(git status --porcelain | wc -l)" +# cargo fmt --all --check > $G/fmt.log 2>&1; echo "fmt rc=$?" +# ( unset AIEN_OMEGA_DIR AIEN_OMEGA_COMPOSE_DIR AIEN_PHYSICS_DIR +# cargo clippy --locked --workspace --all-targets -- -D warnings > $G/clippy-stub.log 2>&1; echo "clippy stub rc=$?" +# AIEN_FORCE_CPU_STUB=1 cargo test --locked -p aien-runtime -p aien-cli > $G/test-stub.log 2>&1; echo "test stub rc=$?" ) +# sum() { grep -E '^test result' "$1" | awk '{p+=$4; f+=$6; i+=$8} END {print "passed="p" failed="f" ignored="i}'; } +# echo "stub tests: $(sum $G/test-stub.log)"; grep -E '^test .* FAILED|panicked' $G/test-stub.log | head -5 +# echo "sc HEAD after $(git rev-parse HEAD) dirty=$(git status --porcelain | wc -l)" +# cd $W/open-model-qwen3 +# NP1_EDIT_MERGE=$B/target/release/examples/np1_edit_merge bash ../next-phase-1/test-rows-v8.sh > $G/test-rows-v8.log 2>&1; echo "test-rows-v8 rc=$? $(tail -1 $G/test-rows-v8.log)" +# bash test-v3.sh > $G/test-v3.log 2>&1; echo "test-v3 rc=$? $(tail -1 $G/test-v3.log)" +# bash test-v5.sh > $G/test-v5.log 2>&1; echo "test-v5 rc=$? $(tail -1 $G/test-v5.log)" +# Output: +sc HEAD 30258fce8d373bbd01ede59076dddce6e8a64901 dirty=0 +fmt rc=0 +clippy stub rc=0 +test stub rc=0 +stub tests: passed=432 failed=0 ignored=114 +sc HEAD after 30258fce8d373bbd01ede59076dddce6e8a64901 dirty=0 +test-rows-v8 rc=0 test-rows-v8: 214 passed, 0 failed +test-v3 rc=1 test-v3: 56 passed, 1 failed +test-v5 rc=0 test-v5: 214 passed, 0 failed diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/g7-stub-gate-e27bda8.txt b/docs/campaigns/open-model-qwen3/evidence-v5/g7-stub-gate-e27bda8.txt new file mode 100644 index 00000000..654bea90 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/g7-stub-gate-e27bda8.txt @@ -0,0 +1,35 @@ +# Gate G7 (ACCEPTANCE-v5 Section 9) on the re-pinned build e27bda8, 2026-10-08, CPU only, no hold, quietlock clear: stub part only. +# The linked suite (real librx_compose) is NOT RUN here: it waits for Drake's go-ahead at G8 together with a GPU-vs-CPU identity smoke. +# test-v3 1 failed = its guard 'pinned run path already exists, wrapper checks skipped' (the v3 run record is kept), the same as before the re-pin. +# Script: +# #!/usr/bin/env bash +# # OPEN-MODEL-QWEN3 v5 gate G7 pre-run gate (ACCEPTANCE-v5 Section 9), CPU only, no hold. +# # Source: the released frozen build checkouts ~/workspace/oq3-v5-build-e27bda8/{sc,omega,physics} (read only, --locked); +# # own target dir outside the build (the frozen release target is not touched). Campaign tests from the sc#356 checkout e07ae4c (re-pin). +# set -u +# B=/home/drakestapleton/workspace/oq3-v5-build-e27bda8; G=/home/drakestapleton/workspace/oq3-v5-gate-e27bda8 +# W=/home/drakestapleton/workspace/oq3-v5-repin-wrap/docs/campaigns +# cd $B/sc +# export AIEN_AIENOS_LOCK_REPO=/home/drakestapleton/workspace/aienos-repo CARGO_TARGET_DIR=$G/target +# echo "sc HEAD $(git rev-parse HEAD) dirty=$(git status --porcelain | wc -l)" +# cargo fmt --all --check > $G/fmt.log 2>&1; echo "fmt rc=$?" +# ( unset AIEN_OMEGA_DIR AIEN_OMEGA_COMPOSE_DIR AIEN_PHYSICS_DIR +# cargo clippy --locked --workspace --all-targets -- -D warnings > $G/clippy-stub.log 2>&1; echo "clippy stub rc=$?" +# AIEN_FORCE_CPU_STUB=1 cargo test --locked -p aien-runtime -p aien-cli > $G/test-stub.log 2>&1; echo "test stub rc=$?" ) +# sum() { grep -E '^test result' "$1" | awk '{p+=$4; f+=$6; i+=$8} END {print "passed="p" failed="f" ignored="i}'; } +# echo "stub tests: $(sum $G/test-stub.log)"; grep -E '^test .* FAILED|panicked' $G/test-stub.log | head -5 +# echo "sc HEAD after $(git rev-parse HEAD) dirty=$(git status --porcelain | wc -l)" +# cd $W/open-model-qwen3 +# NP1_EDIT_MERGE=$B/target/release/examples/np1_edit_merge bash ../next-phase-1/test-rows-v8.sh > $G/test-rows-v8.log 2>&1; echo "test-rows-v8 rc=$? $(tail -1 $G/test-rows-v8.log)" +# bash test-v3.sh > $G/test-v3.log 2>&1; echo "test-v3 rc=$? $(tail -1 $G/test-v3.log)" +# bash test-v5.sh > $G/test-v5.log 2>&1; echo "test-v5 rc=$? $(tail -1 $G/test-v5.log)" +# Output: +sc HEAD e27bda8af585290ec2c1d9146c4a5023e9b3a0d3 dirty=0 +fmt rc=0 +clippy stub rc=0 +test stub rc=0 +stub tests: passed=429 failed=0 ignored=114 +sc HEAD after e27bda8af585290ec2c1d9146c4a5023e9b3a0d3 dirty=0 +test-rows-v8 rc=0 test-rows-v8: 214 passed, 0 failed +test-v3 rc=1 test-v3: 56 passed, 1 failed +test-v5 rc=0 test-v5: 213 passed, 0 failed diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/model-rehash-2026-10-08.txt b/docs/campaigns/open-model-qwen3/evidence-v5/model-rehash-2026-10-08.txt new file mode 100644 index 00000000..1362ba97 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/model-rehash-2026-10-08.txt @@ -0,0 +1,20 @@ +# Model re-hash for ACCEPTANCE-v5 Section 7, 2026-10-08T21:39Z, on the chip host, quietlock clear (no GPU hold), CPU and disk only. +# Directory /home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75/. All nine values (eight files and the chat template string) equal the listed ones (evidence-v4/model-sha256.txt, frozen-v5.json). +# The manifest of docs/DAEMON_GENERATION_RECORD.md rebuilt from these values hashes to model_sha256 (index+shards) below. +# Not yet done: confirming the value against the daemon's own CHECKPOINT_SHARDS line (needs a daemon start on the GPU, gate G6). +d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c model.safetensors.index.json +75311d91bb08cf0b882913da464a1e722a31fb44db35208663487efb7a3d8ed6 model-00001-of-00003.safetensors +0b48adbb1f60e901153d91907ba11ce63bd4b8b584482e730f48808d055dfba1 model-00002-of-00003.safetensors +7dd39ccca5e4de123c74c14af44c9bf2eb75df33b4614382af0134528e060d5d model-00003-of-00003.safetensors +aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4 tokenizer.json +a62ff0a2472a0fa1b8eaabcb57c59b58afa42a22831dc141400b6e0cf2b65ce3 tokenizer_config.json +5beea1a4a34c62782bfb2f911c606741a3bab8f92d80a118fa053c28af12e8ba config.json +835fffe355c9438e7a25be099b3fccaa98350b83451f9fd2d99512e74f1ade48 generation_config.json +64f85b198065d0fba2a81f37e10ed68161ce2c19a754c7100e67e0ca2ee9c326 chat template string alone (jq -j .chat_template tokenizer_config.json | sha256sum) +# manifest: +# aien-checkpoint-digest v1 +# index d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c +# 75311d91bb08cf0b882913da464a1e722a31fb44db35208663487efb7a3d8ed6 model-00001-of-00003.safetensors +# 0b48adbb1f60e901153d91907ba11ce63bd4b8b584482e730f48808d055dfba1 model-00002-of-00003.safetensors +# 7dd39ccca5e4de123c74c14af44c9bf2eb75df33b4614382af0134528e060d5d model-00003-of-00003.safetensors +17a78fbba447a4e66a3d886c0998fbcf2f9201d46e5e0c5bfec2d57c975976b7 model_sha256 (index+shards) diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/probes/zz_dest_probe.rs.txt b/docs/campaigns/open-model-qwen3/evidence-v5/probes/zz_dest_probe.rs.txt new file mode 100644 index 00000000..31814160 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/probes/zz_dest_probe.rs.txt @@ -0,0 +1,37 @@ +// Throwaway probe (not committed as code): what the product decides for each goal's destination, in a workspace +// holding the task's seed files (as NP1_SEED_DIR does), via spine::classify_destination (the single decision of a task). +use aien_runtime::spine::{classify_destination, TargetClass}; +use std::path::Path; +fn copy(src: &Path, dst: &Path) { + for e in std::fs::read_dir(src).unwrap() { + let e = e.unwrap(); + let to = dst.join(e.file_name()); + if e.file_type().unwrap().is_dir() { + std::fs::create_dir_all(&to).unwrap(); + copy(&e.path(), &to); + } else { + std::fs::copy(e.path(), &to).unwrap(); + } + } +} +fn main() { + let tasks = std::env::args().nth(1).unwrap(); + let base = Path::new(&tasks).parent().unwrap().to_path_buf(); + let scratch = Path::new(&std::env::args().nth(2).unwrap()).to_path_buf(); + let v: serde_json::Value = serde_json::from_str(&std::fs::read_to_string(&tasks).unwrap()).unwrap(); + for t in v["tasks"].as_array().unwrap() { + let id = t["id"].as_str().unwrap(); + let ws = scratch.join(id).join("ws"); + std::fs::create_dir_all(&ws).unwrap(); + if let Some(s) = t["seed"].as_str() { + copy(&base.join(s), &ws); + } + let (class, dest) = classify_destination(t["goal"].as_str().unwrap(), &ws); + let c = match class { + TargetClass::New => "NEW".to_string(), + TargetClass::Edit(p, _) => format!("EDIT {p}"), + TargetClass::Refused(why) => format!("REFUSED {why}"), + }; + println!("{id}\t{}\t{:?}\t{c}", t["destination"].as_str().unwrap_or("null"), dest); + } +} diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/repin-probes-e27bda8.txt b/docs/campaigns/open-model-qwen3/evidence-v5/repin-probes-e27bda8.txt new file mode 100644 index 00000000..b79244bd --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v5/repin-probes-e27bda8.txt @@ -0,0 +1,38 @@ +# Re-pin probes on main e27bda8 (holds the G6 fixes sc#357, sc#358, sc#359), 2026-10-08, the 11 v5 goals (tasks-oq3-v5.json). +# CPU only, quietlock clear, no model, no daemon, no GPU. Built in a separate checkout of e27bda8 (not the pinned build clones), +# AIEN_FORCE_CPU_STUB=1, cargo build --locked -p aien-runtime --example ..., the two probe files copied to +# crates/aien-runtime/examples/ and deleted afterwards (checkout clean again). +# +# 1. Destination: spine::classify_destination (the single destination decision of a task) on each goal, in a fresh workspace +# holding the task's seed files (D4 notes/, E1 and E2 their edit file). Probe source evidence-v5/probes/zz_dest_probe.rs.txt, +# sha256 59e4c5b065d6bda7cd8befd271fc850a1f74d722aa199450f53df41587898a11. +# Columns: id, destination in the tasks file, destination the goal names, decision. +# RESULT: the 10 positive goals resolve (D1-D6, R1 NEW at the task destination; E1, E2 EDIT of the seeded file; N2 names +# docs/marathon-story.md, its tasks entry has no destination because N2 is scored on the token limit). N1 is REFUSED +# (outside the workspace). D2 and D4, refused before sc#357 (G6 finding), now resolve. + D1 docs/knife-sharpening.md Some("docs/knife-sharpening.md") NEW + D2 docs/rename-photos.md Some("docs/rename-photos.md") NEW + D3 docs/savings-basics.md Some("docs/savings-basics.md") NEW + D4 docs/choir-summary.md Some("docs/choir-summary.md") NEW + D5 docs/packing-carry-on.md Some("docs/packing-carry-on.md") NEW + D6 docs/rescue-cat-essay.md Some("docs/rescue-cat-essay.md") NEW + E1 repairs/tap-repair.md Some("repairs/tap-repair.md") EDIT repairs/tap-repair.md + E2 crafts/yarn/scarf.md Some("crafts/yarn/scarf.md") EDIT crafts/yarn/scarf.md + N1 ../shared-stuff/reminder.txt Some("../shared-stuff/reminder.txt") REFUSED destination ../shared-stuff/reminder.txt cannot be written safely (not a plain relative path inside the workspace); refusing + N2 null Some("docs/marathon-story.md") NEW + R1 notes/swim-tip.txt Some("notes/swim-tip.txt") NEW +# +# 2. Requirements: aien_runtime::requirements::analyze on each goal, probe evidence-v5/probes/zz_req_probe.rs.txt +# (sha256 5695671b048bd90fd5d898a2d1eae7e10869e755ba84dac644fa595ccf90cb85, unchanged). Columns as in requirements-probe-b2cae6d.txt. +# RESULT: no uncertain span on any goal; the output is byte-identical to the v5 section of requirements-probe-b2cae6d.txt (G1). + D1 RECOGNIZED [] ["at least 22 non-empty lines", "the headings \"Gather Your Tools\", \"Sharpen the Edge\", \"Test and Store\"", "the words \"whetstone\", \"angle\""] + D2 RECOGNIZED [] ["at least 18 non-empty lines", "at least 12 words of plain text in the section \"Wrap Up\"", "at least 3 fenced code blocks", "the headings \"Example One: Date Prefix\", \"Example Two: Lowercase Names\", \"Example Three: Number the Files\", \"Wrap Up\""] + D3 RECOGNIZED [] ["at least 18 non-empty lines", "the topics \"interest\", \"deposit\", \"withdraw (or withdrew)\", \"balance\""] + D4 RECOGNIZED [] ["at least 13 non-empty lines", "the headings \"Key Points\", \"Next Steps\"", "the words \"Marta\", \"Owen\", \"Priya\""] + D5 RECOGNIZED [] ["at least 16 non-empty lines", "at most 30 non-empty lines", "at least 12 lines starting with \"- [ ]\"", "the headings \"Documents\", \"Clothes\", \"Electronics\"", "the words \"passport\", \"charger\""] + D6 RECOGNIZED [] ["at least 7 paragraphs", "the headings \"Bringing Her Home\""] + E1 RECOGNIZED [] ["the headings \"Parts\""] + E2 SILENT [] [] + N1 RECOGNIZED [] ["exactly 1 added non-empty lines", "the phrase \"Renew the library card on Friday\""] + N2 RECOGNIZED [] ["at least 12 paragraphs"] + R1 RECOGNIZED [] ["exactly one sentence"] diff --git a/docs/campaigns/open-model-qwen3/frozen-v5.json b/docs/campaigns/open-model-qwen3/frozen-v5.json index 117659c4..4491bded 100644 --- a/docs/campaigns/open-model-qwen3/frozen-v5.json +++ b/docs/campaigns/open-model-qwen3/frozen-v5.json @@ -1,9 +1,9 @@ { - "status": "DRAFT, NOT FROZEN. Model and tokenizer values from ACCEPTANCE-v5 Section 7; every pin is TO FILL AT FREEZE and a real run refuses while one is.", + "status": "FROZEN 2026-10-09 (ACCEPTANCE-v5 Section 9, gate G8). Model and tokenizer values from ACCEPTANCE-v5 Section 7; pins filled at sovereign-core 30258fc.", "placeholder": "TO FILL AT FREEZE", "model": { "model_sha256": "17a78fbba447a4e66a3d886c0998fbcf2f9201d46e5e0c5bfec2d57c975976b7", - "model_sha256_note": "COMPUTED FROM THE LISTED SHA256s (index and three shards below, manifest of docs/DAEMON_GENERATION_RECORD.md), NOT RE-HASHED; the re-hash is a TO FILL AT FREEZE item", + "model_sha256_note": "COMPUTED FROM THE LISTED SHA256s (index and three shards below, manifest of docs/DAEMON_GENERATION_RECORD.md), NOT RE-HASHED when first written; re-hashed 2026-10-08T21:39Z on the chip host with no GPU hold: the index, the three shards, the tokenizer and the three config files all equal the listed values and the manifest rebuilt from them is this value (evidence-v5/model-rehash-2026-10-08.txt); confirmed by the daemon itself in the G6 GPU dry run 2026-10-08T22:08-22:30Z: all 22 daemon starts logged a CHECKPOINT_SHARDS line equal to these values (model_sha256, index+shards, index and the three shards)", "model_digest_kind": "index+shards", "index_sha256": "d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c", "shards": [ @@ -14,13 +14,13 @@ "tokenizer_sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4" }, "pins": { - "sovereign_core_commit": "TO FILL AT FREEZE", - "omega_lock_commit": "TO FILL AT FREEZE", - "physics_lock_commit": "TO FILL AT FREEZE", - "aienos_lock_commit": "TO FILL AT FREEZE", - "cargo_lock_sha256": "TO FILL AT FREEZE", - "aien_cli_sha256": "TO FILL AT FREEZE", - "np1_reference_sha256": "TO FILL AT FREEZE", - "np1_edit_merge_sha256": "TO FILL AT FREEZE" + "sovereign_core_commit": "30258fce8d373bbd01ede59076dddce6e8a64901", + "omega_lock_commit": "6c6180cf378075b61291f4565d226eba38b4decd", + "physics_lock_commit": "6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf", + "aienos_lock_commit": "b84c0a67590a934f3f3e001b12ec85ebc086a9eb", + "cargo_lock_sha256": "49d97bf30113b1727fcfc0e33be79d9446ae13651a08afc32bba889b77fca265", + "aien_cli_sha256": "62d98e0b92372862c4a1f7d762a92ec8cddcf398dced8048f75e086b2d66bc55", + "np1_reference_sha256": "a684b55af6efb1cea91ee119352552e7462c50026f2c91d38010b40c4e3fb7b9", + "np1_edit_merge_sha256": "66be8da4d3c5c7c32089e851acdbed9c050afa38f2d7db9e8fbced3811949e80" } } diff --git a/docs/campaigns/open-model-qwen3/run-qwen3-v5.sh b/docs/campaigns/open-model-qwen3/run-qwen3-v5.sh index 935c2859..5101bafe 100755 --- a/docs/campaigns/open-model-qwen3/run-qwen3-v5.sh +++ b/docs/campaigns/open-model-qwen3/run-qwen3-v5.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # OPEN-MODEL-QWEN3 v5 campaign (ACCEPTANCE-v5.md; DRAFT, NOT FROZEN, NOT RUN). It refuses a real run while any pin -# in frozen-v5.json holds the placeholder, and afterwards unless every pin read from the checkouts and binaries equals -# it. Qwen3-4B, derived from run-qwen3-v4.sh: same driver (next-phase-1/run-campaign.sh), receipt builder, v8 rows and +# in frozen-v5.json holds the placeholder or its status does not say FROZEN, and afterwards unless every pin read +# from the checkouts and binaries equals it. Qwen3-4B, derived from run-qwen3-v4.sh: same driver (next-phase-1/run-campaign.sh), receipt builder, v8 rows and # scorer; new tasks (tasks-oq3-v5.json), one declaration (qualification) and extra rows (v5-rows.sh, rows-oq3-v5.jq). # Shell + jq only. Run inside the caller's hold, one part per hold. Environment as in ACCEPTANCE-v5 Section 7 # (model, tokenizer, binary, KV context, hardware requirement, checkpoint requirement, declared attempt flag), then: @@ -39,6 +39,9 @@ else fi [ "$(jq --arg p "$PLACEHOLDER" '[.pins[] | select(. == $p)] | length' "$FROZEN")" = 0 ] || { echo "run-qwen3-v5: the build pins are not frozen yet (frozen-v5.json, ACCEPTANCE-v5 Section 7)" >&2; exit 2; } + # Filled pins are not a freeze: a draft freeze-fill change fills them first. The status line changes only at G8. + case "$(jq -r .status "$FROZEN")" in FROZEN*) ;; *) + echo "run-qwen3-v5: frozen-v5.json status is not FROZEN (ACCEPTANCE-v5 Section 9, gate G8)" >&2; exit 2 ;; esac fi DECL=$HERE/../scoring/declarations/oq3-v5.decl.json SCORER=$HERE/../scoring/score-rows.sh @@ -105,10 +108,11 @@ up_ms() { echo $(( $(tr -d . for any task that has a seed, which only fits edits. A document -# whose seed holds a different source file (D4) is staged with seed null for the receipt builder only; the driver still -# gets the real seed from the tasks file (NP1_SEED_DIR below), and v5-rows.sh checks the source file itself (row SRC). -STAGE_FILTER='(.tasks[] | select(.source != null) | .seed) = null' +# The unchanged make-receipt.sh reads seed/ for any task that has a seed, which only fits edits. A non-edit +# task whose seed holds other files (D4: its source file; R1: the notes/ folder its destination needs, Section 2) is +# staged with seed null for the receipt builder only; the driver still gets the real seed from the tasks file +# (NP1_SEED_DIR below), and v5-rows.sh checks the D4 source file itself (row SRC). +STAGE_FILTER='(.tasks[] | select(.kind != "edit") | .seed) = null' if [ $PART = 1 ]; then mkdir -p "$STAGE" for f in "$NP1"/*; do @@ -119,15 +123,17 @@ if [ $PART = 1 ]; then ln -s "$HERE/seed-v5" "$STAGE/seed-v5" fi [ "$(jq "$STAGE_FILTER" "$TASKS")" = "$(cat "$STAGE/tasks-v8.json")" ] || { echo "run-qwen3-v5: staged tasks file differs from the tasks file" >&2; exit 2; } -# Product limits (ACCEPTANCE-v5 Section 2), the same for every launch. -export AIEN_COMPOSE_EDIT_BUDGET_MS=$(jq -r .limits.edit_budget_ms "$TASKS") AIEN_COMPOSE_DOC_BUDGET_MS=$(jq -r .limits.doc_budget_ms "$TASKS") +# Product limits (ACCEPTANCE-v5 Section 2) come from the task's own max_tokens and budget_ms (row -D scores the +# same budget_ms); only D6 differs from the product values (Drake 2026-10-09, ACCEPTANCE-v5 Section 2.1). for id in $LAUNCHES; do t=$(jq -c --arg id "$id" '.tasks[] | select(.id == $id)' "$TASKS") - goal=$(jq -r .goal <<<"$t"); max=$(jq -r .max_tokens <<<"$t"); kind=$(jq -r .kind <<<"$t"); seed=$(jq -r '.seed // empty' <<<"$t") + goal=$(jq -r .goal <<<"$t"); max=$(jq -r .max_tokens <<<"$t"); bud=$(jq -r .budget_ms <<<"$t"); kind=$(jq -r .kind <<<"$t"); seed=$(jq -r '.seed // empty' <<<"$t") seed_dir=; [ -n "$seed" ] && seed_dir=$HERE/$seed - # An edit goal (names an existing file) uses the edit cap AIEN_COMPOSE_MAX_TOKENS; every other goal creates a - # new file and uses the document cap AIEN_COMPOSE_DOC_MAX_TOKENS. The other cap stays at its product value. - if [ "$kind" = edit ]; then ecap=$max dcap=$(jq -r .limits.doc_max_tokens "$TASKS"); else ecap=$(jq -r .limits.edit_max_tokens "$TASKS") dcap=$max; fi + # An edit goal (names an existing file) uses the edit cap AIEN_COMPOSE_MAX_TOKENS and budget AIEN_COMPOSE_EDIT_BUDGET_MS; + # every other goal creates a new file and uses the document cap and budget. The other cap and budget stay at their product values. + if [ "$kind" = edit ]; then ecap=$max dcap=$(jq -r .limits.doc_max_tokens "$TASKS") ebud=$bud dbud=$(jq -r .limits.doc_budget_ms "$TASKS") + else ecap=$(jq -r .limits.edit_max_tokens "$TASKS") dcap=$max ebud=$(jq -r .limits.edit_budget_ms "$TASKS") dbud=$bud; fi + export AIEN_COMPOSE_EDIT_BUDGET_MS=$ebud AIEN_COMPOSE_DOC_BUDGET_MS=$dbud t0=$(up_ms) NP1_GOAL=$goal AIEN_COMPOSE_MAX_TOKENS=$ecap AIEN_COMPOSE_DOC_MAX_TOKENS=$dcap NP1_SEED_DIR=$seed_dir \ bash "$NP1/run-campaign.sh" "$BASE/$id" >"$BASE/$id.driver.out" 2>&1 diff --git a/docs/campaigns/open-model-qwen3/seed-v5/R1/notes/README.txt b/docs/campaigns/open-model-qwen3/seed-v5/R1/notes/README.txt new file mode 100644 index 00000000..79605998 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/seed-v5/R1/notes/README.txt @@ -0,0 +1 @@ +Short personal notes live in this folder. diff --git a/docs/campaigns/open-model-qwen3/tasks-oq3-v5.json b/docs/campaigns/open-model-qwen3/tasks-oq3-v5.json index 8c3565f1..8253b5aa 100644 --- a/docs/campaigns/open-model-qwen3/tasks-oq3-v5.json +++ b/docs/campaigns/open-model-qwen3/tasks-oq3-v5.json @@ -328,8 +328,8 @@ "label": "the named sections are headings" } ], - "max_tokens": 1024, - "budget_ms": 120000, + "max_tokens": 1536, + "budget_ms": 170000, "seed": null, "min_lines": 1, "min_code_blocks": 0, @@ -423,7 +423,7 @@ ], "max_tokens": 96, "budget_ms": 120000, - "seed": null + "seed": "seed-v5/R1" } ] } diff --git a/docs/campaigns/open-model-qwen3/test-v5.sh b/docs/campaigns/open-model-qwen3/test-v5.sh index 00aef5df..906d1f9a 100755 --- a/docs/campaigns/open-model-qwen3/test-v5.sh +++ b/docs/campaigns/open-model-qwen3/test-v5.sh @@ -43,8 +43,13 @@ chk "only E2 declares EP" '[ "$(jq -r ".rows[].row|select(endswith(\"-EP\"))" "$ chk "one repetition, role case, no control, none NOT_APPLICABLE" '[ "$(jq "[.rows[]|select(.reps!=1 or .role!=\"case\" or .control!=null or .not_applicable!=false or .expected!=\"PASS\")]|length" "$QD")" = 0 ]' # ---- 2 task file -GOALS=a42aae721e85bd3d0febb7a6ad2b0ebfc4f0a0c56f6ff135aaca42ace7996dee +GOALS=01ab9f9a26d79242391cf72b5f91b556a06a2b8dea6102604969e257ded9486c chk "goals, destinations, seeds and phrases are the authored ones (digest $GOALS)" '[ "$(jq -c "[.tasks[]|{id,goal,destination,phrases,seed}]" "$TASKS" | sha256sum | cut -d" " -f1)" = "$GOALS" ]' +# The product refuses to write into a folder that does not exist (ACCEPTANCE-v5 Section 2, known limit): every positive +# destination's folder is in the default workspace that run-campaign.sh builds (the root and docs/) or in the task's seed. +chk "every positive destination's folder exists before the run (root, docs/ or the task's seed; R1 notes/ from seed-v5/R1)" ' + jq -r ".tasks[]|select(.kind|startswith(\"negative\")|not)|\"\(.destination) \(.seed // \"-\")\"" "$TASKS" | while read -r d s; do + f=$(dirname "$d"); case "$f" in .|docs) continue ;; esac; [ "$s" != - ] && [ -d "$HERE/$s/$f" ] || exit 1; done' chk "eleven qualification tasks, ids unique, no regression group" '[ "$(jq "[.tasks[]|select(.group==\"qualification\")]|length" "$TASKS")" = 11 ] && [ "$(jq "[.tasks[].id]|(length==(unique|length))" "$TASKS")" = true ] && [ "$(jq "[.tasks[]|select(.group!=\"qualification\")]|length" "$TASKS")" = 0 ]' chk "N1 is kind negative-boundary and N2 negative-budget" '[ "$(jq -r ".tasks[]|select(.id==\"N1\" or .id==\"N2\")|.kind" "$TASKS" | tr "\n" " ")" = "negative-boundary negative-budget " ]' chk "document machine fields agree with the declared requirements (min_lines, min_code_blocks; no tail heading)" ' @@ -71,9 +76,9 @@ chk "declared words and topic forms use only letters, digits and hyphen" '[ "$(j chk "every accepted topic form is listed in ACCEPTANCE-v5.md Section 3.1" ' for f in $(jq -r ".tasks[].requirements[]|select(.kind==\"topic\")|.accepted[]" "$TASKS"); do grep -q "\`$f\`" "$A" || { echo "missing form: $f"; exit 1; }; done' chk "the goal names the D3 topic forms the product reads (gate G2: withdraw and withdrew)" 'jq -e ".tasks[]|select(.id==\"D3\")|.goal|contains(\"withdraw\") and contains(\"withdrew\")" "$TASKS" >/dev/null' -chk "limits equal the v4 limits; per task max_tokens and budgets as ACCEPTANCE-v5 Section 2" ' +chk "limits equal the v4 limits; per task max_tokens and budgets as ACCEPTANCE-v5 Section 2 (D6 1536 and 170000, Section 2.1)" ' [ "$(jq -c .limits "$TASKS")" = "$(jq -c .limits "$HERE/tasks-oq3-v4.json")" ] && - [ "$(jq -c "[.tasks[]|[.id,.max_tokens,.budget_ms]]" "$TASKS")" = "[[\"D1\",1024,120000],[\"D2\",1024,120000],[\"D3\",1024,120000],[\"D4\",1024,120000],[\"D5\",1024,120000],[\"D6\",1024,120000],[\"E1\",96,29000],[\"E2\",96,29000],[\"N1\",1024,120000],[\"N2\",16,120000],[\"R1\",96,120000]]" ]' + [ "$(jq -c "[.tasks[]|[.id,.max_tokens,.budget_ms]]" "$TASKS")" = "[[\"D1\",1024,120000],[\"D2\",1024,120000],[\"D3\",1024,120000],[\"D4\",1024,120000],[\"D5\",1024,120000],[\"D6\",1536,170000],[\"E1\",96,29000],[\"E2\",96,29000],[\"N1\",1024,120000],[\"N2\",16,120000],[\"R1\",96,120000]]" ]' # freshness: no v5 goal, destination or distinctive word appears in any earlier campaign file CORPUS=$T/corpus.txt { for f in $(cd "$HERE/.." && find . -name 'tasks*.json' ! -name 'tasks-oq3-v5.json') $(cd "$HERE/.." && find . -name 'ACCEPTANCE*.md' ! -name 'ACCEPTANCE-v5.md') $(cd "$HERE/.." && find . -name 'VERDICT*.md') $(cd "$HERE/.." && find . -name 'DIAGNOSTIC*'); do cat "$HERE/../$f"; done @@ -96,7 +101,23 @@ chk "frozen-v5.json: the model digest is index+shards and is the manifest of the [ "$m" = "$(jq -r .model.model_sha256 "$FROZEN")" ] && [ "$(jq -r .model.model_digest_kind "$FROZEN")" = index+shards ] && [ "$(jq -r .model.model_sha256 "$FROZEN")" = 17a78fbba447a4e66a3d886c0998fbcf2f9201d46e5e0c5bfec2d57c975976b7 ] && [ "$(jq -r .model.index_sha256 "$FROZEN")" = d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c ] && [ "$(jq ".model.shards|length" "$FROZEN")" = 3 ] && grep -q "NOT RE-HASHED" <<<"$(jq -r .model.model_sha256_note "$FROZEN")"' -chk "frozen-v5.json: the eight pins are the placeholder in this draft" '[ "$(jq -r ".placeholder as \$p|[.pins[]|select(. == \$p)]|length" "$FROZEN")" = 8 ]' +chk "frozen-v5.json: the eight pins are filled (commits 40 hex, sha256 values 64 hex) and the status says FROZEN" 'jq -e "(.pins | [.sovereign_core_commit, .omega_lock_commit, .physics_lock_commit, .aienos_lock_commit] | all(test(\"^[0-9a-f]{40}$\"))) and (.pins | [.cargo_lock_sha256, .aien_cli_sha256, .np1_reference_sha256, .np1_edit_merge_sha256] | all(test(\"^[0-9a-f]{64}$\"))) and (.status | startswith(\"FROZEN\"))" "$FROZEN" >/dev/null' +chk "frozen-v5.json pins equal evidence-v5/build-summary.txt (commits, Cargo.lock and the three binaries)" ' + S=$HERE/evidence-v5/build-summary.txt; h() { awk -v n="$1" "\$2 ~ (\"/\" n \"\$\") {print \$1}" "$S"; } + [ "$(jq -r .pins.sovereign_core_commit "$FROZEN")" = "$(grep -E "^[0-9a-f]{40}$" "$S" | sed -n 3p)" ] && [ "$(jq -r .pins.omega_lock_commit "$FROZEN")" = "$(grep -E "^[0-9a-f]{40}$" "$S" | sed -n 1p)" ] && + [ "$(jq -r .pins.physics_lock_commit "$FROZEN")" = "$(grep -E "^[0-9a-f]{40}$" "$S" | sed -n 2p)" ] && [ "$(jq -r .pins.cargo_lock_sha256 "$FROZEN")" = "$(h Cargo.lock)" ] && + [ "$(jq -r .pins.aien_cli_sha256 "$FROZEN")" = "$(h aien-cli)" ] && [ "$(jq -r .pins.np1_reference_sha256 "$FROZEN")" = "$(h np1_reference)" ] && + [ "$(jq -r .pins.np1_edit_merge_sha256 "$FROZEN")" = "$(h np1_edit_merge)" ] && grep -q "^aien-cli rc=0$" "$S" && grep -q "^examples rc=0$" "$S"' +chk "evidence-v5/model-rehash-2026-10-08.txt equals the frozen model values and the manifest digest" ' + R=$HERE/evidence-v5/model-rehash-2026-10-08.txt; r() { awk -v n="$1" "\$2 == n {print \$1}" "$R"; } + [ "$(r model.safetensors.index.json)" = "$(jq -r .model.index_sha256 "$FROZEN")" ] && [ "$(r tokenizer.json)" = "$(jq -r .model.tokenizer_sha256 "$FROZEN")" ] && + [ "$(jq -r ".model.shards[] | .[1] + \" \" + .[0]" "$FROZEN")" = "$(grep -E "^[0-9a-f]{64} model-0000[0-9]-of-00003.safetensors$" "$R")" ] && + grep -q "^$(jq -r .model.model_sha256 "$FROZEN") model_sha256 (index+shards)$" "$R"' +# The campaign files (ACCEPTANCE-v5 Section 7): the fixed list plus every file under seed-v5/ and selftest-v5/. +CAMPAIGN_FILES="run-qwen3-v5.sh tasks-oq3-v5.json ../scoring/declarations/oq3-v5.decl.json rows-oq3-v3.jq rows-oq3-v4.jq rows-oq3-v5.jq v5-rows.sh gen-decl-oq3-v5.sh test-v5.sh frozen-v5.json ../next-phase-1/run-campaign.sh ../next-phase-1/make-receipt.sh ../next-phase-1/rows-v5.jq ../next-phase-1/rows-v9.jq ../next-phase-1/v8-results.sh ../scoring/score-rows.sh" +chk "evidence-v5/campaign-files.sha256 lists exactly the campaign files and matches each one (regenerate it after any change)" ' + (cd "$HERE" && sha256sum --quiet --strict -c evidence-v5/campaign-files.sha256 >/dev/null 2>&1) && + [ "$(cd "$HERE" && { printf "%s\n" $CAMPAIGN_FILES; find seed-v5 selftest-v5 -type f; } | LC_ALL=C sort)" = "$(cut -c67- "$HERE/evidence-v5/campaign-files.sha256" | LC_ALL=C sort)" ]' # ---- 3 scorer dry run (made-up result lines) jq -r '.rows[].row' "$QD" | jq -R -c '{row: ., rep: 1, verdict: "PASS", receipt: "made-up"}' >"$T/res-all.jsonl" @@ -125,6 +146,8 @@ CT='Project constraints: every change stays inside the authorized workspace; one # a frozen file with filled pins, and a launch record that matches it PINS='{"sovereign_core_commit":"1111111111111111111111111111111111111111","omega_lock_commit":"2222222222222222222222222222222222222222","physics_lock_commit":"3333333333333333333333333333333333333333","aienos_lock_commit":"4444444444444444444444444444444444444444","cargo_lock_sha256":"5555555555555555555555555555555555555555555555555555555555555555","aien_cli_sha256":"6666666666666666666666666666666666666666666666666666666666666666","np1_reference_sha256":"7777777777777777777777777777777777777777777777777777777777777777","np1_edit_merge_sha256":"8888888888888888888888888888888888888888888888888888888888888888"}' FZ=$T/frozen-filled.json; jq --argjson p "$PINS" '.pins = $p' "$FROZEN" >"$FZ" +# The same values with every pin back to the placeholder (the draft before the freeze fill). +FPH=$T/frozen-placeholder.json; jq '.placeholder as $p | .pins |= map_values($p) | .status = "DRAFT, NOT FROZEN (test copy)"' "$FROZEN" >"$FPH" # mk_launch DIR WALL_MS: the wrapper's launch record for DIR (DIR.launch-v5.json) mk_launch() { jq -n --argjson p "$PINS" --argjson w "${2:-600000}" '{launch: "x", wall_ms: $w, wall_clock: "made-up", driver_exit: 0, meminfo_before: {mem_free_kb: 100000000, cached_kb: 2000000}, pins: $p}' >"$1.launch-v5.json"; } # mk_logs DIR [EXTRA_LOG_LINE]: two daemon logs with the start line, the shards line and one OP_REPORT line each @@ -296,7 +319,7 @@ red opr-log-missing 'rm daemon-2.log' GR OPR # PIN red pin-off-by-one 'jqi ../red-pin-off-by-one.launch-v5.json ".pins.aien_cli_sha256 |= (.[0:-1] + \"7\")"' PIN red pin-no-record 'jqi ../red-pin-no-record.launch-v5.json "del(.pins)"' PIN -FZX=$FROZEN red pin-placeholder 'jqi ../red-pin-placeholder.launch-v5.json --argjson p "$(jq .pins "$FROZEN")" ".pins = \$p"' PIN +FZX=$FPH red pin-placeholder 'jqi ../red-pin-placeholder.launch-v5.json --argjson p "$(jq .pins "$FPH")" ".pins = \$p"' PIN # MEAS red meas-sum-over-wall 'jqi ../red-meas-sum-over-wall.launch-v5.json ".wall_ms = 41999"' MEAS red meas-no-wall 'jqi ../red-meas-no-wall.launch-v5.json "del(.wall_ms)"' MEAS @@ -396,7 +419,19 @@ if [ -e "$PINNED" ]; then bad "pinned run path already exists, wrapper checks sk chk "wrapper refuses a missing OQ3_PART (exit 2)" '[ "$(wr "$T/b")" = 2 ]' chk "wrapper refuses part 5 (exit 2)" '[ "$(wr "$T/b" OQ3_PART=5)" = 2 ]' chk "wrapper refuses a run base other than the pinned path (exit 2), nothing created" '[ "$(wr "$T/b" OQ3_PART=1 "${okenv[@]}")" = 2 ] && [ ! -e "$T/b" ]' - chk "wrapper refuses a real run while the pins are the placeholder (exit 2), pinned path not created" '[ "$(wr "$PINNED" OQ3_PART=1 "${okenv[@]}")" = 2 ] && [ ! -e "$PINNED" ] && grep -q "not frozen" "$T/w.err"' + chk "the wrapper as committed (status FROZEN, pins filled) passes the status and pin checks (stops at the model digest check, exit 3), pinned path not created" '[ "$(wr "$PINNED" OQ3_PART=1 "${okenv[@]}")" = 3 ] && [ ! -e "$PINNED" ] && ! grep -q "status is not FROZEN" "$T/w.err" && ! grep -q "pins are not frozen yet" "$T/w.err" && grep -q "digest mismatch" "$T/w.err"' + # Filled pins alone do not make a real run: the status line must say FROZEN too (a draft freeze-fill PR fills the pins). + WC=$T/wcopy/oq3; mkdir -p "$WC" "$T/wcopy/next-phase-1"; cp "$W" "$WC/run-qwen3-v5.sh" + jq --argjson p "$PINS" '.pins = $p' "$FROZEN" >"$WC/frozen-v5.json" + wrc() { local b=$1; shift; "${base[@]}" "$@" bash "$WC/run-qwen3-v5.sh" "$b" "$T/out" "$T" "$T" "$T/x" "$T/x" >/dev/null 2>"$T/w.err"; echo $?; } + cp "$FPH" "$WC/frozen-v5.json" + chk "wrapper refuses a real run while the pins are the placeholder (exit 2), pinned path not created" '[ "$(wrc "$PINNED" OQ3_PART=1 "${okenv[@]}")" = 2 ] && [ ! -e "$PINNED" ] && grep -q "pins are not frozen yet" "$T/w.err"' + jq --argjson p "$PINS" '.pins = $p' "$FPH" >"$WC/frozen-v5.json" + chk "wrapper refuses a real run with every pin filled while the status is not FROZEN (exit 2), pinned path not created" ' + [ "$(wrc "$PINNED" OQ3_PART=1 "${okenv[@]}")" = 2 ] && [ ! -e "$PINNED" ] && grep -q "status is not FROZEN" "$T/w.err"' + chk "wrapper passes the status check once the pins are filled and the status says FROZEN (stops later, pinned path not created)" ' + jq ".status = \"FROZEN (test copy)\"" "$WC/frozen-v5.json" >"$WC/f.tmp" && mv "$WC/f.tmp" "$WC/frozen-v5.json" + [ "$(wrc "$PINNED" OQ3_PART=1 "${okenv[@]}")" = 2 ] && [ ! -e "$PINNED" ] && ! grep -q "status is not FROZEN" "$T/w.err" && grep -q "declaration, scorer" "$T/w.err"' chk "wrapper refuses changed dry-run task shape (exit 2)" ' jq ".tasks[0].max_tokens = 512" "$TASKS" >"$T/dry-bad.json" [ "$(wr "$T/b" OQ3_PART=1 OQ3_DRY_TASKS="$T/dry-bad.json" "${okenv[@]}")" = 2 ] && [ ! -e "$T/b" ]' @@ -417,8 +452,8 @@ fi # ---- 6 the unchanged receipt builder, staged as the wrapper stages it, yields the declared v8-shape rows NP1=$(cd "$HERE/../next-phase-1" && pwd); STAGE=$T/stage; mkdir -p "$STAGE" "$T/rec" for f in "$NP1"/*; do n=$(basename "$f"); [ "$n" = tasks-v8.json ] && continue; ln -s "$f" "$STAGE/$n"; done -jq "(.tasks[] | select(.source != null) | .seed) = null" "$TASKS" >"$STAGE/tasks-v8.json"; ln -s "$HERE/seed-v5" "$STAGE/seed-v5" -chk "the wrapper's staging filter is the one used here" 'grep -qF "STAGE_FILTER='"'"'(.tasks[] | select(.source != null) | .seed) = null'"'"'" "$W"' +jq '(.tasks[] | select(.kind != "edit") | .seed) = null' "$TASKS" >"$STAGE/tasks-v8.json"; ln -s "$HERE/seed-v5" "$STAGE/seed-v5" +chk "the wrapper's staging filter is the one used here" 'grep -qF "STAGE_FILTER='"'"'(.tasks[] | select(.kind != \"edit\") | .seed) = null'"'"'" "$W"' for id in $(jq -r '.tasks[].id' "$TASKS"); do R=$T/stg-$id; mkdir -p "$R/ws" "$R/steps" "$R/prov"; echo '{"steps":[],"daemon":[],"containment":{}}' >"$R/run.json" seed=$(jq -r --arg i "$id" '.tasks[]|select(.id==$i)|.seed//empty' "$TASKS"); [ -n "$seed" ] && cp -R "$HERE/$seed/." "$R/ws/" @@ -439,7 +474,7 @@ for id in $(jq -r '.tasks[].id' "$TASKS"); do done # ---- 7 spec file statements -chk "ACCEPTANCE-v5.md says DRAFT, NOT FROZEN, NOT RUN" 'grep -q "^\*\*Status: DRAFT, NOT FROZEN, NOT RUN\*\*" "$A"' +chk "ACCEPTANCE-v5.md says FROZEN, NOT RUN" 'grep -q "^\*\*Status: FROZEN, NOT RUN\*\*" "$A"' chk "Section 7 states the index+shards digest as computed from the listed sha256s, not re-hashed, and the re-hash as a freeze item" 'grep -q "17a78fbba447a4e66a3d886c0998fbcf2f9201d46e5e0c5bfec2d57c975976b7" "$A" && grep -q "COMPUTED FROM LISTED SHA256s, NOT RE-HASHED" "$A" && grep -q "model_digest_kind=index+shards" "$A"' chk "the old caveat (shards bound by the wrapper pre-run hash only) is gone" '! grep -q "bound by the wrapper.s pre-run hash only" "$A" && ! grep -q "binds the index file of the checkpoint, not the shards" "$A"' chk "Section 3.4 carries the STRICT start line, the OP_REPORT format and the ten ops" 'grep -qF "STRICT strict= dev_fallback_build= require_checkpoint= backend=" "$A" && grep -qF "OP_REPORT native=[a,b,..] reference=[..] native_fallbacks=[name:count,..] reference_runs=[..] backend=" "$A" && grep -qF "$(tr , " " <<<"$OPS" | sed "s/ /\`, \`/g")" "$A"'