feat: import prepared Catalog bindings through authenticated services

This commit is contained in:
Codex
2026-10-06 18:04:07 +02:00
parent d720da721b
commit af4c7b5df9
29 changed files with 835 additions and 35 deletions
+19 -3
View File
@@ -113,6 +113,22 @@ Cancellation cleans up named one-shot containers and releases the lock. Hard-kil
processes require explicit stale-owner inspection; automatic destructive repair is
not performed. Errors contain a stage/action without raw Docker output or secrets.
Success reports `platform_ready: true` and `workspace_ready: false`: services and
local authentication protection are checked, while binding import, workspace
preprocessing, model use and final readiness remain separate obligations.
Binding import uses a named, bounded one-shot client on the Compose network. Protected
bootstrap material travels through stdin, never arguments or journals. The client logs
in through local authentication, obtains CSRF protection, calls permission-checked
administration services, and logs out. Prepare `authentication.username` and
`authentication.passwordFile` in `database-bootstrap.yaml`; offline validation checks
the account/password against the private local registry and seals that file too.
The registry consumes the exact prepared Git file inventory and optional commit, without
retargeting or refreshing an existing checkout. Binding creation and its durable import
receipt commit together in the Catalog. The receipt survives administrative deletion.
Reruns compare live configuration and encrypted-store contents, retain equivalent values,
and stop on divergence. No bootstrap document becomes runtime authority. The application
tests the imported connection; a successful host probe alone is insufficient.
Success reports `platform_ready: true`, `bindings_ready: true`, `workspace_ready: false`.
The bounded `binding_import` report distinguishes authentication, workspace reconciliation,
binding reconciliation and container connectivity failures. Workspace preprocessing,
model use and final readiness remain separate obligations. Published preview.5 predates
binding import; use a subsequent matching image/operator release for this extension.