- Delete the stale roadmap and eight wiki planning pages (git history keeps them); move the only unique content (Phase 166-170 write-path experiment results) into docs/releases/nvme-tcp-supported-lab.md. - Simplify the remaining user docs; duplicated non-claim lists link to docs/kubernetes-status.md; lab host names and local paths are removed. - Split docs/design/block-design.md into core, agent-workspace-design.md and kubernetes-block-design.md; add four SVG diagrams of the on-disk and remote structures and new mermaid diagrams. - mkdocs.yml nav and README links follow the new layout; the two gate scripts drop the one check each that read a deleted file. Docs only; no product code changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.6 KiB
Seaweed Block Engineering Wiki
This wiki explains how the Kubernetes line of Seaweed Block works, for developers changing it. It is not a release-claim source: the release notes and Kubernetes status hold the claims, and the design documents are the canonical description: the core design (core block service, verification, known issues), the agent workspace design and the Kubernetes block design.
Pages
- Code Map - main commands, packages and responsibility boundaries.
- State Machines - the product states developers must not violate.
- QA and TestOps Map - which gates prove which claims.
- Runtime State Machines - control-plane, CSI and frontend loops.
Current Product Loop
The current validated loop is:
Helm install
-> CSI CreateVolume
-> SwBlockVolume identity CR
-> lifecycle-owner protection finalizer
-> operator-status writes CRD status and Events
-> delete request
-> delete-safety hold on unsafe evidence
-> release on clean cleanup evidence
-> uninstall zero residue
This is a bounded operation-layer capability. It is not automatic cleanup, not a production operator, and not backup/NVMe expansion.
Returned-replica work adds a separately gated, opt-in failback runtime path. See Returned Replica Failback Runtime for the authority owner, target CR, executor, gRPC service, terminal evidence, and non-claims. That line can plan a frontend-publication target from terminal failback evidence and invoke the publication runtime only under explicit policy; workload-visible path switching remains a separate gate.
Deep Dives
New pages follow the deep-dive template. A page is deep only if a developer could use it to make a correct code change, write the right gate and diagnose a failed run.
- CSI Lifecycle
- Operation Layer v0.5
- Status Writer Conformance
- ManagedVolume Readiness
- SmartWAL Dirty Failure
- WAL Frontier Recovery
- blockvolume Process Readiness
- Authority And Promotion
- iSCSI ALUA Multipath
- Live Node Evidence
- Support Bundle Cold Reader
- Release Engineering Image Skew
- Returned Replica Rebuild
- Returned Replica Failback
- Read-Write Control Plane
- TestOps Authoring
Source Evidence
docs/- public and user-facing docs.internal/docs/- phase plans, design references and QA sign-offs.testops/- scenario definitions and suite structure.
When a wiki page conflicts with the code, a release note or a QA sign-off, the wiki page is wrong.
Local Preview
pip install mkdocs-material
mkdocs serve # http://127.0.0.1:8000
Use Mermaid for state machines and sequence diagrams. Link Markdown pages under
docs/ with relative links, and source code with GitHub links, since MkDocs
serves only files under docs/.