diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index 8670270062..b7091a9d1e 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -106,13 +106,17 @@ Goal: ensure D1's dry-run admission is visible and not overstated. Acceptance: ```text -[ ] report summary shows `decision=allowed` for the safe fenced returned replica -[ ] explain shows the same allowed dry-run action -[ ] dashboard/operator-snapshot shows the same action contract -[ ] CRD status allowedActions uses camelCase and validates against the CRD -[ ] unsafe/behind returned replica still has no false Ready=True +[x] report summary shows `decision=allowed` for the safe fenced returned replica +[x] explain shows the same allowed dry-run action +[x] dashboard/operator-snapshot shows the same action contract +[x] CRD status allowedActions uses camelCase and validates against the CRD +[x] unsafe/behind returned replica still has no false Ready=True ``` +Evidence: `TestOpsReturnedReplicaFromBundleSurfacesAcrossReportExplainDashboard` +drives report, explain, dashboard/operator-snapshot, and CRD DTOs from the same +returned-replica bundle. + ## D4: Live Returned-Replica Gate Goal: rerun the real returned-replica scenario against the new action decision. @@ -120,14 +124,21 @@ Goal: rerun the real returned-replica scenario against the new action decision. Acceptance: ```text -[ ] component gate passes -[ ] iSCSI returned-replica chain passes -[ ] r2 remains sole primary/frontend-ready replica -[ ] returned r1 remains frontend/ACK fenced -[ ] action decision is dry-run allowed only for safe reintegration evidence -[ ] cleanup verifier reports zero residue +[x] component gate passes +[x] iSCSI returned-replica chain passes +[x] r2 remains sole primary/frontend-ready replica +[x] returned r1 remains frontend/ACK fenced +[x] action decision is dry-run allowed only for safe reintegration evidence +[x] cleanup verifier reports zero residue ``` +Evidence: component run `20260619-155251-ac1e` passed 16/16. iSCSI returned +chain run `20260619-155300-ba6d` passed 57/57 and proved r2 remained +primary/frontend-ready while returned r1 stayed non-primary/frontend-fenced. +The action decision assertion is covered by D3 because the live iSCSI scenario +does not yet emit a managed-volume report bundle with required-frontier +evidence. + ## D5: Close / Future Executor Decision Goal: decide whether the next phase may wire a real executor. diff --git a/seaweed-block/internal/docs/qa-assignments/phase47-d3-d4-returned-replica-surface-live-qa-signoff.md b/seaweed-block/internal/docs/qa-assignments/phase47-d3-d4-returned-replica-surface-live-qa-signoff.md new file mode 100644 index 0000000000..01daef0931 --- /dev/null +++ b/seaweed-block/internal/docs/qa-assignments/phase47-d3-d4-returned-replica-surface-live-qa-signoff.md @@ -0,0 +1,78 @@ +# Phase 47 D3/D4 Returned-Replica Surface + Live QA Sign-off + +Status: DEV VALIDATED. Pending independent QA rerun. + +Validated source: `41b496b` on branch +`phase47-returned-replica-executor-gate`. + +## D3 Product Surfaces + +Targeted gate: + +```text +go test -count=1 ./cmd/sw-block -run TestOpsReturnedReplicaFromBundleSurfacesAcrossReportExplainDashboard +``` + +Result: PASS. + +The test drives one returned-replica bundle through: + +- `ops report --from-bundle`, +- `ops operator-status --from-bundle`, +- `ops explain volume --from-bundle`, +- `ops dashboard --from-bundle`. + +Expected Phase 47 action surface: + +```text +authority.reintegrate_returned_replica +decision=allowed +mode=dry_run +mutation_allowed=false +``` + +The bundle includes required-frontier evidence, so the dry-run action is +admitted. Separate evaluator tests reject missing/behind frontier and unsafe +frontend-ready returned replicas. + +## D4 Live Gates + +The live gates ran against `/tmp/seaweed_block_phase47` on m02, synced from +commit `41b496b`. + +| Gate | Run ID | Result | +|---|---|---| +| `returned-replica-component-gate.yaml` | `20260619-155251-ac1e` | PASS, 16/16 | +| `iscsi-returned-replica-chain.yaml` | `20260619-155300-ba6d` | PASS, 57/57 | + +Live iSCSI evidence: + +- r2 remained primary, +- r2 remained frontend-primary-ready, +- returned r1 was non-primary, +- returned r1 had `frontend_primary_ready=false`, +- returned r1 was admitted only as a SUPPORTING replica, +- pre/post data checks passed, +- iSCSI sessions/process residue was clean. + +## Boundary + +The iSCSI live scenario proves the storage safety path. It does not yet emit a +managed-volume report bundle with required-frontier evidence, so the +`decision=allowed` product-surface assertion is covered by D3 rather than by +the live chain itself. + +This is acceptable for D3/D4 because Phase 47 still has no mutating executor: + +- no automatic failback, +- no rebuild traffic, +- no ACK eligibility mutation, +- no frontend promotion, +- no release-image claim. + +## Recommendation + +D3/D4 can close for the dry-run admission slice. Before any later phase enables +real executor mutation, add a live scenario artifact that emits the +required-frontier managed-volume bundle so the action decision is validated from +the same live run.