Setting the file. One moment.
Skill 94 · Copilot PR Autopilot
Subchapter 94.2
references/02-wait.mdMarkdown2 KBView on GitHub
Sub-agent type: general-purpose; budget: 20-minute hard cap (one
bounded sub-agent, NOT extension-driven).
Skipped when the loop is in single-iteration mode — there’s no Copilot review to wait for.
Scripts
LibFrom step 1:
PrNumber.baseline — the LatestCopilotReview.submittedAt string captured
before the trigger fired (empty string if no prior Copilot review).02-check-review-status.ps1 JSON snapshot.recommendation ∈ {ready, give-up-push-commit}.ready iff both LatestCopilotReview.submittedAt > baseline
AND ReviewAtHead: true.Poll 02-check-review-status.ps1 approximately every 3 minutes
until ready or the 20-minute cap is hit:
pwsh ./scripts/02-check-review-status.ps1 -PrNumber <n>submittedAt and ReviewAtHead from the JSON each tick.ready on the first tick that satisfies both
conditions vs. the captured baseline.ready, return give-up-push-commit.give-up-push-commit fallback is parent-driven. When the
sub-agent returns this recommendation, the parent pushes a
substantive (non-whitespace) commit — auto-assign on synchronize is
the most reliable trigger. Then the parent re-enters the loop at
step 1 with a fresh baseline.give-up-push-commit fallback, not more polling.