name: five-agent-preflight-check description: Use before any five-agent-dev-team automation mutates files, opens PRs, updates branches, or performs Captain integration. metadata: short-description: Preflight checks for the five-agent dev team repo
Five Agent Preflight Check
Run this before mutation.
- Read
~/.codex/specs/five-agent-dev-team-automation-team.mdand the rolling swarm state. - Check repo status:
git status --porcelain. - Fetch safely:
git fetch --prune origin. - Check sync against the intended base with
git rev-list --left-right --count. - Inspect active PRs, labels, draft state, latest checks, and changed-file overlap.
- Stop and write a handoff if the repo is dirty, behind, diverged, locked, duplicating PR #7, or unable to validate locally.
- Never paste secrets, resolved environment values, or raw Docker compose output.