diff --git a/.factory/README.md b/.factory/README.md index 6fb3a42..dcc87c2 100644 --- a/.factory/README.md +++ b/.factory/README.md @@ -81,6 +81,9 @@ with `.factory/oracles/.json` in one commit. From then on: The workflows stay inert until the repository variable `FACTORY_ENABLED` is `true`; they also need the Claude GitHub App and a secret (header of `factory-plan.yml`). +They run Claude Code on Opus 5.5 at high effort (`--model claude-opus-5-5 --effort high` in +`claude_args`). With `CLAUDE_CODE_OAUTH_TOKEN` they use the account's Claude subscription, so +each run counts against the same usage limits as interactive sessions. `master` is the default branch, so `factory-plan.yml` and `factory-build.yml` must be identical on `dev` and `master`: issue-label events run the default branch's copy, and the diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index 8875d7a..55bb39b 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -70,7 +70,7 @@ jobs: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: /factory-build ${{ steps.gate.outputs.issue }} - claude_args: --max-turns 200 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + claude_args: --model claude-opus-5-5 --effort high --max-turns 200 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill - name: Check the station ran if: steps.gate.outputs.issue env: diff --git a/.github/workflows/factory-plan.yml b/.github/workflows/factory-plan.yml index 7b15847..d1dd688 100644 --- a/.github/workflows/factory-plan.yml +++ b/.github/workflows/factory-plan.yml @@ -70,7 +70,7 @@ jobs: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: /factory-plan ${{ steps.pick.outputs.issue }} - claude_args: --max-turns 80 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + claude_args: --model claude-opus-5-5 --effort high --max-turns 80 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill - name: Check the station ran if: steps.pick.outputs.issue env: