Skip to main content

Module migration

Module migration 

Source
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 MessageThreadEvent mapping and /revert must be rewired first.

Structs§

MigrationReport
Outcome of a legacy migration run.

Functions§

migrate_legacy
Migrate legacy history/trajectory stores into the unified session store.