Overnight PR Loop
Execute a continuous delivery loop with strict iteration boundaries.
Inputs
- •Goal for this run
- •Base branch
- •PR size limit
- •Stop condition
Loop
- •Pull latest state and verify clean working tree.
- •Read latest PR feedback for current branch.
- •Apply only valid review comments.
- •Run required checks/tests and fix failures.
- •Create a new child branch from current branch.
- •Implement one focused improvement batch.
- •Re-run checks/tests.
- •Commit with a concise scope label.
- •Push branch and open a non-draft PR.
- •Record what changed, what is next, and known risks.
- •Repeat until stop condition is met.
Guardrails
- •Keep each PR small and reviewable.
- •Never bundle unrelated work.
- •Stop if checks cannot pass without major scope changes.
- •Preserve a chain of branches to keep review history linear.
Output Format
- •Cycle number
- •Branch and PR URL
- •Completed items
- •Deferred items
- •Next cycle target