Skip to content

refactor(reputation)!: drop the network/gossip tier, keep local-only scoring - #1418

Merged
alpergundogdu merged 2 commits into
mainfrom
claude/aggregated-reputation-discussion-85656b
Jul 23, 2026
Merged

alpergundogdu merged 2 commits into
mainfrom
claude/aggregated-reputation-discussion-85656b

Conversation

@alpergundogdu

@alpergundogdu alpergundogdu commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1419 — proposal & full rationale recorded there.

Why

Aggregated (gossip-propagated, reporter-weighted) reputation was the overengineered part of ADR 008. A shared global score:

  • fights load balancing — it herds traffic onto the same "good" nodes and starves cold/new ones (a local score keeps a never-used peer neutral and selectable, so traffic keeps exploring, the role BitTorrent gives optimistic unchoking);
  • amplifies incumbency — reporter-credibility weighting gave established, high-settled-value nodes up to 3× influence over everyone's scores;
  • adds a permanent gossip attack surface — eclipse, coordinated negative reports, replay, clock-sync — all mitigated by machinery that itself has to be maintained forever;

…to buy 30% weight on a signal the ADR itself calls subjective and non-converging. BitTorrent shows a P2P content system needs none of this: local tit-for-tat scales fine. Reputation was never the Sybil/corruption defense either — stake + capacity bond + mandatory BLAKE3 verification + no-pay-on-failed-delivery are. Reputation only tunes each client's own selection probability.

What

Reputation is now local-only: per-peer EWMA folded from a node's own delivery observations, with no gossip propagation or cross-node aggregation.

Removed

  • The Network tier (gossip score), regional-coverage signal, distinct-counterparty discount, settled-value time decay, minimum-reporter threshold, and the cdn/reputation/v1 topic.
  • reputation crate: network / settlement / coverage / observation modules.
  • gossip crate: reputation.rs, ReputationWiring, the report publisher/subscriber tasks.
  • protocol: ReputationReport / ReportMetrics / TOPIC_REPUTATION.
  • node: the reputation_indexer (on-chain settlement → reporter weight), the admin_v1_reputation RPC + decdn node reputation CLI, and the network-score input to node selection.

Kept

  • Local per-peer EWMA scoring, decay-to-neutral, the ±0.05 per-report clamp, and the ADR-001 node-selection reputation penalty (now fed by the local score).
  • reputation_wiring.rs → announce_gate.rs: the module only ever held the NodeAnnounce staked-admission gate (ADR 001 rule 2), which stays.

Docs

  • ADR 008 rewritten to a self-contained local-only design.
  • Network-tier references cleaned up across 20+ ADRs and the observability / privacy / schema-evolution / peer-table-eviction / PoC-seam appendices (dead-anchor relinks, removed threat rows, the reputation_indexer watcher, etc.).
  • Protocol public-API snapshot re-blessed.

Verification

  • cargo build --all-targets — clean
  • cargo clippy --all-targets — clean
  • cargo fmt -- --check — clean
  • cargo nextest run — 2539 passed, 0 skipped
  • ADR make check-refs — passes
  • pre-commit hooks (cargo-deny, rustdoc, adr hygiene) — pass

Net: 55 files, +327 / −6,316.

🤖 Generated with Claude Code

…scoring

Reputation is now local-only per ADR 008: each node ranks peers solely from
its own delivery observations (BitTorrent-style tit-for-tat), with no gossip
propagation or cross-node aggregation. A shared, gossiped score fought load
balancing (herding traffic onto incumbents, starving cold nodes), amplified
incumbency (credibility-weighted reporters), and opened a permanent gossip
attack surface (eclipse, coordinated negatives, replay, clock-sync) — all to
weight a signal ADR 008 itself admitted was subjective and non-converging.
Stake + capacity bond + BLAKE3 verification + no-pay-on-failure remain the
Sybil/corruption defenses; reputation only tunes each client's selection.

Removed:
- Network tier (gossip-propagated, reporter-weighted score), regional-coverage
  signal, distinct-counterparty discount, settled-value decay, min-reporter
  threshold, and the cdn/reputation/v1 topic.
