Repository navigation
Description
Scan of ADRs 000–018 + architecture.md identifies architectural decisions that are referenced, deferred, or implied by existing ADRs but not yet formalized. Prioritized by implementation-blocking impact and cross-ADR consistency risk.
Blocking gaps (PoC or mainnet launch)
-
1. Node onboarding & bootstrapping flow
- Refs: ADR 001 (registry query, Node ID ownership), ADR 004 (bootstrap fund eligibility),
architecture.md - Gap: No documented procedure from "operator has a server" to "accepting paid delivery." Missing: registration transaction flow, staking verification sequence, multi-addr (NAT) registration/refresh, initial gossip subscription.
- Why it needs an ADR: Blocks PoC testnet participation.
- Resolved: ADR 019 (docs: ADR 019 — node onboarding and bootstrapping flow #191)
- Refs: ADR 001 (registry query, Node ID ownership), ADR 004 (bootstrap fund eligibility),
-
2. Production L2 chain selection
- Refs: ADR 004 (explicitly deferred), ADR 003, ADR 009, ADR 010
- Gap: PoC targets Arbitrum Sepolia; production chain (Arbitrum One / Base / OP / other) is unspecified. Affects gas, finality, bridges, liquidity venues.
- Why it needs an ADR: Blocks mainnet contract deployment and token launch coordination.
- Resolved: ADR 021 (adr: ADR 021 — Production L2 chain selection (Arbitrum One) #193)
-
3. DHT / content discovery at scale
- Refs: ADR 001 ("DHT deferred to post-PoC"),
architecture.md - Gap: Current discovery is probe fan-out — O(n) in network size. No design for scalable content location.
- Why it needs an ADR: Blocks scaling beyond PoC; rare/distant content becomes unreachable.
- Resolved: ADR 022 (ADR 022: Content discovery via cdn/dht/v1 (Kademlia) from PoC onward #194)
- Refs: ADR 001 ("DHT deferred to post-PoC"),
-
4. Delegated voucher signer support
- Refs: ADR 012 (production HW-wallet pattern), ADR 003
- Gap: Hardware-wallet users need to sign 100+ vouchers/session (one per MB). ADR 012 sketches hot-key derivation but says "contract support for delegated signers is deferred." ADR 003 does not support on-chain signer delegation.
- Why it needs an ADR: Blocks production HW-wallet UX; forces file-based keys or impractical streaming.
-
5. Token distribution timing & treasury mechanics
- Refs: ADR 004 (allocation table), ADR 009
- Gap: Allocation amounts and vesting are specified, but not: genesis mint vs. tranche releases, treasury custody (multisig/Timelock/custom), bootstrap-fund phase-end trigger, governance authority over releases.
- Why it needs an ADR: Blocks mainnet token launch.
High-priority operational/compliance gaps
-
6. Observability & metrics standard
- Refs: ADR 001, ADR 004, ADR 008 (
probe_cache_*), ADR 011 (blacklist_sync_lag_seconds), ADR 015 (quic_0rtt_attempts_total) - Gap: Metrics are sprinkled across ADRs with no canonical registry, naming convention, export format, or mandatory-vs-optional split. No alerting/dashboard guidance.
- Why it needs an ADR: Blocks operational readiness; operators can't detect slashable violations proactively.
- Resolved: ADR 020 (docs: ADR 020 — observability and metrics standard #192)
- Refs: ADR 001, ADR 004, ADR 008 (
-
7. Node region / geolocation verification
- Refs: ADR 001 (self-reported), ADR 011 (explicitly flags "unverified" as a PoC gap), ADR 012, ADR 017
- Gap: Region is self-declared. An EU node can claim US to evade DSA enforcement. ADR 011 hints at oracle/attestation cross-checking for production but provides no design.
- Why it needs an ADR: Blocks production compliance with regional content law (DSA, DMCA, etc.).
-
8. Key rotation strategy (node + app server + client)
- Refs: ADR 012 (iroh rotation sketched, not specified), ADR 006 (server_secret HSM rotation, cadence undefined), ADR 003 (no mention)
- Gap: No spec for rotation triggers, migration of in-flight requests, or compromised-key recovery for node Ethereum channel keys.
- Why it needs an ADR: Production security assumes rotation exists.
-
9. PoC→production feature-flag architecture
- Refs: ADRs 003, 004, 006, 007, 008, 010 (each lists PoC vs production scope)
- Gap: No centralized definition of how code toggles between PoC and production behavior (compile flags? env vars? runtime config?).
- Why it needs an ADR: Without this, feature boundaries become ad-hoc conditionals entangled in the code.
Medium-priority gaps
-
10. Peer table eviction & blacklist propagation layer
- Refs: ADR 001, ADR 011
- Gap: Eviction policy (size/age/offline handling) unspecified. Blacklist enforcement layer unclear — gossip validation vs. probe selection vs. connection-level reject. Propagation latency undefined.
-
11. Client priority staking semantics
- Refs: ADR 003 (§Client Priority Staking)
- Gap: Unstake cooldown, mid-session stake changes, priority granularity (stream/session/connection), and in-flight behavior on unstake are all unspecified.
-
12. Slashing appeals / dispute escalation
- Refs: ADR 004, ADR 014, ADR 011
- Gap: 24h counter-evidence window exists, but no governance-level appeal path for unfair slashes or missed windows (network outage, etc.).
Suggested ordering for new ADRs (019+):
- Node onboarding (unblocks PoC testnet) ✅ ADR 019
- Production L2 selection (unblocks mainnet planning) ✅ ADR 021
- Observability standard (unblocks operator readiness) ✅ ADR 020
- DHT / discovery (unblocks scale) ✅ ADR 022
- Geolocation verification (unblocks regional compliance)
Generated from an automated ADR gap scan.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
docs: add ADR 019 — node onboarding and bootstrapping flow
docs: add ADR 020 — observability and metrics standard
docs: add ADR 020 — observability and metrics standard
docs: add ADR 019 — node onboarding and bootstrapping flow
docs: ADR 019 — node onboarding and bootstrapping flow (#191)
docs: ADR 020 — observability and metrics standard (#192)
alpergundogdu commentedon May 5, 2026
Closing — all originally identified gaps are now either resolved or tracked in dedicated follow-up issues.
Resolved
appendix-l2-deployment.md(originally ADR 021 / #193, demoted to appendix in #348)erc7579/smartsessionsappendix-observability.md(originally ADR 020 / #192, demoted in #348)appendix-operator-key-rotation.mdappendix-poc-production-seams.mdTracked separately
docs(adr): close operator-key-rotation §6 deferred hot-signing altern…