Skip to content

Releases

CheckWash v0.13.2

Choose a tag to compare

@taipei49314 taipei49314 released this 23 Nov 15:46

CheckWash 0.13.2 improves how Python PRs are scanned. A test that imports an existing project module or moves without changing what it checks can receive the appropriate verdict. When moving a test changes which same-named module it calls, the scanner compares the providers at the old and new paths. The CLI also identifies invalid Git ranges, shows the Ruff rules changed in each file, and distinguishes active findings from reviewed exemptions.

On two changes in the same 7,104-file Django checkout, the final optimization reduced median CLI time from 16.09 to 7.14 seconds and from 15.70 to 6.86 seconds, with identical JSON, stderr and exit codes. The medians come from four fresh Windows Python 3.12.14 processes per engine and range. The 3,600-commit comparison against the public 0.13.1 zipapp also returned identical exits and streams, including the two existing symlink errors. Measurements and coverage · Known limits

For the recommended CLI version, standalone download and GitHub Action pin, use the verified installation guide.

Verified release tag · Cross-platform source verification

CheckWash v0.13.1

Choose a tag to compare

@taipei49314 taipei49314 released this 22 Nov 04:57

Python test detection

CheckWash 0.13.1 reports TEST_PATCHES_SUBJECT when an existing Python test keeps its direct equality assertion but a new same-named local function supplies the value in place of the imported project function. The billing example in #635 now blocks at the default threshold. The patch also covers the reviewed numeric pytest fixture that returns the result of calling its local replacement. Merged fix · Coverage and limits

The fixed 3,600-commit comparison against the published 0.13.0 zipapp produced identical exit codes and output for every pair, including the two established symlink errors. The original #635 example was tested separately. Release guide

The annotated tag points to Action commit 62656df812372c085b4d32c7864fcdfaccd0318a. The release merge is 5e2a89ef0d447ae6e08c289f4a3357325b7286e9. Tag verification · Cross-platform source verification

Checkwash v0.13.0

Choose a tag to compare

@taipei49314 taipei49314 released this 16 Nov 18:39

Checkwash v0.13.0 removes four first-week working-tree, helper and virtual-environment rough edges, reports real Python test names on projected findings, keeps strict inert end-of-file appends to repository-root CLAUDE.md at warn, bounds CPython 3.12+ single-line tokenize memory and deep runtime-shadow AST parsing, and adds hosted macOS and Linux release verification. The findings envelope stays at version 2 and the IR at version 3. Details are in the release guide, and the versioned known issues disclose the remaining limits. A pass means no known tampering pattern was detected; it is not a correctness guarantee.

First-week working-tree, helper and virtual-environment fixes (D-205, D-206, D-207, D-208, D-212). A check without a range and the Stop hook set aside the untracked zipapp checkwash runs from when neither HEAD nor the session base holds that path, and checkwash hook install --agent claude-code (default --local) adds .claude/settings.local.json to Git info/exclude when Git neither tracks nor ignores it (D-205). Editing a commonly named test helper past the importer search bounds (64 unchanged mentions, 48 unchanged test importers, 192 total importer reads or 16 helper names) no longer stops every check with exit 2 under the default policy unless the diff renames the helper to that name: checkwash sets its unchanged importers aside, checks the helper module's own top-level non-test* (and non-pytest_* on conftest) functions directly across REPAIR_REFUSED_PYTHON, and emits an analysis incomplete note on stderr, term, SARIF toolExecutionNotifications and hook systemMessage output, while exiting 2 with empty stdout on non-hook-json check runs when [gate] on_engine_error = "block" (D-206, D-212). On Windows, Authenticode # SIG # Begin signature block trailers at the end of PowerShell scripts are excluded from the test-runner scan so signed Activate.ps1 files no longer block (D-207). On Linux and macOS, untracked interpreter links under bin/ or Scripts/ and lib64 -> lib inside a non-root virtual environment with a regular pyvenv.cfg (absent from HEAD and session base) are set aside in range-less checks and hooks unless a detector must read the path or pytest collection reaches it (D-208).

