The team as a wholeRisk · high confidence
Conflicting instructions between CLAUDE.md and a subagent
Conflicting directive: Two files give opposite instructions on the same policy.
Why it matters
Rules are often written twice: once for the whole team in CLAUDE.md and again, later, in one agent file. When the two drift apart, an agent that does exactly what its file says breaks the team rule – and nothing tells you which one it will follow.
An agent that follows its own file breaks the team rule, or two agents act on opposite instructions.
An example that triggers it
A small Claude Code project. The marked lines are the ones the check cites.
.claude/agents/release-manager.md---name: release-managerdescription: Prepares and ships releases. Use when a version is ready to go out.tools: Read, Bashpersona: Noor---You are Noor, the release manager. ## Your job- Cut the release and deploy it after the smoke test.- Push every urgent production fix directly to `main` and deploy it the same hour. ## Boundaries- Never skip the release checklist.CLAUDE.md# Team rules - Never push directly to `main`: every change goes through a pull request.What Crafthall HQ reports
The output of /crafthall-hq:open --report on this example, generated by the plugin's own check when this page was built.
1. [high] Conflicting directive – .claude/agents/release-manager.md:11 Noor is told to "Push every urgent production fix directly to main and deploy it the same hour.", while CLAUDE.md says "Never push directly to main". An agent following its own file breaks the other's rule. Fix: Decide which rule holds, fix the outlier file, and keep the rule in one place that agent files link to.
How to fix it
Decide which rule holds, change the outlier, and keep the rule in one place (CLAUDE.md) that agent files link to instead of restating it.
.claude/agents/release-manager.md---name: release-managerdescription: Prepares and ships releases. Use when a version is ready to go out.tools: Read, Bashpersona: Noor---You are Noor, the release manager. ## Your job- Cut the release and deploy it after the smoke test.- Open a pull request for every urgent production fix and deploy it the same hour once it is merged. ## Boundaries- Never skip the release checklist.Run on the fixed project, the check reports nothing for this rule.
How the check works
Lines of every file were classified as allowing or forbidding a known policy; both sides appear (read from wording). It reads your files with text patterns, on your machine – no model, so the same files give the same result every run.
Check your own team
Install the free plugin, then run /crafthall-hq:open in your project. It runs all checks, not only this one.
claude plugin install crafthall-hq --marketplace crafthall/plugins