docs(adr): record local trust quarantine contract#139
Open
mickvandijke wants to merge 2 commits into
Open
Conversation
Semver: none
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an ADR clarifying the production trust contract for DHT routing in saorsa-core as a local response-rate EMA + quarantine/swap model, and updates the ADR index to reflect that ADR-006 (EigenTrust) is historical/future-facing rather than the current contract.
Changes:
- Add ADR-016 documenting local-only trust scoring, thresholds, signal sources, and routing-table effects (quarantine/swap-out, protection, revalidation, readmission).
- Update
docs/adr/README.mdindex to (a) introduce ADR-016 and (b) mark ADR-006 as “accepted, narrowed by ADR-016” for production semantics.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/adr/README.md | Updates ADR index entries to include ADR-016 and clarify ADR-006 as non-production contract. |
| docs/adr/ADR-016-local-response-rate-trust-quarantine.md | New ADR capturing the production local trust/quarantine contract and its operational consequences. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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
Adds ADR-016, Local response-rate trust quarantine for DHT routing, and updates the ADR index to mark ADR-006 as narrowed by ADR-016 for the production trust contract.
Context
ADR-006 describes distributed EigenTrust/global reputation, but the production architecture uses local response-rate trust for DHT routing decisions. This ADR records that production contract retroactively without editing ADR-006 in place.
Decision Captured
ADR-016 records that saorsa-core trust is:
It also clarifies edge cases found while reviewing against the current code:
Files Changed
docs/adr/ADR-016-local-response-rate-trust-quarantine.mddocs/adr/README.mdValidation
git diff --checkon the ADR document changesSemver
Semver: none