Skip to content

workflow: bump max-turns to 16 and skip lockfile/bump diffs#44

Merged
heskew merged 1 commit intomainfrom
workflow/bump-turns-and-skip-lockfiles
Apr 20, 2026
Merged

workflow: bump max-turns to 16 and skip lockfile/bump diffs#44
heskew merged 1 commit intomainfrom
workflow/bump-turns-and-skip-lockfiles

Conversation

@heskew
Copy link
Copy Markdown
Member

@heskew heskew commented Apr 20, 2026

Summary

Second calibration PR after #43's baseline review hit max_turns=8 with zero permission denials — Claude was doing real review work but ran out of budget on a 9000-line diff dominated by the package-lock.json regen.

Changes

  1. max-turns 8 → 16. Room for deeper dives on substantive PRs. Concurrency stays 1/PR, 10-minute job timeout unchanged.
  2. Prompt: skip mechanical diffs. Claude is now told to ignore package-lock.json, bun.lock, yarn.lock, dep version bumps (unless they change engines / peerDependencies / add new dependencies), and dist/ output.

Test plan

PR #43 (Harper v5 migration) hit max_turns=8 with zero permission
denials — Claude was doing real review work but ran out of budget on a
9000-line diff dominated by package-lock.json regen.

Two changes:

1. `--max-turns 8` → `--max-turns 16`. Gives headroom for substantive
   PRs. A single run at 8 turns cost ~$0.23; at 16 it could go higher
   but we still have concurrency-1 per PR and a 10-min timeout. OK.

2. Prompt now tells Claude to skip mechanical diffs: lockfiles, dep
   version bumps (unless they change engines/peerDeps or add new deps),
   and dist/ output. Keeps review focused on source.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@heskew heskew requested a review from a team as a code owner April 20, 2026 16:24
@heskew heskew merged commit 4773502 into main Apr 20, 2026
4 of 5 checks passed
@heskew heskew deleted the workflow/bump-turns-and-skip-lockfiles branch April 20, 2026 16:30
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