Repository navigation
Description
Why
Goal: make the ADR set readable as a coherent protocol spec, not just 26 numbered decision records. Currently the only entry point is architecture.md, which is great as an ADR-by-ADR index but isn'''t structured for top-to-bottom reading.
This is Tier 1 of a three-tier book-readiness program. Tier 1 is the lowest-risk, highest-leverage move and validates whether the gap to "protocol spec" feel is structural (Tier 1 fixes it) or content-level (Tiers 2/3 needed).
Related: #345 (Tier 2 — narrative connectives), #346 (Tier 3 — strip decision-record scaffolding).
Scope
1. adr/README.md — preamble
A standalone preamble doc that answers, before any ADR is read:
- What is deCDN? One-paragraph protocol elevator pitch.
- Design principles (4-6 bullets): content-addressing, paid byte delivery, off-chain payment channels with on-chain settlement, BLAKE3 verification, opt-in ve-governance, USDC-denominated bootstrap.
- Glossary of canonical terms: TOKEN, USDC, NodeId, channel, voucher, gauge, ve, working_bytes, FeeRouter, SafetyReserve, etc. (~15-20 terms.)
- Reading order pointers to the thematic TOC (item 2 below).
- For decision-record context: one-line note that ADRs are decision records and rejected alternatives live in
_history/(see Tier 3).
2. Thematic TOC in architecture.md (or new dedicated section)
Currently architecture.md lists ADRs in numeric order. Add a Reading Order section near the top that groups ADRs by topic in the order a new reader should follow:
Suggested chapters (validate during execution):
- Foundations — 001 (network), 002 (content addressing), 005 (wire protocol)
- Discovery — 022 (DHT), 015 (zero-RTT)
- Payments — 003 (channels), 010 (multi-token), 012 (client), 024 (account abstraction)
- Tokenomics — 026 (canonical), 027 (distinct-client receipts), 029 (adaptive FeeRouter), 028 (sveTOKEN), 030 (pre-seed), 031 (BME prepay), 032 (bandwidth futures)
- Verification & enforcement — 014 (on-chain), 007 (watchtower), 008 (reputation), 011 (content takedown)
- Governance & operations — 009 (governance), 016 (contracts), 020 (observability), 023 (PoC/Prod seams)
- Infrastructure — 021 (L2), 013 (schema evolution), 017 (privacy), 019 (node onboarding), 006 (e2e encryption), 018 (liquidity strategy)
The numeric index (current architecture.md body) stays as the canonical reference.
Acceptance
-
adr/README.mdexists, GitHub auto-renders it when navigating to/adr/. - Glossary covers every canonical term used in 3+ ADRs without an inline definition.
- Reading order in
architecture.mdcovers all 26 ADRs exactly once. - First-time reader can follow
README.md→ reading order → individual ADRs without backtracking.
Out of scope
- Touching individual ADR bodies (Tier 2).
- Stripping decision-record scaffolding (Tier 3).
- Glossary entries that are only used in one ADR (define inline there).
Estimate
~half day.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
docs(adr): add README preamble + thematic reading order (Tier 1) (#347)