/agents / critic-bug
critic-bug
Detects bug patterns: off-by-one, error-swallowing, unchecked Result/Option, race conditions in shared state. Read-only.
| tier | T2 |
| category | atomar |
| writes? | read-only |
Agent({
subagent_type: "critic-bug",
prompt: "<your task>",
isolation: "worktree"
})# on fork, .claude/agents/<id>/ contains: spec.md # prompt verbatim plan.md # phases + verify-criteria progress.json # {ts,phase,pct,note} every 30s chatlog.md # rolling transcript handoffs.md # sub-agents + branches review.md # self-review on completion
# orchestrator at completion $ kei-ledger validate <agent-id> $ git merge --no-ff agent/critic-bug-1714291200 $ git push forgejo HEAD # or squash / reject / defer per AskUserQuestion
other T2 agents
critic
Ruthless code critic finding anti-patterns, tech debt, security issues, bugs, and performance traps. Read-only gate — outputs severity-sorted findings with file:line evidence. No fixes, only reports.
critic-anti-pattern
Detects code anti-patterns: god classes, deep inheritance, shotgun surgery, primitive obsession. Read-only.
critic-perf
Detects performance traps: N+1 queries, allocator hot loops, blocking-in-async, unbounded retention. Read-only.