Skip to content

docs(adr): every requester drops a has_blob/coverage mismatch without scoring - #2530

Merged
thiras merged 1 commit into
mainfrom
docs/adr-022-mismatch-drop-not-scored
Oct 18, 2026
Merged

thiras merged 1 commit into
mainfrom
docs/adr-022-mismatch-drop-not-scored

Conversation

@thiras

@thiras thiras commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • ADR 022 § Consistency rule said a node requester scores a has_blob/coverage mismatch as a "protocol violation ([ADR 008])". Both requesters (probe_candidate in crates/node/src/node_origin/mod.rs, classify_probe in crates/client/src/targets.rs) drop the response without scoring.
  • The code is right: the coverage bitmap is unsigned, so the mismatch has no attributable author. ADR 005 § Signer binding already sets that posture for a slash_sig that does not recover ("MUST NOT be scored against the peer"), and ADR 008 / the reputation Outcome enum have no protocol-violation outcome. Adding a reputation observation anchored on an unsigned field fails the trustless axiom (spec-discipline gate 2).
  • § Consistency rule and summary item 23 now say every requester drops such a response and does not score it, citing ADR 005 § Signer binding. No code change; the code comments at both drop sites already state this rule.

Closes #2527

Test plan

  • pre-commit run --files adr/022-content-discovery.md (markdownlint, ADR reference hygiene incl. anchors) passes
  • grep -rn "protocol violation" adr/ docs/ CHANGELOG.md leaves only unrelated hits (QUIC MAX_STREAMS, slashing glossary)
  • No regression test added: no existing loopback responder can send the node requester a signed has_blob: true over an empty coverage for a non-empty root, and a new harness is out of scope for a docs fix.

🤖 Generated with Claude Code

… scoring (#2527)

ADR 022 § Consistency rule said a node requester scores a has_blob/coverage
mismatch as a protocol violation, citing ADR 008. Both requesters
(`probe_candidate` in node, `classify_probe` in client) drop the response
without scoring, and the ADR was wrong: the coverage bitmap is unsigned, so
the mismatch has no attributable author, which is the same posture ADR 005
§ Signer binding sets for a slash_sig that does not recover. ADR 008 has no
protocol-violation outcome at all. The rule and summary item 23 now state
what the code does.

Closes #2527

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 18, 2026 18:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused documentation changes match existing behavior and the cited attribution policy, with no unresolved findings.

No open issues 🎉

What changed in this PR

Aligns ADR 022 with existing requester behavior, resolving the documentation mismatch in #2527.

Changes:

  • Clarifies that all requesters drop inconsistent has_blob/coverage responses without scoring.
  • Explains unsigned coverage attribution and cites ADR 005’s signer-binding policy.
  • Updates summary item 23; runtime code is unchanged.
File Description
adr/​022-content-discovery.md Aligns the consistency rule and summary with existing behavior.

Review effort: Balanced

@thiras
thiras merged commit f5d3de6 into main Oct 18, 2026
31 checks passed
@thiras
thiras deleted the docs/adr-022-mismatch-drop-not-scored branch October 18, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants