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

2.2 KiB

Prepared Catalog binding import

Ticket #48 extends document-first installation apply after platform health. It verifies the exact prepared workspace source and imports the selected database configurations through authenticated, permission-checked application services. This source increment is not present in the published preview.5 bundle.

The prepared bootstrap now includes a local administrator username and private password-file reference. Offline validation verifies them against the authentication documents. Runtime uses ordinary login, session and CSRF handling. A named one-shot client on the Compose network receives secrets through stdin and logs out afterward. The existing Docker runner removes that container on interruption.

Each first import commits its Catalog database, binding and receipt together. The receipt survives administrative deletion. Equivalent reruns preserve secret-store generation and binding version; changed configuration, credentials, deleted bindings or a different repository require reconciliation. Interrupted creation is recovered from Catalog state even when the host journal has not yet recorded success.

Verification includes:

  • Native prepare/validate/plan/apply/retry with closed stdin and no host runtime on the consumer command PATH (Docker boundary fixture).
  • Real local login, CSRF, binding API and logout through the shipped client module.
  • Real Git source inventories, revision mismatch and refusal to retarget a checkout.
  • Real PostgreSQL Catalog integration, read-only connector authentication, optimistic versions, repeat imports and retained receipts after deletion.
  • Secret newline normalization, no secret arguments/output, concurrent imports, administrative divergence and interruption after database commit.
  • Go suite, backend suite under the supported Node 24 runtime, TypeScript checking and strict public documentation build.

The PostgreSQL integration runs the application service against a Docker database; the public-image consumer trial for this new increment remains to be performed. It does not establish workspace preprocessing, model operation, a human-reviewed question, curated example availability or fresh-machine OS acceptance.