mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
74c4f88ccaea97fc98dea337153426268db9ec35
## What this adds `docs/surface.md` is a taxonomy reference for the semantic core. It names every event, command, truth domain, and operator enum the engine currently exposes, so reviewers and contributors can see the full surface without re-reading the code. ## Counts (verified against current sources) | Dimension | Count | |---|---| | Events | 12 | | Commands | 6 | | Truth domains | 5 | | Operator `Mode` | 4 | | `RecoveryDecision` | 4 | | `SessionKind` | 3 | | `SessionPhase` | 5 | | `ProbeStatus` | 4 | | `ContactKind` | 5 | ## Why no single state diagram The doc explicitly argues against drawing a unified diagram and names what replaces it: - the reducer itself as the transition specification - invariants (C8 / C9 / C10 / C12 + the same-observation batch rule) - conformance YAML cases - per-run trace output Plus a list of per-dimension sub-diagrams that DO fit on one page for local review. ## Linked from README Single line under "Repo Layout" pointing to the new doc.
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%