Controls - xsyetopz/claudetto GitHub Wiki
This page lists each hook, guard, cap, and notice of claudetto. Each row names the incident that the control exists for and the condition that removes it.
| Slice | Control | Incident | Remove When |
|---|---|---|---|
claudetto/agents |
roster and agent offer |
A call to Agent with no subagent_type needs a default, and the built-in agents add text to the request (see Agents). |
Claude Code lets a plugin set the roster and the default with no hook. |
claudetto/decide |
AskUserQuestion pick |
The user had to answer a choice that the project or Jev settles (trim design, decision 9, and D66). | Claude settles such a choice from the project with no hook. |
claudetto/goal |
check command and Stop hook |
The built-in evaluator reads only the conversation, so it cannot run a check (trim design). /goal is now one check command that the Stop hook runs. |
The built-in /goal runs checks. |
claudetto/ground |
source check |
Claude wrote a number, a file:line reference, or a convention (npx in a bun project) with no source (trim design, step 9). |
Claude cites only sources that exist, shown by a replay with no false claim. |
claudetto/guard |
permission gate |
The settings lists cannot read a command, so they cannot tell rm -rf node_modules from rm -rf src (see Guard). |
Claude Code reads a command and the git state of its paths in its own rules. |
claudetto/hygiene |
session cleanup |
Claude Code leaves fswatch-probe-* folders (anthropics/claude-code#104170), and old session files stay (see Session Hygiene). |
Claude Code removes them. |
claudetto/hygiene |
edit ledger |
Claude cannot know that a file changed after its last edit when the user or a tool changed it (see Session Hygiene). | Claude Code tells Claude when a file changes. |
claudetto/handoff |
compact answer |
A compaction costs much and loses the state of the work (trim design, decision 6). | Claude Code compaction keeps the state at the same cost. |
claudetto/handoff |
second compaction update |
The first handoff H1 stayed inside H2 at a second compaction (commit 9914887a, D46). |
The compact answer is removed. |
claudetto/handoff |
model switch warning |
A /model switch drops a warm prompt cache, and the new model writes the whole context again (D47). |
The built-in confirmation of Claude Code shows the cost of the cache write. |
claudetto/prompt |
main agent body |
The built-in prompts are bad (the user, trim decision 3). | Claude Code ships a short prompt that needs no tailor. |
claudetto/prompt |
context, tool, and attachment cuts |
The built-in prompts are bad (the user, trim decision 3). | Claude Code has a setting for each cut. |
claudetto/reply |
reply button |
the user copied messages of Claude by hand to answer them (the user, 2026-10-18) | Claude Code has its own action that quotes a message in the prompt. |