Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .factory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ with `.factory/oracles/<n>.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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/factory-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/factory-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading