JW53222/faultseed

JW53222★ 0Python最后同步: 2026-08-20

在 GitHub 打开

Nine deterministic hooks that block a coding agent from weakening tests, swallowing errors, or stubbing type checks — each backed by a planted-failure test proving the guard can actually fire. Runs on Claude Code and DeepSeek Harness.

README 摘要

faultseed Deterministic Claude Code hooks that stop a coding agent from faking progress: weakening a test, swallowing an error, deleting a test through the shell, declaring a method that only exists to the type checker. Nine guards ship in this pack. Each one is a subprocess that reads one JSON event on stdin and answers with its exit code — not a linter you run afterward, not a prompt you hope the agent reads, but a gate that refuses the tool call before it happens. Nine guards, nine wired hooks — the default install wires those and nothing else. One further hook ships but is not wired by default: integrator transcript compactor.py , which is not a guard (it never blocks a tool call). It archives and prunes transcripts on PreCompact and, when GUARDRAILS INTEGRATOR ROLE is set, writes into /.claude/ . It was excluded from the default target on exactly that reasoning: a guard pack's default install should not wire a non-guard that writes to your home directory. Opt in by adding it to your own docs/hook-manifest.yaml target; INSTALL.md says what it does. The doctrine A gate never proven to fail is indistinguishable from a gate that cannot fail. Every guard in this pack ships with a t…

在 GitHub 查看完整 README →
Agent/智能体agent-safetyagent-testingai-agentsclaude-codecordisdeepseek-harnessdshdsh-plugin

分类