Skip to content

No ADR for client architecture, bootstrap, or trust model #144

Closed

Description

@thiras

Summary

Clients are mentioned throughout all ADRs but there is no ADR defining how clients discover the network, manage keys, or what their trust assumptions are. This blocks PoC functionality.

Problem

Missing design decisions for:

  1. Client bootstrap — how does a client discover initial peers? The "multi-source bootstrap" in ADR 003 (eclipse attack mitigations) mentions "on-chain registry + hardcoded DNS seed list" but this is buried in attack mitigation options (A/B/C), not a decision.
  2. Client key management — clients hold Ethereum private keys that sign vouchers authorizing fund movement. A compromised client key allows draining the payment channel. There is no revocation mechanism beyond racing to close the channel.
  3. Client identity lifecycle — ephemeral NodeId-to-Ethereum bindings are session-scoped (ADR 005), but the lifecycle (creation, rotation, expiry) is not specified.
  4. Eclipse attack resolution — ADR 003 lists Options A/B/C with no decision made.

ADRs Affected

  • All ADRs reference clients but none defines the client architecture
  • 003-payments.md (eclipse attack options unresolved)
  • 005-protocol.md (ephemeral binding mentioned but not fully specified)

Recommendation

Write ADR 012 covering:

  • Client bootstrap and peer discovery
  • Key derivation hierarchy
  • Key compromise response (emergency channel close)
  • Hardware wallet feasibility for voucher signing given per-MB frequency
  • Eclipse attack mitigation decision
  • Trust boundary between client and CDN

Source

Comprehensive ADR architecture review (2026-04-03)

Activity

  1. added
    prio:critical
    design:adr
    design:missing-decision
    kind:docs
    on Apr 2, 2026
  2. self-assigned this
    on Apr 3, 2026
  3. added a commit that references this issue on Apr 3, 2026
    b758edc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrdesign:missing-decisionkind:docsprio:critical

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions