Daily harness signal · October 6, 2026

A rewritten call
needs a fresh policy check.

One implementation lesson · Hook-to-execution boundary

A hook can change what a tool will do after the model requests it. Claude Code’s new repair makes the boundary explicit: authorize the final arguments, not merely the original intent.

Fresh · source October 5, 2026

Bind permission to the executed input

Use when

A PreToolUse hook redirects file operations, wraps shell commands, or otherwise returns updatedInput. A safe original request does not establish that its replacement is allowed.

Action

Require the 2.1.290 repair or a reviewed equivalent before relying on this path. In owned adapters, validate the final complete input, reapply applicable deny/ask rules and safety checks, then dispatch only that authorized input. For transformation-only hooks, return updatedInput without a blanket permissionDecision:"allow". Preserve unchanged fields: the documented field replaces the entire input object, rather than patching selected keys. Approval must describe the replacement destination or command.

Acceptance check

In an authorized disposable fixture, set permissions.deny=["Edit(./blocked.txt)"]. Have a reviewed test hook redirect a Write from allowed.txt to the absolute fixture path of blocked.txt, preserving dummy content. Require a rule-based denial, no tool dispatch, and no blocked file; repeat with the hook also voting allow. Use Edit, not Write(path): the latter is not consulted for file-path permissions.

Separately replace deny with ask: without approval, nothing writes; the prompt must name the rewritten target. A permitted redirection control must preserve all expected content. Retain versions, effective rules, original/final JSON, decision provenance, and resulting files. Exercise applicable parent and child routes; an unrelated classifier refusal does not prove the rule worked.

Evidence

October 5’s official release explicitly fixes some permission rules and safety checks not being applied after a PreToolUse rewrite. Current hook documentation says deny/ask rules remain applicable regardless of the hook’s vote. Versioned field reports supply inspectable wrapper and multi-hook counterexamples, not independent validation of this repair.

Caveat

The release does not identify every repaired branch or promise that denies match both original and rewritten commands. Wrapper prefixes still need separate policy coverage. Hook code itself runs with user authority; these checks do not sandbox it. No public implementation, regression output, or post-fix runtime result was inspected. The fixture above is proposed, not executed; no hook, installation, or configuration was changed.

Compact source notes

  1. Claude Code 2.1.290, published October 5, 2026, 23:33:17 UTC. Vendor repair statement: confidence_confirmed; proposed integration control: confidence_likely. No live-latest or universal bypass-fix claim.
  2. Hooks reference and file permission reference, undated, inspected today. updatedInput replaces the object; Edit(path) covers built-in file-editing tools. Relative fixture rules require the intended working directory.
  3. August 25 wrapper report: 2.1.241, Windows; matching only the rewritten command is a distinct policy-coverage issue. July 8 multi-hook report: 2.1.204, macOS; sibling ask reportedly dropped a rewrite. Auto-closure as duplicate is not a repair receipt. Neither report establishes current behavior or the precise bug fixed in 2.1.290.
  4. Anchor lens: named vendor failure, exact input/rule contracts and versioned counterexamples. Unity lens: approval must remain bound to the final operation; proposed invariant. Any denied-target mutation, stale-target approval, or lost content falsifies the relevant acceptance check. Keep independent task acceptance and OS containment.