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). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_configure_embeddings.py | ||
| test_move_session_workspace.py | ||