resume, jump, and undo whole turns
Sessions & rewind#
Every conversation is a session, saved as you go.
- /resume — reopen a past session (newest first);
dNdeletes one. - /new (Ctrl+N) — start fresh; DGC auto-titles it from your first prompt.
- /name — rename the current session.
- /history (Ctrl+R) — search and recall any past prompt.
- /jump — scroll the transcript straight to a past turn.
- dgc export-training / /export-training — export your sessions as scrubbed
fine-tuning JSONL (see *Training export*); read-only, never modifies a session. The slash command runs the same export for the current project; the VS Code palette exposes it as *DGC: Export Training Data*.
- /handoff — create a bounded, redacted continuation document from one stable
session generation. DGC saves it as a new private HANDOFF-*.md through the workspace lease; an overlapping turn is rejected instead of mixed into the file.
- /rewind — restore both the code *and* the conversation to how they were at
a chosen turn. Exact conversation prefixes and project-root file snapshots are saved with the private session, so rewind survives resume and context compaction. Direct file-tool and integrated sub-agent changes are captured before mutation; the edit is refused if that durable capture fails. Arbitrary shell writes are not guaranteed rewindable, and approved external-path snapshots last only for the current process so resume never gains ambient authority outside the project.