feat: prepare installation workspaces through existing readiness services

This commit is contained in:
Codex
2026-10-06 18:23:24 +02:00
parent af4c7b5df9
commit 785d96ea50
15 changed files with 378 additions and 42 deletions
@@ -0,0 +1,36 @@
# Installation workspace readiness — T07/#49
Implemented on `codex/guided-standalone-install`, following binding import T06.
`installation apply` now calls existing authenticated Catalog Sync Runs and
workspace preprocessing services. It polls existing work, skips current completed
preparation and never confirms destructive schema changes. Pending human review
returns exit 3, the workspace/run identifier and an Administration instruction.
It does not generate AI descriptions, clear Memory or overwrite curated content.
Optional Evidence remains optional; invalid configured Evidence blocks readiness.
Named, bounded one-shot containers run the existing workspace, workflow and
Pi/default-provider diagnostics. Reports preserve pending/failed runtime checks
and distinguish platform, bindings, workspace readiness and functional acceptance.
A real human-reviewed question remains manual acceptance. The Pi smoke sends a
short provider request without DWH context and can incur usage charges.
## Verification
- Focused backend tests: 55 passed, including actual Catalog APIs preserving the
same destructive review and source comments across two installation retries.
- Full backend suite on Node 24.16.0: 1,436 passed, 41 skipped, one failure in the
existing concurrent OIDC state-creation test. Its isolated 48-test group passed
on immediate rerun. Repeating the full suite with two workers passed all 1,437
tests (41 skipped, 114 files passed).
- TypeScript typecheck and full Go suite passed.
- Rebuilt native macOS arm64 bundle: public prepare/validate/plan/apply/retry test
passed with closed stdin and no language runtimes in PATH. Docker is an external
process fixture in that test, so this is not a real OS/platform acceptance.
- Strict documentation build passed; release-bundle packaging regression passed.
- Standards and Spec reviews found no actionable violations.
The current public preview.5 predates this code. These checks do not constitute a
published-image consumer proof, a real provider acceptance, or Windows/WSL2,
Omarchy or macOS manual acceptance. Integrated source mode and comprehensive
interruption recovery are subsequent T08/T09 increments.