honcho/tests/scripts
Rob Sherman c0d6bc6f3b
feat(scripts): add tool to losslessly move sessions between workspaces
Adds scripts/move_session_workspace.py, an admin tool that relocates named
sessions (with their messages, embeddings, and conclusions) from one workspace
to another without data loss. Preserves session IDs in place via transaction-local
deferrable constraints, copies any missing target peers/collections full-column,
renames on collision, clears transient queue items, and asserts referential
integrity inside a single pg_dump-backed transaction. Dry-run by default; a
no-privilege create-new-row fallback exists for deployments that cannot defer
constraints. Includes 20 tests (tests/scripts/test_move_session_workspace.py).
2026-06-29 18:07:23 -07:00
..
__init__.py Make embeddings configurable (#678) 2026-05-14 15:03:35 -04:00
test_configure_embeddings.py feat: add new cloudevents for api routes (#637) 2026-05-20 18:25:30 -04:00
test_move_session_workspace.py feat(scripts): add tool to losslessly move sessions between workspaces 2026-06-29 18:07:23 -07:00