Expand description
One-off migration of the legacy, overlapping history stores into the unified per-session store.
Legacy inputs:
.vtcode/history/session-*.memory.json→<session>/derived/memory.json.vtcode/logs/trajectory-*.jsonl→<session>/derived/trajectory.jsonl
Legacy checkpoints/ are intentionally not migrated here: they require a
lossy Message → ThreadEvent mapping and /revert must be rewired first.
Structs§
- Migration
Report - Outcome of a legacy migration run.
Functions§
- migrate_
legacy - Migrate legacy history/trajectory stores into the unified session store.