feat: harden runtime readiness and session workflow
This commit is contained in:
+20
-1
@@ -1,6 +1,6 @@
|
||||
# ThothII — Project State
|
||||
|
||||
> Starting-point snapshot for new sessions. Last updated: 2026-07-12 (Docker deploy live + codex portable-deployment merged).
|
||||
> Starting-point snapshot for new sessions. Last updated: 2026-07-13 (direct adapters + Pi project trust fixed live).
|
||||
> Point a fresh session here ("read PROJECT_STATE.md") before substantial work.
|
||||
|
||||
## Deployment — Docker locale (Profile A, co-located) — LIVE 2026-07-12
|
||||
@@ -16,6 +16,25 @@ ThothII gira in Docker sul server co-locato, **embedded nel portale omics_portal
|
||||
- **Standalone/dev**: `docker-compose.dev.yml` (rete propria, porte host 8787/8090) + `scripts/docker-smoke.sh`.
|
||||
- Piano dettagliato: `docs/superpowers/plans/2026-07-12-local-docker-deploy-implementation.md`.
|
||||
|
||||
### Runtime incident fixes — LIVE 2026-07-13
|
||||
|
||||
- The bind-mounted Pi profile came from host paths and did not trust `/app/harness`.
|
||||
Pi 0.80 consequently loaded **zero** project extensions, prompts and skills, silently
|
||||
sending `/nuova-domanda`/`/riprendi-sessione` to the model as plain text. The core
|
||||
entrypoint now idempotently adds only `/app/harness` to the persistent
|
||||
`/home/thoth/.pi/agent/trust.json`, preserving all existing decisions.
|
||||
- The gate embeds the canonical `tht-sessione/SKILL.md` in the one-shot kickoff system
|
||||
prompt and explicitly prohibits repository discovery. A live RPC `get_commands` must
|
||||
show `torna`, `nuova-domanda`, `riprendi-sessione`, and `skill:tht-sessione` after deploy.
|
||||
- Workspace identity is derived from the resolved config path, so
|
||||
`config/tht.yaml -> workspaces/local.yaml` matches DWH artifact ownership (`local`).
|
||||
- Direct pgvector now discovers the actual namespaces of the `vector` type and cosine
|
||||
operator from PostgreSQL catalogs. This supports server layout `vectors.*` tables with
|
||||
the extension installed in `public`.
|
||||
- Live verification: session `2026-07-13-074712-dammi-la-lista-dei-pazienti-che-haoo-fat`
|
||||
resumed directly at F1, ran `tht session show`, and completed `tht search pack`
|
||||
(12 tables, 0 evidence, 2 solved) without repository exploration or adapter errors.
|
||||
|
||||
## What ThothII is
|
||||
|
||||
A **human-in-the-loop datamart builder**: it turns a natural-language question into
|
||||
|
||||
Reference in New Issue
Block a user