Headcount: The AI Org Chart That Treats File Paths Like Job Descriptions

A deep dive into how `cbrock84/headcount` uses departments, reviewer-class agents, and write-surface enforcement to turn Claude Code into a governable system, not a prompt pile.

8 min read • View on GitHub • More from cbrock84

A wide corporate floor rendered as a literal filing system, with drawers labeled by department and a central command desk above them. The scene explains that responsibility in this project is assigned by boundary, not by personality.
`headcount` treats the repo like an organization with legal boundaries. The important idea is not just who can do the work, but where they are allowed to write.

Models are noticeably better at holding a line when the line is written down as somebody else's job.

Chris Brock, Creator of headcount · cbrock84/headcount README
Key Takeaways

Multi-agent systems fail in boring ways. One agent overwrites another, a reviewer quietly becomes a fixer, and the whole setup drifts from coordination into improvisation. `headcount` is interesting because it attacks those failures with structure, not charisma.

Why Multi-Agent Systems Fail Quietly

The problem is not usually intelligence. It is overlap. Once two agents can touch the same surface, or one agent can review and edit at the same time, you have lost the boundary that makes delegation meaningful.

That line from the README is the thesis in plain English. `headcount` is not trying to make agents smarter in the abstract. It is trying to make responsibility legible enough that the system can enforce it.

The Corporate Metaphor Is the Control Plane

A WSJ-style hedcut portrait of Chris Brock based on his GitHub avatar. It identifies the creator behind the project and gives a human anchor to the organizational metaphor used throughout the repo.

The org chart is not decoration. Departments, reporting lines, and titles are the control plane. The repo uses that metaphor to make Claude Code reason about roles, scope, and escalation the way a real company does.

The idea is basically an “org in a box.” It's meant to help Claude reason through things like organizational structure, roles and responsibilities, headcount planning, hiring, performance, compensation, succession, workforce risk, and the other moving parts involved in building and running a company.

Chris Brock, Creator of headcount · headcount Reddit launch post

Write Surfaces: The Most Important Idea in the Repo

The key shift is from agent by topic to agent by filesystem boundary. Most multi-agent systems say who does the work. `headcount` says where the work may land. That sounds small until you realize it is the difference between vibe-based coordination and something a machine can check.

This diagram shows the project’s real innovation. The taxonomy matters, but the enforcement layer matters more, because it makes boundaries testable instead of symbolic.

That enforcement lives in `agent-guard.mjs`. The guard checks whether a proposed change fits the allowed glob patterns. If it does not, the write is blocked. That turns a social rule into a programmatic one.

A close-up customs checkpoint for code changes, with a builder agent carrying files stamped with allowed glob patterns while an out-of-bounds file is redirected by a guardrail shaped like a filesystem tree. The image explains how the repo enforces write surfaces instead of trusting agent intent.
`agent-guard.mjs` turns path scope into a hard boundary. The point is not to suggest restraint. The point is to deny writes that do not belong.

Reviewers Are Not Just Another Kind of Agent

`headcount` makes a hard distinction between builders and reviewers. Builders can write within their surface, but they do not get to blur the line between creating and approving. Reviewers are permanently read-only. That is a real governance choice, not a prompt preference.

SystemWhat it optimizes forHow it assigns responsibilityFailure modeWhy headcount is different
Flat skill libraryBreadth of capabilityBy topic or taskAgents overlap and driftIt assigns authority by write surface, not by label
General-purpose agent frameworkFlexible orchestrationBy tool graph or workflowToo abstract for clear governanceIt makes boundaries the primary unit of control
Traditional mega-promptFast setupBy a single instruction blockContext bloat and role confusionIt splits authority into installable, auditable departments

That separation matters because review collapses when a reviewer can also patch the thing they are judging. `headcount` treats that as a design bug, not a clever workflow shortcut.

The Return Contract Makes Outputs Auditable

The `.claude/agents/*.md` files do more than describe personas. They define a return contract. An agent has to report what changed, why it changed, what was verified, what remains undone, what outside help is needed, and what questions are still open.

That sounds bureaucratic until you compare it with the usual agent handoff, which often reads like a confident shrug. The contract makes outputs reviewable by a human and legible to the next agent in the chain.

How the Repo Is Put Together

The structure is intentionally modular. `.claude/agents/` holds the charters. `plugins/` contains installable Claude Code plugins. Each plugin carries its own `skills/` tree, and each skill lives in a `SKILL.md` file. The surrounding scripts and manifests make those boundaries enforceable and portable.

.claude/agents/
  executive.md
  security.md
  finance.md
plugins/
  executive/
    .claude-plugin/plugin.json
    skills/
      chief-executive/SKILL.md
      agent-hierarchy/SKILL.md
      agent-guard.mjs
  security/
    .claude-plugin/plugin.json
    skills/
      threat-modeling/SKILL.md
docs/
  DECISION-LOG.md
  org-chart.md

That layout is the repo’s second argument. It says the organization itself should be installable. If you only need security, you should not inherit finance, product, or executive context as accidental baggage.

What Headcount Is Really Competing Against

The closest alternatives are flat skill libraries, broad agent frameworks, and monolithic prompts. Those systems can be useful, but they mostly optimize for capability or convenience. `headcount` optimizes for authority, scope, and auditability.

ModelStrengthWeaknessTakeaway
Flat skillsEasy to add capabilitiesNo strong boundary modelGood for breadth, weak for governance
Agent frameworksFlexible multi-step orchestrationCan get heavy quicklyGood for workflows, less sharp on responsibility
Monolithic promptsSimple to startHard to audit or scaleGood for demos, brittle in practice
HeadcountInstallable departments with write surfacesRequires thinking like an orgGood for governed coordination

That is why the repo feels more like policy-as-code than prompt engineering. It is not just asking an agent to behave. It is deciding what the agent is allowed to change.

The Bigger Bet

The deeper bet here is that agent tooling will eventually need boundaries as much as it needs intelligence. Once systems start acting on real repos, the important question stops being whether the model can write code. It becomes whether the model stayed inside its remit.

`headcount` answers that by borrowing from how organizations already work. It turns jobs into surfaces, review into a class, and coordination into something you can inspect after the fact. That is the real product.