Skip to content

Countercheck v0.2.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 16:19
· 50 commits to DEV since this release
Immutable release. Only release title and notes can be modified.

Upgrade note: add the new session-start hook next to your existing stop hook (snippets in the README, "Agent
hooks"). Without it, hooks behave as in v0.2.0.

  • Security: countercheck hook session-start (Claude Code / Cortex Code SessionStart, Hermes
    on_session_start). The stop hooks locked the checks to HEAD, so an agent that committed an edit to a
    protected test or to checks.toml moved the "locked" rules with it and was let through. The new hook records the
    commit each session started from (in .git/countercheck/sessions/), and the stop hooks lock the checks to it.
    Add it to your hook settings (README "Agent hooks"). The benchmark was not affected: it pinned the base with
    COUNTERCHECK_BASE.

  • network = true on a check lets it use the internet under the macOS sandbox (writes stay confined; the receipt
    marks it). A check that fails while running without the internet gets a hint; the verdict stays FAILED, so a
    worker can't soften a failure by making a blocked network call on purpose. This removes the benchmark's only
    false alarms (checks that call a real website). The hint only appears when the output looks like a connection
    error.

  • Contributors: docs/architecture.md (the rules and one run step by step), step-by-step guides in
    .claude/skills/, a new example examples/ml-eval-threshold/, DCO sign-off for pull requests.

Install / upgrade: brew upgrade countercheck · pip install -U countercheck · uvx countercheck@latest · curl -fsSL https://raw.githubusercontent.com/datacrate360/countercheck/PROD/install.sh | sh