Files
ThothII/docs/reports/2026-10-06-installation-apply.md

6.0 KiB

Published installation platform apply

Date: 2026-10-06. Scope: Installare la piattaforma dal rilascio senza domande.

The public 0.1.0-install-preview.5 release contains the native operator, validator and immutable Docker Hub image references for Linux amd64 and arm64. Source revision: 24b03d4caf2998b424038435bf6d0d4e241469b5. Use this preview for platform apply; earlier previews do not establish this result. Publication attempts 2 and 4 were interrupted in draft; preview 3 was superseded after the full consumer trial exposed maintenance-profile and default-origin issues.

Result and scope

The final trial downloaded the public arm64 archive and checksum anonymously, then used its unmodified executables inside Ubuntu 24.04 with Docker CLI/Compose. The consumer had no separately installed Node, Python, Bun, Go or application checkout. Its bind-mounted input directory supplied the released bundle and private test documents; no application source checkout was mounted or compiled by the consumer.

The Linux consumer used Docker Desktop on an arm64 Mac host. This is an automated platform execution proof, not Windows, Omarchy or macOS fresh-machine acceptance. Manual acceptance remains ordered Windows/WSL2, then Omarchy, then macOS.

Check Observed result
Workspace preparation and validation Native released tools; ad hoc Chinook workspace, Evidence absent
Application preparation, credentials and validation Native released tools; protected files, generated local administrator
Live plan Released manifest, registry, Compose, HTTPS Git and real PostgreSQL reader probe passed
Platform apply Closed stdin, no source build, immutable pulls, volume initialization, Catalog/Memory migrations, service startup
Repeat apply Passed; existing installation reconciled
Frontend HTTP 200
Workspace API without authentication HTTP 401
Prepared administrator login HTTP 200
Native CLI user addition New user could log in without restarting core
Native CLI user disable Existing session immediately received HTTP 401
Final readiness platform_ready: true, workspace_ready: false

The completed trial timestamp was 2026-10-06T14:19:12.714Z. Application test containers were stopped afterwards; their volumes and private documents were retained. The final user-add/disable probe intentionally changed authentication inputs, so a subsequent apply requires a fresh plan rather than reusing the pre-mutation plan.

The separate Chinook fixture contained 11 tables, 3,503 tracks, 412 invoices and 2,240 invoice lines. Preflight used thoth_reader, not the database administrator. The HTTPS Git check used the public ThothII repository only as an accessible remote for this platform fixture; it did not activate the local Chinook workspace from that remote. Repository activation and matching workspace revisions remain part of binding import. A synthetic provider key was used; no LLM generation or credential-validity claim was made. No database binding was imported into the application Catalog.

Changes and regression coverage

  • installation apply --plan verifies the sealed inputs and repeats live checks, then executes under the installation lifecycle lock with an atomic private journal.
  • Runtime services use the preparing non-root operator's identity. Original private authentication files stay authoritative; updates and revocation remain live.
  • A pinned offline helper initializes only owned volumes. Ready volumes are never recursively chowned. Pi home and harness configuration volumes preserve their seed files; PostgreSQL uses a data subdirectory beneath its initialization marker.
  • Migration execution bypasses Pi home initialization. The PostgreSQL health check waits for TCP readiness rather than accepting the temporary initdb server.
  • Compose validation explicitly includes both maintenance profiles. Authentication preparation defaults to http://127.0.0.1:8080, and validation rejects incompatible local origins before startup.
  • Atomic publication propagates write/short-write errors and never exposes partial final assets. Initialization markers remain root-owned across interrupted seeding.

Validation included the full Go suite (go test -p 1 ./...), affected-package tests after subsequent fixes, native public-command prepare/plan/apply/retry with closed stdin, Windows CLI cross-compilation, release producer tests and strict documentation build. A cancellation test hit its existing short deadline during the initial parallel suite; its focused rerun and serialized suite passed.

The opt-in Docker identity test used published images and actual Linux volume ownership. It exercised an interruption immediately before the ready marker, private password access, both migration scripts, Pi writes, PostgreSQL restart and preservation of an inserted row. Final published-bundle execution then verified the complete platform path independently of the controlled Docker boundary used by unit tests.

Published archive checksums

Archive SHA-256
thothii-0.1.0-install-preview.5-linux-amd64.tar.gz 51393b1cfc99afed790fc947535f319c7ae37691eb024a8b27bb643983e9e0c3
thothii-0.1.0-install-preview.5-linux-arm64.tar.gz 9077ca5acf5a2c2997b9bf03edc0b7ba0cb966c4955b645c880a1a85b758781c

Exact image digests are in each archive's release-manifest.json. Publication verified anonymous pulls of all five image roles and core/frontend smoke checks on both CPUs.

Remaining work

Apply prepared Catalog bindings and workspace runtime readiness remain separate increments. The explicit source-mode integration and recovery across all stages are also pending. A human-reviewed question and the Windows/WSL2 acceptance exercise follow those increments. Curated example databases and Evidence remain the deferred examples subproject.