From fc55d2d1acda8585a182ab168bcbc49e0c4e7311 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 5 Jul 2026 23:14:27 +0000 Subject: [PATCH] ci: raise claude-implement max-turns to 150 and widen allowedTools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01NVR5yWevceZEFbTJmpviiM --- .github/workflows/claude-implement.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-implement.yml b/.github/workflows/claude-implement.yml index 10277d84c..d6e53ceed 100644 --- a/.github/workflows/claude-implement.yml +++ b/.github/workflows/claude-implement.yml @@ -91,9 +91,9 @@ jobs: track_progress: true use_commit_signing: true claude_args: | - --max-turns 50 + --max-turns 150 --model claude-sonnet-5 - --allowedTools "Bash(pnpm install:*),Bash(pnpm run:*),Bash(pnpm test:*),Bash(pnpm exec:*),Bash(pnpm --filter:*),Bash(node:*),Bash(gh issue view:*),Bash(gh pr create:*),Bash(gh pr view:*)" + --allowedTools "Bash(pnpm install:*),Bash(pnpm run:*),Bash(pnpm test:*),Bash(pnpm exec:*),Bash(pnpm --filter:*),Bash(pnpm ls:*),Bash(pnpm why:*),Bash(node:*),Bash(git status:*),Bash(git diff:*),Bash(git log:*),Bash(git show:*),Bash(mkdir:*),Bash(gh issue view:*),Bash(gh issue comment:*),Bash(gh pr create:*),Bash(gh pr view:*),Bash(gh pr edit:*),Bash(gh pr diff:*),Bash(gh pr checks:*)" prompt: | REPO: ${{ github.repository }} ISSUE NUMBER: ${{ github.event.issue.number }}