Repository navigation
Countercheck v0.2.1
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 CodeSessionStart, Hermes
on_session_start). The stop hooks locked the checks toHEAD, so an agent that committed an edit to a
protected test or tochecks.tomlmoved 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 = trueon 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 exampleexamples/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