Skip to content

docs(ai): state the default review round caps - #1263

Merged
steward-warden merged 1 commit into
mainfrom
docs/review-round-cap-defaults
Nov 24, 2026
Merged

steward-warden merged 1 commit into
mainfrom
docs/review-round-cap-defaults

Conversation

@prpixie

@prpixie prpixie commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The AI review loop names its round caps (MAX_SIMPLIFY_ITERATIONS, SIMPLIFY_THRASH_LIMIT, MAX_CODE_REVIEW_ITERATIONS, MAX_SECURITY_REVIEW_ITERATIONS, MAX_COVERAGE_ITERATIONS) but never gave them a value. A session the orchestrator didn't start had to invent one, and a guess of 5 for code review blocked a PR after round 5 when the orchestrator's cap is 15.

agent-roles.instructions.md (PR Workflow: AI Review Loop) now gives the orchestrator's defaults: 10, 3, 15, 15 and 6. Use them unless the run sets its own, and never pick a lower number.

No CHANGELOG entry, because this is a template repo.

🤖 Generated with Claude Code

@prpixie prpixie added the auto-pr Pull request created automatically label Nov 19, 2026
@prpixie prpixie added the auto-pr Pull request created automatically label Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for opening this pull request! Please make sure you have read the contributing guidelines.

@steward-warden
steward-warden marked this pull request as ready for review November 19, 2026 18:27
@steward-warden

Copy link
Copy Markdown
Collaborator

AI Review Loop: reviewed 436260c

Self-reviewed: one paragraph and list added to the review-loop section, with values checked against the orchestrator's lib/globals defaults (code 15, security 15, coverage 6, simplify 10, thrash 3). All 16 checks passed.

@credfeto

credfeto commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Super-linter summary

Language Validation result

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

The review loop names its round caps but never gave them a value, so a
session not driven by the orchestrator had to invent one, and a low
guess blocks a PR that more rounds would have finished. The
instructions now state the orchestrator's defaults and say never to
pick a lower number.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pre-commit-Timings: total=12s check-identity=0s check-merge-commits=0s check-ignored-files=0s check-funfair-props=0s clean-package-lock-registry=0s pre-commit=12s(check-merge-conflict=0.09s,check-case-conflict=0.08s,check-added-large-files=0.12s,end-of-file-fixer=0.11s,trailing-whitespace=0.12s,mixed-line-ending=0.07s,check-toml=skipped,detect-private-key=0.07s,trufflehog=3.8s,check-executables-have-shebangs=skipped,check-shebang-scripts-are-executable=0.11s,check-json=skipped,check-xml=skipped,check-yaml=skipped,shellcheck=skipped,shellcheck-libraries=skipped,yamllint=skipped,flake8=skipped,markdownlint=0.89s,ansible-lint=5.22s,hadolint=skipped,check-compose-volumes=skipped,check-msbuild-path-separator=skipped,actionlint=skipped,composite-action-lint=skipped,pylint=skipped,stylelint=skipped,dotenv-linter=skipped,eslint=skipped,xmllint=skipped,bats=0.02s,trivy=skipped) check-changelog=skipped check-benchmark-project-names=skipped buildcheck=skipped buildtest=skipped npm-test=skipped tsqllint=skipped sqlfluff=skipped cfn-lint=skipped
@steward-warden
steward-warden force-pushed the docs/review-round-cap-defaults branch from 436260c to 2d6ae83 Compare November 24, 2026 04:26
@steward-warden
steward-warden merged commit 59ec7ff into main Nov 24, 2026
31 checks passed
@steward-warden
steward-warden deleted the docs/review-round-cap-defaults branch November 24, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-pr Pull request created automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants