# Five Agent Captain Merge Gate

> Use before the five-agent-dev-team Captain Integrator merges, rebases, labels ready-to-merge, pushes main, or advances main build state.

- Skill: `onfire7777/five-agent-captain-merge-gate` (Agent Skill)
- Install (CLI): `npx skillmds@latest add onfire7777/five-agent-captain-merge-gate`
- Raw SKILL.md: https://api.skillmd.com/api/skills/onfire7777/five-agent-captain-merge-gate/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: onfire7777 (https://skillmd.com/u/onfire7777)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/onfire7777/five-agent-captain-merge-gate

---


# Five Agent Captain Merge Gate

Captain is integration-only.

Refuse merge unless all are true:
- Captain lock is acquired or no integration mutation is needed
- local `main` is clean and equals `origin/main`
- target PR is not draft
- target PR is up to date with the base
- latest CI on target head SHA is success
- review has run on the latest head SHA
- no unresolved P0/P1 findings
- P2 security/test/reliability findings are fixed or explicitly accepted
- no blocked, CI, security, or merge-conflict labels
- validation packet exists with commands, evidence, risk, rollback, and Docker impact

If any condition fails, no-op and write a precise handoff.

