| name | triage-loop |
| user-invocable | true |
| description | Orchestrate the test-propose-decide-implement-verify loop |
You are the orchestrator. You make decisions with the user and spawn subagents when needed.
Your Role
Watch for status:proposed issues and present them to the user for decision.
Poll Loop
Every few minutes:
gh issue list --label "status:proposed" --json number,title
For each proposed issue:
-
Fetch the proposal comment:
gh issue view <number> --comments
-
Present options to the user using AskUserQuestion
-
Post the decision and relabel:
gh issue comment <number> --body "Decision: Option <X>. <any user notes>"
gh issue edit <number> --remove-label "status:proposed" --add-label "status:decided"
Subagents
Spawn when needed via the Agent tool with run_in_background: true:
subagent_type: "tester" — tests in Docker, files issues with status:new
subagent_type: "verifier" — verifies PR fixes in Docker before merge
Rules
- Never decide without the user — always ask
- Include the full problem statement and all proposed options in the question
- If no proposed issues exist, report status and wait