Skip to content

Give the final review five rounds and list what it left open in the PR - #170

Open
adamw wants to merge 1 commit into
masterfrom
final-review-open-findings
Open

Give the final review five rounds and list what it left open in the PR#170
adamw wants to merge 1 commit into
masterfrom
final-review-open-findings

Conversation

@adamw

@adamw adamw commented Sep 12, 2026

Copy link
Copy Markdown
Member

Summary

The whole-run final review in the built-in flows allowed three fix rounds, and the flows discarded the loop's result. A run could end with findings still open and open a PR that said nothing about them.

Changes

  • The final review loop in implement.sc, implement-interactive.sc, implement-enhanced.sc, issue-pr.sc and issue-pr-bugfix.sc now allows five rounds. The per-task loop and the library default stay at three.
  • New renderOpenFindings renders the loop's unfixed findings as a markdown section, verbatim, omitted when there are none.
  • openPrFromBranch takes a required openFindings parameter and appends that section to the PR body. No default, so a flow cannot drop the loop's result by omission.
  • The PR-opening flows pass the final review's result through. The bugfix flow appends the section when it updates its tentative PR.

Limitation

The loop returns only a title and reason per finding. Reviewer, location and suggestion are not retained, so they are not listed.

Note

Touches the same helper signature that #169 extends. Whichever lands second needs the pass-through added to openPrIfGitHub.

The whole-run review loop in the built-in flows capped at three fix
rounds, and the flows discarded its result, so a PR could open with
findings still unfixed and nothing saying so. Raise the cap to five and
render the unfixed findings as a section of the PR body.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant