Skip to content

fix(core,steer): clear no-verification on proof checks and avoid bogus test-tamper steer on sorry - #323

Merged
jackulau merged 1 commit into
mainfrom
fix/proof-verification-flag-and-steer-tamper
Nov 28, 2026
Merged

jackulau merged 1 commit into
mainfrom
fix/proof-verification-flag-and-steer-tamper

Conversation

@jackulau

Copy link
Copy Markdown
Owner

Summary

Fixes the two verified cross-feature bugs uncovered by the Final QA Audit on main (040a0618):

  1. Proof checker invocations now clear no-verification (core/sessions.ts):
    • isVerifyCommand / isVerifyToolStart now recognize direct formal-proof checker calls via proofCheck(command, input) when isProofLang(check.lang) && !check.bypass (covering Lean, Rocq, Dafny, Verus, Isabelle, TLA+, and TLC while keeping generic make/dune builds and --no-verify bypasses excluded).
    • Clean verified proof sessions are no longer falsely flagged no-verification in sessions --where "is:flagged", dataset mine --proof-steps --exclude-flagged, or coding.sh impact (flaggedSessions/wastedSpendUsd).
    • Bumps SESSION_FOLD_VERSION from 56 to 57.
  2. coding.sh steer avoids bogus test-tamper advice on standing proof escapes (core/steer.ts):
    • When test-tamper is set on a proof session with standing sorry/Admitted (escapeRemaining > 0), no proofReport tamper findings, and no high-severity non-proof test-file tamper findings from detectTestTamperTrace, suppresses the misleading "Stop modifying or weakening tests..." directive and escalates resolve-escapes to priority: "high" (status: "intervene").
    • Preserves audit-tamper whenever genuine test-file weakening or proof-statement/bypass tampering occurred.

Verification

  • tsc --noEmit: 0 errors
  • 13 core/CLI/viewer/dataset test suites (sessions, steer, tamper-steer, proof, proof-report, verification, fold-stamp, impact, proof-mine, steer-browser): 239 pass, 0 fail (all 5 new regression tests fail when sessions.ts/steer.ts are reverted)
  • node scripts/lint/slop.mjs --strict-allowlist & node scripts/changelog/add.mjs --check: clean

@jackulau jackulau added the ready Run the full suite on this pull request; main requires its check label Nov 28, 2026
@jackulau
jackulau merged commit 2eb34d5 into main Nov 28, 2026
55 checks passed
@jackulau
jackulau deleted the fix/proof-verification-flag-and-steer-tamper branch November 28, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready Run the full suite on this pull request; main requires its check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant