What's New
Two new cozempic doctor checks targeting fresh Claude Code issues reported this week:
🔧 hooks-trust-flag (auto-fixable) — #32424
Since v2.1.51, Claude Code introduced a separate hooks trust gate (hasTrustDialogHooksAccepted) that must be true for hooks to load. This flag is never written automatically even when you accept the workspace trust dialog — causing SessionStart, PreToolUse, and all other hooks to silently fail with no error.
Fix: cozempic doctor --fix sets the flag for all trusted workspaces.
⚠️ agent-model-mismatch — #32368
When Agent Teams are active but no model is set in ~/.claude/settings.json, spawned subagents default to claude-opus-4-6 instead of inheriting the team lead's configured model. This causes 403 errors on custom or restricted endpoints.
Fix: Add "model": "your-model-id" to ~/.claude/settings.json.
Doctor now runs 10 checks
trust-dialog-hang · hooks-trust-flag · claude-json-corruption · corrupted-tool-use · orphaned-tool-results · zombie-teams · agent-model-mismatch · oversized-sessions · stale-backups · disk-usage
Stats
- 98 tests passing
- 10 doctor checks (was 8)
Install / Upgrade
pip install -U cozempic