Agent Shipped

Issue · 2026-11-19 · Claude Code · Hooks · Workflows · Security

Claude Code 2.1.326 Makes Hook Blocks Stick, Plus a 3-Stage Review

Hi, Paul here. This week's Claude Code release is mostly fixes, but one line in it can quietly change what your hooks do, so that's where I'd start. After that, a review loop worth copying: plan, have a fresh agent attack the plan, then audit the raw diff before merge.

What changed

Claude Code 2.1.326 makes hook blocks hold in more cases. The release notes say it plainly: "Changed a hook's "decision": "block" to hold in more cases, so a hook that always prints one may start blocking calls."

If you wrote a hook that prints "decision": "block" as a default and relied on it being ignored in some paths, those calls may now stop. The same release also:

What to do: run claude update, then grep your hooks for "block":

grep -rn '"block"' ~/.claude/settings.json .claude/ ~/.claude/hooks 2>/dev/null

Any hook that emits a block unconditionally should only emit it when it means it. If you run headless jobs with --allowedTools, start one by hand once and read the new warning before your next unattended run.

Workflow of the week: plan, red-team, audit the diff

vaibhav-space/my-ai-coding-workflow is one developer's setup after an estimated 4,500+ hours with coding agents. The part worth copying is a three-stage review that only runs on "Architectural" tasks (subsystems, multi-service features, breaking contract changes). Small, bounded tasks skip it.

Stage 1: plan, and stop. prompts/planning.md has the agent inspect the repo, map requirements to acceptance criteria and say how each one will be verified. It ends with a hard boundary:

Stop once the plan is saved and wait for my approval. Do not touch implementation code.

The point is to catch wrong file paths, wrong package versions and wrong architecture assumptions before any code exists.

Stage 2: red-team the plan in a fresh context. prompts/critical-plan-review.md runs as an independent senior engineer in a new session or subagent, so it isn't anchored on the planner's reasoning. It looks for race conditions, missing error boundaries, timeout policies, idempotency risks and over-engineering, with a YAGNI brake that separates real failure modes from unlikely edge cases.

Stage 3: audit the raw git state before merge. prompts/production-readiness-review.md, again in a fresh context, reads git status, git diff, git diff --cached and untracked files against the approved plan. It hunts logic bugs, integration breaks, leaked secrets and stray artifacts. Fixes must be the smallest targeted edit; anything that changes architecture or a public contract pauses for you.

How to set it up in Claude Code:

  1. Copy the repo's CLAUDE.md into ~/.claude/CLAUDE.md (or merge the parts you want).
  2. Save the three prompt files somewhere you can paste from, or turn each into a slash command.
  3. Run stage 2 and stage 3 with /clear first or as a subagent, never in the session that wrote the plan.

My take: adopt stage 3 first. It checks the diff against the plan, not against the agent's own summary of what it did, and that's the gap where most surprises hide.

Copy this: a skill that skips the first idea

antialgorithm is a Claude Code skill for creative work: names, copy, ideas, posters, UI. It "steers the model away from its first, most average pick" by having the model name that first idea, then move away from it for a reason drawn from your project.

It ships three helper scripts. seed.py gives a random starting point when your request is thin. rough.py roughens a code-drawn SVG so it looks less plotted. check.py renders an SVG at full and icon size and flags text that runs off an edge, has low contrast or is too small.

Install (MIT license, needs Python 3; check.py also needs numpy, Pillow and rsvg-convert or cairosvg):

git clone https://github.com/mankidev/antialgorithm ~/.claude/skills/antialgorithm

I'd use it for naming and landing-page copy, where the default answer is the one everyone else's agent also gave.

Worth your time

Reply and tell me

Do you review agent plans before code gets written, or only the diff after? Hit reply with what your review step looks like. I read every one and the best setups end up in a future issue.

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.

Related guides