You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(adr): ADR 022 says a node requester scores a has_blob/coverage mismatch; probe_candidate drops it without scoring #2527
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