fix: retire active pgvector artifacts
This commit is contained in:
@@ -28,13 +28,17 @@ new_fixture() {
|
||||
printf '%s\n' '// generic frontend configuration' >"$fixture/repository/frontend/vite.config.ts"
|
||||
printf '%s\n' '// explicit descriptor migration module may mention pgvector during conversion' \
|
||||
>"$fixture/repository/backend/src/workspaces/migrate-legacy.ts"
|
||||
printf '%s\n' 'language: en' 'vectors: { type: qdrant, base_url: http://qdrant:6333, collection: demo }' \
|
||||
>"$fixture/repository/deploy/workspaces/example.yaml"
|
||||
printf '%s\n' '# qdrant backup helper' >"$fixture/repository/scripts/vector-backup.sh"
|
||||
printf '%s\n' '# qdrant restore helper' >"$fixture/repository/scripts/vector-restore.sh"
|
||||
|
||||
# These are the three intentionally allowed categories from the Task 10 boundary.
|
||||
printf '%s\n' 'historical omics_portal and Chirone record' \
|
||||
>"$fixture/repository/docs/superpowers/plans/legacy.md"
|
||||
printf '%s\n' 'historical pgvector rollout note' \
|
||||
>"$fixture/repository/docs/superpowers/specs/history.md"
|
||||
printf '%s\n' 'id: psd' >"$fixture/repository/deploy/workspaces/psd.yaml.example"
|
||||
printf '%s\n' 'id: generic' >"$fixture/repository/deploy/workspaces/psd.yaml.example"
|
||||
printf '%s\n' '# migrate PSD sessions from /home/chirone' \
|
||||
>"$fixture/repository/docker/session-migrate.sh"
|
||||
}
|
||||
@@ -77,6 +81,10 @@ assert_detected scripts/run-stack.sh 'export THT_VECTOR_READER_PASSWORD_FILE=/ru
|
||||
assert_detected deploy/env/local.env.example 'THT_OLLAMA_URL=http://ollama.example.invalid:11434'
|
||||
assert_detected scripts/generate-override.sh 'THT_WS_NORTH_STAR_RESEARCH_VECTOR_API_KEY_SOURCE=/tmp/vector-key'
|
||||
assert_detected scripts/test-contract.sh 'docker compose -f deploy/compose.local-vector.yaml --profile local-vector config'
|
||||
assert_detected deploy/workspaces/local-vector.yaml 'vectors: { type: pgvector_direct }'
|
||||
assert_detected deploy/workspaces/example.yaml 'embeddings: { base_url: ${THT_OLLAMA_URL} }'
|
||||
assert_detected scripts/vector-backup.sh 'pg_dump --format=custom'
|
||||
assert_detected scripts/vector-restore.sh 'pg_restore --single-transaction'
|
||||
|
||||
new_fixture
|
||||
mkdir -p "$fixture/bin"
|
||||
|
||||
Reference in New Issue
Block a user