mirror of
https://github.com/block/buzz.git
synced 2026-11-25 10:42:26 +00:00
Claude Code exposes CLAUDE_CODE_EFFORT_LEVEL (low|medium|high|xhigh|max) as a first-class env var that the claude-agent-acp adapter inherits from its parent process and passes through to the SDK subprocess env. Adding Claude to the catalog contract is therefore a pure catalog declaration — no new UI logic, no per-harness special casing. Changes: - Add CLAUDE_EFFORT_NORMALIZATION static with 5-value vocabulary and no aliases (Claude accepts values natively; xhigh is canonical, not an alias as it is for Goose). - Wire thinking_env_var and effort_normalization into the claude entry in KNOWN_ACP_RUNTIMES; import CLAUDE_EFFORT_NORMALIZATION in discovery.rs. - Remove the Claude deferral branch (render: deferredUntilNativeOptions- Available) from agentConfigCore.ts — Claude now hits the existing harnessNative path just like Goose. - Update runtimeModelProviderSelection.ts comment: buzz→claude now fires the else-if cleanup branch; claude→goose fires the if branch. - Update AGENTS.md rule 3: Claude effort is no longer deferred. - Rust pins: catalog vocabulary/no-alias contract, spawn native survival, invalid-value skip, foreign-key stripping, legacy alias at record tier (valid and invalid-for-Claude cases). - TS pins: valid values pass through, Goose aliases absent from Claude vocab, empty alias array means no fallback table. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>