James Washington
writing about archive utils free game ideas replays
AI skill

Git discipline for agent fleets

Rules that stop many AI assistants working in the same code from trampling each other's changes.

built Sep 2026 updated Oct 2026 Running a team of AI agents

how it works

Worktree per session on agent/* branches, never-stage list, agent-ship for requested work straight to main, PR otherwise; pairs with commit_gate hook and agent-sweeper.

AI skill: Instructions an AI agent loads when a task calls for them, like a recipe card.

The code for this one lives in a private repo. This page explains the idea so you can build your own.

gitmulti-agentskillworktrees

related

  • Agent git fleet: worktrees, sweeper, ship Automation Gives every AI session its own copy of the code, then automatically opens reviews for finished work and cleans up.
  • commit_gate: no wandering off with a dirty tree Agent hook Stops an AI from finishing a task while leaving its changes uncommitted.
  • agent-merge: Jev-gated self-merge for agent branches Automation The one sanctioned way an AI may merge its own work: a script that reviews it first and refuses if it didn't show its work.
  • Mission Control participation skill AI skill How each AI assistant claims work from the shared board and reports what it did so it shows up live.
  • In shared checkouts, prove your deploy landed Technique When several AIs share code, 'deploy succeeded' doesn't mean your change is the one live.
← everything I've built
© 2026 James Washington
github twitter rss