Repository navigation
ci: raise claude-implement max-turns to 150 and widen allowedTools - #218
Conversation
The autonomous implement loop hit its 50-turn cap on #188 with no branch/PR produced (error_max_turns at 51 turns, plus 10 permission denials). Triple --max-turns to 150 and add a curated set of read-only and expected-write commands (read-only git inspection, pnpm ls/why, mkdir, and scoped gh pr/issue subcommands) so a single combined multi-component run can complete. Keeps the allowlist model — no bypass/skip-permissions flag — and leaves --disallowedTools "WebSearch,WebFetch" and the .github/** guardrails unchanged. Refs #217 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVR5yWevceZEFbTJmpviiM
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThis change modifies the claude-implement GitHub Actions workflow, increasing the maximum conversation turns from 50 to 150 and expanding the allowedTools list to include additional pnpm and git command patterns. ChangesWorkflow Configuration Update
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Preview DeploymentPreview URL: https://8e850a85.bestax.pages.dev |
|
🎉 This PR is included in version 5.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 3.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Tunes the autonomous implement loop (
.github/workflows/claude-implement.yml) so a single combined multi-component run can actually finish. Two changes to theRun Claude (implement issue)step'sclaude_args:--max-turns 50→150(tripled). The run on [Feature] Make Button, Link, and LinkButtonasprop polymorphic (React.ElementType) for router Link integration #188 ended witherror_max_turnsat 51 turns / 6m10s with no branch or PR produced.--allowedToolswith a curated set of low-risk commands. The same run loggedpermission_denials_count: 10(~20% of turns wasted on denied calls). Added:git status,git diff,git log,git showpnpm ls,pnpm whymkdir(new component/test/docs folders)gh issue comment,gh pr edit,gh pr diff,gh pr checksAffected package(s):
@allxsmith/bestax-bulma)create-bestax)@allxsmith/bestax-docs).github/workflows/claude-implement.yml)Related Issue(s)
Closes #217
Refs #188
Type of Change
Security notes
This keeps the allowlist model — no bypass /
--dangerously-skip-permissions/ "auto mode" flag is added. The loop runs on untrusted issue input while holdingcontents:write+pull-requests:write+issues:write+ an app token, so the additions are deliberately limited to read-only and narrowly-scoped write commands. Explicitly kept out:git push/reset/checkout/rebase/merge,curl/wget,pnpm dlx/npx/dep-adding,gh api/secret/workflow/pr merge,rm -rf.--disallowedTools "WebSearch,WebFetch"and the.github/**/ release-config guardrails are unchanged.Checklist
yaml.safe_load)CLAUDE.mdfiles are updated (N/A — no command/convention change)Additional Context
This is a
.github/**change, which the AI loop's own gate refuses to author — so it is intentionally done as a direct human-reviewed PR rather than through theclaude-fixloop. It unblocks the combined Button/Link/LinkButton work in #188 (kept as one issue by design).🤖 Generated with Claude Code
https://claude.ai/code/session_01NVR5yWevceZEFbTJmpviiM
Generated by Claude Code
Summary by CodeRabbit