henriquesakata/cerne
Living documentation for AI-assisted projects: your agent reads only what is current. Single binary, git-backed.
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 35/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit henriquesakata/cerne/.claude ./rig-cerne # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit henriquesakata/cerne/internal/skills/cerne-authoring .claude/skills/cerne-authoring $ npx degit henriquesakata/cerne/internal/skills/cerne-self-learning .claude/skills/cerne-self-learning
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/henriquesakata/cerne/main/.claude/agents/code-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/dev.md https://raw.githubusercontent.com/henriquesakata/cerne/main/.claude/agents/dev.md $ curl -fsSL --create-dirs -o .claude/agents/gauntlet-prep.md https://raw.githubusercontent.com/henriquesakata/cerne/main/.claude/agents/gauntlet-prep.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Write",
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/no-new-case-dir.sh\""
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/go-precommit-build.sh\""
}
]
},
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-work-gate.sh\""
}
]
}
]
}
} Skills (2)
Subagents (3)
| code-reviewer model: sonnet | Fresh-context reviewer for cerne (Go CLI + embedded React UI). Use to review a feature's diff against its spec's numbered criteria, for correctness only. Never reviews code it built. |
| dev model: sonnet | Senior implementer for cerne. Use to implement one approved feature (F-NNNN) delegated by the tech lead, following its plan.md, with strict TDD, focused tests, a draft PR and a result.md with evidence |
| gauntlet-prep model: sonnet | Prepares the two sides of a cerne Gauntlet round and the blind judge's file — throwaway fixtures, identical scripts per side, masked transcripts — so the tech lead only reviews and spawns the judge. N |
Hooks (10)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-register-reminder.sh" |
| PreToolUse | Write | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/no-new-case-dir.sh" |
| PreToolUse | Bash | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/go-precommit-build.sh" |
| PreToolUse | Edit|Write | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-work-gate.sh" |
| PostToolUse | Bash | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/register-reference-reminder.sh" |
| PostToolUse | Bash | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-work-bind.sh" |
| SubagentStart | * | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-subagent-context.sh" |
| Stop | * | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-stop-closeout.sh" |
| PreCompact | manual|auto | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-precompact.sh" |
| UserPromptSubmit | * | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/cerne-prompt-notes.sh" |
Permissions
deny (0)
—
ask (0)
—
allow (16)
mcp__plugin_context-mode_context-mode__ctx_search
Bash(cerne show *)
Bash(cerne status)
Bash(cerne status *)
Bash(cerne brief)
Bash(cerne brief *)
Bash(cerne ask *)
Bash(cerne note list)
Bash(cerne note list *)
Bash(cerne work list)
Bash(cerne work list *)
Bash(glab mr list *)
Bash(glab mr view *)
Bash(glab ci list *)
Bash(glab ci view *)
Bash(glab ci status *)
Similar rigs
AlejoPH03/roundtrip-travel-app
Social travel app prototype: friends' trips on a 3D globe, trusted recommendations and group trip planning. Vanilla JS, no build step.
Minimalist 1.6k tok · · Q3
berni23/laight
Run teams of coding agents in tmux from YAML workflows, with one queue for every human decision.
Pragmatist 8.3k tok · · Q35
lgamorim/claude-rules
Opinionated Claude Code rules for .NET and C# with conventions, architecture guidance, and guardrails for idiomatic, production-ready code.
Pragmatist 4.2k tok · · Q3
AizenvoltPrime/claude-setup
—
Pragmatist 1.2k tok · · Q31