Troubleshooting
Common failure cases of the skills, each with symptom, cause and fix. The state of a /deliver run lives in GitHub, so after a fix /deliver <nr> picks up where it stopped (resume).
deliver pauses with needs-decision
- Symptom: the PBI gets the label
needs-decisionand a comment with a question. Interactive, the chat asks instead. - Cause:
delivernever guesses. An unclear acceptance criterion, an error, a blocker, or extra work the PBI body does not name pauses the run. A decision PBI (ADR criterion) is reporteddecision, write the ADR with adr. - Fix: answer in the comment (
grill-meinterviews you for it), remove the labelneeds-decision, run/deliver <nr>again. For a decision PBI write the ADR with theadrskill first.
deliver warns that release/next has no ruleset
- Symptom: at the start, a warning that red CI is mergeable.
- Cause:
gh api repos/{owner}/{repo}/rules/branches/release/nextlists norequired_status_checks.delivermerges when review and required checks are green, so without the rule the gate is missing. - Fix: create the ruleset (ruleset on release/next) and run again. The run goes on without it, but nothing then blocks a red check.
A PBI is skipped
- Symptom: the report has
select: needs refinement, skipped,select: claimed, skippedorselect: interactive, skipped. - Cause:
needs-refinementmarks a PBI or Bug that is not ready (no criteria, no repro). A claim is an assignee: another session works on it, and the claim is fresh when the branch or PR was updated within the hour.interactivePBIs are skipped unattended. - Fix:
needs-refinement: runplanner refine <nr>. Claimed: wait; after an hour without activity the claim counts as stale anddelivertakes it over. A PBI you name yourself (/deliver <nr>) continues whatever the claim says.interactive: run/deliver <nr>in a session.
gh is not authenticated
- Symptom:
deliver,plannerorgithub-issuestop at the firstghcall with an authentication error. - Cause: no
ghlogin in this shell, an expired token, or a token without thereposcope. - Fix:
gh auth login(orgh auth refresh -s repo), check withgh auth status, run again. Tool check:check-prerequisites(prerequisites).
A skill does not trigger
- Symptom: the agent works without loading the skill you expected.
- Cause: the skill is not installed in this project (or client), or the prompt does not match its
description. - Fix: check the install (
npx skills check, or/skills-manage dry-run); name the skill in the prompt (Use the planner skill: plan issue #42) or call it by slash (/deliver 42). To measure triggering, see skill trigger evals.
The context grows too large
- Symptom: a long run slows down, the context fills, quality drops.
- Cause: one session over a whole release collects every PBI.
- Fix: limit the run with
--max <n>, or use a fresh process per PBI:Invoke-DeliverLoop.ps1(deliver in fresh sessions). A status line shows the fill level.
A red check blocks the merge
- Symptom: the PBI is reported blocked, the PR stays open, or the merge is refused.
- Cause: a required check is red or pending.
delivernever merges on red and never uses--admin. A red caused by the diff gets fix rounds (at most 2 per PBI, shared with the review); a red for another reason (flake,release/nextred too) blocks the PBI with a PR comment. - Fix: read the failed check (
gh pr checks <pr>), fix the cause (or re-run a flaky job), then/deliver <nr>again. Fix a redrelease/nextfirst.