Ping Qiu 74c4f88cca docs: add engine surface taxonomy
## 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.
2026-04-14 12:43:17 -07:00
Languages
Go 84.6%
Rust 7.8%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%