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 | ||
| configure_embeddings.py | ||
| dialectic_cost_calculator.py | ||
| ensure_alembic_tests.py | ||
| generate_jwt.py | ||
| generate_jwt_secret.py | ||
| generate_message_embeddings.py | ||
| jsonl_to_json.py | ||
| migrate_db.py | ||
| move_session_workspace.py | ||
| provision_db.py | ||
| run_alembic_tests.py | ||
| test_reasoning_levels.py | ||
| update_version.py | ||