mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
1.5 KiB
1.5 KiB
Deep-Dive Template
Use this template for developer-facing pages. The target reader can read code but may not know storage, CSI, iSCSI/NVMe, WAL, or Kubernetes operator semantics.
Reader Orientation
Explain what domain this page covers and why it matters.
This page explains ...
You need this before changing ...
Domain Background
Introduce the industry terms and standards involved. Keep it practical:
- What is the external system or standard?
- What does it expect from us?
- What does it not care about?
- What failure does a user see when we get it wrong?
Product Problem
State the Seaweed Block-specific delivery goal and the traps:
We need to deliver ...
The dangerous easy answer is ...
The correct answer must preserve ...
Methodology
Answer the four questions:
what facts do we observe?
what constraints must those facts satisfy?
who is allowed to decide?
where does the decision become real?
State Machine / Protocol
Use Mermaid:
flowchart LR
Fact --> Judgment
Judgment --> Action
Action --> Evidence
Implementation Map
| Responsibility | Code / config |
|---|---|
| input facts | path |
| decision | path |
| execution | path |
| evidence | path |
Phase History
| Phase | Contribution |
|---|---|
| Phase X | what changed |
Include failures that shaped the design.
QA Evidence
| Gate | What it proves | What would fail |
|---|---|---|
| gate | proof | failure |
Non-Claims
Name what this does not deliver yet.