A hidden print-mode flag lets you name the turn a truncating resume should drop, refusing anything unexpected.
What's wrong with this entry?
A truncating resume can now declare which turn it intends to discard, and is refused if the discarded range contains anything that does not belong to that turn.
- registered as
--resume-drops-turn <message id>with help text "declare the prompt uuid of the turn the truncating resume intends to discard; the resume is refused if the discarded range contains anything not attributable to that turn" - refusal triggers on absorbed queued messages, compaction summaries, externally-sourced entries and task notifications; the message names a per-entry reason such as a range containing a compaction summary or a non-furniture attachment
- startup exits with
Error: --resume-drops-turn requires --resume-session-atif used alone; a refused resume reportstengu_session_resumedwith failure_reasondrop_guard_refused - the option is hideHelp'd and, like
--resume-session-at, ignored outside print mode; the SDK subprocess transport forwards it and the arg-quoting tables accept its value
claude -p "continue" --resume-session-at <uuid> --resume-drops-turn <prompt uuid>Resume rejected by --resume-drops-turn:, --resume-drops-turn requires --resume-session-at
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Shutdown-synthesized tool results no longer resolve an interrupted turn
Both mention resume turn