Sunstead trust scoring project
1{
2 "lexicon": 1,
3 "id": "sh.tangled.trust.score",
4 "description": "A trust assessment of a Tangled contributor, authored by the trust-scoring service's DID (PRD 6.11). Auditable provenance on the network, not a row in a private file.",
5 "defs": {
6 "main": {
7 "type": "record",
8 "key": "tid",
9 "record": {
10 "type": "object",
11 "required": ["subject", "calibratedProb", "decision", "structuralTrust", "createdAt"],
12 "properties": {
13 "subject": {
14 "type": "string",
15 "format": "did",
16 "description": "The assessed contributor's DID. Reference a specific PR by storing its at:// URI here once pr_id is carried on scores."
17 },
18 "calibratedProb": {
19 "type": "number",
20 "description": "Calibrated P(next contribution is a clean merge), 0.0-1.0."
21 },
22 "decision": {
23 "type": "string",
24 "enum": ["fast_lane", "normal_queue", "needs_human"]
25 },
26 "structuralTrust": {
27 "type": "number",
28 "description": "EigenTrust / learned structural signal, 0.0-1.0."
29 },
30 "contentRisk": {
31 "type": "number",
32 "description": "Claude content-review risk when a review ran, else absent."
33 },
34 "summary": {
35 "type": "string",
36 "maxGraphemes": 280,
37 "description": "Human-readable rationale, suitable to read aloud."
38 },
39 "createdAt": {
40 "type": "string",
41 "format": "datetime"
42 }
43 }
44 }
45 }
46 }
47}