closedhumanPR #218Trust
feat: TrustGuard trust plugin — ELO reputation + risk scoring + denylist + Sybil resistance
Trust layer plugin replacing \score_average\ (running mean) with security-grade agent reputation.
Author
@Gideon145
github profile →- Status
- Closed without merging
- Opened on
- Aug 9
- Branch
- hackathon/gideon-trustguard-v3
Description
The pitch.
## What Trust layer plugin replacing \score_average\ (running mean) with security-grade agent reputation. - **ELO reputation** (K=32) with stake-weighted updates - **Composite risk scoring** (0-100): rep decay + disputes + freshness - **Denylist enforcement** — high-risk or abusive agents blocked - **Sybil resistance** — reporters who file >10 byzantine reports get denylisted - **Byzantine-aware** — malicious reports degrade reporter's own score - **Stake slashing** — backing bad agents costs reputation - **Deterministic** — same seed = same scores ## Files - \plugin\: \ est_plugins_reference/trust/trustguard.py\ - \ ests\: \ est_trustguard.py\ — 11 adversarial tests - \scenario\: \scenarios/trustguard.yaml\ — 21 agents, 19% Byzantine, 200 ticks - \ egistration\: \ est_core/plugins.py\ entry added ## Verification \\\ uv run pytest packages/nest-plugins-reference/tests/test_trustguard.py -v # 11 passed, 0 failed \\\ ## Note This is a clean resubmission of #27. Rebased onto current main, streaming payment modifications dropped — scoped to trust plugin only. No conflict markers.
Try it
Open PR on GitHubView diffCheckout locally
git fetch origin pull/218/head:pr-218
git checkout pr-218