- reputation crate: network/settlement/coverage/observation modules.
- gossip crate: reputation.rs, ReputationWiring, report publisher/subscriber.
- protocol: ReputationReport/ReportMetrics/TOPIC_REPUTATION.
- node: reputation_indexer (settlement -> reporter weight), admin_v1_reputation
  RPC + `decdn node reputation` CLI, and the network-score selection input.

Kept:
- Local per-peer EWMA scoring, decay-to-neutral, +/-0.05 per-report clamp, and
  the ADR-001 node-selection penalty (now fed by the local score).
- reputation_wiring.rs -> announce_gate.rs: the module now only holds the
  NodeAnnounce staked-admission gate (ADR 001 rule 2).

Docs: ADR 008 rewritten to local-only; network-tier references cleaned up
across 20+ ADRs and the observability/privacy/schema-evolution appendices.
Protocol public-API snapshot re-blessed.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI review requested due to automatic review settings July 23, 2026 18:35
@coderabbitai

coderabbitai Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@alpergundogdu, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Free

Run ID: 04b4b952-91bc-4da6-a0d1-45602f6da878

📥 Commits

Reviewing files that changed from the base of the PR and between 5cce4e8 and 7994ba7.

📒 Files selected for processing (1)
  • monitoring/prometheus-alerts.yml

Walkthrough

Reputation is now local per peer, with gossip reports, network aggregation, settlement indexing, reputation RPCs, and related configuration removed. Gossip carries NodeAnnounce messages, node selection uses local scores, and staked announcement admission remains enforced.

Changes

Local reputation and protocol

