What
The session id given by --resume or by the launch config is validated before use. A valid id resumes as before; a non-empty id that does not parse now takes the fork and replay path rather than silently resuming. v2.1.231 resumed on any non-empty id.
Details
- Accepted forms are a plain UUID, or a prefixed identifier matching
^[A-Za-z0-9][A-Za-z0-9_]*$whose trailing01-prefixed base58 segment decodes to a 32-hex-digit UUID.
Evidence
/^[A-Za-z0-9][A-Za-z0-9_]*$/.test(e)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundle--resume
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up --resume, on Claude Code changelog.
* Improved `--continue` / `--resume`: the conversation appears immediately instead of waiting for SessionStart hooks, and the first message no longer re-reads the whole transcriptchangelog see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up --resume, on Claude Code changelog.