summaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 6845b5f..2f3353f 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -9,8 +9,11 @@ music, photos). It is not a public file-sharing network; public groups are an
optional hub feature and are off on the reference deployment.
**`docs/MESHBAY_DESIGN.md` is the architecture specification.**
-`docs/MESHBAY_NODE_PROTOCOL.md` is the wire format. Everything else under
-`docs/` is either an operational guide, or a superseded document kept for its
+`docs/MESHBAY_NODE_PROTOCOL.md` is the wire format. `docs/MESHBAY_HTTP_API.md`
+lists every route of the hub and of the node's control API; it is **generated**
+by `docs/generate_http_api.py` from the routes and their docstrings, never edited
+by hand, and `test_http_api_doc.py` fails when it drifts or when a route has no
+docstring. Everything else under `docs/` is either an operational guide, or a superseded document kept for its
cross-references and carrying a banner that says so.
**`docs/QUICKSTART.md` and `docs/USERGUIDE.md` are the user documentation** —
@@ -203,6 +206,7 @@ that produced it.
| Cryptography, key hierarchy, the group and chat envelopes | §4 |
| The protocol: handshake, authorization, signed ops, leases, versioning | §5, and `docs/MESHBAY_NODE_PROTOCOL.md` for the wire format |
| The node, the hub, the clients, the applications | §6, §7, §8, §9 |
+| Every HTTP route, hub and node control API | `docs/MESHBAY_HTTP_API.md` (generated) |
| Structural decisions that are not revisited | §14 |
| What is built, what is not, what is open | §15 |
| A reference to a document that no longer exists (`draft-v5 §5.2`, `apps.md §3`, …) — in git history, or in a document outside this repository | §16, the concordance — it maps every one onto its replacement section. The code itself cites `MESHBAY_DESIGN.md` and a section directly |