Layer / File(s) Summary
Protocol and local scoring contracts
crates/protocol/..., crates/reputation/..., adr/013-schema-evolution.md
Removes ReputationReport protocol types and network reputation modules, leaving local interaction scoring and local reputation exports.
Gossip configuration and admission
crates/common/src/config/..., crates/gossip/..., crates/node/src/announce_gate.rs, crates/node/tests/self_hosted_discovery.rs
Removes reputation-topic configuration and tasks, updates gossip validation, and adds staked NodeAnnounce admission wiring.
Local scoring and runtime wiring
crates/node/src/node_origin.rs, crates/node/src/runtime/..., crates/node/tests/node_origin_pull.rs
Uses local peer scores for ranking and removes observation-buffer, network-reputation, publisher, and settlement-indexer runtime wiring.
Administration and observability surfaces
crates/cli/..., crates/common/src/admin.rs, crates/node/src/admin.rs, crates/node/src/metrics.rs
Removes the reputation CLI and admin RPC surface, reputation-indexer metrics, and associated fixtures and tests.
Architecture and ADR alignment
CLAUDE.md, adr/*
Updates architecture, protocol, tokenomics, privacy, onboarding, operational, and observability documentation for local-only reputation and NodeAnnounce-only gossip.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant NodeOrigin
  participant LocalReputation
  participant CandidateSelection
  NodeOrigin->>LocalReputation: record interaction outcome
  LocalReputation-->>NodeOrigin: return local peer score
  NodeOrigin->>CandidateSelection: rank candidate using local score
Loading

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands.

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.

Pull request overview

Removes the gossip-propagated “network” reputation tier and associated protocol/config/admin/CLI plumbing, leaving ADR-008 reputation as a strictly local per-peer EWMA used for node selection. This simplifies the runtime (no reputation topic, no settlement indexer/report handling) while preserving local scoring behavior and updating ADRs/public API snapshots to match.

Changes:

  • Deletes reputation gossip transport and protocol types (cdn/reputation/v1, ReputationReport, settlement-weighting, coverage, observation buffer, subscriber/publisher tasks).
  • Refactors node selection to use only LocalReputation and introduces a dedicated announce_gate wiring module for ADR-001 staked announce admission.
  • Removes admin/CLI surfaces and config fields for network reputation; rewrites ADRs and updates protocol public-API snapshot accordingly.

Reviewed changes

Copilot reviewed 55 out of 55 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
crates/reputation/src/settlement.rs Removes settlement-derived reporter weighting logic (network tier).
crates/reputation/src/observation.rs Removes outbound observation buffer for gossip publishing.
crates/reputation/src/local.rs Removes network-config-only validation errors from local scorer.
crates/reputation/src/lib.rs Updates crate docs/exports to local-only (+ interaction helpers).
crates/reputation/src/interaction.rs Removes gossip-metrics→interaction mapping helper/tests; local-only usage.
crates/reputation/src/coverage.rs Removes regional coverage aggregation (network tier).
crates/protocol/tests/snapshots/public_api__public_api.snap Re-blesses public API snapshot without reputation types/topic.
crates/protocol/src/lib.rs Stops re-exporting reputation gossip types and topic constant.
crates/protocol/src/gossip.rs Removes ReputationReport payload variant and related structs/tests.
crates/node/tests/sighup_signal.rs Updates resolved config fixture for removed gossip reputation knobs.
crates/node/tests/self_hosted_discovery.rs Removes reputation-topic integration test wiring and protocol constants.
crates/node/tests/anvil_bringup_shutdown_e2e.rs Updates resolved config fixture for removed gossip reputation knobs.
crates/node/src/runtime/reload.rs Removes reload-time handling/warnings for deleted gossip reputation config fields.
crates/node/src/runtime/mod.rs Removes reputation subsystem wiring (network agg, settlement indexer, admin handles) and uses announce gate module.
crates/node/src/node_origin.rs Switches ranking/scoring to local-only reputation and removes outbound report capture/metrics mapping.
crates/node/src/metrics.rs Drops reputation-indexer metric series; keeps watcher metrics aligned with remaining watchers.
crates/node/src/lib.rs Exposes new announce_gate module; removes reputation wiring/indexer modules.
crates/node/src/chain_events/mod.rs Updates watcher documentation to remove reputation-indexer references.
crates/node/src/announce_gate.rs New: node-side adapter implementing staked announce admission gate over StakerSet.
crates/node/src/admin.rs Removes admin_v1_reputation RPC and related DTO parsing/helpers/tests.
crates/gossip/src/validation.rs Moves StakedNodeSet seam here and makes fail-open AnnounceGate::Disabled test-only.
crates/gossip/src/service.rs Removes reputation topic wiring (subscriber/publisher/trigger/config fields).
crates/gossip/src/reputation.rs Deletes reputation report transport (validation/rate limiting traits + logic).
crates/gossip/src/metrics.rs Updates docs to reflect only NodeAnnounce topic families remaining.
crates/gossip/src/lib.rs Removes reputation module exports; re-exports StakedNodeSet from validation.
crates/common/src/config/types.rs Removes gossip reputation config fields from file schema.
crates/common/src/config/resolved.rs Removes resolved gossip reputation fields.
crates/common/src/config/mod.rs Removes resolution/defaulting/validation of gossip reputation fields + associated tests.
crates/common/src/cli/node.rs Removes decdn node reputation CLI subcommand/args.
crates/common/src/cli/mod.rs Removes re-export of ReputationArgs.
crates/common/src/admin.rs Removes admin RPC reputation request/response DTOs and method + error code.
crates/cli/tests/config_validate.rs Updates config validation test fixture for removed gossip reputation knobs.
crates/cli/src/commands/node.rs Removes client-side command implementation and formatting tests for node reputation.
crates/cli/src/commands/config.rs Removes validation-summary/default-config lines for deleted gossip reputation fields.
CLAUDE.md Updates repository overview to describe reputation as local-only.
adr/architecture.md Updates ADR index/assumptions to remove reputation gossip dependence.
adr/appendix-poc-production-seams.md Removes “local vs gossip-weighted reputation” from seam examples.
adr/appendix-peer-table-eviction.md Updates eviction appendix to reference local-only reputation.
adr/appendix-operator-key-rotation.md Updates rotation impact and incident-response language for local-only reputation.
adr/appendix-observability.md Updates observability guidance to remove reputation gossip/indexer watcher references.
adr/appendix-fraud-detection.md Removes reputation-signal framing; references on-chain/off-chain analysis instead.
adr/028-slashing-appeals.md Updates “reputation handling” rationale and mitigations for local-only reputation.
adr/026-tokenomics.md Updates wash-trading deterrent references away from reputation gossip.
adr/019-node-onboarding.md Removes reputation topic from onboarding subscription list.
adr/017-privacy.md Removes reputation gossip/credibility leakage items from privacy surface.
adr/016-contract-interactions.md Replaces “reputation indexers” reference with fraud-detector correlation framing.
adr/013-schema-evolution.md Removes reputation gossip examples; updates gossip enum evolution commentary.
adr/005-protocol.md Removes reputation topic from iroh-gossip protocol topic table.
adr/003-payments.md Updates wash-trading deterrent discussion and removes reputation-signal mention.
adr/001-network.md Removes reputation gossip bandwidth budget section; updates node selection input description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 1248 to 1251
/// `decdn_settlement_watcher_last_tick_timestamp_seconds` (#1316): Unix time
/// of the payment-settlement watcher's last successful poll tick.
pub settlement_watcher_last_tick_timestamp_seconds: Gauge,
/// `decdn_reputation_indexer_last_tick_timestamp_seconds` (#1316): Unix time
/// of the reputation-indexer watcher's last successful poll tick.
pub reputation_indexer_last_tick_timestamp_seconds: Gauge,
/// `decdn_rate_bounds_watcher_last_tick_timestamp_seconds` (#1172): Unix time

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch — fixed in 7994ba7. Removed the DecdnReputationIndexerStalled alert (its decdn_reputation_indexer_* series no longer exist) and the subscribe_reputation watcher-liveness comments. The grafana dashboard has no reputation panels, so nothing to change there.

@github-actions

github-actions Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Coverage report

Total: 81.01% (was 81.16%, ▼ 0.14%) — 51821/63965 lines

File Coverage Lines Δ
crates/cli/src/commands/config.rs 69.88% 181/259 ▲ +0.07%
crates/cli/src/commands/node.rs 83.80% 1024/1222 ▲ +1.25%
crates/common/src/admin.rs 96.37% 186/193 ● 0.00%
crates/common/src/cli/mod.rs 100.00% 3/3 ● 0.00%
crates/common/src/cli/node.rs 100.00% 5/5 ● 0.00%
crates/common/src/config/mod.rs 96.97% 6749/6960 ▼ 0.01%
crates/common/src/config/resolved.rs 100.00% 35/35 ● 0.00%
crates/gossip/src/metrics.rs 50.00% 3/6 ▼ 16.67%
crates/gossip/src/reputation.rs — — deleted
crates/gossip/src/service.rs 87.72% 457/521 ▲ +1.40%
crates/gossip/src/validation.rs 100.00% 343/343 ● 0.00%
crates/node/src/admin.rs 95.92% 1199/1250 ▲ +0.61%
crates/node/src/announce_gate.rs 100.00% 33/33 new
crates/node/src/chain_events/mod.rs 97.70% 85/87 ● 0.00%
crates/node/src/metrics.rs 95.27% 966/1014 ▼ 0.05%
crates/node/src/node_origin.rs 91.25% 918/1006 ▲ +0.24%
crates/node/src/reputation_indexer.rs — — deleted
crates/node/src/reputation_wiring.rs — — deleted
crates/node/src/runtime/mod.rs 46.91% 1084/2311 ▲ +1.69%
crates/node/src/runtime/reload.rs 96.62% 1659/1717 ▼ 0.01%
crates/protocol/src/gossip.rs 100.00% 65/65 ● 0.00%
crates/reputation/src/coverage.rs — — deleted
crates/reputation/src/interaction.rs 100.00% 34/34 ● 0.00%
crates/reputation/src/local.rs 99.49% 391/393 ● 0.00%
crates/reputation/src/network.rs — — deleted
crates/reputation/src/observation.rs — — deleted
crates/reputation/src/settlement.rs — — deleted
History
Commit Total Δ vs base
5cce4e8 81.01% ▼ 0.14%
7994ba7 (HEAD) 81.01% ▼ 0.14%

The reputation network tier removal deleted the `decdn_reputation_indexer_*`
metric series, so the `DecdnReputationIndexerStalled` alert would silently
never fire. Remove it and the `subscribe_reputation` watcher-liveness comments
that referenced the deleted, conditionally-spawned indexer. (Copilot review,
PR #1418.)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@alpergundogdu
alpergundogdu merged commit 4196623 into main Jul 23, 2026
24 checks passed
@alpergundogdu
alpergundogdu deleted the claude/aggregated-reputation-discussion-85656b branch July 23, 2026 19:01

Copy link
Copy Markdown
Contributor

Post-merge review: one material follow-up.

[P2] The advertised decay-to-neutral behavior was removed with the network scorer.

ADR 008 now requires local scores to decay 10% toward neutral per idle week (§ Score Decay), and the PR description says decay-to-neutral was kept. However, the surviving LocalReputation stores only HashMap<NodeId, f64>, while score() returns that raw value with no last-update timestamp or elapsed-time calculation (local.rs). The lazy decay_to implementation lived in the deleted network scorer.

As a result, a peer rewarded or penalized once keeps that selection weight for the daemon's entire lifetime, instead of rehabilitating/converging to 0.5. That conflicts with the new local-only design's stale-opinion and exploration guarantees.

Suggested follow-up: store { score, last_update } per peer, apply decay before record/score (and snapshots), add clock-controlled tests for the 1/5/30-week examples, and add bounded eviction once entries are idle and near neutral. If decay was intentionally dropped, the ADR and PR rationale should say so instead.

Validation: cargo test -p decdn-reputation passes 20/20, confirming the current suite has no time-decay regression coverage.

alpergundogdu added a commit that referenced this pull request Jul 24, 2026
…l scorer (#1425)

* fix(reputation): implement ADR 008 score decay-to-neutral in local scorer

ADR 008 §Score Decay requires local per-peer scores to decay 10% toward
neutral (0.5) per idle week, and PR #1418 claimed decay-to-neutral was
kept. But the surviving `LocalReputation` stored only a bare score per
peer, with no last-update timestamp — the lazy decay implementation lived
in the deleted network scorer. As a result a peer rewarded or penalized
once held that selection weight for the daemon's entire lifetime instead
of rehabilitating toward neutral, breaking the local-only design's
stale-opinion and exploration guarantees.

Restore conformance:

- Store `{ score, last_update_secs }` per peer and apply closed-form decay
  (`neutral + (score - neutral) * (1 - rate)^weeks`) lazily on `record`,
  `score`, and `snapshot`. The iterative weekly rule in the ADR is exactly
  this closed form sampled at whole weeks.
- Inject a `Clock` (system clock in production, controllable in tests) so
  decay is exercised deterministically. The public API (`new`, `record`,
  `score`, `snapshot`) is unchanged, so `node` call sites need no edits.
- Clamp the stored timestamp monotonically so a backward clock read
  neither decays nor rewinds the update time (no later over-decay).
- Add `decay_rate_per_week` as a validated config field (default 0.10,
  matching the ADR; 0.0 disables), consistent with the other §3 params.
- Add bounded `evict()`: drop entries that have decayed within 0.05 of
  neutral AND been idle > 26 weeks, so the map stays bounded under churn.

Tests: clock-controlled decay against the ADR week-1/5/10/20/30 examples
(high and low seeds), decay-before-fold on `record`, snapshot decay,
backward-clock safety, rate-0 freeze, config validation, and the evict
AND-predicate boundaries. 28/28 pass.

Follow-up to #1418.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_019WsEEjtyfczFH4g7F4DPFK

* docs(reputation): correct SystemClock pre-epoch behavior + decay helper name

Address PR #1425 review: the SystemClock rustdoc claimed a pre-epoch
clock read over-decays toward neutral, but decay() saturates elapsed at
0, so a 0 read yields no decay. Fix the doc to describe the actual
conservative behavior, and correct a stale decay_to reference to decay.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
thiras pushed a commit that referenced this pull request Jul 25, 2026
… vector

Rebased onto main after #1456 landed the min-reputation rejection-floor
removal (#1438). The code removal, ADR 001's "graded weight, not a veto"
paragraph, ADR 037's candidate-pool wording, and the CHANGELOG entry are all
already on main and are dropped from this branch. What remains are the stale
reference sites #1456 did not cover, plus one #1418 left behind.

ADR 039 § Source set and selection. The floor was the only path by which
reputation entered multi-source admission. #1456 removed the floor clause but
left "preferring lower RTT and lower rate" in its place, so the admitted set
ranked on RTT and rate alone — contradicting this ADR's own Cross-ADR Impact
entry, which states selection uses the same RTT, price, reputation, and
diversity inputs as ADR 001. Cite ADR 001's unified selection score instead
(its own term, defined at ADR 001 § Node Selection Algorithm), which carries
reputation as the graded weight the removal keeps. Citing the formula rather
than paraphrasing it also removes a standing rot vector: the old wording was
already a lossy restatement that silently dropped reputation, wrong against
ADR 001 even before #1456.

The collusive-reporting vector no longer exists. Two rejected-alternative
entries in adr/_history/alternatives-pre-launch.md and one live paragraph in
adr/appendix-blob-cache-eviction.md argued that coupling reputation to
eviction "creates a collusive-reporting vector". That vector was a coalition
sending negative ReputationReport messages to push a competitor below an
eviction threshold — and #1418 deleted ReputationReport, the cdn/reputation/v1
topic, and all cross-node aggregation. Reputation is local-only; no peer can
move another node's score, so the premise is gone. #1418 removed the argument
from appendix-peer-table-eviction.md but missed its two archive compressions
and the parallel claim in appendix-blob-cache-eviction.md, which it never
touched. Drop the clause in all three places, leaving the two rationales the
live appendix still states (conflates discovery with selection; reputation is
noisy in the tail). The rejections themselves are unchanged.

Docs only. Not fixed here: "admissible" at ADR 039 §§ 25/55/116 lost its
definition when #1456 removed the floor it referred to, and the archive's
bare section refs (§1, §3, §4, §6-§11) predate #610 dropping ADR section
numbering — both pre-existing and wider than this change.

Co-Authored-By: Claude Opus 5 <[email protected]>
thiras pushed a commit that referenced this pull request Jul 25, 2026
… vector (#1452)

Rebased onto main after #1456 landed the min-reputation rejection-floor
removal (#1438). The code removal, ADR 001's "graded weight, not a veto"
paragraph, ADR 037's candidate-pool wording, and the CHANGELOG entry are all
already on main and are dropped from this branch. What remains are the stale
reference sites #1456 did not cover, plus one #1418 left behind.

ADR 039 § Source set and selection. The floor was the only path by which
reputation entered multi-source admission. #1456 removed the floor clause but
left "preferring lower RTT and lower rate" in its place, so the admitted set
ranked on RTT and rate alone — contradicting this ADR's own Cross-ADR Impact
entry, which states selection uses the same RTT, price, reputation, and
diversity inputs as ADR 001. Cite ADR 001's unified selection score instead
(its own term, defined at ADR 001 § Node Selection Algorithm), which carries
reputation as the graded weight the removal keeps. Citing the formula rather
than paraphrasing it also removes a standing rot vector: the old wording was
already a lossy restatement that silently dropped reputation, wrong against
ADR 001 even before #1456.

The collusive-reporting vector no longer exists. Two rejected-alternative
entries in adr/_history/alternatives-pre-launch.md and one live paragraph in
adr/appendix-blob-cache-eviction.md argued that coupling reputation to
eviction "creates a collusive-reporting vector". That vector was a coalition
sending negative ReputationReport messages to push a competitor below an
eviction threshold — and #1418 deleted ReputationReport, the cdn/reputation/v1
topic, and all cross-node aggregation. Reputation is local-only; no peer can
move another node's score, so the premise is gone. #1418 removed the argument
from appendix-peer-table-eviction.md but missed its two archive compressions
and the parallel claim in appendix-blob-cache-eviction.md, which it never
touched. Drop the clause in all three places, leaving the two rationales the
live appendix still states (conflates discovery with selection; reputation is
noisy in the tail). The rejections themselves are unchanged.

Docs only. Not fixed here: "admissible" at ADR 039 §§ 25/55/116 lost its
definition when #1456 removed the floor it referred to, and the archive's
bare section refs (§1, §3, §4, §6-§11) predate #610 dropping ADR section
numbering — both pre-existing and wider than this change.

Co-authored-by: Claude Opus 5 <[email protected]>
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.

Drop aggregated reputation; make ADR 008 reputation local-only

3 participants