Commit 03d1c7c
feat(v0.9.0): unhackable TruthScore rating system for public knowledge
Content-deterministic, cryptographically-bound quality ratings where scores
are functions of content — not popularity. You cannot game the score without
genuinely improving the knowledge. Every rating is bound to exact content
via SHA256; edit one observation and all ratings reset to zero.
Anti-gaming architecture:
- Self-rating blocked (rater_id ≠ publisher_id, enforced at write time)
- Identity set server-side (never from user input)
- One rating per rater per content version (UNIQUE constraint)
- Logarithmic diminishing returns prevent coordinated manipulation
- Burst detection flags anomalous rating patterns automatically
- Content padding dilutes scores — specificity is rewarded, not volume
New MCP tools: rate_public_knowledge, get_knowledge_ratings,
update_verification. Enhanced: search_public_knowledge (+sort_by,
+min_truth_score, +TruthScore in results). Bridge: ratings export/import
with anti-gaming validation on pull. Task Tray: color-coded TruthScore
badges (🟢>0.7, 🟡≥0.4, 🔴<0.4, ⬜ unrated).
Schema: knowledge_ratings + rating_anomalies tables, 6 migrations.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 140b5b9 commit 03d1c7c
3 files changed
Lines changed: 583 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
46 | 58 | | |
47 | 59 | | |
48 | 60 | | |
| |||
0 commit comments