Skip to content

docs(adr): ADR 022 says a node requester scores a has_blob/coverage mismatch; probe_candidate drops it without scoring #2527

Closed

Description

@thiras

Problem

ADR 022 says a node requester scores a has_blob/coverage mismatch as a protocol violation. The code drops the answer without scoring.

  • ADR 022 § Consistency rule: "A node requester additionally scores such a response a protocol violation ([ADR 008]), the same posture as the mandatory-slash_sig rule; a client only rejects." Summary item 23 says the same: "the requester rejects it and scores a protocol violation."
  • probe_candidate in crates/node/src/node_origin/mod.rs returns None on !resp_ext.consistent_with(&resp.body) with a debug! only. Its comment states the opposite rule: "coverage is not in the signed set, so this mismatch has no attributable author to slash (same reasoning as an unrecovered slash_sig above), and a violation is dropped rather than scored to reputation."

The code's reasoning is the stronger one: coverage is unsigned, so a mismatch has no attributable author, and the ADR's own slash_sig rule drops an unrecovered signature without scoring for that reason. The ADR sentence contradicts the posture it cites.

The two review agents on #2471 both flagged this. It predates that change.

Fix

Decide once, then make the ADR and the code agree. The ADR is the source of truth, so either:

  • change ADR 022 (§ Consistency rule and item 23) to "every requester drops such a response and does not score it", matching probe_candidate and classify_probe, or
  • add the reputation observation to probe_candidate and say why an unsigned field can carry it.

The first option follows the trustless axiom in decdn-spec-discipline: an unsigned field cannot anchor a penalty.

Activity

  1. self-assigned this
    on Oct 18, 2026
  2. moved this from Backlog to In progress in deCDNon Oct 18, 2026
  3. moved this from In progress to Done in deCDNon Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions