Repository navigation
ci: cap the grok self-review at 45 turns - #162
xergioalex wants to merge 1 commit into
Conversation
The risk-tier rows (8/20/30/40) stopped reviews before they wrote findings. The Action (@V3, now v3.4.0) tells grok the budget and asks for findings early; 45 turns still fit the 900 s CLI timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying deepworkplan-website with
|
| Latest commit: |
9414c1a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b251198e.deepworkplan-website.pages.dev |
| Branch Preview URL: | https://ci-reviewer-turn-cap-45.deepworkplan-website.pages.dev |
AI review for
|
There was a problem hiding this comment.
Code review — 0 finding(s): 0 critical · 0 warning · 0 info
Check: ✅ passing — strictness block-on-critical: highest severity none ≤ critical threshold
No findings posted inline.
Summary
Verdict
Looks good — a one-line workflow fix that matches the AI Diff Reviewer v3.4.0 recommended grok ceiling; nothing blocking.
What changed
.github/workflows/self-review.yml adds agent-max-turns: '45' on the existing grok leg (DailybotHQ/ai-diff-reviewer@v3), with a short comment explaining why the risk-tier turn rows (8/20/30/40) were cutting reviews off before findings landed.
Verification
- Inventory is complete (one file, patch embedded).
agent-max-turnsis a documented Action input (v3action.yml); forprovider: grokit becomes--max-turns N. Value'45'parses as a whole number.- The installed Action checkout documents CLI_RECOMMENDED_AGENT_MAX_TURNS = 45 and cap-stop advice that literally tells consumers to set
agent-max-turns: '45'. This PR is that recommendation. - CHANGELOG 3.4.0: with a native cap N the findings directive asks for a complete file by turn N − max(3, N//5) → 36 of 45, matching the new comment. An explicit
agent-max-turnsis a hard ceiling (no cap-hit retry raise); that is intentional once the ceiling is already at the recommended value. - Timeout math still fits: 45 × ~17 s ≈ 765 s under the CLI’s 900 s bound and the job’s
timeout-minutes: 25. budget-profile: autoremains for patch-byte / verifier / alias tiers; only the grok native turn cap is overridden. No new shell interpolation of PR content, nopull_request_target, no secrets, no trust-surface or installer-pipe changes.- Pin stays
@v3(moving major); vendored skill /ecosystem-pins.tscorrectly left alone per AGENTS.md.
Residual notes (not findings)
- The adjacent
budget-profile: auto # … 8/20/30/40 turnsgloss is slightly turn-centric now that grok turns come fromagent-max-turns; the new comment block already clarifies the override. No need to churn it in this PR. - End-to-end confirmation still belongs to the unchecked test-plan item: the next
Readyrun’s step log should show--max-turns 45.
Recommendation: approve
Check status: ✅ passing — strictness
block-on-critical, highest severity in effectnone: highest severitynone≤ critical threshold.This line is written by the reviewer runtime after the gate ran and matches the check conclusion and the tracking comment. Any recommendation above is the model's advisory opinion, not the gate.
Summary
Adds
agent-max-turns: '45'to the grok self-review (.github/workflows/self-review.yml). The workflow pins the moving@v3, which already points to AI Diff Reviewer v3.4.0. The pin doesn't change.Why
The risk-tier turn rows (8/20/30/40) stopped grok reviews before they wrote findings, and the review came back incomplete. With v3.4.0 the Action tells grok its budget and asks for findings by turn 36 of 45. 45 turns at about 17 s each still fit the CLI's 900 s timeout and the job's 25-minute limit.
Not changed
The vendored
.agents/skills/ai-diff-reviewer/skill and thereviewerpin insrc/lib/ecosystem-pins.tsstay at v3.3.16. Site release automation refreshes both, and they are not edited by hand.Test plan
pnpm run test: 481 passbash scripts/check-public-hygiene.sh: cleanReadyreview shows--max-turns 45in the step log🤖 Generated with Claude Code