Close scratch iteration 006 grouped readiness repairs

This commit is contained in:
master
2026-03-13 02:27:03 +02:00
parent 9c3d1f8d4a
commit 27d0247058
11 changed files with 569 additions and 6 deletions

View File

@@ -0,0 +1,78 @@
# Sprint 20260312_004 - Platform Scratch Iteration 006 Full Route Action Audit
## Topic & Scope
- Wipe Stella-owned runtime state again and rerun the documented setup path from zero state.
- Re-enter the application as a first-time user after bootstrap and rerun the full route, page, and page-action audit with Playwright.
- Group any newly exposed defects before fixing so the next commit closes a full iteration rather than a single page slice.
- Working directory: `.`.
- Expected evidence: wipe proof, setup convergence proof, fresh Playwright route/action evidence, grouped defect list, fixes, and retest results.
## Dependencies & Concurrency
- Depends on local commit `9c3d1f8d4` as the clean baseline for the next scratch cycle.
- Safe parallelism: none during wipe/setup because the environment reset is global to the machine.
## Documentation Prerequisites
- `AGENTS.md`
- `docs/INSTALL_GUIDE.md`
- `docs/dev/DEV_ENVIRONMENT_SETUP.md`
- `docs/qa/feature-checks/FLOW.md`
## Delivery Tracker
### PLATFORM-SCRATCH-ITER6-001 - Rebuild from zero Stella runtime state
Status: DONE
Dependency: none
Owners: QA, 3rd line support
Task description:
- Remove Stella-only containers, images, volumes, and the frontdoor network, then rerun the documented setup entrypoint from zero Stella state.
Completion criteria:
- [x] Stella-only Docker state is removed.
- [x] `scripts/setup.ps1` is rerun from zero state.
- [x] The first setup outcome is captured before UI verification starts.
### PLATFORM-SCRATCH-ITER6-002 - Re-run the first-user full route/page/action audit
Status: DONE
Dependency: PLATFORM-SCRATCH-ITER6-001
Owners: QA
Task description:
- After scratch setup converges, rerun the canonical route sweep plus the full action audit suite and enumerate every newly exposed issue before repair work begins.
Completion criteria:
- [x] Fresh route sweep evidence is captured on the rebuilt stack.
- [x] Fresh action sweep evidence is captured across the current aggregate suite.
- [x] Newly exposed defects are grouped before any fix commit is prepared.
### PLATFORM-SCRATCH-ITER6-003 - Repair the grouped defects exposed by the fresh audit
Status: DONE
Dependency: PLATFORM-SCRATCH-ITER6-002
Owners: 3rd line support, Architect, Developer
Task description:
- Diagnose the grouped failures exposed by the fresh audit, choose the clean product/architecture-conformant fix, implement it, and rerun the affected verification slices plus the aggregate audit before committing.
Completion criteria:
- [x] Root causes are recorded for the grouped failures.
- [x] Fixes land with focused regression coverage where practical.
- [x] The rebuilt stack is retested before the iteration commit.
## Execution Log
| Date (UTC) | Update | Owner |
| --- | --- | --- |
| 2026-03-12 | Sprint created for the next scratch iteration after local commit `9c3d1f8d4` closed iteration 005 cleanly. | QA |
| 2026-03-12 | Removed Stella-only containers, `stellaops/*:dev` images, Stella compose volumes, and the `stellaops` / `stellaops_frontdoor` networks to return the machine to zero Stella runtime state for iteration 006. | QA / 3rd line support |
| 2026-03-12 | Started `scripts/setup.ps1` from the zero-state baseline; prerequisite and hosts checks passed, `.env` was already present, and the rerun entered the `36`-solution build matrix. | QA |
| 2026-03-12 | The zero-state setup rerun completed cleanly: `36/36` solution builds passed, the full image matrix rebuilt, platform services converged, the frontdoor bootstrap checks returned `HTTP 200`, and `61/61` containers reached healthy state on `https://stella-ops.local`. | QA / 3rd line support |
| 2026-03-12 | Began the fresh post-reset browser verification on the rebuilt stack. The standalone canonical route sweep finished cleanly at `111/111`; `/setup/topology/runtime-drift` required an internal sweep recheck but still ended as a pass with no failed routes, and the aggregate `live-full-core-audit.mjs` pass is now running against the same deployment to gather the full post-reset page/action defect set before any fixes are considered. | QA |
| 2026-03-13 | The first aggregate pass grouped the fresh-stack defects into two buckets instead of page-by-page fixes: `/evidence/audit-log -> Export` was handing off to the nested child route instead of canonical `/evidence/exports`, and scratch setup readiness was declaring success before authenticated notifications administration had converged. The notifications recheck harness also lacked route-specific readiness waits and treated aborted navigations as failures, which produced the false-negative shell errors seen on `/setup/notifications/config/overrides`. | QA / 3rd line support / Architect |
| 2026-03-13 | Implemented the grouped repair: setup now waits for an authenticated topology + notifications admin + promotion convergence gate, the notifications/watchlist and release-promotion sweeps were hardened for cold-load readiness, and the audit-log header export button now hands off to canonical Export Center with a focused component spec. | Architect / Developer |
| 2026-03-13 | Focused verification passed (`1/1` audit-log spec, `npm run build`), the rebuilt web bundle was synced into `compose_console-dist`, authenticated readiness passed with topology/promotion/notifications all green, the targeted notifications and uncovered-surface sweeps passed cleanly, and the full aggregate audit closed cleanly at `20/20` suites with `0` failed, `0` retried, and `0` stabilized-after-retry suites. | QA / Developer |
## Decisions & Risks
- Decision: each scratch iteration remains a full wipe -> setup -> route/action audit -> grouped remediation loop; if the audit comes back clean, that still counts as a completed iteration because the full loop was executed.
- Risk: scratch rebuilds remain expensive, so verification stays Playwright-first with focused test/build slices rather than indiscriminate full-solution test runs.
- Decision: first-user scratch setup is not considered complete until authenticated notifications administration converges alongside topology inventory and promotion bootstrap, because those pages are part of the initial operational setup surface.
- Decision: aggregate audit stability work belongs in the same iteration when the fresh-stack failures are caused by cold-load readiness gaps rather than distinct product behavior regressions.
## Next Checkpoints
- Start iteration 007 from another Stella-only wipe and rerun the documented setup path from zero state.
- Repeat the full Playwright route/page/action audit on the next rebuilt stack before considering any new fixes.