Skill Utility

Session Handoff Replay

Consumer contract for /dr-continue — reads session artefact in a clean window, re-verifies every claim, emits banners, and routes to /dr-next or /dr-auto.

Overview

The session-handoff-replay skill is the consumer side of the cross-runtime session handoff system. It is loaded by /dr-continue and establishes the key consumer-awareness principle: the prior session was destroyed — treat all claims as unverified until re-probed.

Re-verification Protocol

  • Probe 1 — Git stategit rev-parse HEAD + git status --porcelain per repo; emits STALE SNAPSHOT banner on mismatch.
  • Probe 2 — SHA presencegit merge-base --is-ancestor <sha> origin/main for pushed/merged claims; emits CLAIM-UNVERIFIED + content-landing diff for squash-collision scenarios.
  • Probe 3 — Referenced filesstat <path> for every Layer-3 entry; emits FILE-MISSING banner.
  • Provenance downgradeverified: tags from the artefact are not carried forward as truth; downgraded to unverified unless the probe confirms.

Shared Replay Renderer

The bilingual replay prompt template (ищи способ... / Find a way...) is shared with /dr-next — defined once in skills/dr-next-snapshot-replay/SKILL.md § Shared Replay Renderer and cited by both consumers.

Canonical source

Full contract in the Datarim repo: skills/session-handoff-replay/SKILL.md.