Skip to content
Crafthall HQ

The team as a wholeRisk · medium confidence

Unclear rules for borrowing agents between teams

Cross-team boundary unclear: Files disagree on which agents one team may borrow from another, and for what.

Why it matters

Larger setups split agents into teams and let one team borrow another's agents. If the charter says "for evaluation only" and CLAUDE.md says "to build prototypes", nobody can tell whether a borrowed agent may change code.

Nobody can tell which agents one team may borrow from another, so a build may stall or go to the wrong team.

An example that triggers it

A small Claude Code project. The marked lines are the ones the check cites.

BeforeCLAUDE.md
# Team rules The research team may borrow backend-developer to build prototypes.
Also in the projectdocs/teams/research.md
# Research team Research borrows backend-developer and qa-engineer for evaluation only.
Also in the project.claude/agents/backend-developer.md
---name: backend-developerdescription: Builds API endpoints. Use when a task needs server code.tools: Read, Write, Edit, Bashpersona: Sam---You are Sam. Run the tests before you hand back; never change the database schema yourself.
Also in the project.claude/agents/qa-engineer.md
---name: qa-engineerdescription: Tests features before release. Use after a feature is built.tools: Read, Bashpersona: Lin---You are Lin. Never fix code yourself; report failures to backend-developer.

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.

claude › /crafthall-hq:open --report
1. [high] Cross-team boundary unclear – CLAUDE.md:3
2 statements about borrowing agents across teams disagree: the purpose differs (build vs evaluation only). Nobody can tell whether a borrowed agent may build, or only evaluate.
Fix: Write the borrowing rule once (team charter), list the agents and what they may do, and link to it from the other files.
Real output on the example above.

How to fix it

Write the borrowing rule once – which agents, and what they may do – and make every other mention say the same thing or link to it.

AfterCLAUDE.md
# Team rules The research team borrows backend-developer and qa-engineer for evaluation only (charter: docs/teams/research.md).

Run on the fixed project, the check reports nothing for this rule.

How the check works

Wording about borrowing agents across teams was compared between files (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

All 15 checks