Backlog grooming
Route UserRequest through four phases. This file dispatches only. Each playbook owns its procedure.
resolve ──► fan-out ──► collate ──► propose
│ │ │ │
ticket list reports/ index.html chosen actions
<KEY>.md (published) (applied)
Global rules
- Resolve this installed skill directory as
GROOMING_SKILL_ROOT. Script paths are relative to that directory, not the repository. Run scripts by absolute path from the target repository. - You MUST use the
reading-and-writing-ticketsskill for every ticket read, list, comment, or update. Apply its Subcommand router before you touch a ticket. Do not call a tracker CLI or API directly. - You MUST use the
shared-contextskill to resolve the run directory. Do not build the path by hand. - You MUST use the
muxer-subagentsskill to start research subagents. It owns spawn, wait, and close. - Research subagents MUST NOT change code, tickets, or branches. Only the parent applies ticket actions, and only after the user selects them.
- Write every report and question in plain language, with the
iso-24495-1skill.
Route
| Phase | Read when | Playbook |
|---|---|---|
| Resolve | The request names keys, a query, an epic, a sprint, or an initiative | Resolve tickets |
| Fan out | The ticket list is fixed and the run directory exists | Fan out research |
| Research | You are a research subagent with one ticket | Research one ticket |
| Collate | Every subagent finished, or timed out and was recorded | Collate and publish |
| Propose | The report is published and actions.json lists one or more actions |
Propose actions |
Read Contracts and upgrades before interpreting historical artifacts or explicitly converting selected mutable reports or action records. The shared skill-contracts APIs validate contracts.json; owner commands validate content.
The report file contract is in Report contract. Read it before you write or check a report.
The steps a person sees are in Groom backlog tickets. Read it when the user asks how the skill works or what a summary line means.
On a partial request
- If the request names only a run directory, start at Collate.
- If the request names a run directory and says "apply" or "actions", start at Propose.
- Otherwise start at Resolve.
Handoff
When you stop, state what is done, what is blocked, the open questions, and the files touched. Include the published report link.