feat: restructure PSD repo (P7) and add operator setup templates + checklist

This commit is contained in:
2026-08-13 16:14:32 +02:00
parent aa22183ac7
commit 3046ac34c6
8 changed files with 167 additions and 1 deletions
+20 -1
View File
@@ -7,7 +7,7 @@
> ThothII per il repository (app + CLI `thothctl`), (3) come usare l'applicazione ThothII di base
> (sessioni, domande, gate). Il documento userà parole semplici ed esempi; i dettagli tecnici
> resteranno nei contratti esistenti. Esempio pratico completo: Policlinico San Donato.
Last updated: 2026-08-13 (P2–P6 accepted; aggregate PASS; user guide written).
Last updated: 2026-08-13 (P2–P6 accepted; aggregate PASS; P7 repo restructured + validated).
> Point a fresh session here ("read PROJECT_STATE.md") before substantial work.
### P3 effective configuration and `.tht-dwh` — implementation complete, automated PASS, manual PASS (2026-08-13)
@@ -134,6 +134,25 @@
- **Manual acceptance:** PASS (owner approval 2026-08-13) — walkthrough section P6 in
`docs/testing/p2-p6-manual-verification.md`.
### P7 PSD migration — plan + repository restructured + local validation PASS; owner-gated (2026-08-13)
- **Plan:** `docs/superpowers/plans/2026-08-13-p7-psd-migration.md`.
- **Done (autonomous):** `/Users/mp/projects/tht-workspace-psd` restructured to the P1.1 layout and
committed (`thoth-workspaces.yaml` + `psd-clinical/workspace.yaml` schema v3 + `psd-clinical/
evidence/` 36 `.md` + `psd-clinical/schema/annotations.yaml` 42 KB); legacy runtime dirs gitignored
and the old flat `psd.yaml` retired. A local `WorkspaceRegistry.bootstrap()` against a scratch bare
clone **activated `psd-clinical`** (descriptor valid, 36 Evidence materialized + manifest, 42 KB
annotations synced, `workspace-docs` generated) with no DWH/secret access.
- **Templates:** `deploy/psd/{workspace-bindings,operator,thothii-installation}.env.example` +
gitignored `secrets/`; operator checklist in `docs/install/psd-workspace-setup.md` (registered in
MkDocs nav).
- **Owner-gated (needed to continue):** (1) GitHub remote URL + push credentials for the PSD repo;
(2) DWH X-API-Key (+ CA) reuse; (3) LLM provider/model confirmation (default `zai/glm-5.2` already
in the descriptor); (4) confirmation of the DWH REST ping (`POST /rpc/ping`, `X-API-Key`) for
`diagnostics.dwh_rest`.
- **Remaining:** Tasks 3–5 of the plan (installation bindings/secrets, stack start +
`qwen3-embedding:0.6b` pull, re-embedding/`preprocess run`, live P8 L2 smoke).
### Final aggregate P2–P6 verification — automated PASS, manual PENDING (2026-08-13)
- **Aggregate process goal:** one clean-state run exercises the complete DWH → FK → schema →