docs: align returned replica executor release claims

This commit is contained in:
pingqiu committed 2026-06-23 12:02:12 -07:00
1 parent a70a44a237
commit 59364ce880
9 files changed
+349 -358

No files matched your search

+13 -3
View File
@@ -34,8 +34,9 @@ This is an **alpha** product path for supported lab clusters, not production.
| Multi-volume RF=3 lab path | Gated | CSI reattach recovery | Gated |
| iSCSI ALUA/dm-multipath mounted failover | Gated | Restart persistence with hostPath | Gated |
| Actionable read-only CRD status + Events | Available | Bounded SwBlockVolume finalizer lifecycle | Beta candidate |
| Backup/snapshot/restore | Planned | Returned-replica rebuild/failback | Planned |
| NVMe ANA parity | Planned | Production SLO/performance claims | Not claimed |
| Returned-replica ACK eligibility executor | Beta candidate | Returned-replica rebuild/failback | Planned |
| Backup/snapshot/restore | Planned | NVMe ANA parity | Planned |
| Production SLO/performance claims | Not claimed | Hosted production UI | Not claimed |
## What You Can Do Today
@@ -59,6 +60,10 @@ This is an **alpha** product path for supported lab clusters, not production.
supplied cleanup evidence.
- Inspect install drift status for current versus desired chart/app/image
identity. This is visibility only, not upgrade execution.
- In the gated returned-replica path, inspect a bounded authority-executor
result that records ACK eligibility on `SwBlockReplicaEligibility.status`
after live evidence proves the old primary remains fenced, the current primary
is unchanged, and the required durable frontier is covered.
- Replay support bundles offline.
These are narrow alpha claims tied to documented gates. See
@@ -73,7 +78,9 @@ These are narrow alpha claims tied to documented gates. See
- Automatic cleanup execution, host repair, or PVC/PV/workload deletion.
Delete-safety uses externally supplied cleanup evidence.
- Backup, snapshot, or restore.
- Returned-replica rebuild, reintegration, or failback.
- Returned-replica rebuild traffic, frontend publication, or automatic
failback. The beta-candidate executor records only ACK eligibility on its
narrow target CRD status.
- Transparent Kubernetes node-loss failover without pod recreate.
- NVMe ANA parity for the transparent failover path.
- Broad distro/kernel/initiator compatibility.
@@ -123,6 +130,9 @@ This tag covers the v0.4 read-only/status foundation path. The v0.5
bounded lifecycle-owner path requires matching `sw-block` and `sw-block-csi`
images published from the Phase 44 release commit; do not use the older
quickstart tag to validate lifecycle-owner behavior.
The v0.6 returned-replica ACK eligibility executor path likewise requires
matching images published from the Phase 54 release commit and must be validated
with the release smoke before it is marked shipped.
Mutable `:alpha` is a smoke/demo tag only; it can drift from the source tree.
+9
View File
@@ -15,6 +15,7 @@ is still outside the supported boundary.
- [v0.3.6 Alpha — Test Realism And Dirty-Failure Hardening](v0.3.6-alpha.md)
- [v0.4 Beta — Kubernetes-Native Read-Only Operator Foundation](v0.4-beta-candidate.md)
- [v0.5 Beta Candidate — Bounded SwBlockVolume Lifecycle Owner](v0.5-beta-candidate.md)
- [v0.6 Beta Candidate — Returned-Replica ACK Eligibility Executor](v0.6-beta-candidate.md)
## Version Boundary
@@ -62,8 +63,16 @@ is still outside the supported boundary.
finalizer, admission-confined finalizer add/release, evidence-driven
delete-safety hold/release, multi-volume isolation, and zero-residue close
gates. It does not execute cleanup or own PVC/PV/workload deletion.
- `v0.6-beta-candidate` adds the first bounded returned-replica authority
executor write: after live terminal evidence proves the returned replica is
fenced, the current primary is unchanged, and the durable frontier is
covered, the executor records ACK eligibility on
`SwBlockReplicaEligibility.status`. It does not publish a frontend, execute
rebuild/catch-up traffic, or perform failback.
v0.3 introduces Helm as the preferred Kubernetes alpha install path; the script
path remains available for development and fallback validation. v0.4 is the
read-only/status-first operator surface. v0.5 beta candidate adds only a bounded
`SwBlockVolume` protection-finalizer lifecycle, not broad operator automation.
v0.6 beta candidate adds only a bounded ACK eligibility executor target, not
returned-replica rebuild/failback execution.
@@ -0,0 +1,131 @@
# v0.6 Beta Candidate - Returned-Replica ACK Eligibility Executor
Status: beta-candidate note for Phases 46-54. QA passed on 2026-06-23
against local Phase 54 candidate artifacts.
Release images: **pending publish**. Do not claim this release as shipped until
matching immutable `seaweed-block` and `seaweed-block-csi` image tags/digests
are published from the same commit and the release-candidate smoke is rerun.
## Summary
Seaweed Block v0.6 beta candidate adds the first bounded authority executor
write for returned-replica reintegration:
```text
live returned replica evidence
-> frontend remains fenced
-> current primary remains unchanged
-> durable frontier is covered
-> authority-executor records ACK eligibility
on SwBlockReplicaEligibility.status
```
This is a narrow executor release. It is not automatic rebuild, frontend
publication, failback, host cleanup, backup/restore, or a production HA claim.
## User-Visible Improvements
- Returned-replica evidence is visible in report, explain, dashboard, and CRD
status surfaces.
- The dry-run returned-replica action now has an executor-owned terminal target:
`SwBlockReplicaEligibility.status`.
- The authority executor can record that a returned replica is ACK-eligible only
after terminal evidence proves the old primary remains frontend-fenced, the
current primary remains unchanged, the returned replica covers the required
durable frontier, and no cross-volume identity change occurred.
- Unsafe, stale, missing, ambiguous, or mismatched evidence holds with zero
mutation attempts.
- Multi-volume executor reconciles are isolated: eligible volumes can be
recorded while blocked, mismatched, and no-contract volumes remain untouched.
- RBAC confines the executor to `swblockreplicaeligibilities/status`.
## Validated Evidence
| Gate | Evidence | Result |
|---|---|---|
| Phase 46 returned-replica status/productization | `phase46_finishedplan_returned_replica_reintegration_productization.md` | PASS |
| Phase 47 dry-run action admission | `phase47_finishedplan_returned_replica_executor_admission.md` | PASS |
| Phase 48 live evidence close | `phase48_finishedplan_returned_replica_live_evidence.md` | PASS |
| Phase 49 executor preflight | `phase49_finishedplan_returned_replica_executor_preflight.md` | local PASS |
| Phase 50 status schema | `phase50_finishedplan_returned_replica_preflight_status_schema.md` | local PASS |
| Phase 51 ACK evidence gate | `phase51_finishedplan_returned_replica_ack_evidence_gate.md` | PASS |
| Phase 52 executor contract | `phase52_finishedplan_returned_replica_executor_contract.md` | PASS |
| Phase 53 executor skeleton | `phase53_finishedplan_returned_replica_executor_skeleton.md` | PASS |
| Phase 54 executor close | `phase54_finishedplan_returned_replica_reintegration_executor.md` | PASS |
Phase 54 close-gate evidence:
```text
run=20260623-114709-aa80
authority-executor-live-close-chain PASS, 34/34
previous_primary_frontend_fenced=true
current_primary_unchanged=true
durable_frontier_covered=true
executor_ack_mutation_attempts=1
target_reason=ack_eligibility_recorded
target_ack_eligible=true
target_frontend_fenced=true
target_primary_unchanged=true
target_frontier_covered=true
target_no_cross_volume=true
target_nonclaims_ok=true
```
## Release Images
Pending. The release must publish both images together from the same source:
```text
ghcr.io/seaweedfs/seaweed-block:<immutable-tag>
ghcr.io/seaweedfs/seaweed-block-csi:<same-immutable-tag>
```
The `seaweed-block` image must include:
- `sw-block ops authority-executor`,
- `SwBlockReplicaEligibility` status writer support,
- executor RBAC/chart packaging,
- Phase 54 live close-gate behavior.
## Current Claim
Seaweed Block v0.6 beta candidate may claim:
- Returned-replica reintegration has a bounded ACK eligibility executor target.
- The authority executor can write exactly one matching
`SwBlockReplicaEligibility.status` when terminal evidence is complete.
- The executor is RBAC-confined to `swblockreplicaeligibilities/status`.
- The executor does not create the target CR; a missing target is a hold.
- The executor does not rewrite broad `SwBlockVolume.status`.
- The executor refuses unsafe, stale, missing, ambiguous, or mismatched
evidence.
- Multi-volume executor writes are isolated.
- Live iSCSI/ALUA returned-replica evidence backs the close gate.
## Explicit Non-Claims
- Not production-ready.
- No automatic returned-replica rebuild.
- No rebuild/catch-up traffic execution by this executor.
- No frontend publication.
- No automatic failback.
- No primary authority change by this executor.
- No host cleanup, iSCSI repair, multipath repair, or hostPath repair.
- No backup/snapshot/restore workflow.
- No upgrade or rollback execution.
- No performance, RTO, RPO, or SLO claim.
- No release-image claim until published-image smoke passes.
## Release Checklist
Before marking v0.6 beta released:
```text
[ ] publish matching sw-block and sw-block-csi immutable images
[ ] pin image tags/digests here and in README/quickstart if they are public
[ ] rerun first-PVC smoke on the pinned images
[ ] rerun authority-executor live close gate on the pinned sw-block image
[ ] verify cleanup zero residue
[ ] keep release wording to ACK eligibility target status only
```
+6 -1
View File
@@ -187,7 +187,12 @@ Recommended order from here:
dedicated multi-volume isolation, and the live returned-replica close gate.
Frontend publication, rebuild traffic, and automatic failback remain
non-claims.
12. Add backup/restore and NVMe ANA parity after they can reuse the same action
12. Phase 55: release and documentation hardening. **Closed 2026-06-23, local PASS**
(`internal/docs/finished-plans/phase55_finishedplan_release_docs_hardening.md`).
This phase aligns README, release notes, user capabilities, and developer
wiki pages with the Phase 54 boundary. It should not add a new storage
feature or broaden the claim beyond ACK eligibility target status.
13. Add backup/restore and NVMe ANA parity after they can reuse the same action
owner, evidence, and status model rather than creating another isolated
control plane.
+29 -2
View File
@@ -78,6 +78,27 @@ The current alpha has gated recovery evidence for:
The broad claim remains narrow: these are supported lab gates, not production
HA or broad RTO/SLO commitments.
### Returned-Replica ACK Eligibility Executor
The returned-replica path now has a beta-candidate executor gate for one narrow
authority fact:
```text
SwBlockReplicaEligibility.status.ackEligible=true
```
This gate runs only after live evidence shows:
- the old primary returned as a non-primary replica,
- the old primary remains frontend-fenced,
- the current primary remains unchanged,
- the returned replica covers the required durable frontier,
- the target identity matches exactly one volume/replica.
The executor writes the narrow `SwBlockReplicaEligibility.status` target. It
does not rewrite broad `SwBlockVolume.status`, publish a frontend, start
rebuild/catch-up traffic, change primary authority, or perform failback.
### Restart Persistence
With the hostPath-backed alpha persistence path, QA gates verify:
@@ -176,6 +197,9 @@ The current status model is negative-first:
- `install_drift_mismatch` means current install identity differs from desired
evidence; the operator reports the mismatch but does not execute upgrade or
rollback.
- `ack_eligibility_recorded` on `SwBlockReplicaEligibility.status` means the
authority executor recorded the ACK eligibility result after terminal
returned-replica evidence. It is not a rebuild or failback completion signal.
- Cluster counters include `ready_volume_count`, `blocked_volume_count`, and
`stale_volume_count`.
@@ -225,14 +249,17 @@ hostpath_residue_count=0
- Not production-ready.
- No production-grade operator or controller-manager lifecycle.
- No mutating admin/operator/dashboard actions.
- No broad mutating admin/dashboard workflow. The current bounded mutations are
limited to lifecycle-owner finalizer ownership and authority-executor ACK
eligibility target status.
- No finalizer ownership by operator-status.
- No automatic cleanup execution.
- No upgrade or rollback execution.
- No promote, repair, rebuild, failback, delete, backup, restore, or cleanup
mutation through UI/API/operator.
- No backup/snapshot/restore workflow.
- No returned-replica rebuild or automated failback.
- No returned-replica rebuild traffic, frontend publication, or automated
failback.
- No transparent Kubernetes node-loss failover without pod recreate.
- No NVMe ANA parity for the transparent failover path.
- No broad distro/kernel/initiator compatibility matrix.
@@ -31,18 +31,20 @@ The current operation layer is intentionally narrow:
CSI creates SwBlockVolume identity/spec
operator-status writes .status and Events
lifecycle-owner mutates only the protection finalizer
authority-executor mutates only SwBlockReplicaEligibility.status ACK eligibility
support/report/dashboard/explain are read-only
cleanup evidence is observed, not executed
```
This is already one real write path:
These are already real but narrow write paths:
```text
SwBlockVolume.metadata.finalizers add/remove
SwBlockReplicaEligibility.status ACK eligibility
```
But it is not broad read-write operation. It is one admitted lifecycle metadata
mutation.
But this is not broad read-write operation. These are admitted, evidence-gated
single-purpose mutations.
## Why Not Jump Directly To A Full Operator
@@ -188,6 +190,9 @@ Scope:
- run recovery,
- admit it back to ACK/placement only after terminal evidence.
Current state: ACK eligibility recording is now proven as a bounded target
status write. Rebuild/catch-up traffic and failback are still future work.
Required gates:
```text
@@ -197,8 +197,8 @@ Its Helm packaging is disabled by default and grants only `get/list/watch` on
the place where a later ACK-eligibility mutation must be inserted if and only if
the contract and admission gates prove it safe.
Phase 54 is planned as a larger milestone rather than another one-patch phase.
It groups the remaining executor work:
Phase 54 closed the first bounded executor step as a larger milestone rather
than another one-patch phase. It grouped:
```text
D1 executor policy gate
@@ -210,7 +210,7 @@ D6 multi-volume isolation
D7 live close gate
```
The first mutation remains intentionally narrow:
The first mutation is intentionally narrow:
```text
returned replica ACK eligibility only
@@ -226,6 +226,26 @@ no primary authority change
no cross-volume mutation
```
Phase 54 live close evidence:
```text
run=20260623-114709-aa80
previous_primary_frontend_fenced=true
current_primary_unchanged=true
durable_frontier_covered=true
executor_ack_mutation_attempts=1
target_reason=ack_eligibility_recorded
target_ack_eligible=true
target_frontend_fenced=true
target_primary_unchanged=true
target_frontier_covered=true
target_no_cross_volume=true
```
This closes ACK eligibility recording, not rebuild execution. The remaining
rebuild design work still needs a catch-up/rebuild executor, progress states,
terminal barrier evidence, and failure handling for dirty or stale recovery.
## QA Gate Shape Needed
A real returned-replica gate should prove:
@@ -247,10 +267,9 @@ cleanup verifier remains clean
- No automated returned-replica rebuild is currently claimed.
- No failback policy is claimed.
- No backup/restore is implied.
- The executor contract is visible, but `execution_enabled=false` and
`mutation_allowed=false`.
- The authority executor process can be packaged, but it is read-only and
rejects execution.
- The authority executor can now record ACK eligibility on
`SwBlockReplicaEligibility.status` after terminal evidence, but it still does
not execute rebuild, frontend publication, or failback.
- No broad HA production claim follows from lower-level recovery code alone.
## Why This Is Next After Operation Layer
+66 -342
View File
@@ -1,377 +1,101 @@
# Current Plan: Phase 54 Returned-Replica Reintegration Executor Milestone
# Current Plan: Phase 55 Release And Documentation Hardening
Status: complete.
Branch target: `phase54-returned-replica-reintegration-executor`
## Why This Is a Milestone, Not a Microphase
## Goal
Phases 46-53 intentionally built the returned-replica path one safety latch at
a time:
Close the documentation and release-claim gap after Phase 54.
- visible returned-replica facts,
- dry-run action admission,
- live evidence,
- typed preflight,
- SwBlockVolume status schema,
- explicit ACK eligibility evidence,
- executor contract,
- disabled executor process/RBAC.
Those small phases were useful while crossing from read-only status into a
mutating control-plane boundary. Continuing with one tiny phase per latch would
now create process noise. Phase 54 should be one larger milestone with several
deliverables and one close gate.
## Product Goal
Turn returned-replica reintegration from a fully non-mutating status contract
into the first bounded executor capability.
The first mutation is deliberately narrow:
Phase 54 proved the first bounded returned-replica authority executor mutation:
```text
set returned replica ACK eligibility only
SwBlockReplicaEligibility.status ACK eligibility
```
It must not:
```text
publish a frontend
start rebuild/catch-up traffic
change primary authority
perform failback
touch another volume
```
Phase 55 is intentionally not a new storage feature. It makes the public and
developer-facing documents precise enough that a release reviewer does not
mistake ACK eligibility recording for rebuild, frontend publication, or
failback.
## Scope
In scope:
- Teach `authority-executor` a disabled-by-default execution path for the
`ack_eligibility` mutation class.
- Add explicit enable flags and policy gates.
- Add admission/RBAC confinement for only the required mutation target.
- Add terminal evidence projection after execution.
- Add failure projection for rejected, stale, missing, or unsafe contracts.
- Add multi-volume isolation gates.
- Add one live returned-replica close gate.
- README capability and non-claim alignment.
- Release note for the v0.6 beta candidate.
- User-capability page update.
- Wiki/deep-dive update for returned-replica and read-write control-plane
roadmap.
- Roadmap wording audit after Phase 54 close.
- Release smoke checklist for future published images.
Out of scope:
- No frontend publication.
- No rebuild traffic.
- No automatic failback.
- No broad returned-replica rebuild claim.
- No NVMe ANA, backup/restore, or general repair executor.
- No product code changes.
- No new executor mutation.
- No release-image publish.
- No QA re-run unless docs expose a missing gate.
## Deliverables
### D1: Executor Policy and Command Gate
### D1: Public Docs Alignment
Status: implemented on branch. The command and Helm chart now expose the policy
gate while keeping execution disabled by default.
Status: implemented.
Add explicit command-line and Helm policy:
Update README and user capability docs so they say:
- returned-replica ACK eligibility executor is a beta-candidate gated
capability,
- rebuild/failback/frontend publication remain non-claims,
- published quickstart image tags do not validate Phase 54 until matching
release images are published.
### D2: Release Note
Status: implemented.
Add `docs/releases/v0.6-beta-candidate.md` and link it from release notes.
The note must include:
- narrow claim,
- Phase 54 live close evidence,
- pending image-publish warning,
- release checklist.
### D3: Developer Wiki Alignment
Status: implemented.
Update returned-replica and read-write control-plane wiki pages so future
developers see the current boundary:
```text
authorityExecutor.create=false by default
authorityExecutor.execution.enabled=false by default
--enable-execution still rejected unless the policy flag is present
--allowed-mutation-class=ack_eligibility is the only accepted class
ACK eligibility target status is proven
rebuild/catch-up/failback still need their own executor and gates
```
Acceptance:
### D4: Verification
- default install remains read-only,
- enabling process without execution remains Phase 53 behavior,
- unsupported mutation classes fail closed,
- no RBAC expansion yet.
Current behavior:
Minimum checks:
```text
--allowed-mutation-class accepts only ack_eligibility
--enable-execution without --execution-policy -> executor_policy_disabled
--enable-execution with --execution-policy -> ack_eligibility_mutation_target_missing
mutation_attempts remains 0 on every blocked path
```
### D2: Mutation Target Contract
Status: target selected in
`internal/docs/ref/phase54-ack-eligibility-mutation-target-contract.md`.
Define the exact target the executor is allowed to mutate.
Preferred target shape:
```text
SwBlockVolume.status.executorContracts[] remains the input
executor writes a narrow executor evidence object/status field
operator-status remains the owner of broad readiness/status
```
Design question to resolve before code:
```text
Should ACK eligibility live in SwBlockVolume status, a separate evidence CR,
or authority-store state?
```
Acceptance:
- one owner writes the ACK eligibility fact,
- user-visible status can show who wrote it and when,
- old-primary/frontend publication remains impossible from this path.
Current conclusion:
```text
SwBlockReplicaEligibility is the narrow ACK eligibility evidence target.
SwBlockVolume status is a projection surface owned by operator-status and must
not be used as fake executor state.
```
Execution remains disabled by default. The bounded writer path now exists; D4
must prove the executor calls it only with complete terminal evidence.
### D3: Admission/RBAC Boundary
Status: **QA PASS**. The live m02 k3s gate passed through
`testops/scenarios/authority-executor-target-rbac-chain.yaml`.
Add real Kubernetes proof for the chosen mutation target.
Acceptance:
- executor can mutate only the selected ACK eligibility target,
- executor cannot patch SwBlockVolume spec,
- executor cannot patch finalizers,
- executor cannot patch broad status unless the selected design explicitly
requires a narrow subresource/status field,
- executor cannot create pods/PVC/PV/storageclasses/secrets,
- live `kubectl auth can-i` gate proves the boundary.
Current chart boundary:
```text
default authorityExecutor.execution.enabled=false -> no target write RBAC
enabled -> get/list/watch swblockreplicaeligibilities
enabled -> get/update/patch swblockreplicaeligibilities/status
still no swblockvolumes/status, swblockvolumes/finalizers, Events, pods, PVCs,
PVs, storageclasses, secrets, or delete/create verbs
```
Writer path now exists:
```text
KubernetesStatusClient.WriteReplicaEligibilityStatus(...)
PATCH /apis/block.seaweedfs.com/v1alpha1/namespaces/<ns>/
swblockreplicaeligibilities/<name>/status
```
The D4 call-site uses this writer only for the matching
`SwBlockReplicaEligibility.status` object.
D3 close evidence:
```text
phase54_authority_executor_target_rbac_status=ok
executor SA: get/list/watch swblockvolumes and swblockreplicaeligibilities
executor SA: update/patch swblockreplicaeligibilities/status
executor SA: denied for SwBlockVolume status/finalizers, main object, Events,
pods, PVCs, PVs, storageclasses, secrets, and delete/create verbs
default SA: denied for swblockreplicaeligibilities/status
```
### D4: Terminal Evidence Projection
Status: **QA PASS** on live m02 k3s run `20260623-110832-6b9c`
(`authority-executor-callsite-chain`, 36/36 actions).
Runner gate:
```text
testops/scenarios/authority-executor-callsite-chain.yaml
scripts/run-phase54-authority-executor-callsite-gate.sh
```
After execution, project terminal evidence:
```text
ack_eligibility_known=true
ack_eligible=true
frontend_fenced_after_execution=true
primary_unchanged=true
durable_frontier_covered=true
no_cross_volume_identity_change=true
```
Implementation boundary:
```text
authority-executor --enable-execution --execution-policy
-> reads SwBlockVolume executorContracts + returned-replica status
-> reads existing SwBlockReplicaEligibility targets
-> patches only matching SwBlockReplicaEligibility.status
```
The executor does **not** create the target CR. A missing target is a hold with
`ack_eligibility_mutation_target_missing` and zero mutation attempts. This keeps
object identity ownership outside the executor.
Terminal evidence required before any patch:
```text
contract.actionType=authority.reintegrate_returned_replica
contract.decision=disabled
contract.reason=executor_policy_disabled
contract.preflightDecision=ready
contract.preflightReason=preconditions_satisfied
contract.allowedMutationClass includes ack_eligibility
returned replica exists for contract.replicaID
frontendFenced=true
frontendPrimaryReady=false
ackEligibilityKnown=true
ackEligible=false before execution
requiredFrontierKnown=true
durableFrontierKnown=true
durableFrontierLsn >= requiredFrontierLsn
exactly one SwBlockReplicaEligibility target matches volume identity + replicaID
```
`primary_unchanged` is intentionally bounded: the call-site can prove the
returned replica did not become frontend-primary-ready because it remains
frontend-fenced. It does not claim a broad cluster primary proof from this
executor path.
Acceptance:
- report, explain, dashboard, operator-snapshot, and CRD agree,
- no false `Ready=True` if terminal evidence is missing,
- no claim of rebuild/failback.
### D5: Failure and Hold States
Status: **QA PASS** on live m02 k3s run `20260623-112339-a395`
(`authority-executor-negative-chain`, 26/26 actions).
Runner gate:
```text
testops/scenarios/authority-executor-negative-chain.yaml
scripts/run-phase54-authority-executor-negative-gate.sh
```
D5 broadened the D4 holds to stale/frontier-behind evidence, unsafe frontend
state, ambiguous targets, cross-volume identity mismatch, blocked preflight, and
partial multi-contract behavior.
Cover negative cases:
- contract missing,
- preflight hold,
- ACK eligibility unknown,
- terminal evidence stale,
- primary changed during execution,
- frontend no longer fenced,
- multi-volume identity mismatch.
Acceptance:
- each case is blocked or unknown with stable reason codes,
- no mutation is attempted for unsafe cases,
- failure evidence is visible to a cold reviewer.
### D6: Multi-Volume Isolation
Status: **QA PASS** (`20260623-113753-d07f`, 32/32 actions). D5 included a
mixed partial reconcile smoke; D6 made multi-volume isolation the primary gate
with explicit no-contamination assertions across identities, target statuses,
and cleanup.
Exercise at least three volumes:
```text
A: eligible returned-replica contract
B: blocked contract
C: no returned-replica contract
```
Acceptance:
- A/B eligible executor results did not affect blocked/no-contract/mismatched
volumes,
- blocked state did not block eligible status publication,
- no cross-volume executor evidence contamination
(`cross_contamination_count=0`),
- cleanup remained zero-residue.
### D7: Live Close Gate
Status: **QA PASS** (`20260623-114709-aa80`, 34/34 actions).
Ran the returned-replica live chain with the executor policy enabled only for
the bounded ACK eligibility path.
Acceptance:
- previous primary remains frontend-fenced,
- current primary remains unchanged,
- durable frontier still covers required frontier,
- ACK eligibility transition is visible,
- no frontend publication/rebuild/failback occurs,
- final report/dashboard/CRD agree,
- TestRunner bundle captures enough evidence for QA review.
Closed evidence:
```text
previous_primary_frontend_fenced=true
current_primary_unchanged=true
durable_frontier_covered=true
executor_ack_mutation_attempts=1
target_reason=ack_eligibility_recorded
target_ack_eligible=true
target_frontend_fenced=true
target_primary_unchanged=true
target_frontier_covered=true
target_no_cross_volume=true
source_ack_still_false=false
target_nonclaims_ok=true
```
## Validation Plan
Minimum local checks:
```text
go test -count=1 ./core/ops ./cmd/sw-block
go test ./core/ops ./cmd/sw-block
helm lint charts/seaweed-block
swblock validate testops/scenarios/authority-executor-rbac-chain.yaml
swblock validate testops/scenarios/authority-executor-target-rbac-chain.yaml
swblock validate testops/scenarios/iscsi-returned-replica-chain.yaml
swblock validate testops/scenarios/authority-executor-live-close-chain.yaml
swblock validate testops/scenarios/authority-executor-multivolume-chain.yaml
```
Required live checks:
```text
authority-executor RBAC/admission gate
returned-replica executor negative gate
returned-replica multi-volume isolation gate
returned-replica live close gate
```
## Remaining Non-Claims After D7
- No automatic failback.
- No frontend publication.
- No rebuild/catch-up traffic.
- No broad returned-replica rebuild claim.
- No production HA/SLO claim.
Docs are complete only if all checks pass and the diff does not introduce a
broader product claim than Phase 54 proved.
## Exit
Phase 54 is closed. The bounded ACK eligibility mutation is proven end to end
with live returned-replica evidence and multi-volume isolation. The only
executor-owned mutation is `SwBlockReplicaEligibility.status`; broader rebuild,
frontend publication, and failback remain explicitly out of scope.
Phase 55 is closed when docs are committed and the next step is clear:
```text
either release smoke on published images,
or start the next executor milestone with the same evidence/action boundary.
```
@@ -0,0 +1,61 @@
# Phase 55 Finished Plan: Release And Documentation Hardening
Status: complete.
Branch: `phase54-returned-replica-reintegration-executor`
## Summary
Phase 55 aligned public and developer documentation after Phase 54 closed the
bounded returned-replica ACK eligibility executor.
The main correction was product wording: Phase 54 proved
`SwBlockReplicaEligibility.status` ACK eligibility recording, not
returned-replica rebuild, frontend publication, or failback.
## What Changed
- Added `docs/releases/v0.6-beta-candidate.md`.
- Linked v0.6 from `docs/releases/README.md`.
- Updated `README.md` feature/status and non-claim wording.
- Updated `docs/user-capabilities.md` with the returned-replica ACK eligibility
executor boundary.
- Updated developer wiki pages:
- `docs/wiki/deep-dives/returned-replica-rebuild.md`
- `docs/wiki/deep-dives/read-write-control-plane-roadmap.md`
- Updated roadmap wording to include the Phase 55 docs hardening step.
## Closed Acceptance
```text
README names returned-replica ACK eligibility executor as beta candidate
README does not claim rebuild/failback/frontend publication
release notes include v0.6 beta candidate and pending image-publish warning
user capabilities explain ACK eligibility target status
wiki says rebuild/catch-up/failback remain future work
roadmap points to Phase 55 as documentation hardening, not a new feature
```
## Validation
```text
go test ./core/ops ./cmd/sw-block
helm lint charts/seaweed-block
swblock validate testops/scenarios/authority-executor-live-close-chain.yaml
swblock validate testops/scenarios/authority-executor-multivolume-chain.yaml
```
All passed.
## Non-Claims Preserved
- No release-image claim until published-image smoke passes.
- No returned-replica rebuild/catch-up traffic execution.
- No frontend publication.
- No automatic failback.
- No production HA/SLO claim.
## Next Step
Either run a published-image release smoke for v0.6, or start the next executor
milestone using the same evidence/action/target boundary.