Skip to content

Loki Mode v11.196.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 05:37
· 45 commits to main since this release
Immutable release. Only release title and notes can be modified.

Changed

  • Fail-then-pass relevance per failing case (vitest, #734): the relevance filter in the seal read the whole test file, so a wrong fix read VERIFIED when an exists-only assertion on an invented function (typeof triple === "function") sat beside any case, import line or dynamic import that named a changed symbol the base already has. A base-red, head-green file now leaves the proof only when every case that failed on the base by assertion is shown to be about something the change invented: its own text (the file with the other cases blanked and every import reduced to its module string) neither names nor reaches a changed symbol, and its failing statement names a symbol the change invented. Anything that cannot be read keeps the whole-file rule, so the rule only removes a file and cannot make a run VERIFIED that 11.195.0 does not. Pinned: N3b pre and post now read PARTIAL; a real assertion beside an exists-only case, a case asserting on a value another case stored, a case through an unchanged caller, and the six stored FireLater#79 seeds keep their proof. Stated limits: shared code that names the symbol, other runners, an invented name that is not on the failing statement, an aliased or extended test function, a case that names nothing of the change. Stated residual: one statement that checks a value through an unchanged caller and also names the added function, as the only base-assertion case, is now held (two statements count). LOKI_E10_RELEVANCE_PER_CASE=0 restores the whole-file relevance. New proof.relevance event per failed file, observability only.
  • Failure blocks with no error name (vitest, #735): a thrown DatabaseException, HTTP404Error or bare string beside an assertion case no longer reads red by assertion, as a sibling named DatabaseError already did not. A lone assertion with a Caused by: line still counts. LOKI_E10_PROOF_BARE_ERROR=0 restores the 11.195.0 reader.

Release checks

  • Measured before release: the replay of the six stored FireLater#79 seeds with the shipped helpers and the hc2 calibration below; the fresh FireLater#79 rerun runs after release. On commit 5c05445 (tests) over 0ba4fea (source) with a bundle built from that source: fast CI 5 of 5 (syntax, typecheck, version-consistency, release-notes, dist-freshness; rerun green at 1b043c0, the last commit); engine10-e2e-stub passed; the full local CI (31 tests) passed 28 and failed 3: scope-and-fix 1129 passed, 5 failed; h2h-harness 166 passed, 2 failed; run-safety 261 passed, 2 failed. The same 9 cells are red on 3a35d93 (v11.195.0) run the same way (scope-and-fix 1052 passed, 5 failed: quick verify, three PROOF-TEST-SIDE cells and the fl24 monorepo PROOF_PROJECT_API=0 cell, which passes when scope-and-fix.sh is run directly and fails under local-ci; h2h-harness: two learning-arm cells; run-safety: the two real-vitest delpkg cells), so none comes from this change. New cells and legs: one 52-cell unit section (baseAssertFrames F1 to F8, caseText T1 to T15, the failing statement S1 to S5, proofRelevance P1 to P24), six values added to the proof-per-case cell (V17 to V22), the knob-defaults cell now lists both knobs, 28 real-vitest legs on 2.1.9 and latest (RC1 to RC25 with the knob-0 half of RC12 and the two variants RC7b and RC10b), and the engine legs N3b pre and post (now hard asserts, PARTIAL), N3b knob 0, N3c and N3d (VERIFIED with a proof.relevance event in mode case). Plants 338 to 358 were each shown red on the cells and legs they name (the engine-level ones on a copy of the tree with its own bundle; the cell-level plants and the RC legs were shown red on vitest 2 only; plant 344 needed the P22 cell routed through baseAssertFrames, commit 5c05445), plant 359 was shown green, and plant 57 still turns the exists-plus-calls leg VERIFIED. Replay of the proof composition (not a full seal end to end) with the shipped helpers: the six stored FireLater#79 seeds (PR heads 89 to 94 from a fresh clone) count in mode case with 9, 2, 9, 13, 9 and 11 assertion blocks, 0 unreadable, 0 irrelevant and 0 failing statements naming an invented symbol; the 20 fixtures rerun live on vitest 2.1.9 and 5.1.2 and the 26 stored outputs reread match the critic's tables row for row.
  • Calibration on hc2 (no model, results/calibration-heldout2-11.196.0-2026-11-28.json): n 32, right 28, verifier_right 29, false_verified 0, and the same 32 labels as the 11.195.0 file. Six runs (all loki-cal-merged, Go and Python) emitted a proof.relevance event, all in mode file, none with an irrelevant case and none with a file removed; hc2 has no vitest task, so the per-case path decided 0 receipts and calibration shows no harm only.
  • Stated residual R1 (a new hold): a correct change whose only base-assertion case is one statement that checks a value through an unchanged caller and also names the added function now reads PARTIAL; the same two checks as two statements count. Measured on real vitest and pinned by unit cell P24 and leg RC25.