diff --git a/.crumb b/.crumb index e6199034..ee0d962b 100644 --- a/.crumb +++ b/.crumb @@ -119,14 +119,14 @@ } ], "children_root": "sha256:a99206c1ace0afb823facb1b5490dc9130965e4d4b57a95e83977aa4a4862be0", - "compiled_at": "2026-10-11T22:11:42Z", + "compiled_at": "2026-10-11T23:06:33Z", "compiler": "crumb-compile/1", - "digest": "sha256:9640f7e4ca27120cdef36741e59185e7f05ae8e2f0942240a8b4b8761d978826", + "digest": "sha256:0ef361d4600c99eb3b637ba4859cca77a89536108464a7e3ae2e95b4870a29d7", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", - "files": 3862, - "generated_at_commit": "ad25a21f46c4a155b96951eb6ea91443bf3873d9", - "source_tree": "sha256:8201e3ed78541dfc2d2b5ba7872f5bc2b6e516ae7e6a4d71089d43d26516227d" + "files": 3872, + "generated_at_commit": "44b4049765bf3b8309ffdf7a05b7ea7d130c0aeb", + "source_tree": "sha256:ca1ba04351ef0474dad572ea2abcca88cc06c717a5bba5f6e6730983cb7fc7c3" } }, "history": [], diff --git a/docs/campaigns/open-model-qwen3/SPEC-v7-DRAFT.md b/docs/campaigns/open-model-qwen3/SPEC-v7-DRAFT.md index b7e200cd..5be05636 100644 --- a/docs/campaigns/open-model-qwen3/SPEC-v7-DRAFT.md +++ b/docs/campaigns/open-model-qwen3/SPEC-v7-DRAFT.md @@ -50,6 +50,24 @@ containment: speculation, `v1 Memory`, `v1 Correctness: recall`); and if the lau model-behaviour rows `RQ`, `CUT`, `F`, `SB`. A missing row is a failure. `test-v7.sh` proves the gate goes red on the v6 failure (S1 refused, no ALLEN line, recall FAIL) and green on a clean synthetic launch (16 of 16 checks). +Correction to the correction (dry attempt 2, 2026-10-11T22:26:12Z to 22:40:00Z, hold rc 0, G6 FAIL; records in `evidence-v7/attempt-2-g6-fail/`): +the first gate listed `v1 Memory`, `DEC` and `MEAS` as rows independent of the model. They are not. A refused reply writes no memory +record, so `v1 Memory` FAILs on every launch that did not commit (RESULT-v6 already classed it (a); attempt 2 D1 and D3 showed it, the +committed D2 passed it); it now belongs to the committed group. An attempt the product ends by timeout has no decoding and no token ids, +so `DEC` and `MEAS` FAIL by the frozen v5 rules whenever the model is too slow for the task budget (attempt 2 D3: reply 1 refused after +63 s, reply 2 cut at the 57 s left of the 120 s budget, 0 tokens kept); the gate now requires them unless `s3-report.json` shows a +timeout attempt, prints a NOTE naming it, and counts it as a campaign finding, not a harness fault. `g6-reasons-corrected-gate.txt` +replays the corrected gate over the attempt 2 records: the remaining failures are `OPR` (Section 2.1) and `PIN` plus `GR` on the +committed D2 (pre-freeze by construction, Section 7). `test-v7.sh` now proves both corrections red and green (20 of 20 checks). + +### 2.1 Product-side finding from attempt 2: the OP_REPORT line order (fixed in sc#454) + +The frozen v5 `-OPR` row parses the daemon line as `OP_REPORT native=[..] reference=[..] native_fallbacks=[..] reference_runs=[..] +backend=`. sc#405 (chip call count, after v6) put ` gpu_executions=` before ` backend=`, so every attempt 2 launch failed +`-OPR` although the logs show native ops only, zero fallbacks and zero STRICT violations (`op-report-lines.txt`). sc#454 moves the +count after `backend=` and adds the layout contract to `op_report_line` with a test. The v5 rows stay unchanged (Drake: thresholds +never move); the freeze build must include sc#454. + ## 3. Model, engine and build - Weights downloaded and hashed: `frozen-v7.json` `model` block (index, five shards, tokenizer, three config files). The five shards and @@ -76,7 +94,9 @@ model-behaviour rows `RQ`, `CUT`, `F`, `SB`. A missing row is a failure. `tes 4. [ ] `model_sha256` filled from the daemon's `CHECKPOINT_SHARDS` line in a smoke run. 5. [ ] Clean build at the freeze commit; every pin in `frozen-v7.json` filled; checkouts clean. 6. [~] (pre-check on main c26f4d7: `evidence-v7/test-v7-c26f4d7.txt` 16 ok 0 failed; `evidence-v7/campaign-files-check-c26f4d7.txt` 63 OK; repeat at the freeze commit) `test-v7.sh` passes at the freeze commit; the v5 campaign file hashes still match (`evidence-v5/campaign-files.sha256`) for every file v7 reuses. -7. [ ] G6 dry run of part 1 on GB10 in its own hold, then `g6-gate.sh` exit 0 over D1 D2 D3 (all product rows, ALLEN engaged). The dry +7. [ ] G6 dry run of part 1 on GB10 in its own hold AFTER the freeze commit (as v6: the -PIN and -GR rows need the frozen pins and model + hash; attempt 2 ran on the draft and failed them by construction), then `g6-gate.sh` exit 0 over D1 D2 D3 (all product rows, ALLEN + engaged; attempts 1 and 2 recorded under `evidence-v7/attempt-1-hold-refused/` and `evidence-v7/attempt-2-g6-fail/`). The dry run must also show the containment and identity rows PASS with the ALLEN state directories present beside the compose home (they are new since v6 and unproven against the unchanged row files; the proof run in the PR shows the directories exist, whether any row counts them is decided by the dry run, not assumed). @@ -91,7 +111,20 @@ host-built fixture, not a provisioned identity. ## 7. Launchers (added 2026-10-11, `evidence-v7/`) `build.sh ` (clean clone + pinned release build, CPU only), `run-part.sh` (one part per hold; Qwen3-8B folder, v7 wrapper), -`run-dry.sh ` (gate G6: dry part 1 in one hold, then `g6-gate.sh` over D1 D2 D3, writes `records/g6.txt` +`run-dry.sh ` (gate G6: refuses unless `frozen-v7.json` is FROZEN at that commit; dry part 1 in one hold, +then `g6-gate.sh` over D1 D2 D3, writes `records/g6.txt` and the daemon's `CHECKPOINT_SHARDS` line for checklist item 4), `run.sh ` (four real parts, refuses without `G6 PASS` and without `frozen-v7.json` FROZEN). Each is the v6 launcher with the v7 names; the diff against `evidence-v6/` is the review. Holds are 20 minutes: quietlock refuses longer holds without Drake's approval token (attempt 1, 2026-10-11T22:10:23Z, rc 77, refused with 40; recorded in `evidence-v7/attempt-1-hold-refused/`) and on overrun keeps the flag until the command exits without killing it, so a part that runs past 20 minutes (the 8B is predicted to take about twice the v6 7 to 8 minutes) completes under the kept flag. + +## 8. Speed observed in dry attempt 2 (Qwen3-8B on GB10, f32, greedy; not a verdict) + +| launch | attempt 1 | attempt 2 | product outcome | +|---|---|---|---| +| D1 | 655 tokens in 93.2 s, refused (14 of 22 lines) | none: 26.8 s left < 30 s per-attempt minimum | not committed | +| D2 | 354 tokens in 53.0 s, refused (section missing) | parsed in 56.2 s | committed | +| D3 | 425 tokens in 63.2 s, refused (13 of 18 lines) | cut by the product at 56.9 s (budget left), 0 tokens kept | not committed | + +About 7 tokens a second against the 4B's about 10 (v6 D1 to D3: 345 to 524 tokens in 33 to 53 s). The task budgets (120 s, ACCEPTANCE-v5 +Section 2) are frozen product limits and stay; a refused first reply leaves the 8B little or no room for a retry, so the real campaign is +expected to record more timeouts and uncommitted launches than v6 did. That is what the campaign measures; it is not a reason to change it. diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/attempts.jsonl b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/attempts.jsonl new file mode 100644 index 00000000..28def9b5 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/attempts.jsonl @@ -0,0 +1,3 @@ +{"launch":"D1","attempts":[{"attempt":1,"outcome":"refused","ms":93161,"tokens":655,"finish_reason":"eos","reason":"unmet requirement: at least 22 non-empty lines, found 14"}],"proposer_error":"unmet requirement: at least 22 non-empty lines, found 14; no attempt 2: 26838 ms left < 30000 ms per-attempt budget"} +{"launch":"D2","attempts":[{"attempt":1,"outcome":"refused","ms":52981,"tokens":354,"finish_reason":"eos","reason":"unmet requirement: at least 12 words of plain text in the section \"Wrap Up\", the section was not found; the headings \"Example One: Date Prefix\", \"Example Two: Lowercase Names\", \"Example Three: Number the Files\", \"Wrap Up\", missing \"Wrap Up\" (each must be a markdown heading line)"},{"attempt":2,"outcome":"parsed","ms":56181,"tokens":339,"finish_reason":"eos","reason":null}],"proposer_error":null} +{"launch":"D3","attempts":[{"attempt":1,"outcome":"refused","ms":63164,"tokens":425,"finish_reason":"eos","reason":"unmet requirement: at least 18 non-empty lines, found 13"},{"attempt":2,"outcome":"timeout","ms":56877,"tokens":0,"finish_reason":null,"reason":"model proposal exceeded 56835 ms"}],"proposer_error":"model proposal exceeded 56835 ms; no attempt 3: 0 ms left < 30000 ms per-attempt budget"} diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6-reasons-corrected-gate.txt b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6-reasons-corrected-gate.txt new file mode 100644 index 00000000..57ae83fc --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6-reasons-corrected-gate.txt @@ -0,0 +1,12 @@ +FAIL D1 row 'D1-OPR' = FAIL +FAIL D1 row 'D1-PIN' = FAIL +D1 committed=false required=10 pass=8 not_checked_model=24 not_checked_timeout=0 +FAIL D2 row 'D2-GR' = FAIL +FAIL D2 row 'D2-OPR' = FAIL +FAIL D2 row 'D2-PIN' = FAIL +D2 committed=true required=28 pass=25 not_checked_model=8 not_checked_timeout=0 +NOTE D3 attempt 2 ended by timeout (model too slow for the task budget): -DEC -MEAS not checked, campaign finding +FAIL D3 row 'D3-OPR' = FAIL +FAIL D3 row 'D3-PIN' = FAIL +D3 committed=false required=8 pass=6 not_checked_model=26 not_checked_timeout=2 +G6 FAIL diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6-reasons.txt b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6-reasons.txt new file mode 100644 index 00000000..216bbb7e --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6-reasons.txt @@ -0,0 +1,15 @@ +FAIL D1 row 'v1 Memory' = FAIL +FAIL D1 row 'D1-OPR' = FAIL +FAIL D1 row 'D1-PIN' = FAIL +D1 committed=false required=11 pass=8 not_checked_model=23 +FAIL D2 row 'D2-GR' = FAIL +FAIL D2 row 'D2-OPR' = FAIL +FAIL D2 row 'D2-PIN' = FAIL +D2 committed=true required=28 pass=25 not_checked_model=8 +FAIL D3 row 'v1 Memory' = FAIL +FAIL D3 row 'D3-DEC' = FAIL +FAIL D3 row 'D3-OPR' = FAIL +FAIL D3 row 'D3-PIN' = FAIL +FAIL D3 row 'D3-MEAS' = FAIL +D3 committed=false required=11 pass=6 not_checked_model=25 +G6 FAIL diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6.txt b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6.txt new file mode 100644 index 00000000..a66fec3b --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/g6.txt @@ -0,0 +1 @@ +G6 FAIL (rc 1, see g6-reasons.txt) diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/hold-dry-p1.rc b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/hold-dry-p1.rc new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/hold-dry-p1.rc @@ -0,0 +1 @@ +0 diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/hold-dry-p1.start b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/hold-dry-p1.start new file mode 100644 index 00000000..1b1264e8 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/hold-dry-p1.start @@ -0,0 +1 @@ +2026-10-11T22:26:12Z diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/launcher-dry.sha256 b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/launcher-dry.sha256 new file mode 100644 index 00000000..5c1844c4 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/launcher-dry.sha256 @@ -0,0 +1,2 @@ +2cd74673a34539797070d52070b20dd5cc8b06638e95c439954f15ed59b3f61e /home/drakestapleton/workspace/oq3-v7-real/run-part.sh +88bd3ef28e78a4960b81796f4bcb87808d2970f4546fc06e6a924a31b50c45e4 /home/drakestapleton/.claude/jobs/ade3c837/tmp/run-dry.sh diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/model_sha256-line.txt b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/model_sha256-line.txt new file mode 100644 index 00000000..e18ea42a --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/model_sha256-line.txt @@ -0,0 +1 @@ +CHECKPOINT_SHARDS model_sha256=17bc36882b981cdaa253076c43273e3b5e54251db26cb6a5f51de396c456f5a6 model_digest_kind=index+shards index_sha256=f9fdbcb91c23971c13ec5d5f2573d2349e8f61f2f049371ec699281748fd diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/op-report-lines.txt b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/op-report-lines.txt new file mode 100644 index 00000000..a9d04741 --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/op-report-lines.txt @@ -0,0 +1,5 @@ + 1 OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference + 1 OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference + 9 OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference + 1 OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference + 1 OP_REPORT native=[rmsnorm,apply_rope,matmul_vec,matmul_batch,swiglu,gqa_attention,paged_attention,paged_attention_batch,compute_logits,rmsnorm_heads] reference=[] native_fallbacks=[] reference diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/oq3-v7-DRYRUN-results.jsonl b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/oq3-v7-DRYRUN-results.jsonl new file mode 100644 index 00000000..360167fa --- /dev/null +++ b/docs/campaigns/open-model-qwen3/evidence-v7/attempt-2-g6-fail/oq3-v7-DRYRUN-results.jsonl @@ -0,0 +1,106 @@ +{"row":"D1/v1 Task completion","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Correctness: committed content","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Correctness: recall","verdict":"PASS","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Human interventions: approvals","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Human interventions: rescues","verdict":"PASS","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Identity","verdict":"PASS","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Memory","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/v1 Containment: speculation","verdict":"PASS","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/Q1","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/Q2","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/Q3","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/Q4","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/A3","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/A4","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/A5","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/A6","verdict":"PASS","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/D1-L","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/D1-M","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/D1-A","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/D1-CM","verdict":"FAIL","rep":1,"receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json"} +{"row":"D1/D1-SB","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-F","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-CUT","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-RQ1","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-RQ2","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-RQ3","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-D","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-BE","rep":1,"verdict":"PASS","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-PRE","rep":1,"verdict":"PASS","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-DEC","rep":1,"verdict":"PASS","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-GR","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-OPR","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-PIN","rep":1,"verdict":"FAIL","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D1/D1-MEAS","rep":1,"verdict":"PASS","receipt":"1f5188508c4d557274bf48b00cf344eccde3f296393a7979d682611e3b65f1d1.json","extra_rows_file":"a4d31b1c8ca751a9adb88fe8e5d0ffa8ed136891c262586cf8322571ac100037.v5rows.json"} +{"row":"D2/v1 Task completion","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Correctness: committed content","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Correctness: recall","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Human interventions: approvals","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Human interventions: rescues","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Identity","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Memory","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/v1 Containment: speculation","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/Q1","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/Q2","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/Q3","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/Q4","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/A3","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/A4","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/A5","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/A6","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/D2-L","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/D2-M","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/D2-A","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/D2-CM","verdict":"PASS","rep":1,"receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json"} +{"row":"D2/D2-SB","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-F","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-CUT","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-RQ1","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-RQ2","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-RQ3","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-RQ4","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-RQ5","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-D","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-BE","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-PRE","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-DEC","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-GR","rep":1,"verdict":"FAIL","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-OPR","rep":1,"verdict":"FAIL","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-PIN","rep":1,"verdict":"FAIL","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D2/D2-MEAS","rep":1,"verdict":"PASS","receipt":"acce0812df980888dc7bbd2f2b3f12a74221419aec2035340428a0fc30f36e70.json","extra_rows_file":"ba8ce6eb17e3753fe659e24d8e2cd88c507b90a7fa11eea6b9758ea275290dfe.v5rows.json"} +{"row":"D3/v1 Task completion","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Correctness: committed content","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Correctness: recall","verdict":"PASS","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Human interventions: approvals","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Human interventions: rescues","verdict":"PASS","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Identity","verdict":"PASS","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Memory","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/v1 Containment: speculation","verdict":"PASS","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/Q1","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/Q2","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/Q3","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/Q4","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/A3","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/A4","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/A5","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/A6","verdict":"PASS","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/D3-L","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/D3-M","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/D3-A","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/D3-CM","verdict":"FAIL","rep":1,"receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json"} +{"row":"D3/D3-SB","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-F","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-CUT","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-RQ1","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-RQ2","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-RQ3","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-RQ4","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-RQ5","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-D","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-BE","rep":1,"verdict":"PASS","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-PRE","rep":1,"verdict":"PASS","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-DEC","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-GR","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-OPR","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-PIN","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} +{"row":"D3/D3-MEAS","rep":1,"verdict":"FAIL","receipt":"086f3d330eafd591b8f7baa44ee7694aed6c9e30aa55885a2b6475524843b635.json","extra_rows_file":"0e94b7797317d29bf0e303b51fa7b6949f46173087af4189243abbb2ed44fc52.v5rows.json"} diff --git a/docs/campaigns/open-model-qwen3/evidence-v7/run-dry.sh b/docs/campaigns/open-model-qwen3/evidence-v7/run-dry.sh index bd835e08..3736a9be 100755 --- a/docs/campaigns/open-model-qwen3/evidence-v7/run-dry.sh +++ b/docs/campaigns/open-model-qwen3/evidence-v7/run-dry.sh @@ -1,10 +1,11 @@ #!/usr/bin/env bash # OPEN-MODEL-QWEN3 v7 gate G6: dry run of part 1 on GB10 in its own hold, then g6-gate.sh over D1 D2 D3 (SPEC-v7-DRAFT.md -# Section 5 item 7). Runs BEFORE the freeze (frozen-v7.json may still say DRAFT: a dry run lifts the pin checks and is never -# a verdict). Start detached ONLY on the coordinator's go for the hold: -# setsid nohup bash run-dry.sh folder> > 2>&1 < /dev/null & +# Section 5 item 7). Runs AFTER the freeze, as v6 did (frozen-v7.json FROZEN at the wrap commit): the -PIN and -GR rows +# compare the build and the generation record against the frozen pins and model hash, so a draft can only fail them (attempt 2, +# 2026-10-11, evidence-v7/attempt-2-g6-fail/). A dry run is never a verdict. Start detached ONLY on the coordinator's go for the hold: +# setsid nohup bash run-dry.sh folder> > 2>&1 < /dev/null & set -u -WRAP_COMMIT=${1:?sc main commit}; export OQ3_BUILD=${2:?build folder} +WRAP_COMMIT=${1:?freeze commit}; export OQ3_BUILD=${2:?build folder} HERE=$(cd "$(dirname "$0")" && pwd) V=/home/drakestapleton/workspace/oq3-v7-real; R=$V/records [ ! -e $V/dry-runs ] || { echo "run-dry: $V/dry-runs exists already (one dry run per freeze candidate; move it aside to rerun)"; exit 2; } @@ -13,6 +14,8 @@ quietlock check || { echo "run-dry: quiet flag held, not starting"; exit 2; } mkdir -p $R [ -d $V/wrap ] || git clone -q https://github.com/aien-dev/aien-sovereign-core $V/wrap || { echo "run-dry: wrapper clone failed"; exit 4; } git -C $V/wrap fetch -q origin && git -C $V/wrap checkout -q "$WRAP_COMMIT" || { echo "run-dry: checkout $WRAP_COMMIT failed"; exit 4; } +Q=$V/wrap/docs/campaigns/open-model-qwen3 +[ "$(jq -r .status $Q/frozen-v7.json | cut -c1-6)" = FROZEN ] || { echo "run-dry: frozen-v7.json at $WRAP_COMMIT is not FROZEN; freeze first (the -PIN and -GR rows need the pins and the model hash)"; exit 2; } ( cd $V/wrap/docs/campaigns/open-model-qwen3 && bash test-v7.sh > $R/test-v7.out 2>&1 ) || { echo "run-dry: test-v7.sh failed at $WRAP_COMMIT"; exit 2; } cp "$HERE/run-part.sh" $V/run-part.sh; chmod +x $V/run-part.sh; sha256sum $V/run-part.sh "$0" > $R/launcher-dry.sha256 date -u +%FT%TZ > $R/hold-dry-p1.start diff --git a/docs/campaigns/open-model-qwen3/g6-gate.sh b/docs/campaigns/open-model-qwen3/g6-gate.sh index 5226e575..8994210d 100755 --- a/docs/campaigns/open-model-qwen3/g6-gate.sh +++ b/docs/campaigns/open-model-qwen3/g6-gate.sh @@ -1,16 +1,20 @@ #!/usr/bin/env bash -# Gate G6 (dry run) for OPEN-MODEL-QWEN3 v7 and later: checks EVERY product-side row of each dry launch, not four (v6 checked only -# PRE, OPR, BE, PIN and so missed the ALLEN refusal; RESULT-v6.md Section 3). Shell + jq only. It never reads a threshold. +# OPEN-MODEL-QWEN3 v7 gate G6 (SPEC-v7-DRAFT.md Section 2): the dry run must prove the harness, not the model. # g6-gate.sh DRY_RESULTS.jsonl DECLARATION.json DRY_RUN_BASE LAUNCH... exit 0 = G6 PASS, 1 = G6 FAIL (reasons on stdout) -# Per launch: -# 1. run.json exists, and its steps S1 (remember), S2 (inspect), S7 (restart), S8 (recall) are ok, and the daemon logged -# "ALLEN: engaged" (run.json .allen). These steps never depend on what the model writes. +# For every launch named on the command line (D1 D2 D3 for v7): +# 1. $BASE/$L/run.json exists; steps S1, S2, S7, S8 are ok; the daemon logged "ALLEN: engaged". # 2. Always required (product rows; independent of the model's text): every declared row of the launch whose id ends in -# -PRE -DEC -OPR -BE -PIN -MEAS, and "v1 Identity", "v1 Human interventions: rescues", "v1 Containment: speculation", -# "v1 Memory", "v1 Correctness: recall". +# -PRE -OPR -BE -PIN, and "v1 Identity", "v1 Human interventions: rescues", "v1 Containment: speculation", +# "v1 Correctness: recall". +# 2a. -DEC and -MEAS are product rows too, but by the frozen v5 rules an attempt the product ended by timeout has no decoding +# and no token ids, so both rows FAIL whenever the model was too slow for the task budget (v7 dry attempt 2, D3). They are +# required unless $BASE/$L/s3-report.json shows an attempt with outcome "timeout"; then they are listed NOT CHECKED (model +# timeout) with a NOTE line. The timeout itself is a model finding for the campaign, not a harness fault. # 3. If the launch committed (S4 and S5 ok), every other declared row of the launch must be PASS too, except the four -# model-behaviour rows -RQ, -CUT, -F, -SB (v6 failure class (a)), which are listed but may FAIL. -# If it did not commit (the model's reply was refused), only 1 and 2 apply and the rest is listed as NOT CHECKED (model). +# model-behaviour rows -RQ, -CUT, -F, -SB (v6 failure class (a)), which are listed but may FAIL. "v1 Memory" is in this +# group: a refused reply writes no memory record, so the row FAILs on every uncommitted launch (v6 class (a); v7 dry attempt 2 +# D1 and D3) and only a committed launch can show it. If the launch did not commit, only 1, 2 and 2a apply and the rest is +# listed as NOT CHECKED (model). # 4. A required row missing from the results is a FAIL. set -u RES=${1:?DRY_RESULTS.jsonl} DECL=${2:?DECLARATION.json} BASE=${3:?DRY_RUN_BASE}; shift 3 @@ -25,20 +29,27 @@ for L in "$@"; do done jq -e '(.allen.engaged_log_line // "") | startswith("ALLEN: engaged")' "$rj" >/dev/null || { say "FAIL $L daemon did not log ALLEN: engaged"; fail=1; } committed=$(jq -r '([.steps[] | select(.step == "S4" or .step == "S5") | .ok] | length == 2 and all)' "$rj") - nreq=0 nok=0 nskip=0 + timeouts=0 + [ -f "$BASE/$L/s3-report.json" ] && timeouts=$(jq -r '[.proposal_attempts[]? | select(.outcome == "timeout") | .attempt] | join(",")' "$BASE/$L/s3-report.json") + [ "$timeouts" = 0 ] || [ -z "$timeouts" ] && timeouts=0 + [ "$timeouts" = 0 ] || say "NOTE $L attempt $timeouts ended by timeout (model too slow for the task budget): -DEC -MEAS not checked, campaign finding" + nreq=0 nok=0 nskip=0 ntimeout=0 while IFS= read -r row; do id=${row#"$L/"} case $id in - "$L"-PRE|"$L"-DEC|"$L"-OPR|"$L"-BE|"$L"-PIN|"$L"-MEAS|"v1 Identity"|"v1 Human interventions: rescues"|"v1 Containment: speculation"|"v1 Memory"|"v1 Correctness: recall") need=always ;; + "$L"-PRE|"$L"-OPR|"$L"-BE|"$L"-PIN|"v1 Identity"|"v1 Human interventions: rescues"|"v1 Containment: speculation"|"v1 Correctness: recall") need=always ;; + "$L"-DEC|"$L"-MEAS) need=notimeout ;; "$L"-RQ*|"$L"-CUT|"$L"-F|"$L"-SB) need=model ;; + "v1 Memory") need=committed ;; *) need=committed ;; esac + if [ $need = notimeout ] && [ "$timeouts" != 0 ]; then ntimeout=$((ntimeout + 1)); continue; fi if [ $need = model ] || { [ $need = committed ] && [ "$committed" != true ]; }; then nskip=$((nskip + 1)); continue; fi nreq=$((nreq + 1)) v=$(jq -r --arg r "$row" 'select(.row == $r) | .verdict' "$RES" | head -1) if [ "$v" = PASS ]; then nok=$((nok + 1)); else say "FAIL $L row '$id' = ${v:-missing}"; fail=1; fi done < <(jq -r --arg l "$L" '.rows[] | select(.row | startswith($l + "/")) | .row' "$DECL") - say "$L committed=$committed required=$nreq pass=$nok not_checked_model=$nskip" + say "$L committed=$committed required=$nreq pass=$nok not_checked_model=$nskip not_checked_timeout=$ntimeout" done [ $fail = 0 ] && say "G6 PASS" || say "G6 FAIL" exit $fail diff --git a/docs/campaigns/open-model-qwen3/test-v7.sh b/docs/campaigns/open-model-qwen3/test-v7.sh index f0f5337a..1c0a5237 100755 --- a/docs/campaigns/open-model-qwen3/test-v7.sh +++ b/docs/campaigns/open-model-qwen3/test-v7.sh @@ -52,4 +52,16 @@ sed -i 's|\("row":"D2/Q1","verdict":"\)PASS|\1FAIL|' "$T/e/res.jsonl" chk "G6 green: a launch whose model reply was refused (S5 not ok) is checked on product rows only" 'bash $G "$T/e/res.jsonl" $DECL "$T/e" D1 D2 D3 >"$T/o6"; [ $? = 0 ] && grep -q "D2 committed=false" "$T/o6"' mk "$T/f"; sed -i 's|\("row":"D1/D1-BE","verdict":"\)PASS|\1FAIL|' "$T/f/res.jsonl" chk "G6 red: a product row (BE) FAILs" 'bash $G "$T/f/res.jsonl" $DECL "$T/f" D1 D2 D3 >"$T/o7"; [ $? = 1 ]' +# ---- gate G6 corrections after v7 dry attempt 2 (2026-10-11, evidence-v7/attempt-2-g6-fail/) +mk "$T/h"; jq '(.steps[3].ok) = false | (.steps[4].ok) = false' "$T/h/D1/run.json" >"$T/h/x" && mv "$T/h/x" "$T/h/D1/run.json" +sed -i 's|\("row":"D1/v1 Memory","verdict":"\)PASS|\1FAIL|' "$T/h/res.jsonl" +chk "G6 green: v1 Memory FAILs on a launch that did not commit (no record to digest, v6 class (a))" 'bash $G "$T/h/res.jsonl" $DECL "$T/h" D1 D2 D3 >"$T/o8"; [ $? = 0 ] && grep -q "D1 committed=false" "$T/o8"' +mk "$T/i"; sed -i 's|\("row":"D1/v1 Memory","verdict":"\)PASS|\1FAIL|' "$T/i/res.jsonl" +chk "G6 red: v1 Memory FAILs on a committed launch" 'bash $G "$T/i/res.jsonl" $DECL "$T/i" D1 D2 D3 >"$T/o9"; [ $? = 1 ] && grep -q "D1 row .v1 Memory. = FAIL" "$T/o9"' +mk "$T/j"; sed -i 's|\("row":"D3/D3-DEC","verdict":"\)PASS|\1FAIL|; s|\("row":"D3/D3-MEAS","verdict":"\)PASS|\1FAIL|' "$T/j/res.jsonl" +jq -n '{proposal_attempts: [{attempt: 1, outcome: "refused"}, {attempt: 2, outcome: "timeout", tokens: 0}]}' >"$T/j/D3/s3-report.json" +chk "G6 green with a NOTE: -DEC and -MEAS FAIL only because an attempt ended by timeout (model too slow for the budget)" 'bash $G "$T/j/res.jsonl" $DECL "$T/j" D1 D2 D3 >"$T/o10"; [ $? = 0 ] && grep -q "NOTE D3 attempt 2 ended by timeout" "$T/o10" && grep -q "D3 committed=true .* not_checked_timeout=2" "$T/o10"' +mk "$T/k"; sed -i 's|\("row":"D3/D3-DEC","verdict":"\)PASS|\1FAIL|' "$T/k/res.jsonl" +jq -n '{proposal_attempts: [{attempt: 1, outcome: "parsed"}]}' >"$T/k/D3/s3-report.json" +chk "G6 red: -DEC FAILs with no timeout in the attempts" 'bash $G "$T/k/res.jsonl" $DECL "$T/k" D1 D2 D3 >"$T/o11"; [ $? = 1 ] && grep -q "D3 row .D3-DEC. = FAIL" "$T/o11"' echo "test-v7: $pass ok, $fail failed"; [ $fail = 0 ]