Repository navigation
Description
Summary
The public docs (docs/) were last synced to the canonical ADRs in #147 (724c55f, 2026-05-30). Since then several decdn/decdn ADRs changed and three new ADRs landed, leaving a few public-facing claims stale. Source of truth is decdn/adr/ (per docs/README.md).
This is a review-only finding — no doc edits pushed. Recommendations below, ranked by severity.
What changed upstream since 2026-05-30 that touches these docs:
| ADR(s) | Change | decdn PR |
|---|---|---|
| 009 / 011 / 016 | Emergency-multisig sunset split by capability | #977 |
| 003 | Cooperative close (one-tx fast settle) added | #973 |
| 038, 039 | New protocol ADRs (verified-range streaming; multi-source fetch) | #973 batch (dated 2026-06-15) |
| 019 | Operator terms-hash acceptance at registration | #825 → contracts #1078, CLI #1077 |
1. HIGH — Emergency-multisig sunset is now capability-split, not a blanket 12-month sunset
Where: docs/protocol/governance.mdx — frontmatter L3, Decision L8, "Emergency multisig" section L52.
What the docs say: a blanket 12-month sunset covering both pause() and emergency blacklisting — "after it, pause() and emergency blacklisting revert on-chain."
Canonical now (ADR 009 § Emergency Multisig, mirrored in ADR 011 and the ADR 016 EMERGENCY_ROLE table, via #977): the sunset is split by capability —
pause()sunsets hard atdeployTimestamp + 365 days(immutable). This is the centralization-sensitive protocol-wide brake, so it is the capability that expires.- Unlawful-content removal does not sunset.
emergencyAdd(),emergencyAddOrigin(), andsuspendRegionalBody()are permanent — they discharge an ongoing, time-critical legal duty (CSAM / court-ordered / sanctions removal) that the ~10-day governance cycle cannot meet, and touch no economic/treasury/governance lever.
The docs' current wording directly contradicts the ADR, which now explicitly rejects a permanent sunset on the blacklist path.
Recommended change:
- L8: change "…and has a 12-month sunset…" to describe the capability-split — the protocol-wide
pause()expires at 12 months (immutable), while the narrow unlawful-content-removal power is permanent. - L52: replace "after it,
pause()and emergency blacklisting revert on-chain" with "after it,pause()reverts on-chain; emergency blacklisting does not sunset — unlawful-content removal is a permanent legal-compliance capability." - L3 frontmatter: "a sunsetted emergency multisig" → e.g. "a partially-sunsetted emergency multisig" (or drop the qualifier).
- Optional: mirror one line in
docs/protocol/takedown.mdx(the emergency path is permanent, onlypause()sunsets).
Corroboration: the
decdn/internallegal copy already reconciled this (fff5fe3"reconcile content sunset with ADR 009 split"), so the website docs are the last surface carrying the old blanket-sunset claim.
2. MEDIUM — Cooperative-close fast-settle path is undocumented
Where: docs/protocol/payments.mdx (Channel lifecycle L20–29, Dispute window L41) and docs/overview/how-it-works.mdx ("Payment channels in three lines" L51–55).
What the docs say: only the closeChannel → dispute-window → settleChannel path (+ withdraw).
Canonical now (ADR 003 § Cooperative close (fast settle)): cooperativeClose(channelId, amount, nonce, bytesDelivered, clientVoucherSig, providerCloseSig) settles a channel in one transaction with no dispute window, callable by either party, when both are online and agree — the provider signs an EIP-712 CooperativeClose waiver. Purely additive: if the node declines or is offline, the client falls straight back to closeChannel. Already shipped in the client CLI as decdn channel coop-close (#973).
The existing prose isn't wrong (the slow path is still real), but it omits a canonical, user-visible settlement path added since the review.
Recommended change: add a short "Cooperative close" paragraph to payments.mdx (one-tx settle, no window, both-parties-agree, falls back to closeChannel), and a fourth bullet or aside in the how-it-works "three lines" section.
3. MEDIUM — ADR index missing 038 and 039
Where: docs/overview/design-decisions.mdx — table ends at row 037 (L33).
Canonical now: two protocol ADRs landed after the review (both dated 2026-06-15) and are listed as canonical in decdn/decdn/CLAUDE.md:
Recommended change: append two rows, matching the concise style of the table:
| 038 | Verified-range streaming |
| 039 | Multi-source parallel fetch |
(participants.mdx already mentions "multi-node parallel download" + resume, so 039 is partially reflected in prose; no other prose change strictly required.)
4. LOW — Registration no longer requires only key-ownership; it also accepts a terms hash
Where: docs/protocol/network.mdx — "On-chain registration" L16.
Canonical now (ADR 019 § Operator Safety Obligations / Terms Acceptance): registration now also requires accepting the DAO-canonical currentTermsHash — carried in the RegisterNode EIP-712 signature, enforced in CapacityBond.registerNode, emitting TermsAccepted, surfaced as an in-binary clickwrap. Shipped in contracts #1078 and CLI #1077.
Recommended change (optional): add a sentence to the registration section noting the terms-hash acknowledgement accepted at registration (governance-swappable, enforced on-chain).
Also reviewed — no change needed
- Slashing (
slashing.mdx): escrow-on-slash, 30-day operator appeal, 50/50 challenger/burn, 100 TOKEN evidence bond, synchronous adjudication — all still match ADR 014/028. - FeeRouter split & safety bounds (
governance.mdx,payments.mdx): 60/30/10 default and 40–90% operator-base / ≥5% burn bounds still match ADR 026/016. - No stale terms — grepped for
SafetyReserve, watchtowers, gauge/ve-escrow, Merkle-proof slashing,OriginStore, Genesis Bond,20% buyback,40/40…→ zero hits. - ADR-011 contract-level additions since the review (per-
(filer,region)fast-track cap #1045;rejectAppealAsPerjurydenylist #1026; permissionless-only appeal-deadline enforcement #1051) live below the abstraction level oftakedown.mdxand create no contradiction.
Baseline: 724c55f (#147, 2026-05-30). Upstream compared at decdn/decdn@ae78222.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity