docs: record published installer and recovery acceptance results
This commit is contained in:
+14
-8
@@ -25,7 +25,7 @@ and invariants are in [AGENTS.md](AGENTS.md); prior snapshots remain in Git.
|
|||||||
pulls, local operator UID, resumable volume initialization, Catalog/Memory migrations
|
pulls, local operator UID, resumable volume initialization, Catalog/Memory migrations
|
||||||
and service/authentication health. Tests cover the public native command with closed
|
and service/authentication health. Tests cover the public native command with closed
|
||||||
stdin and Linux volume/private-secret behavior using published images. Platform success
|
stdin and Linux volume/private-secret behavior using published images. Platform success
|
||||||
explicitly leaves workspace readiness false. The current
|
explicitly leaves workspace readiness false. The earlier
|
||||||
[preview.5 release](https://git.tylconsulting.it/mptyl/ThothII/releases/tag/installation-v0.1.0-install-preview.5)
|
[preview.5 release](https://git.tylconsulting.it/mptyl/ThothII/releases/tag/installation-v0.1.0-install-preview.5)
|
||||||
publishes amd64/arm64 images and native bundles. Its unmodified arm64 archive passed
|
publishes amd64/arm64 images and native bundles. Its unmodified arm64 archive passed
|
||||||
apply/retry, UI/admin login and live user revocation in a Linux consumer without host
|
apply/retry, UI/admin login and live user revocation in a Linux consumer without host
|
||||||
@@ -35,20 +35,25 @@ and invariants are in [AGENTS.md](AGENTS.md); prior snapshots remain in Git.
|
|||||||
storage, optimistic versions and container-side Catalog connection tests. Durable
|
storage, optimistic versions and container-side Catalog connection tests. Durable
|
||||||
Catalog import receipts survive administrative deletion; reruns stop on divergence.
|
Catalog import receipts survive administrative deletion; reruns stop on divergence.
|
||||||
Source/native command, authenticated client, concurrent/recovery and real PostgreSQL
|
Source/native command, authenticated client, concurrent/recovery and real PostgreSQL
|
||||||
tests cover this increment. These changes are not included in published preview.5.
|
tests cover this increment. These changes are included from preview.6 onward.
|
||||||
Ticket #49 adds existing durable Catalog Sync Runs and preprocessing to apply,
|
Ticket #49 adds existing durable Catalog Sync Runs and preprocessing to apply,
|
||||||
preserving human review (exit 3), curated content and Memory. Named one-shot checks
|
preserving human review (exit 3), curated content and Memory. Named one-shot checks
|
||||||
cover workspace diagnostics, workflow configuration and Pi/default-model smoke.
|
cover workspace diagnostics, workflow configuration and Pi/default-model smoke.
|
||||||
Reports distinguish platform, binding, workspace readiness and manual functional
|
Reports distinguish platform, binding, workspace readiness and manual functional
|
||||||
acceptance. This increment also requires a later release than preview.5.
|
acceptance. This increment is included from preview.6 onward.
|
||||||
Ticket #50 adds an explicit `prepare-source-installation.mjs` producer from an
|
Ticket #50 adds an explicit `prepare-source-installation.mjs` producer from an
|
||||||
isolated committed worktree. Source bundles pin local application image IDs and
|
isolated committed worktree. Source bundles pin local application image IDs and
|
||||||
upstream Docker Hub digests; the same native plan/apply path verifies provenance,
|
upstream Docker Hub digests; the same native plan/apply path verifies provenance,
|
||||||
shares journal/locks and never falls back to a build. Ticket #51 adds guarded
|
shares journal/locks and never falls back to a build. Ticket #51 adds guarded
|
||||||
interrupted preprocessing recovery, fencing of delayed/orphan workers and preserved
|
interrupted preprocessing recovery, fencing of delayed/orphan workers and preserved
|
||||||
pending schema review even during binding retry. Real-host
|
pending schema review even during binding retry. The current
|
||||||
acceptance and curated examples remain pending. Earlier previews are superseded
|
[preview.7 release](https://git.tylconsulting.it/mptyl/ThothII/releases/tag/installation-v0.1.0-install-preview.7)
|
||||||
for platform apply; no complete installer/OS acceptance is claimed.
|
includes these increments and fixes local session identity persistence for the
|
||||||
|
mapped operator UID. It publishes amd64/arm64 images and native bundles, with
|
||||||
|
anonymous pull and image smoke checks. See the
|
||||||
|
[completion and acceptance report](docs/reports/2026-10-06-installation-completion.md)
|
||||||
|
for consumer results and the next user steps. Real-host acceptance and curated
|
||||||
|
examples remain pending; no Windows/Omarchy/macOS acceptance is claimed.
|
||||||
|
|
||||||
- React supports full/embedded rendering independently of local/OIDC/upstream auth,
|
- React supports full/embedded rendering independently of local/OIDC/upstream auth,
|
||||||
with EN/IT UI and immutable session interaction language. See
|
with EN/IT UI and immutable session interaction language. See
|
||||||
@@ -116,8 +121,9 @@ A later deployment does not prove every earlier acceptance item passed.
|
|||||||
- The first installation acceptance uses an ad hoc
|
- The first installation acceptance uses an ad hoc
|
||||||
[Chinook workspace without Evidence](docs/testing/chinook-installation-smoke.md),
|
[Chinook workspace without Evidence](docs/testing/chinook-installation-smoke.md),
|
||||||
backed by a separate local PostgreSQL test container. Its fixture import,
|
backed by a separate local PostgreSQL test container. Its fixture import,
|
||||||
read-only credentials, offline validation and platform apply were verified; binding
|
read-only credentials, offline validation, platform apply, binding import and full
|
||||||
import, workspace readiness and a human-reviewed question remain pending. Evidence
|
workspace readiness were verified using source and published preview.7 bundles.
|
||||||
|
A human-reviewed question and Windows/WSL2 host acceptance remain pending. Evidence
|
||||||
acceptance and the three curated examples are separate later work.
|
acceptance and the three curated examples are separate later work.
|
||||||
- Fresh-machine installation acceptance, including real DWH/model endpoints, remains
|
- Fresh-machine installation acceptance, including real DWH/model endpoints, remains
|
||||||
a separate operator exercise, ordered Windows/WSL2, then Omarchy, then macOS.
|
a separate operator exercise, ordered Windows/WSL2, then Omarchy, then macOS.
|
||||||
|
|||||||
@@ -0,0 +1,130 @@
|
|||||||
|
# Installazione documentale: rilascio e collaudo
|
||||||
|
|
||||||
|
## Stato
|
||||||
|
|
||||||
|
Il branch di lavoro è `codex/guided-standalone-install`. Il percorso implementato
|
||||||
|
prepara e verifica i documenti prima di eseguire `installation apply`, che non pone
|
||||||
|
domande. Docker Hub è la distribuzione ordinaria; il percorso da sorgente rimane
|
||||||
|
esplicito e usa lo stesso piano, setup, controlli e recupero.
|
||||||
|
|
||||||
|
La revisione applicativa corrente è `977cf0e9787b80bc2c95da99d3700777dd5da150`.
|
||||||
|
La [preview 7](https://git.tylconsulting.it/mptyl/ThothII/releases/tag/installation-v0.1.0-install-preview.7)
|
||||||
|
è pubblicata con immagini Docker Hub core/frontend e bundle Linux amd64/arm64.
|
||||||
|
Il produttore ha verificato pull anonimi e smoke delle immagini su entrambe le
|
||||||
|
architetture. Il bundle consumer ha completato apply, la sua ripetizione e il
|
||||||
|
recupero dopo interruzione controllata.
|
||||||
|
|
||||||
|
Immagini applicative pubblicate, selezionate per digest dai manifest dei bundle:
|
||||||
|
|
||||||
|
| Architettura | Core | Frontend |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| linux/amd64 | `sha256:7696af1ee211964dd0f3b11139dc7e2403f9b1bf36b386d72e094431df869a60` | `sha256:9efee15ff6436736e7b2c72e27dd81b73fbdaaac2f1aa0e7f9e3fd148eaa1d0f` |
|
||||||
|
| linux/arm64 | `sha256:80850ce052c8725a1353b5c27ab62dc5223363ec6f44aa8ce75a907b47374d9b` | `sha256:39655b5eb2fcf36bb53a58dc628418801d3767062c8f58c83af6b822d8281698` |
|
||||||
|
|
||||||
|
Repository Docker Hub: `tylconsulting/thothii-core` e
|
||||||
|
`tylconsulting/thothii-frontend`. Il bundle arm64 scaricato anonimamente dalla release
|
||||||
|
ha SHA-256 `dd006b922e2b1bb312182a50ab76e664e29292a05912248f143c8bdd4aa2a8fa`,
|
||||||
|
corrispondente al file pubblico `SHA256SUMS.txt`.
|
||||||
|
|
||||||
|
## Cosa è stato completato nel codice
|
||||||
|
|
||||||
|
- Importazione autenticata dei binding nel Catalog, con prove di connessione dal
|
||||||
|
container, credenziali protette e arresto in caso di modifiche amministrative
|
||||||
|
divergenti. Un secondo tentativo non sovrascrive tali modifiche.
|
||||||
|
- Sincronizzazione dello schema e preprocessing tramite le operazioni applicative
|
||||||
|
esistenti. Le modifiche distruttive restano in attesa della decisione umana.
|
||||||
|
- Controlli di workspace, workflow e richiesta reale al modello predefinito.
|
||||||
|
`platform_ready`, `bindings_ready`, `workspace_ready` e accettazione funzionale
|
||||||
|
sono esiti distinti.
|
||||||
|
- Preparazione del bundle da sorgente in checkout isolato, con immagini locali
|
||||||
|
identificate in modo immutabile e senza pubblicazione implicita.
|
||||||
|
- Recupero del preprocessing interrotto: esclusione dei processi ancora attivi,
|
||||||
|
rifiuto di worker tardivi e identità del tentativo nel Catalog. Un vecchio
|
||||||
|
completamento non può concludere il nuovo tentativo sugli stessi dati.
|
||||||
|
- Correzioni emerse durante il collaudo reale: ID Docker con containerd, controllo
|
||||||
|
preventivo delle porte Git supportate, default Pi su installazione nuova e
|
||||||
|
identità locale persistente in un volume scrivibile dall'utente dell'installazione.
|
||||||
|
|
||||||
|
Le suite backend e Go, il typecheck backend, i test del produttore di bundle e la
|
||||||
|
build rigorosa della documentazione sono passati. Sono state eseguite revisioni
|
||||||
|
separate di conformità al codice e alla specifica, correggendo i rilievi emersi.
|
||||||
|
|
||||||
|
## Collaudi reali
|
||||||
|
|
||||||
|
La fixture è Chinook in un container PostgreSQL indipendente: 11 tabelle con dati,
|
||||||
|
utente in sola lettura e nessuna Evidence. Il modello configurato è ZAI/GLM-5.3,
|
||||||
|
con credenziale conservata nei file privati; nessun token è incluso nel repository.
|
||||||
|
|
||||||
|
Le prove usano un consumer Linux arm64 senza Node, Python, Bun o Go. Il daemon è
|
||||||
|
Docker Desktop sul Mac di sviluppo. Questo dimostra il percorso tecnico consumer,
|
||||||
|
non l'accettazione di un PC Windows, di Omarchy o del percorso nativo macOS.
|
||||||
|
Versioni registrate: Docker client/server 29.6.2, Compose 5.3.1, host arm64.
|
||||||
|
|
||||||
|
Il bundle da sorgente `0.1.0-source.3`, costruito dalla stessa revisione della preview
|
||||||
|
7, ha superato installazione e ripetizione di apply, con tutte le readiness vere.
|
||||||
|
Una modifica al file credenziale ha invalidato il piano senza esporre il contenuto.
|
||||||
|
L'arresto del core durante il preprocessing ha lasciato un run recuperabile; apply
|
||||||
|
ha poi ripetuto la pipeline e un ulteriore apply ha confermato la readiness.
|
||||||
|
Sono rimasti invariati il manifest di una sessione reale del harness, un punto
|
||||||
|
Memory in Qdrant e una descrizione curata nel Catalog. Nessun volume è stato resettato.
|
||||||
|
|
||||||
|
Anche il bundle pubblico prebuilt della preview 7 ha completato apply e la sua
|
||||||
|
ripetizione con `platform_ready`, `bindings_ready` e `workspace_ready` vere, e
|
||||||
|
`workspace-test`, `workflow-doctor` e `pi-test` superati. Ha poi superato gli stessi
|
||||||
|
guasti controllati del percorso da sorgente: file credenziale modificato, core
|
||||||
|
arrestato durante il preprocessing, recupero e ulteriore apply. Sono stati verificati
|
||||||
|
la conservazione del manifest di sessione, del punto Memory e della descrizione
|
||||||
|
curata. L'archivio pubblico e i suoi eseguibili non sono stati modificati.
|
||||||
|
|
||||||
|
Il primo tentativo pubblico si è arrestato allo stadio Catalog prima di creare il
|
||||||
|
container: Docker aveva esaurito i pool di subnet. È stata rimossa soltanto la rete
|
||||||
|
di un precedente stack di prova già arrestato, dopo aver rimosso i suoi container
|
||||||
|
fermi, senza cancellarne i volumi. Il collaudo è ripreso con successo dallo stesso piano; questo è
|
||||||
|
un limite dell'ambiente di prova, non una ricompilazione o modifica del bundle.
|
||||||
|
|
||||||
|
I risultati strutturati e i log privati sono conservati nella directory locale
|
||||||
|
`.artifacts/install-complete-proof-20261006/`. I file `source-recovery-result.json`
|
||||||
|
e `prebuilt-recovery-result.json` riportano il recupero e la conservazione verificati.
|
||||||
|
I log grezzi e i documenti con credenziali non fanno parte del commit o della release.
|
||||||
|
|
||||||
|
L'assenza di Evidence è intenzionale: questi collaudi non certificano ingestione,
|
||||||
|
indicizzazione o conservazione di Evidence operative. I tre esempi curati rimangono
|
||||||
|
nel sottoprogetto rinviato. Una sessione creata per provare la persistenza non
|
||||||
|
sostituisce una domanda completata con revisione umana.
|
||||||
|
|
||||||
|
## Il prossimo intervento dell'utente
|
||||||
|
|
||||||
|
Il prossimo gate è il **collaudo manuale su Windows x64 con Ubuntu WSL2**, seguito
|
||||||
|
separatamente da Omarchy e, per ultimo, macOS. Non serve un'altra autorizzazione
|
||||||
|
a sviluppare né occorre inviare token in chat. Le immagini pubbliche si scaricano
|
||||||
|
senza login Docker Hub.
|
||||||
|
|
||||||
|
1. Su Windows verificare Docker Desktop con integrazione della distribuzione Ubuntu
|
||||||
|
WSL2. Eseguire dalla shell Ubuntu `docker info` e `docker compose version`.
|
||||||
|
Allocare almeno 2 CPU, 4 GiB di RAM e 10 GiB liberi; tenere i documenti nella home
|
||||||
|
Linux dell'utente, fuori da Git e da cartelle Windows condivise.
|
||||||
|
2. Scaricare il bundle **linux-amd64** della release indicata qui e `SHA256SUMS.txt`.
|
||||||
|
Verificare il checksum prima di estrarlo. Tenere insieme `bin/tht` e
|
||||||
|
`bin/tht-workspace-documents`; non occorre clonare o compilare ThothII.
|
||||||
|
3. Preparare il DB e il workspace seguendo la
|
||||||
|
[fixture Chinook](../testing/chinook-installation-smoke.md). Pubblicare i soli
|
||||||
|
documenti del workspace in un proprio repository Git raggiungibile in lettura
|
||||||
|
dall'installazione, oppure usare un repository ad hoc già disponibile. Non
|
||||||
|
includere password, piani o file dell'installazione nel repository workspace.
|
||||||
|
4. Seguire la [guida italiana](../install/standalone-manual-it.md): preparazione e
|
||||||
|
verifica workspace, precondizioni, documenti applicativi e loro verifica, piano,
|
||||||
|
infine apply. Impostare il modello/provider e i file segreti prima di apply.
|
||||||
|
Il DB deve essere raggiungibile sia da WSL sia dal core: `127.0.0.1` nel core
|
||||||
|
indica il core stesso. Lasciare che il piano segnali eventuali errori di rete.
|
||||||
|
5. Introdurre e correggere un errore innocuo nel documento prima del piano definitivo,
|
||||||
|
annotando messaggio e correzione. Eseguire apply con stdin chiuso e conservare
|
||||||
|
l'esito JSON. Tutte e tre le readiness devono risultare vere.
|
||||||
|
6. Aprire l'applicazione, effettuare il login e scegliere `chinook-test`. Porre ad
|
||||||
|
esempio «Quali cinque artisti hanno più brani nel catalogo?». Completare i gate
|
||||||
|
con decisioni umane fino al risultato. Annotare ogni punto poco chiaro o errore.
|
||||||
|
7. Arrestare e riavviare con i comandi del bundle, verificare che la sessione sia
|
||||||
|
presente e che una sessione lasciata incompleta si possa riprendere. Comunicare
|
||||||
|
risultati e messaggi di errore senza allegare segreti o log grezzi non controllati.
|
||||||
|
|
||||||
|
Solo questo esercizio chiuderà l'accettazione funzionale Windows. La disponibilità
|
||||||
|
delle immagini e i controlli automatici non costituiscono tale accettazione.
|
||||||
@@ -30,7 +30,12 @@ short provider request without DWH context and can incur usage charges.
|
|||||||
- Strict documentation build passed; release-bundle packaging regression passed.
|
- Strict documentation build passed; release-bundle packaging regression passed.
|
||||||
- Standards and Spec reviews found no actionable violations.
|
- Standards and Spec reviews found no actionable violations.
|
||||||
|
|
||||||
The current public preview.5 predates this code. These checks do not constitute a
|
The public preview.5 available at this increment predates this code. Those checks do not constitute a
|
||||||
published-image consumer proof, a real provider acceptance, or Windows/WSL2,
|
published-image consumer proof, a real provider acceptance, or Windows/WSL2,
|
||||||
Omarchy or macOS manual acceptance. Integrated source mode and comprehensive
|
Omarchy or macOS manual acceptance. Integrated source mode and comprehensive
|
||||||
interruption recovery are subsequent T08/T09 increments.
|
interruption recovery are subsequent T08/T09 increments.
|
||||||
|
|
||||||
|
The later preview.7 includes this code and has passed real published-bundle
|
||||||
|
apply/retry with Chinook and the configured provider. See the
|
||||||
|
[completion report](2026-10-06-installation-completion.md); host acceptance with a
|
||||||
|
human-reviewed question remains separate.
|
||||||
|
|||||||
@@ -38,4 +38,11 @@ backend typecheck, source-producer tests and the strict documentation build pass
|
|||||||
After aligning the in-memory Catalog test double with the new run identity, the
|
After aligning the in-memory Catalog test double with the new run identity, the
|
||||||
focused Catalog route/service/identity suite passed (39 tests), as did typecheck.
|
focused Catalog route/service/identity suite passed (39 tests), as did typecheck.
|
||||||
Standards and Spec reviews found no remaining production blocker. Real consumer
|
Standards and Spec reviews found no remaining production blocker. Real consumer
|
||||||
fault-recovery acceptance remains pending at this commit.
|
fault-recovery acceptance was still pending at that implementation commit.
|
||||||
|
|
||||||
|
Subsequent real tests passed in both source `0.1.0-source.3` and the unchanged
|
||||||
|
public preview.7 bundle: changed credential-file rejection, a core stopped during
|
||||||
|
preprocessing, recovery and repeated apply. Session manifest, curated Catalog
|
||||||
|
description and a Qdrant Memory point were preserved. The fixture has no Evidence;
|
||||||
|
Evidence persistence is not claimed. See the
|
||||||
|
[completion report](2026-10-06-installation-completion.md) for details and manual gates.
|
||||||
|
|||||||
@@ -12,5 +12,14 @@ Verification before the real source build: source producer command-boundary and
|
|||||||
bundle tests passed (3 Node tests including prebuilt packaging); Go preflight and
|
bundle tests passed (3 Node tests including prebuilt packaging); Go preflight and
|
||||||
apply suites passed, including local identity rejection, no registry fallback and
|
apply suites passed, including local identity rejection, no registry fallback and
|
||||||
source apply through the common readiness stages. Standards and Spec review found
|
source apply through the common readiness stages. Standards and Spec review found
|
||||||
no code findings. A real build/start proof remains pending and is required before
|
no code findings. At that commit the real build/start proof was still pending;
|
||||||
calling T08 acceptance complete; it does not certify a published-image installation.
|
these automated checks alone did not certify a published-image installation.
|
||||||
|
|
||||||
|
## Subsequent real verification
|
||||||
|
|
||||||
|
Source bundle `0.1.0-source.3` at commit `977cf0e9` was built and applied with a real
|
||||||
|
Chinook PostgreSQL database and the configured ZAI model. Apply and retry reached
|
||||||
|
workspace readiness. A stopped core during preprocessing was recovered through the
|
||||||
|
same public native apply command, preserving the session manifest, curated Catalog
|
||||||
|
description and a Qdrant Memory point. See the
|
||||||
|
[completion report](2026-10-06-installation-completion.md) for environment and limits.
|
||||||
|
|||||||
@@ -22,6 +22,20 @@ The helper below is in the ThothII repository for maintainers/testers; it is not
|
|||||||
yet included in the downloadable operator bundle. It provisions only the test DWH,
|
yet included in the downloadable operator bundle. It provisions only the test DWH,
|
||||||
which is a separate container from the installation's PostgreSQL Metadata Catalog.
|
which is a separate container from the installation's PostgreSQL Metadata Catalog.
|
||||||
|
|
||||||
|
To test the published installer without cloning application sources, download this
|
||||||
|
single pinned helper in Ubuntu WSL2 and verify it before execution:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p "$HOME/thothii-test-tools"
|
||||||
|
cd "$HOME/thothii-test-tools"
|
||||||
|
curl --fail --location --output prepare-chinook-test.sh \
|
||||||
|
https://git.tylconsulting.it/mptyl/ThothII/raw/commit/977cf0e9787b80bc2c95da99d3700777dd5da150/scripts/prepare-chinook-test.sh
|
||||||
|
echo '170a97a6915721e4f7342c09e216b087663e182900409f8053f58fb3b16b3fa9 prepare-chinook-test.sh' | sha256sum --check
|
||||||
|
bash prepare-chinook-test.sh "$HOME/thothii-chinook-test"
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, from an existing source checkout:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /path/to/ThothII
|
cd /path/to/ThothII
|
||||||
bash scripts/prepare-chinook-test.sh "$HOME/thothii-chinook-test"
|
bash scripts/prepare-chinook-test.sh "$HOME/thothii-chinook-test"
|
||||||
@@ -80,12 +94,13 @@ file. Do not use the PostgreSQL administrator as the ThothII data source account
|
|||||||
The host endpoint above is for host-side tools: `127.0.0.1` inside ThothII core
|
The host endpoint above is for host-side tools: `127.0.0.1` inside ThothII core
|
||||||
would refer to core itself. At integration, configure and verify connectivity from
|
would refer to core itself. At integration, configure and verify connectivity from
|
||||||
both the preflight process and the core container; do not copy the host endpoint
|
both the preflight process and the core container; do not copy the host endpoint
|
||||||
unchanged into a runtime binding. That integration belongs to the remaining
|
unchanged into a runtime binding. The installer now imports this binding and tests
|
||||||
installer/binding tickets and is not established by successful import here.
|
it from the container before preparing the workspace; fixture import alone still
|
||||||
|
does not establish application connectivity.
|
||||||
|
|
||||||
## Acceptance scope
|
## Acceptance scope
|
||||||
|
|
||||||
After the remaining installer increments are available, verify prepared documents,
|
Using preview 7 or a later verified release, verify prepared documents,
|
||||||
non-interactive setup using published images, database connection, schema sync,
|
non-interactive setup using published images, database connection, schema sync,
|
||||||
required preprocessing/readiness and a real human-reviewed question. Then verify
|
required preprocessing/readiness and a real human-reviewed question. Then verify
|
||||||
stop/start preserves application state. These checks do not validate Evidence
|
stop/start preserves application state. These checks do not validate Evidence
|
||||||
|
|||||||
Reference in New Issue
Block a user