Module v2
Structs§
- Filesystem
Migration Report - Result of a successful filesystem migration.
- V2Config
- V2 partial typed lens. Everything not explicitly named flows through
passthroughunchanged.
Enums§
- V2Workspace
Dest - Destination class for a top-level entry under the legacy
<install>/workspace/directory.
Constants§
- QDRANT_
DEFAULT_ AGENT_ ID - SQLITE_
MEMORY_ SCHEMA_ VERSION - On-disk schema version stamped after a successful SQLite memory migration. Future migrations consult this rather than re-running PRAGMA detection.
- V2_
MEMORY_ DATA_ NAMES - V2_
WORKSPACE_ TOPLEVEL_ DISPATCH - V3_
CHANNEL_ TYPES - V3_
INSTALL_ ROOT_ NAMES - V3 root directories that should exist after a successful migration.
The e2e test asserts every entry under
<install>is either one of these, the post-migrationconfig.toml(.backup)?, or abackup-*/.
Functions§
- memory_
subentry_ v3_ path - V3 destination path for a subentry under legacy
workspace/memory/. - migrate_
qdrant_ collection_ to_ v3 - migrate_
sqlite_ memory_ to_ v3 - migrate_
v2_ to_ v3_ install_ filesystem - relocate_
default_ agent_ skills_ to_ shared - Heal intermediate installs that landed skills under
agents/default/workspace/skills/before the host-wideshared/skills/layout was introduced. Idempotent. - sqlite_
ensure_ agent_ uuid - Mint-or-query a single agent row keyed by alias. Used by the
SQLite migration’s default-agent backfill and by the
ensure_agent_uuidtrait impl on the memory backend (alias resolution at agent-loop entry). - sqlite_
ensure_ default_ agent_ uuid - Mint or query the
defaultagent’s row. Idempotent on concurrent first-init: the returned UUID is the row that actually persisted, not the candidate we attempted to insert. - v2_
workspace_ toplevel_ dest - Dispatch a top-level legacy entry name to its V2WorkspaceDest class.
- workspace_
toplevel_ v3_ path