Real test names on projected Python findings, test-shaped file notes, and strict inert EOF appends to CLAUDE.md (D-210, #610/#616, D-211/D-213). Findings emitted from projected Python concrete, exception or local-auxiliary units (test_concrete_*, test_exception_*, test_local_auxiliary_*) now report the enclosing Python test's qualified name across term, json, sarif and hook-json (--emit-ir keeps qualname and adds source_unit on Unit), and non-transitioning edits to single-capture captured-result tests skip projection (D-210). Changed Python or JS/TS files that look like test modules but sit outside the zero-configuration parse gates now emit an analysis incomplete summary on stderr, term and SARIF toolExecutionNotifications without changing verdicts or --format json stdout (#610, #616). Modifying a tracked repository-root CLAUDE.md in place stays at warn (GUARDRAIL_ADDITIVE, binding "additive": True into its v2 fingerprint context) only when the edit is a strict inert end-of-file append separated by at least one blank line with clean UTF-8, clean EOF, verbatim frontmatter invariance, zero newly added Cf/Default_Ignorable code points, and no ---, 3+ fence characters, <!--/--> or [label]: opener on added lines; prepends, mid-file insertions, adjacent appends, edits, deletions, renames and all other guardrail files escalate to critical (D-211, D-213). Exemptions recorded against old synthetic test_concrete_* / test_exception_* / test_local_auxiliary_* keys or old non-additive CLAUDE.md keys must be re-recorded (upgrade notes).

CPython 3.12+ tokenize memory bound, fail-closed shadow AST bounds, and shared GitSnapshot reads (#607, #609, #613, #617, #618). syntax._chains drops retained TokenInfo.line copies and condenses complete non-chain lines past 2,048 characters while preserving multiline PEP 701 fr"..."/rf"..." f-strings, avoiding CPython 3.12.3's O(K * L) TokenInfo.line memory blowup; analysed Python parsing suppresses SyntaxWarning and DeprecationWarning; runtime-shadow helpers convert deep-AST RecursionError/MemoryError and parse_ok=False outcomes into EngineError; and CLI range/worktree checks reuse one resolved GitSnapshot across base policy, task contract, manifest reads and pytest config pairing.

The tag at the Action commit (D-200). As introduced in v0.12.0, annotated tag v0.13.0 points at the release's Action commit A (9ada8cfaa618b002b5d0d829c7ddbe1b8e8ae638) — the commit the GitHub README.md recommends as the Action pin once v0.13.0 is publicly verified — and names the release merge M (7d45814211bbb458d310607b3a241761c7d5f7e3) on one Release-Merge: line. The PyPI distributions and checkwash.pyz are built from M, whose doctor accepts both v0.12.0's pin and A; install the CLI from PyPI or checkwash.pyz rather than through Git from the tag, and upgrade the CLI before advancing the Action pin.

What was measured. On LAPTOP-01AGNPJU (HUMAN_AUTHORIZED_LOCAL_PJU_NOT_EC_POOL, Windows 11, CPython 3.11.9), the fixed 3,600-commit in-sample comparison (R29: 1,800 Python standard commits and 1,800 JS/TS commits) compared the published v0.12.0 zipapp (532f74ab) against the final 0.13.0 candidate src/ tree (cfd205d7): all 3,600 commits gave identical exit codes and identical --format json reports apart from run metadata (1,726 pass and 74 block on Python; 1,748 pass, 50 block and 2 unchanged symlink-refusal errors on JS/TS; 0 movements). The three uvloop failure-relay commits that v0.10.0 blocked pass with zero findings on both engines, and the 185-case verdict gate passed with 0 failures and 0 reported movements. An honest unit-less broad except in Python beside an opaque production change that D-190 does not prove a relay remains unmeasured in history; Antigravity accepts that risk for 0.13.0 only under delegation (0.13.0 disposition). These are in-sample counts, not a false-positive rate.

How it was released. Release-stage receipts (pr, main and tag before this Release; release-event and public-visitor after it) run on LAPTOP-01AGNPJU (Windows 11, CPython 3.11.9, HUMAN_AUTHORIZED_LOCAL_PJU_NOT_EC_POOL); native Linux, macOS and other Python versions are NOT_RUN in those stage receipts, accepted for 0.13.0 only under the maintainer's pre-1.0 delegation without changing the standing nine-leg contract. Alongside them, the full 23,358-test suite (23,425 JUnit items) passed on PJU across six isolated Windows 11 + WSL2 Ubuntu 24.04 Python 3.11/3.12/3.13 legs on R, and v0.13.0 runs the GitHub-hosted macos-latest (Apple silicon) and ubuntu-latest Python 3.11–3.13 + Linux composite Action verification (HUMAN_AUTHORIZED_GITHUB_HOSTED_NOT_PJU_RECEIPT, D-204) at M before the tag and on the published Release files before PyPI deployment review. Antigravity carried out this release on LAPTOP-01AGNPJU under Nelson's one-time 0.13.0 instructions and pre-1.0 delegation; Nelson approved the L1 remediations, the release merge and R29's empty movement list before the tag, and the pypi environment deployment waits for Nelson's own approval.

GitHub Release assets, PyPI publication and public-visitor verification follow as separate gated steps. The PyPI package description, built from M, still shows v0.12.0's install commands and Action pin until the public files are verified; the GitHub README and release/advertised.toml advance to v0.13.0 only after public-visitor and hosted-artifact verification succeed (release procedure). 1.0 readiness remains NOT_MET.

Checkwash v0.12.0

Choose a tag to compare

@taipei49314 taipei49314 released this 07 Nov 15:06

Checkwash v0.12.0 refuses repair evidence to weakened tests, reads mock.ANY as a tautology, and tags the release at its Action commit. The findings envelope stays at version 2 and the IR at version 3. Details are in the release guide, and the versioned known issues disclose the remaining limits. A pass is not a correctness guarantee.

Repair evidence refused (D-199). Up to 0.11.0, an edit that changes nothing, such as + 0 in a function a test calls, could hold a weakened test at warn, which passes at the default threshold (#419). In a Python test or conftest, a weakened, removed, skipped or loosened assertion, a deleted test, a stand-in for the code under test, a normalized subject, a changed subject input and an expectation derived from the input now take no repair evidence, as a broad except already did (D-176); in a JS/TS test, a weakened or loosened assertion, a broad catch, a skip added to a live test and a table left with no row to run take none. Each such finding blocks beside any production change, a no-op one included, unless another compensation holds it, such as a compatibility skipif, a mild weakening inside the exact family or a deletion beside a removed symbol; a finding that a production change reached is labelled REPAIR_EVIDENCE_REFUSED. This blocks honest changes too: a feature or deprecated API removed together with an assertion or a test on it, a test rewritten beside a behaviour change where checkwash reads the rewrite as a weakened or removed assertion, an optional-dependency skip (pytest.importorskip, a find_spec skipif) added beside the change that needs it, and a test moved unchanged to another file but now importing its subject from the module that defines it, beside a fix to the code it tests, a move checkwash does not credit. Each needs a reviewed exemption (checkwash allow, merged to the base first). Some weakenings still pass by default, among them a rewritten expected value or a substituted assertion beside a no-op edit, and in JS/TS a removed assertion or test; the known issues list them.

Three more holes, closed in part (D-201). An equality with unittest.mock.ANY as a whole operand is read as a tautology, so rewriting an expected value into ANY is ASSERT_WEAKENED, with or without a dependency bump. A single test's skip earns the compatibility credit only when its condition is provably false in some environment of the matrix (CPython 3.11 to 3.14 and PyPy 3.11, each platform's two machines) and the gates a change adds, with the gates the test had, still leave such an environment; checkwash now assumes that a part of the condition it cannot read may be true, where 0.11.0 let it stand in for false. assertEqual, or a bare assert ==, rewritten as assertCountEqual on the same subject is SUBJECT_NORMALIZED. This blocks honest changes too: a skip that joins a platform or version check by or to a dependency's version, an environment variable or another condition checkwash cannot read, a gate spelled in a way checkwash does not read, a gate that leaves a test running only on Pythons older than 3.11 or only on a machine or interpreter outside the matrix, an expected value made ANY because it became generated, and a test made order-blind on purpose with assertCountEqual. ANY reached through a parametrize column, a fixture, another module's constant or a call, or wrapped in another comparison, still passes beside a version bump or a production change; the known issues list these.

Exemptions across the upgrade. An expected value rewritten into ANY, which 0.11.0 reported as EXPECTATION_DEFINITION_CHANGED or not at all, is now ASSERT_WEAKENED, and an ordered equality rewritten as assertCountEqual is a new SUBJECT_NORMALIZED finding. These carry new fingerprints, so an exemption recorded for an old finding does not cover them (upgrade notes). Neither D-199 nor D-201's skip rule moves fingerprints, so an existing exemption still applies to the findings they now block. Values inside an IR can differ for the same input; the IR version stays 3.

The tag at the Action commit (D-200). From this release the tag points at the release's Action commit A (532f74ab070a924b23e2cc70e5d0091a05d8401d), the commit the README on main recommends as the Action pin once this release is publicly verified, instead of at the release merge M (ffaf4ed86ecc2baeb8cc008487a44d8495da9177); the tag message names M on one line, Release-Merge: <M>. The PyPI package and the pyz are built from M, whose doctor differs from A's only in its own Action pin line, set to A. Install the CLI from PyPI or the pyz: a CLI installed through Git from the tag is A's; it reports the same version, and its doctor rejects the release's own Action pin. check, the Action, pre-commit and the Claude Code hooks never import doctor, so they run the same at A and at M. The source archives on this page are A's tree. Pin updaters such as Dependabot and Renovate, zizmor and git ls-remote now see the recommended pin as the tag's commit (inferred from those tools' documentation, not run). v0.11.0 stays as published. doctor 0.11.0 accepts only v0.10.0's and v0.11.0's Action pins and rejects the 0.12.0 pin (exit 1), and doctor 0.12.0 accepts v0.11.0's pin and its own, so upgrade the CLI and its local hooks before the Action pin, as before. The release-event and public-visitor stages, which run after this Release is published, run under the new tag rule for the first time; a tag cannot be moved, so a failure there may cost a v0.12.1.

What was measured. The fixed-corpus comparison checked 3,600 in-sample commits on LAPTOP-01AGNPJU (Windows, CPython 3.11.9, HUMAN_AUTHORIZED_LOCAL_PJU_NOT_EC_POOL), with the published v0.11.0 zipapp and with the candidate engine. No commit moved from block to pass, or to or from an error; 19 moved from pass to block (8 Python, 11 JS/TS). Eighteen are the commits D-199 listed when it measured its cost, among them deprecated APIs or a dependency removed with assertions on them, tests rewritten or skipped beside a behaviour change or a new default, and three security-advisory fixes whose tests now assert the corrected, opposite behaviour; the nineteenth adds a Python 3.14 skip to four tests already skipped on 3.11 to 3.13, which then run only on Pythons older than the matrix (D-201). Twelve more commits kept their verdict with different reports. On D-088's 1,263 skip, xfail and conftest commits, measured on earlier main commits, D-199 moved 53 from pass to block and D-201 2 more, none adjudicated. Neither set holds an == ANY or an assertCountEqual rewrite, so those rules' cost is unmeasured. An honest broad except around an assertion in a Python test or conftest, beside an opaque production change, still blocks unless checkwash proves it a failure relay, as in 0.11.0; how often history holds one is not measured, and Claude accepts that risk for 0.12.0 only, as a delegated decision. The verdict gate reports one case labelled pass that now blocks: a JS/TS expect(value).toBeNull() rewritten as expect(value).to.exist beside a production change, which v0.11.0 held at warn by repair evidence and D-199 now refuses. The gate reports such a move without failing; the label, written before D-199, has not been revisited. The three uvloop inputs that v0.10.0 blocked still pass with no finding. These are in-sample outcome counts, not a held-out or adjudicated false-positive rate.

How it was released. Release evidence for every stage is collected on LAPTOP-01AGNPJU (Windows, Python 3.11.9) and recorded as HUMAN_AUTHORIZED_LOCAL_PJU_NOT_EC_POOL: the pull request, main and tag stages before this Release, and the release-event and public-visitor stages after it. Native Linux, macOS and other Python versions are NOT_RUN for the release receipts; that gap is accepted for v0.12.0 only under the maintainer's pre-1.0 delegation and does not change the standing release contract. Separately, on the same machine, the full test suite passed on the release merge M's tree in six local legs (Windows CPython 3.11, 3.12 and 3.13, and Linux CPython 3.11, 3.12 and 3.13 in Docker), and the six corpus outputs were byte-equal; that run is supplementary evidence, not a release receipt, and macOS was not run. Claude (Claude Code) carried out this release under that delegation. The maintainer approved the release merge and reviewed the comparison's 19 moved commits and the gate's reported case before the tag, and the PyPI deployment waits for the maintainer's own approval.

GitHub assets, PyPI publication and verification of the actual public bytes are separate steps. The PyPI description, built from M, shows the install commands and Action pin of v0.11.0, the release verified before this one; the README on GitHub moves them to 0.12.0 once the public files are verified. The advertised CLI and Action pins advance from v0.11.0 only after public artifact and visitor verification, as the release procedure requires.

Hosted verification after publication (2026-11-11). This Release's files were checked again on GitHub-hosted macOS (Apple silicon) and Linux with Python 3.11 to 3.13: the published wheel and pyz ran and passed, the sdist passed its file checks, and the Action passed on Linux. On macOS, 13 tests of the maintainer's release tooling fail when checkwash's own test suite runs from this release's source, because the default temporary directory there sits under the /var symlink, which that tooling refuses; the CLI, the Action and the hooks do not use that code, and main has fixed the tests for the next release. ...

Read more

Checkwash v0.11.0

Choose a tag to compare

@taipei49314 taipei49314 released this 03 Nov 20:28
3455530

Checkwash v0.11.0 adds an edit-time ask for Claude Code, reads failure relays, and lets a release's doctor accept its own Action commit. The findings envelope stays at version 2 and the IR at version 3. Details are in the release guide, and the versioned known issues disclose the remaining limits. A pass is not a correctness guarantee.

Claude Code hooks (D-189). checkwash hook install --agent claude-code now adds a PreToolUse handler: when an Edit, Write or MultiEdit of a Python test file would leave a finding of ASSERT_WEAKENED, ASSERT_REMOVED, TEST_DISABLED, TOLERANCE_LOOSENED or BROAD_EXCEPT_ADDED at high or above, with oracle_freeze forced, the hook asks you before the edit is made. It asks on no other rule, so an expected value rewritten to match the current output goes ahead, and an edit made through Bash never reaches it. Under the default on_engine_error, an edit it cannot analyse, or cannot analyse within 30 seconds, goes ahead with only a systemMessage, and one whose resulting bytes it cannot predict is left to Claude Code's normal permission flow. In a claude -p run nobody can answer, so Claude Code denies such an edit; one pre-registered lifecycle run exercised this, for one Edit in -p mode only, and the interactive prompt is not verified. The hooks now go to .claude/settings.local.json by default; --shared writes .claude/settings.json, with no PreToolUse handler. With neither flag, a repository whose .claude/settings.json already holds checkwash's managed Stop or SessionStart handler, as 0.10.0's default install left it, makes the install exit 2: pass --shared to update it there, or --local to add machine-local settings beside it. The Stop block no longer offers an exemption command: it tells Claude to fix the production code or to report the finding to you, and a continuation stop on the same blocking set is released with a note instead of being blocked again. Both hooks are author-side checks; the required CI check remains the gate.

Verdict changes. A broad except in a Python test that hands the failure unchanged to an asyncio future the test awaits, as uvloop's regression tests do, is no longer counted as an added swallow, within the bounded shape SPEC section 4 reads (D-190); honest relays outside that shape still report BROAD_EXCEPT_ADDED, for example one on a loop from asyncio.get_running_loop() or any relay in a file that uses mock.patch. A lone pytest.raises carrier folded into a literal parametrize table is proved like an assertion, so an honest fold can keep its credit; a test whose parametrize cells never reach it as written gets no assertion keys, so such a fold or move now blocks at high unless the complete unit moved unchanged (D-192). A moved or folded Python test pays for the test it replaces only where the repository's own pytest configuration certainly collects it, and where checkwash cannot read that selection (a -k in addopts, for example) no Python move or fold earns credit (D-193). #419 closes as a documented residual, not a fix (D-191): a weakened Python or JS/TS test beside an edit that changes nothing can still pass at the default threshold.

The Action pin (D-194, D-196). Once this release is publicly verified, the README on main recommends the release pull request's content commit, v0.11.0^2^1 (the tag's second parent's parent, 257150319fca15235185fc629d8b9c21c17166ca), as the Action pin, not the commit the tag points to (34555301de3d5ea4b2c8e4470b797a06d0a1e395). The two differ only in doctor's own pin line, which the pull request's last commit set to the content commit, and the Action runs the same check at either: it runs only checkwash check, which never imports doctor, though no release stage runs the Action at the content commit itself. doctor 0.11.0 accepts v0.10.0's pin and its own; doctor 0.10.0 rejects the 0.11.0 pin, so upgrade the CLI and its local hooks before the Action pin. Pin updaters such as Dependabot and Renovate will propose the tag's commit, which doctor rejects, and zizmor's ref-version-mismatch audit can report the pin's comment (inferred from those tools' documentation, not run). In a clone, git -C checkwash diff 'v0.11.0^2^1' v0.11.0 shows the one changed line, in src/checkwash/doctor.py.

What was measured. The fixed-corpus comparison checked 3,600 in-sample commits with actual v0.10.0 and with the candidate engine: every exit code was identical, and no report differed apart from run metadata (the reports were compared during the run but not kept). On these commits the 0.11 changes alter no verdict and no report, so the comparison measures none of their new blocks or new passes; the known issues name them. Separately, in a targeted run on the three uvloop inputs that v0.10.0 blocked, the candidate passes each of them with no finding. These are in-sample outcome counts, not a held-out or adjudicated false-positive rate.

How it was released. Release evidence for every stage is collected on LAPTOP-01AGNPJU (Windows, Python 3.11.9) and recorded as HUMAN_AUTHORIZED_LOCAL_PJU_NOT_EC_POOL: the pull request, main and tag stages before this Release, and the release-event and public-visitor stages after it. Linux, macOS and other Python versions are NOT_RUN for the release receipts; that gap is accepted for v0.11.0 only under the maintainer's pre-1.0 delegation and does not change the standing release contract. Separately, on the same machine, the full test suite passed on the release's source tree in six local legs (Windows CPython 3.11, 3.12 and 3.13, and Linux CPython 3.11, 3.12 and 3.13 in Docker), and the six corpus outputs were byte-equal; that run is supplementary evidence, not a release receipt, and macOS was not run. Claude (Claude Code) carried out this release under that delegation. The maintainer approved the release merge and reviewed the fixed-corpus comparison's empty list before the tag, and the PyPI deployment waits for the maintainer's own approval.

GitHub assets, PyPI publication and verification of the actual public bytes are separate steps. The advertised CLI and Action pins advance from v0.10.0 only after public artifact and visitor verification, as the release procedure requires.

Checkwash v0.10.0

Choose a tag to compare

@taipei49314 taipei49314 released this 27 Oct 19:23
1006997

Checkwash v0.10.0 binds policy changes to reviewed BASE and requires source-bound proof before relocated test oracles earn credit. A newly winning .checkwash config or allowance is compared with the BASE .greenwash predecessor, so HEAD cannot authorize its own relaxation; relative --task addresses resolve from --repo; and moving assertion text, keeping assertion mass or keeping a test name no longer proves the same oracle. The IR contract advances to version 3 (policy_shadows); the findings envelope stays at version 2. Details are in the release guide and the repair integration record.

Before the final chain, a review of the candidate fixed three defects, each with regression tests: worktree and Stop checks no longer list the whole working tree on every run, an empty file renamed into priority policy is compared with BASE, and oracle-context line tables count lines the way ast does. The versioned known issues disclose the remaining limits. D185 records eight golden and four frozen-corpus compatibility movements; CASE_020_windows and CASE_029_flatten remain known legitimate-refactor false blocks. A pass is not a correctness guarantee.

The fixed-corpus comparison ran on 3,600 in-sample commits (actual v0.9.0 against the candidate engine), and after the review fixes a same-host differential gave results identical to the reviewed candidate on all 3,600; a scan found no member that the last CRLF correction can affect. These are in-sample outcome counts, not a held-out or adjudicated false-positive rate.

Release evidence for every stage was collected on LAPTOP-01AGNPJU (Windows, Python 3.11.9), recorded as HUMAN_AUTHORIZED_LOCAL_PJU_NOT_EC_POOL. Linux, macOS and other Python versions are NOT_RUN for this release; that gap is accepted for v0.10.0 only under the maintainer's pre-1.0 delegation and does not change the standing release contract. This release was carried out by Claude (Claude Code) under that delegation.

GitHub assets, PyPI publication and verification of the actual public bytes are separate steps. The advertised CLI and Action pins advance from v0.9.0 only after public artifact and visitor verification, as the release procedure requires. The unpublished v0.9.1 tag remains unchanged.

Checkwash v0.9.0

Choose a tag to compare

@taipei49314 taipei49314 released this 22 Oct 16:48
d6eda4f

Checkwash v0.9.0 adds the Claude Code session-start commit window, content-bound TEST_DISABLED exemptions, broader Python and JS/TS assertion readings, and clearer handling of oversized or unreadable input. It includes the merged fixes documented in the release guide.

The #419 opaque-change refusal is turned off for this release after its declared sweep stop. A no-op opaque production edit can still hold affected oracle findings at warn; #419 remains open. The versioned known issues disclose this and the remaining detection and false-block costs. A pass is not a correctness guarantee.

The maintainer accepted the composed fixed-corpus comparison on 3,600 in-sample commits with an empty mandatory movement list. The declared sweep and supplement completed their executed batches, the actual /clear receipt passed c1–c8, and the historical #416 wrong-blob false pass was reproduced on the two old engines. Omitted/stopped arms, retained errors, census timeouts and source-review limits remain recorded; these results are not a held-out or adjudicated false-positive rate.

GitHub assets, PyPI publication and verification of the actual public bytes are separate steps. The advertised CLI and Action pins advance only after public artifact/visitor verification, as the release procedure requires.

CheckWash v0.8.0

Choose a tag to compare

@taipei49314 taipei49314 released this 15 Oct 17:00
f02b5d8

v0.8.0

The Action no longer runs code from the pull request it judges (#372, #375).
Every published Action up to and including v0.7.0 is affected; see the
advisory.
Python 3.11+ and Git are required.

This is a minor release because one frozen contract changes: with
check --format hook-json (the Claude Code Stop hook), an engine error now
exits 0 with a "not analysed" systemMessage and no decision, where v0.7.0
exited 2 (#414, D-134). Every other format keeps exit 2. The finding JSON
(version 2), the IR, the rule IDs, the severity model and the fingerprint
scheme are unchanged.

Also in this release:

  • Commands run from a subdirectory read the repository from its root (#416).
  • Oversized files that no detector reads are carried unread instead of
    stopping the run, fixing the v0.7.0 regression; must-read paths still refuse
    and now name path, side, size and limit (#415).
  • Working-tree directory symlinks are opaque directories (#414).
  • New high findings: a conftest that forces pytest's exit status (#422), a
    conftest no-op swapped in for what pytest runs (#432), and a JS/TS catch
    whose only assertion is proved always to pass (#431).
  • Runs that used to stop with exit 2 now give a verdict: deep string and
    binary expressions, large test files, symlinked or dormant pytest configs
    (#374, #441, #345, #346).

The acceptance sweeps and the corpus sweep have not run; the maintainer chose
to publish first and run them on the pool afterwards. The false-positive cost
of the new findings is therefore unmeasured.

Release evidence and limits
· Known issues
· Download checkwash.pyz

Exit 0 passes the configured gate; exit 1 blocks; exit 2 is an analysis or
input error (except the hook-json engine error above). Retain stderr: it is the
only place that names a side checkwash did not read. The README's install
commands and recommended Action move to v0.8.0 after the publication checks;
a CLI upgrade does not re-pin downstream repositories. A pass does not prove
correctness or honesty.

CheckWash v0.7.0

Choose a tag to compare

@taipei49314 taipei49314 released this 12 Oct 07:17
d647a65

v0.7.0

Bounded imported-helper skip guards, strict Git input failure handling and
supported synchronous JS/TS catch-swallowing detection, plus the Python, JS/TS
and CI changes merged since v0.6.0. Python 3.11+ and Git are required.

The fixed preparation accounts for 6,071 pairs / 12,142 arms: 4,271 Python pairs
against main35 and 1,800 JS/TS pairs against original v0.6.0. Candidate errors
are 159 versus 105 baseline errors: 54 additional analyzed-coverage losses remain
errors. Known compatibility/rename/alignment noise, all raw findings and legacy
UNKNOWN are retained; the nonblind cohort is not a general FP-rate estimate.

Both-analyzed candidate-minus-baseline CLI elapsed median/p95 increases are
Python +2.4827/+7.4827 seconds and JS/TS +2.1435/+7.9754 seconds. Full populations,
phase overlap and mixed max_parallel2/6 limits are disclosed; no #357-only or
scheduling causal claim is made. The maintainer accepted the recorded cost,
coverage losses and bounded risks.

Release evidence and limits
· Known issues
· Download checkwash.pyz

Exit 0 passes the configured gate; exit 1 blocks; exit 2 is an analysis/input
error. Retain diagnostics. The JSON finding interface remains version2.
The recommended Action keeps its published v0.6.0 pin; a CLI upgrade does not
re-pin downstream repositories. A pass does not prove correctness or honesty.

CheckWash v0.6.0

Choose a tag to compare

@taipei49314 taipei49314 released this 05 Oct 16:14
8c70efb

CheckWash v0.6.0 — the rulings on #196–#261, shipped before the next round

v0.6.0 ships what main carried since v0.5.0. The maintainer ruled on
reports #196–#261 between 2026-10-03 and 2026-10-05, and PRs #194–#265
worked those rulings through. On 2026-10-05 the maintainer chose to release
them before starting the next fix round. These shapes now reach the existing
detectors:

  • a previous-release verdict gate on every pull request, on main and on the
    release tag (#201);
  • JS/TS test files whose path resolves to another role keep their test
    obligations (#197);
  • JS assertion meaning across Jest, chai, Vitest and node:test APIs: an
    inverted, widened or reversed predicate, or a changed expected value or
    tolerance (#198);
  • only collection controls withhold the collection inventory (#199);
  • runner evidence for moved tests and focus, and test-support directories
    take the test role (#196, #217);
  • JS stand-ins and bounds: vi.mock scope, per-test stand-ins, spies
    replaced later, and every write to a bound (#196, #240);
  • hand-rolled tolerances in both Python and JS (#196, #225);
  • JS throw, property, membership and type checks (#196);
  • CI: runner sites, dead triggers, and a config whose head side cannot be
    read, which is reported as CI_BECAME_UNANALYSABLE (#196);
  • pytest selectors, judged against targeted runs (#196);
  • skip guards removed, or carried in a fixture or xunit setup (#196);
  • D6 per marker, and conftest hooks judged by their guard (#208, #209);
  • every pytestmark spelling (#260);
  • a guard removed from an existing suite-level control (#261).

THREATMODEL rows and DECISIONS entries D-064 to D-092 record each boundary,
its pins and its residuals.

Upgrading. This is a minor release
(D-092).

  • Unchanged: the finding JSON shape, the rule IDs, the severity contract and
    the exit codes.
  • New in the findings: one escalator, CI_BECAME_UNANALYSABLE, and one
    shape value, inert_mark.
  • New in --emit-ir: optional fields; IR_VERSION stays 2.
  • New fingerprints: some existing findings now carry a different one, so an
    allowlist entry recorded on v0.5.0 for one of those shapes must be recorded
    again.
  • Changed verdicts: some changes that passed now block, and some that blocked
    now pass.

The
release guide
lists the fingerprint changes and the verdict changes.

Source: 8c70efbf93975bf3210acb8eafbaf4b38044a770, the merge commit of #267.

Actual-tag CI
(run 37337702989):
passed every job.

  • Tests: 14,097 passed on each Linux and Windows leg. On each macOS leg,
    14,095 passed and 2 were skipped. The 2 skipped tests are the performance
    budget checks, which stay paused on macOS by maintainer decision.
  • Other jobs: install-from-tag, self-dogfood and the nine-leg corpus byte
    comparison also passed.

Verdict gate (#201), each run concluded success on attempt 1:

The baseline is v0.5.0 (24b60a2).

Assertion qualification on the tag
(run 37337702953)
passed 283/283 for each of source, wheel and pyz.

The recommended Action advances to v0.5.0
(24b60a2019a5900291ecb35ab8290f34af2d5438) under the one-release trust lag.
That pinned engine also passed 283/283. The v0.5.0 Action does not contain
this release's changes.

Fixed 1,800-commit Python sweep. Compared with v0.5.0, the release engine:

  • blocks the same 48 commits;
  • moves no verdict;
  • errors on none.

One passing rich commit gains five warn findings: a Python 3.14 skipif
bound to a name and applied through it (D-090). These commits are an
already used regression window, not a held-out measurement.

Not measured for this release:

  • No independently selected JS/TS history replay was run
    (#212), so the
    false-positive cost of the new JS/TS blocks is unmeasured.
  • Known open reports remain open, among them
    #223,
    #254,
    #263 and
    #266.
  • The legacy v0.3.3 quality byte comparison keeps its disclosed
    cross-version mismatch.

Checkwash remains alpha. A pass does not prove correctness or honesty.

With Python 3.11+ and Git:

pipx install checkwash==0.6.0
checkwash --version
checkwash demo
checkwash check HEAD~1..HEAD --format json --coverage-report coverage.json

Exit 0 means no blocking finding, 1 means a blocked change, and 2 means an
analysis/input error.

The published release workflow
built and attached the artifacts from 8c70efbf93975bf3210acb8eafbaf4b38044a770.
It passed 283/283 in each of its source, zipapp and fresh-venv wheel
qualifications. Its pypi job published the wheel and the sdist through
trusted publishing. The SHA256 digests and sizes that PyPI reports for 0.6.0
equal the GitHub assets. They were compared through the GitHub and PyPI APIs;
the published artifacts were not downloaded or executed for this record.