{"version":"2.1.323","anchor":"print-mode-resume-rewindcut-cloud-derived-sessions-cpu-ti","canonical_anchor":"print-mode-resume-rewindcut-cloud-derived-sessions-cpu-ti","heading":"Resumed sessions keep rewind points, where they came from, and denied tools","tier":"notice","area":"Resume","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/print-mode-resume-rewindcut-cloud-derived-sessions-cpu-ti","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Resumed sessions keep rewind points, where they came from, and denied tools\n\nResuming a session now carries rewind cuts, records which session it came from, and keeps tools denied for a turn denied after a restart\n\n**What**\n\nA session is one conversation with Claude Code, and resuming picks it up again later. Resuming now carries more of the session's history with it.\n\n- Rewind cut: a `rewindCut` is read from the transcript (the saved record of the session) and passed through the result of `--resume` in print mode, the non-interactive mode used by scripts and the SDK. A new `mirrorRewindMarker` writes the rewind marker to the cloud session's event stream.\n\n- Where a session came from: transcripts now hold derived-from entries, each a session ID with a `via` of `branch`, `background`, `fork`, `resume` or `compact`, plus data-flow records. They are restored when a session loads. Compaction, which shortens a long conversation, records `via: \"compact\"`, and `CLAUDE_CODE_RESUME_SOURCE_ALIVE` selects `background`. Before, only tool-use and connector data flags were recorded on resume.\n\n- Copied sessions: print-mode resume records parent sessions and marks a copied session as incomplete. When `CLAUDE_CODE_RESUME_FROM_SESSION` fills in the session, that source is recorded.\n\n- Denied tools: tools disallowed for a turn and for the client are saved as `turn_deny_lists` in the remote worker's internal data. After a restart, if those lists cannot be read, Claude Code does not resume the interrupted turn or the cut-off agent. This applies only when `CLAUDE_CODE_RESUME_INTERRUPTED_TURN` is set on a remote connection.\n\n- Teleport failures: in print mode these now print the error in the chosen output format and stop. Before, they logged \"Teleport in print mode failed:\" and carried on with no messages.\n\n- Load time: how much processing time loading a resumed session took is now recorded.\n\n- Last-prompt entries only set `explicit` when asked to.\n\n**Why**\n\nResumed, forked and background sessions behave more consistently after a rewind or compaction, and keep track of which session they came from. A tool you denied for a turn does not become usable again just because a remote worker restarted.\n\n- Area: Resume\n- Names: `--resume`, `--print`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}