Skip to content

Missing ADRs: gaps identified in decision coverage #190

Closed

Description

@thiras

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)
  • 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

  • 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)
  • 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.

Activity

  1. added
    design:adr
    design:missing-decision
    kind:docs
    prio:high
    on Apr 5, 2026
  2. alpergundogdu commented on May 5, 2026

    @alpergundogdu
    Contributor

    Closing — all originally identified gaps are now either resolved or tracked in dedicated follow-up issues.

    Resolved

    # Topic Resolution
    1 Node onboarding & bootstrapping ADR 019 (#191)
    2 Production L2 selection appendix-l2-deployment.md (originally ADR 021 / #193, demoted to appendix in #348)
    3 DHT / content discovery ADR 022 (#194)
    4 Delegated voucher signer ADR 024 — Safe + ERC-7579 + erc7579/smartsessions
    5 Token distribution timing & treasury ADR 026 — fixed-genesis 1B mint, allocation/vesting table, Timelock-custodied treasury, externally-funded USDC bootstrap
    6 Observability & metrics appendix-observability.md (originally ADR 020 / #192, demoted in #348)
    8 Operator key rotation appendix-operator-key-rotation.md
    9 PoC→production seam architecture appendix-poc-production-seams.md

    Tracked separately

    # Topic Issue
    7 Geolocation verification #400
    10 Peer table eviction policy (blacklist propagation half is resolved by ADR 011) #401
    11 Client priority staking edge-case semantics #402
    12 Slashing appeals / dispute escalation path #403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    design:adrdesign:missing-decisionkind:docsprio:high

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions