@@ -176,18 +176,18 @@ jobs:
176176 RUN_ID : ${{ matrix.run_id }}
177177 COURTLISTENER_API_TOKEN : ${{ secrets.COURTLISTENER_API_TOKEN }}
178178 with :
179- # Auth is the Claude Max subscription (OAuth) today. To move to the
180- # Anthropic API later, replace this line with
181- # `anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}`; the cache
182- # settings below already cover that switch.
183- claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
179+ # Auth is the Anthropic API key (pay-per-token): automated pipeline
180+ # inference is API-metered by design (see docs/budget.md), and per
181+ # Anthropic policy the Max subscription OAuth token is for interactive
182+ # Claude Code / claude.ai, not CI. For a local/interactive fallback,
183+ # swap this for `claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}`.
184+ anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
184185 github_token : ${{ steps.agent-token.outputs.token }}
185186 # Prompt caching is automatic: the stable prefix (AGENTS.md + the
186187 # prompt template + schema) is cached across the run's tool-use turns.
187- # OAuth requests the 1-hour cache TTL for free; setting it explicitly
188- # keeps that TTL (and the cache-read discount priced in
189- # fedcourtsai.pricing) once auth moves to an API key — whose default
190- # would otherwise fall to 5 minutes and expire the cache mid-run.
188+ # The API key's default cache TTL is only 5 minutes, which would expire
189+ # mid-run, so ENABLE_PROMPT_CACHING_1H below pins the 1-hour TTL (and the
190+ # cache-read discount priced in fedcourtsai.pricing).
191191 settings : |
192192 {
193193 "env": {
0 commit comments