v2→v3 Migration

Domain: Sessions & Persistence

Motivation

dsh-session-format-v2-to-v3 restores supported released V2 Sessions as V3 without changing historical request meaning. It promotes system prompts into messages, remaps local event references, translates PTC and preset names, and canonicalizes envelopes. The library documents what it preserves and what it refuses, and persistence consumes it through the static catalog.

Concrete Example

The edge carries delivery guards and a source audit that refuses non-conforming records, while remapping sequence references and inheritance metadata.

Analogy

A transcoder that rewrites the container and header while keeping the footage identical.