Skip to content

ADR 012 / ADR 037 still say the client runs FIND_VALUE and keeps reputation scores #1992

Closed

Description

@yigitdot

Split from #1989 (fixed in #1991), which scoped its amendment to ADR 039 and the ADR 001/037 unified-score conflict. The same stale client claims remain elsewhere:

Location Claim Shipped client
adr/012-client.md:34 "Uses cdn/dht/v1 FIND_VALUE for content discovery; falls back to cdn/probe/v1 broadcast during bootstrap" Candidates come from the persisted peer store or the CapacityBond registry (crates/cli/src/commands/fetch.rs discovery flow, crates/client-pull/src/discovery.rs). No DHT lookup exists in cli or client-pull.
adr/012-client.md:35-36 "Contributes only local reputation observations"; "Maintains a local node list ... and reputation scores" decdn-reputation is linked by node alone. The client's per-peer memory is the latency EWMA + failure suppression in crates/client-pull/src/peer_store.rs.
adr/012-client.md:158-159 region claim "mitigated by latency-based reputation"; "The client scores nodes solely from its own local observations" Same — no client reputation. RTT-only ranking (ADR 037) is what makes region spoofing moot on the client.
adr/037-regional-proxy-warming.md:29 "the client discovers holders via cdn/dht/v1 FIND_VALUE" Same peer-store / registry path. ADR 037's ranking text is correct; only the candidate-source clause is stale.

Fix direction: in-place edits in present-tense voice, mirroring the client / node-pull-leg split #1991 gave ADR 039 § Source set and selection. ADR 022 § FIND_VALUE Flow step 6 and § Node assembly already describe the DHT path as the node's; check them for any residual "client" wording while there.

Activity

  1. added
    kind:docs
    design:consistency
    design:adr
    area:cli
    on Sep 11, 2026
  2. added a commit that references this issue on Sep 11, 2026
    86786df
  3. moved this from Backlog to In progress in deCDNon Sep 11, 2026
  4. moved this from In progress to Done in deCDNon Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:clidesign:adrdesign:consistencykind:docs

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions