Commit Graph
28 Commits
Author SHA1 Message Date
Codex 84084bba37 Fix Qwen session tool calls and expose thinking compatibility
Publish documentation / publish (push) Successful in 30s
2026-09-21 16:23:51 +02:00
Codex 82e2c91f42 feat: implement memory and evidence administration with guided repairs
Publish documentation / publish (push) Successful in 1m27s
Add PostgreSQL-backed memory, editable evidence with source review and activation, and human-approved archive repairs across the harness, API, and UI. Include migrations, deployment support, regression coverage, and validation documentation.

Refresh permissions from validated session roles so existing administrator logins can access newly deployed archive management features.
2026-09-10 10:31:34 +02:00
Codex cffa60772e feat: complete catalog-driven preprocessing
Publish documentation / publish (push) Successful in 2m12s
2026-09-06 17:49:35 +02:00
Codex a6a5bf2036 fix: harden model catalog projections 2026-09-02 19:25:01 +02:00
Codex 7b7927bfe5 feat: unify installation model catalog 2026-09-02 18:45:33 +02:00
Codex 9898726069 feat(evidence): structure v3 domain rules for review 2026-08-26 12:38:30 +02:00
Codex 9d4f994d3e feat(evidence): add table-free v3 and design guidance 2026-08-26 12:15:40 +02:00
Codex 38f02cfd08 feat: complete evidence restructuring worktree 2026-08-26 11:39:02 +02:00
marcopan 8ba87b68dc fix(evidence): stabilize real Pi authoring 2026-08-25 15:21:59 +02:00
marcopan e9c65ef2db fix(evidence): resolve final review findings 2026-08-25 03:03:11 +02:00
marcopan 619ac2e141 feat(evidence): evaluate retrieval with a small fixture 2026-08-25 01:44:12 +02:00
marcopan dcb5acc312 fix(evidence): preserve legacy formula migration boundaries 2026-08-25 01:28:54 +02:00
marcopan cc30148b69 refactor(evidence): unify formulas with typed evidence 2026-08-25 01:23:04 +02:00
marcopan d5d65f3659 fix(evidence): index only curated legacy documents 2026-08-25 01:02:41 +02:00
marcopan f1a9b567ba feat(evidence): contribute to semantic stages (#42) 2026-08-24 22:05:30 +02:00
marcopan 3420c57c8b feat(evidence): build semantic fragments from typed units 2026-08-24 21:33:48 +02:00
marcopan 8adc085746 feat(evidence): resolve curated evidence explicitly 2026-08-24 20:52:56 +02:00
marcopan f5c7cc6198 feat(evidence): prepare curated evidence incrementally 2026-08-24 20:08:27 +02:00
marcopan 6176410f42 fix(evidence): fail closed when BM25 is unavailable 2026-08-24 18:21:21 +02:00
marcopan 29d41ac258 feat(evidence): use server-side Qdrant BM25 retrieval 2026-08-24 18:15:33 +02:00
marcopan ae0976a4aa feat(evidence): validate canonical curated corpus 2026-08-24 17:38:22 +02:00
marcopan 6062cb010e Chiusura fase di ristrutturazione e modularizzazione del workflow per favorire sviluppo modulare 2026-08-24 13:32:20 +02:00
marcopan 840848df94 refactor(evidence): remove legacy Python layout (#31) 2026-08-24 02:36:30 +02:00
marcopan 44f1efa5ba refactor(evidence): migrate acquisition and preprocessing (#30) 2026-08-24 02:25:11 +02:00
marcopan d5e78febd3 refactor(evidence): migrate runtime consumption (#29) 2026-08-24 02:10:06 +02:00
marcopan 8b63715b56 refactor(evidence): add cohesive Python facade (#28) 2026-08-24 02:02:57 +02:00
marcopanandClaude Opus 4.8 c4d130828f fix(harness): remediation difetti review — gate↔CLI, D15, D7/D6, D14, robustezza
Implementazione del piano di remediation progressiva sui difetti emersi
dall'analisi dell'harness. Tutto verificato: 214 test Python (incl. L0 su
Postgres reale), 14 test JS del gate, ruff pulito.

Blocco 1 (CRITICA, integrazione gate↔CLI):
- phase advance: gate usa --auto + exit 6; reviewer_confirm kind:phase fa
  advance esplicito che applica i prerequisiti (prima non avanzava per le
  fasi a conferma umana).
- cte plan riceve i --name dal gate (param names); set-question con id
  posizionale; skill `tht search find`; nuovo comando `tht memory save-one`
  con dedup hash client-side in save_one_memory.

Blocco 2 (D15, stato post-rollback):
- campo `phase` su DecisionRecord + effective_decisions phase-aware per i
  subject "a nome" (cte_approved ecc.); _compute_promotions e finalize sulla
  vista effective; finalize confronta col piano CTE effettivo, non glob;
  `decision add --retracts` + comando `decision retract`.

Blocco 3 (D7 read-only + D6 manifest):
- assert_read_only su tutti e quattro i codepath (direct + REST);
- manifest author/summary/updated_at/updated_by/schema_version popolati +
  helper touch_manifest sulle mutazioni.

Blocco 4-5 (D14a/D14b):
- decision_min_phase data-driven via `emits:` in workflow.yaml;
- formula evidence: status auto, search_formulas, gruppo CLI `tht formula`,
  `search find --kind formula`, load_evidence_dir salta i .sql.md.

Blocco 6 (robustezza):
- taskdoc slice promoted_tables + bound enforced; report escaping/bound +
  rsplit note; filtro kind reader REST/direct; conteggio upserted robusto;
  guard REST run_query non-list; LSH disallineato -> LshIndexError.

Blocco 7 (pulizia):
- dead code gate e KIND_TO_TABLE morto rimossi; doc Postgres-only
  (README + connection.py).

Blocco 0 (parziale): test di compatibilità firma gate↔CLI
(tests/integration). Rinviati: fake-Pi runtime completo, artifact-gate da
disco (#23), parità eligibility REST/direct (#28), unificazione
reserved-labels (#30), memory_rejected da deselezione (#33).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 17:16:51 +02:00
marcopan fc5fbe6b65 refactor(harness): renaming prodotto tht (Onda -1)
Thoth (tht) è il prodotto, PSD è il cliente. Nessun riferimento al contesto
clinico nel codice.

Rinomine:
- comando+package nsp→tht (dir nsp/→tht/, 46 import, pyproject entry point)
- gate nsp-gate.js→tht-gate.js (+ rewrite token, relayIfNspFails→relayIfThtFails)
- workspace chirone.{example,test}.yaml→tht.{example,test}.yaml (generici)
- env THOTH_→THT_ (19 var) + NSP_ stragglers (NSP_HARNESS_ROOT, NSP_SESSION)
- commenti/docstring chirone/psdwp3/policlinico neutralizzati ('the reference
  implementation', 'the DWH')

Aggiunto [tool.setuptools.packages.find] include=['tht*'] (necessario: l'auto-
discovery rompeva con tht/ + workspaces/ come top-level multipli).

.env operatore aggiornato in-place (prefissi THT_, valori preservati, gitignored).

Verifica: pytest 109 passed, npm test 14 pass, tht phase meta --json OK, zero
residui nsp/THOTH_/NSP_/chirone nel package.
2026-06-27 10:33:16 +02:00