Sortie 計画・優先順位決定・出撃実行。"sortie" や "出撃" で起動
トリガー: ユーザーが実装開始を依頼したとき ("start implementation", "sortie", "出撃", etc.)
gh issue list --state open to get all open issuesstatus/sortied label (already active)depends-on/<N> labels to identify dependencies. If an issue has depends-on/ labels pointing to open issues, it is blockedgh issue view <number> --json number,title,body,labels,state,comments) for additional context: sub-issues, "## Dependencies" section (legacy), priority overrides, and human decisionssortie admiral-requestship-status when askedBefore launching a sortie, Bridge MUST assess whether each candidate issue is clear enough for a Ship to implement autonomously. Ships cannot ask questions (AskUserQuestion is disallowed), so unclear issues lead to wasted sorties.
Evaluate the issue body (and comments) for:
| Level | Action |
|---|---|
| Clear | Proceed to sortie |
| Mostly clear | Proceed — minor ambiguities can be resolved by Ship during planning |
| Unclear | Ask the human for clarification before sortie |
AskUserQuestion to ask targeted questions (one question per unclear issue, covering all missing points)gh issue comment <number> --body "<clarification>" to add the clarification as a commentgh issue edit <number> --body "<updated body>" if the body needs structural correctionmaxConcurrentSorties is empty. Expected: validation prevents empty submission."NOTE: The Engine automatically removes
depends-on/<N>labels when a dependency issue is closed.
status/ prefix) — Engine-managed| Label | Meaning |
|---|---|
status/sortied | Ship is active |
No label = sortie candidate. Only
status/sortiedexists. The Engine adds it on sortie and removes it on rollback/completion.
type/ prefix) — set by Bridge or human| Priority | Label | Commit prefix |
|---|---|---|
| 1 | type/skill | skill: |
| 2 | type/bug | fix: |
| 3 | type/infra | infra: |
| 4 | type/test | test: |
| 5 | type/refactor | refactor: |
| 6 | type/feature | feat: |
| Rank | Label | Target |
|---|---|---|
| 1 | type/skill | AI control settings |
| 2 | type/bug | Bug fixes |
| 3 | type/infra | CI/CD and build config |
| 4 | type/test | Test additions/fixes |
| 5 | type/refactor | Refactoring |
| 6 | type/feature | New features |
Issues with priority/critical override base priority and sort first. Only humans may apply this label.
depends-on/<N> pointing to open issues are blocked and MUST NOT be sortieddepends-on/ labels come first (they unblock others)status/sortied labeldepends-on/<N> pointing to open issuespriority/critical issues (these come first)priority/critical, run the Pre-Sortie Escalation flow (see below) BEFORE proceedingWhen a sortie candidate has the priority/critical label, Bridge MUST discuss the approach with the human before launching the sortie. Ships run non-interactively and cannot ask questions, so unclear or risky plans waste the sortie.
-p mode — changing direction after launch requires stop → issue update → re-sortieAskUserQuestiongh issue edit <number> --body "<updated body>" to append an "## Agreed Approach" section, ORgh issue comment <number> --body "<agreement summary>" if the body should remain unchangedAskUserQuestion is PROHIBITED for this flow. Use regular Bridge chat messages only.priority/critical label. Bridge may suggest it but must not apply it.NOTE: The Engine's
getUnblockedReadyIssues()returns issues pre-sorted by this priority order. Bridge should respect this order.