Use the Up Next PR tab and "Ask to fix"
Use the Up Next PR tab and “Ask to fix”
Section titled “Use the Up Next PR tab and “Ask to fix””Up Next (/unfinished) has four tabs: PRs, Stuck, Worktrees, Queue. The last tab you picked is remembered in localStorage; ?tab=<name> selects one for a link, and ?item=<id> (stuck-item deep links) always opens Stuck.
What a PR card shows
Section titled “What a PR card shows”Each open PR shows failing checks, unresolved review threads, merge conflicts, and every local session linked to it. A count that GitHub did not return shows “?”, never 0.
Ask a session to fix a PR
Section titled “Ask a session to fix a PR”The “Ask
- If no linked session is idle and ready (
steer_ready), “Open session” is the primary button and the ask button is disabled with a reason. - A request already sent for the same PR and reasons within a minute is reported as already requested, not sent twice.
Degraded poll mode
Section titled “Degraded poll mode”Set STAPLER_SQUAD_PR_POLL_DEGRADED=1 (or true) before starting to drop reviewThreads from the PR poll. Thread counts then show “?” and the PRs tab badge reads “3+” (it counts failing CI, merge conflicts and changes-requested only). The default full poll measured 4 GraphQL points per poll on github.com; there is no automatic switch.
Read the measurement logs
Section titled “Read the measurement logs”Search ~/.stapler-squad/logs/staplersquad.log (see debug-with-logs.md) for:
| Log message | Meaning |
|---|---|
nudge_outcome |
One line per ask: outcome, reasons, and session_live (the delivery-rate denominator) |
nudge_followup |
What happened to the PR after a delivered request |
up_next_funnel |
Per snapshot: prs_needing_attention, with_linked_session, with_live_session |