| name | agent-fleet-rules |
|---|---|
| version | 1.0.0 |
| description | Coordination rules for multi-agent development with fleets. Prevents contention, silent overwrites, and lost work when running multiple agents in parallel on the same repo. |
Multiple agents may run in parallel on this repo. Follow these rules.
- Tests before code. Every feature/fix gets a test first. Tests detect when one agent broke another's work.
- Never work on main. Each agent gets its own worktree and branch.
git worktree add /tmp/<task> -b <branch>. All changes via PR. - File-level isolation. New code in separate files (partial classes in C#/C++). Agent A:
Parser.cs, Agent B:Parser.Diagnostics.cs. Zero merge conflicts. - You do NOT merge. Main agent or human merges. You propose via PR only.
- Scope tightly. If your task touches >3-4 files, break it up.
- Conflict? Stop. If files changed unexpectedly, don't reconcile. Report it.