fix(cli,aspire): isolate DB lifecycle and require readiness evidence - #1088
Conversation
|
[PHASE: RESEARCH] Re-baselined #1011/#1012 against Findings
Evidence
Next
|
|
[PHASE: PLAN] Lifecycle ownership and readiness contracts are locked at Locked decisions
Gates
Next
|
|
[PHASE: PLAN-EVAL] [VERDICT: BLOCKED] The required independent formal evaluator did not produce a verdict.
Next action: restore authentication for the canonical evaluator profile, or obtain an explicit owner |
|
[PHASE: IMPLEMENT] [SLICE: S1 — #1011 DB AppHost lifecycle] Commit: Contract landed:
Red proof against pre-fix behavior: Gate evidence: Opposite-family review: native Claude Opus fallback session The owner-authorized Plan-Gate waiver is recorded in the run artifacts. The live |
S2 implementation — endpoint readinessCommit: Contract implemented:
Red proof against pre-fix behavior:
Post-fix evidence:
No #1012 acceptance box is ticked yet. The once-only live |
Merge-readiness discovery/correctionCommit: The first
Correction:
The same live Validation after correction:
No acceptance boxes ticked yet; the full runtime retry still must reach both live regression gates. |
Runtime credential correctionCommit: The runtime retry passed DB init/generate/seed but the later resident The DB-operation project already supplies the distinct lifecycle/backchannel identity required by #1011, so The runtime retry still did not reach the #1011/#1012 behavior gates, so no acceptance box is ticked. |
|
Implementation correction Root cause (observed, not inferred): the DB-operation AppHost and resident AppHost are distinct Aspire project identities but attach to the same persistent Contract: AppHosts sharing persistent database storage must share one project-scoped credential source. Generated Postgres/MySQL resources now use an explicit secret parameter backed by Red proof: pre-correction Post-fix evidence from a fresh one-pass run:
The same run later failed at the pre-existing users-service health probe: Prisma received an ADO.NET-style |
|
Record correction (orchestrator, post-merge). The Slices / Definition of Done / Validation / Acceptance-evidence checklists in this PR's body are stale. They were written in the S0 planning commit and never refreshed as the slices landed, so the body still reads Verified against
Gate evidence at merge: Process gap this exposes, worth fixing beyond this PR: |
Summary
Separates one-shot
netscript dblifecycle ownership from the resident AppHost and requires endpoint-backed readiness evidence for generated executable resources.The implementation and acceptance gates are complete. The PR remains draft because the required formal IMPL-EVAL route is credential-blocked; no evaluator verdict is claimed.
Scope
Slices
5601b8fa0Definition of Done
aspire/apphost.mts.netscript db statuspreserves the resident PID/backchannel.Healthywith zero health reports is distinguishable from verified healthy.aspirebinary produces the explicit unavailable outcome, not an uncaught failure.Validation
drift.md.deno task quality:scan— pass.deno task arch:check— pass with pre-existing warnings only.scaffold.runtimejob 91672078377 —passed=71 failed=0.database.initpassed.behavior.db-status-preserves-apphostpassed in 21.998s.behavior.endpoint-readinesspassed in 845ms.Acceptance evidence
Harness
.llm/runs/fix-1011-aspire-lifecycle--codex/drift.mdrecords both the owner-authorized PLAN-EVAL waiver and the distinct blocked IMPL-EVAL launch.