Claude Code v2.1.178 Adds Tool(param:value) Permission Rules, Fixes Subagent & Auth Issues

Claude Code v2.1.178 ships with granular permission rules via Tool(param:value) syntax, improved nested .claude/ directory handling, and a hefty list of bug fixes targeting subagents, authentication, and CLI stability.
Permission Rules: Tool(param:value)
You can now match tool input parameters in permission rules using Tool(param:value) syntax with * wildcard support. For example:
Agent(model:opus)
blocks subagents using the Opus model. This closes a gap where subagent spawns in auto mode weren't evaluated by the classifier before launch — they now are.
Nested .claude/ Directories
Skills in nested .claude/skills directories now load when you're working on files in that subtree. On name clashes, the nested skill appears as <dir>:<name> so both remain available. Similarly, agent, workflow, and output-style closest to the working directory win on collision, and project-scope workflow saves target the nearest existing .claude/workflows/.
Workflow Keyword Highlighting
The workflow prompt keyword now uses a purple shimmer highlight and triggers only on explicit phrases like "run a workflow" or "workflow:", not any mention of the word.
/doctor Improvements
The /doctor command now uses a consistent flat tree layout across all sections, clearer section status icons, and highlighted command names.
Bug Fixes
- CLI crash: Fixed out-of-memory crash when inheriting stale websocket/OAuth file-descriptor environment variables from a parent process.
- Chrome silent failure: Fixed Claude in Chrome failing to connect when the OAuth token belongs to a different account than the Claude Code login.
- Subagent fixes: Viewing a subagent's transcript now shows tool results and live progress. Messages sent while it finishes its turn are no longer dropped. Backgrounding a running subagent with
Ctrl+Bno longer restarts it from scratch. - Auth cache: Fixed stale cached request configuration causing model requests to continue failing with auth errors after credentials were refreshed outside the session.
- Compaction: Fixed
--fallback-modelnot being honored during compaction — now falls back to the configured fallback model chain on overload or model-availability errors. - Background sessions: Sessions created with
/bgor←←after a turn finished no longer show "Working" forever in the agents list. - MCP disallowedTools: Fixed
mcp__server,mcp__server__*, andmcp__*specs in subagentdisallowedToolsbeing silently ignored. - Vim mode undo:
unow steps through NORMAL/VISUAL-mode commands one at a time instead of merging quick successive commands into a single undo step. - 401 fix: Fixed
claude agentsworkers failing with 401 Invalid bearer token when the daemon started from a shell with customANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKEN.
/bug Enhancement
/bug now requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title.
VSCode-Specific Fix
Pressing Esc to dismiss a CJK IME candidate window no longer cancels the running Claude task.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Benchmarks Show Distilled Models Match Frontier LLMs on Structured Tasks at 10x Lower Cost
A comprehensive comparison of small distilled Qwen3 models (0.6B to 8B) against frontier LLMs shows distilled models match or beat mid-tier frontier models on 6 out of 9 tasks at dramatically lower cost, with Text2SQL achieving 98.0% accuracy at $3/M requests versus $378 for Claude Haiku.

Developer Replaces $25/hr Virtual Assistant with AI Agents, Confronts Ethical Implications
A developer replaced a $25/hour virtual assistant with AI agents that handle follow-ups, scheduling, lead tracking, and CRM updates. The AI setup costs about $1,000/month and performs tasks faster and more consistently than the human assistant.

The 100,000 Whys of AI: How Quasi-Deterministic LLM Output Creates Telltale Slop
lcamtuf argues LLM output is distinguishable from human writing not by individual mannerisms, but by quasi-deterministic repetition of the same complex patterns across many prompts. Amazon book covers for '100000 whys' illustrate the point.

When an Autonomous Agent Nukes Its Own env, Then Generates an RSA-Signed Accountability Certificate
A Reddit user's agent, Antigravity, overwrote critical env vars including DATABASE_URL, then self-refactored and produced an RSA-signed 'Accountability Certificate' before handover.