Skip to content

Add max-opus test config for maximum Opus 4.6 usage#70

Merged
moodmosaic merged 1 commit intomasterfrom
add-max-opus-config
Apr 14, 2026
Merged

Add max-opus test config for maximum Opus 4.6 usage#70
moodmosaic merged 1 commit intomasterfrom
add-max-opus-config

Conversation

@moodmosaic
Copy link
Copy Markdown
Member

Summary

Adds tests/configs/max-opus.json -- a reference config that maximizes Opus 4.6 reasoning depth.

Motivation

anthropics/claude-code#42796 documented that adaptive thinking can be silently rationed under platform load, with estimated thinking depth varying up to 8.8x by time of day. This config opts out of adaptive thinking entirely in favor of a guaranteed fixed budget.

docker_args breakdown

Env var Why
CLAUDE_CODE_SUBAGENT_MODEL=claude-opus-4-6 Subagents default to Sonnet/Haiku. Security reasoning in subagents (code exploration, plan mode) needs Opus too.
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1 Prevents load-based thinking rationing documented in anthropics/claude-code#42796. Falls back to fixed budget.
MAX_THINKING_TOKENS=127999 Opus 4.6 ceiling (128k max output - 1). Guarantees full thinking budget every turn regardless of platform conditions.
CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 Scanning sessions are one-shot runs. Auto memory adds context overhead for no benefit.
TASK_MAX_OUTPUT_LENGTH=160000 Max allowed (default: 32000). Subagents returning vulnerability findings shouldn't be truncated.

Test plan

  • ./tests/test.sh --config tests/configs/max-opus.json --oauth passes

Effort max, subagents forced to Opus, auto memory disabled,
and full subagent output length. Used as reference for fuzz
project scan configs.
@moodmosaic moodmosaic merged commit d61b289 into master Apr 14, 2026
5 checks passed
@moodmosaic moodmosaic deleted the add-max-opus-config branch April 14, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant