docs: add wiki coverage matrix

This commit is contained in:
pingqiu committed 2026-06-17 16:21:47 -07:00
1 parent ee9621aba2
commit cb2955ece2
4 files changed
+80 -5

No files matched your search

@@ -0,0 +1,68 @@
# Engineering Coverage Matrix
This matrix is the review checklist for whether the wiki covers the last
several months of Seaweed Block work. It is domain-based rather than phase-based
because developers need to understand subsystems, ownership, and invariants, not
just the order in which phases happened.
Coverage levels:
| Level | Meaning |
|---|---|
| `linked` | source docs are linked, but wiki explanation is thin |
| `mapped` | wiki explains the domain, ownership, code area, and source evidence |
| `deep` | wiki includes Mermaid diagrams, state transitions, code entry points, and QA gates |
## Domain Coverage
| Domain | Why it matters | Source evidence | Current wiki coverage | Next doc work |
|---|---|---|---|---|
| Product positioning and claims | Prevents over-claiming and release confusion | `docs/releases/`, `docs/roadmap.md`, `docs/user-capabilities.md` | mapped | claim-boundary page by release |
| Day-1 Kubernetes install and first PVC | User entry path and release smoke | Phase 20, 25, 40, 44 finished plans; quickstart | mapped | install flow diagram and troubleshooting |
| CSI lifecycle | PVC/PV path, CreateVolume/DeleteVolume, node stage/publish | `core/csi`, `docs/runtime-state-machines.md`, Phase 44 D2 | linked | deep dive needed |
| SwBlockVolume CR identity | Bridge from CSI to operation layer | Phase 44 D2 sign-off, `core/csi/kubernetes_metadata.go` | mapped | sequence diagram and field ownership |
| operator-status | CRD status, Events, node evidence, cleanup/delete-safety | Phases 35-40, `core/ops` | mapped | deep dive needed |
| lifecycle-owner | bounded finalizer add/release | Phases 41-44, lifecycle-owner refs | mapped | deep dive needed |
| Admission/RBAC boundary | Prevents finalizer owner from becoming broad operator | Phase 42 sign-off, Helm templates | linked | VAP/RBAC decision diagram |
| Delete-safety | Holds unsafe deletion, releases on clean evidence | Phase 39, 42, 44; finalizer-delete-safety contract | deep initial | field-by-field status contract |
| Cleanup verifier | Zero-residue authority and safety evidence | cleanup scripts, Phase 29, 36, 44 | mapped | residue taxonomy |
| ManagedVolume readiness | Shared ready/blocked/unknown model | Phase 22, 32, 35-36 | linked | detailed priority diagram |
| Node readiness / CSI evidence | Avoids false node-ready status | Phase 37 | linked | detailed live evidence diagram |
| SmartWAL dirty failure | Proves dirty storage evidence cannot become false Ready | Phase 34 | linked | deep dive needed |
| Authority / epoch / promotion | One-primary, fencing, restart authority persistence | Phases 13-18, 31, invariant ledger | linked | authority protocol deep dive |
| Returned-replica rebuild/reintegration | Next major storage lifecycle feature | recovery refs, roadmap | linked | readiness/gap analysis |
| iSCSI frontend / ALUA / multipath | Current default frontend and transparent failover path | iSCSI refs, Phase 17, 27, 37 | linked | ALUA path-state diagram |
| NVMe ANA parity | Planned protocol parity path | NVMe refs, roadmap | linked | future protocol page |
| TestOps runner and scenarios | Product evidence, not just tests | `testops/`, Phase 33-34 | mapped | authoring guide needed |
| Support bundle/replay/report/dashboard | Cold-reader diagnosis and support path | Phases 23-24, 28, 32, 36 | mapped | bundle structure diagram |
| Release engineering | Image/chart skew prevention | Phases 40, 44, release notes | mapped | release checklist page |
| Docker volume plugin idea | Future non-K8s adapter | roadmap | linked | investigation page later |
## Coverage Decision
The wiki is useful when each major domain has:
```text
problem statement
industry/product pattern
Seaweed Block ownership model
state machine or protocol diagram
main code entry points
QA gates and failure evidence
explicit non-claims
```
## Priority For Deep Pages
1. CSI lifecycle and `SwBlockVolume` ownership.
2. Operation layer v0.5: operator-status + lifecycle-owner + admission.
3. ManagedVolume readiness and negative-first priority rules.
4. SmartWAL dirty-failure path.
5. TestOps authoring and evidence realism.
6. Authority/promotion/restart persistence.
7. iSCSI ALUA/multipath frontend.
8. Returned-replica rebuild readiness.
These eight pages would cover most of the hard-earned knowledge from the last
few months. The rest can remain linked until those are reviewed.
+2
View File
@@ -23,6 +23,8 @@ Start here:
- [Developer Guide](developer-guide.md) - what belongs in the wiki and what
remains in source evidence.
- [Coverage Matrix](coverage-matrix.md) - whether the wiki covers the major
months-long engineering domains and where deeper docs are still needed.
- [Code Map](code-map.md) - main packages, commands, and responsibility
boundaries.
- [State Machines](state-machines.md) - the product states developers must not
+9 -5
View File
@@ -102,11 +102,15 @@ Goal: identify the first detailed wiki deep dives to write next.
Acceptance:
```text
[ ] operation-layer v0.5 deep dive outline
[ ] block engine / WAL dirty-failure deep dive outline
[ ] CSI + SwBlockVolume lifecycle deep dive outline
[ ] TestOps scenario authoring deep dive outline
[ ] returned-replica rebuild readiness deep dive outline
[x] domain coverage matrix exists
[x] major domains from the last several months are listed
[x] each domain maps to source evidence and current wiki coverage
[x] priority deep pages are ordered for review
[ ] operation-layer v0.5 deep dive
[ ] block engine / WAL dirty-failure deep dive
[ ] CSI + SwBlockVolume lifecycle deep dive
[ ] TestOps scenario authoring deep dive
[ ] returned-replica rebuild readiness deep dive
```
## D4: Publish / Serve Decision
+1
View File
@@ -33,6 +33,7 @@ nav:
- Home: wiki/index.md
- Developer Guide:
- Wiki Structure: wiki/developer-guide.md
- Coverage Matrix: wiki/coverage-matrix.md
- Code Map: wiki/code-map.md
- State Machines: wiki/state-machines.md
- Protocol Catalog: wiki/protocol-catalog.md