feat(harness): config.py + workspace.py (D3 confine) + chirone.example.yaml
- config.py ported from ChironeWp3, PSD_PROFILE -> THOTH_PROFILE; dual vector key (vector_rest/vector_write_rest top-level) preserved verbatim - workspace.py: thin boundary wrapper (D3) around load_config - workspaces/chirone.example.yaml: aligned to the real Config shape - tests/test_workspace.py: 2 tests (env expand + dual key; missing env raises) - .env.example: added DWH + DOCS_ROOT vars All tests pass (2/2).
This commit is contained in:
@@ -4,9 +4,17 @@ THOTH_PROFILE=server
|
||||
# Workspace DB (relational, direct transport) — example: chirone
|
||||
THOTH_DB_HOST=
|
||||
THOTH_DB_PORT=5432
|
||||
THOTH_DB_NAME=
|
||||
THOTH_DB_USER=
|
||||
THOTH_DB_PASSWORD=
|
||||
|
||||
# DWH via REST (richiesto se database.transport = rest)
|
||||
THOTH_DWH_REST_URL=https://supabase-aritmolab.policlinicosandonato.it/dwh/
|
||||
THOTH_DWH_API_KEY=
|
||||
|
||||
# Evidence source root (cartella curata a mano con le evidence)
|
||||
THOTH_DOCS_ROOT=
|
||||
|
||||
# Vector REST — LETTURA (rpc search_similar) sul Supabase remoto
|
||||
THOTH_VEC_REST_URL=https://host/vector/v1/
|
||||
THOTH_VEC_API_KEY=
|
||||
|
||||
Reference in New Issue
Block a user