Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.216 ·

/auto-mode-setup Now Requires File Hash Before Applying

Entry
JSON All of v2.1.216
EntryKind: in v2.1.216,
ImprovementsSection of the release
What

The --apply-file flag now requires a preceding --expect-sha256 <64-hex> argument. The apply step is refused unless the proposal file's exact bytes hash to the given SHA-256, preventing a file-swap attack between review and apply.

Usage
# Step 1: generate proposal (unchanged)
/auto-mode-setup --wizard posture=personal scope=all depth=both --propose

# Step 2: apply with hash
/auto-mode-setup --expect-sha256 <64-hex> --apply-file /tmp/auto-mode-proposal.json
Details
  • --expect-sha256 must come directly before --apply-file and must not use = syntax
  • Optional --request-id <uuid> can be placed first; the UUID is echoed back in the JSON result as requestId, letting a host correlate replies to requests
  • --request-id must be in canonical 8-4-4-4-12 hex-and-dash UUID format
  • Passing --request-id after --apply-file is an error; it must come first
  • The hash mismatch error is: "The proposal file's bytes do not match the reviewed digest"
Evidence

New argument parser (search for "--expect-sha256 is required" or "--request-id must be a UUID").

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.216 →

Feedback