Repository navigation
docs(adr): every requester drops a has_blob/coverage mismatch without scoring - #2530
Merged
Merged
Conversation
… 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]>
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
has_blob/coverage mismatch as a "protocol violation ([ADR 008])". Both requesters (probe_candidateincrates/node/src/node_origin/mod.rs,classify_probeincrates/client/src/targets.rs) drop the response without scoring.slash_sigthat does not recover ("MUST NOT be scored against the peer"), and ADR 008 / the reputationOutcomeenum have no protocol-violation outcome. Adding a reputation observation anchored on an unsigned field fails the trustless axiom (spec-discipline gate 2).Closes #2527
Test plan
pre-commit run --files adr/022-content-discovery.md(markdownlint, ADR reference hygiene incl. anchors) passesgrep -rn "protocol violation" adr/ docs/ CHANGELOG.mdleaves only unrelated hits (QUICMAX_STREAMS, slashing glossary)has_blob: trueover an empty coverage for a non-empty root, and a new harness is out of scope for a docs fix.🤖 Generated with Claude Code