Govern Claude Code's changes in real time — with signed receipts.
The Claude Code plugin for signetry-core: Signetry decides how much authority an agent's change has earned and proves it. This plugin brings that governance inside Claude Code — enforced by deterministic code, never by the model itself (an agent can't approve its own change).
Part of the Signetry platform.
Prerequisite:
pip install "signetry-core @ git+https://github.com/Signetry/core@v0.8.0"and a.signetry/admission.yamlin your repo (a conservative default applies without one).
A PreToolUse hook runs before every Edit / Write / Bash and blocks
out-of-scope or forbidden actions before they happen — using signetry guard
(deterministic, not the model). It bundles the Signetry MCP server and an
/signetry:admit skill for on-demand full admission with a signed receipt.
- Agent tries to edit
deploy.yml/.env/ a secret, or runcurl … | bash/git push→ blocked with a reason, before it happens. - Agent edits an in-scope file → allowed silently.
/signetry:admit→ runs the full admission pipeline and returns an Admission Decision Pack + signed receipt.
/plugin marketplace add Signetry/claude-code
/plugin install signetry@signetry-claude-code
Or test locally: claude --plugin-dir ./signetry
signetry/.claude-plugin/plugin.json— plugin manifestsignetry/hooks/— thePreToolUseguard + session-start hookssignetry/scripts/signetry-mcp.sh— launches the Signetry MCP serversignetry/skills/admit/SKILL.md— the/signetry:admitskillsignetry/.mcp.json— MCP server registration
Beyond the editor guard, signetry-core can find vulnerabilities and govern the fix:
signetry scan . # SAST over the repo (7 languages, SARIF), offline & free
signetry scan . --fix --fix-agent claude-code # draft a governed fix → admission → signed receipt--fix is bring-your-own-key (your ANTHROPIC_API_KEY, never shared, redacted
from every artifact) and opens branch-only PRs — never merges. See
signetry-core: AUTOFIX_SETUP.md.
- Fail-closed on admit; the soft guard may fail open only with a loud
INACTIVE. - Never auto-merges.
auto_mergeis always false — a human merges. - Governance logic lives in
signetry-core; this plugin never reimplements policy.
See SECURITY.md · PRIVACY.md · umbrella overview.
Apache-2.0. Use it, fork it, ship it commercially — no strings.
This repository is part of Signetry's open-core model:
the integration surface is Apache-2.0 so anyone can add an agent, an editor, or a
CI adapter, while the engine (Signetry/core) is
source-available under BUSL-1.1 and converts to Apache-2.0 on 2030-08-31.
Contributions are accepted under the CLA — it lets us move a well-built adapter into the engine later without asking every contributor for permission again.