Repository navigation
ci: cap the grok self-review at 45 turns - #112
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>
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 focused, correct fix for incomplete grok self-reviews. No blocking issues.
What changed
.github/workflows/self-review.yml sets agent-max-turns: '45' on the existing DailybotHQ/ai-diff-reviewer@v3 grok leg. budget-profile: auto stays.
Verification
- Input is real. Vendored setup reference (
.agents/skills/ai-diff-reviewer/setup/reference.md) documentsagent-max-turnsas the native grok CLI--max-turnscap. When it is unset,budget-profile: autoforwards the tier rows (8/20/30/40) as that cap — the failure mode this PR names. Setting45is the documented override. - Composes with
budget-profile: auto. Tier still drives patch-size and verifier sampling; only the CLI turn ceiling moves. Comments in the hunk explain that split. - Timeouts. Job
timeout-minutes: 25; comment math (~17 s × 45 ≈ 765 s) fits the grok CLI’s 900 s bound. YAML parses. - Security / GHA hygiene. No new
run:blocks, no PR-title/body interpolation, nopull_request_target, no secret surface change. Label-once + honestXAI_API_KEYskip unchanged. - Ship boundary. Dev-infra only (
.github/). Skill pack, dogfood, and version fields untouched. - M5–M6 (addon/CI skim): self-review stays label-gated and non-required; local AI Diff Reviewer path and zero-addon baseline unchanged. Pass.
Notes (no inline findings)
.github/docs/WORKFLOWS.mdstill lists onlyverifier/budget-profileas the explicit v3 knobs. Optional follow-up to mentionagent-max-turns: 45so the workflow reference matches the file.- Floating
@v3is pre-existing; this PR correctly does not retouch it. The “findings by turn 36” prompt contract is a v3.4.0+ Action behaviour; even on an older v3.x the explicit CLI cap still fixes the incomplete-review cut-off. - After merge, the unchecked test-plan item (step log shows
--max-turns 45on the nextreadyrun) is the right smoke check.
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. The value comes from the reviewer team's consumer upgrade guide.
Not changed
.agents/skills/ai-diff-reviewer/skill: auto-release refreshes it to the latest upstream tag.skills/) itself: nothing installed changes.Release
This changes only repository infrastructure. If a pack release is not wanted, put
[skip release]in the squash-merge commit. That choice is yours.Test plan
bats tests/: 977 passreadyreview shows--max-turns 45in the step log🤖 Generated with Claude Code