Sunstead trust scoring project
0

Configure Feed

Select the types of activity you want to include in your feed.

README.md

Tangled Trust Hat (browser overlay, PRD 7.4)#

A minimal MV3 content script that injects a calibrated trust hat next to contributor DIDs on tangled.org, reading the same /score API as the dashboard. UI only — the brain stays in the scoring service.

Load it#

  1. Run the scoring service: python -m trust.api (serves http://127.0.0.1:8000).
  2. Chrome → chrome://extensions → enable Developer mode → Load unpacked → pick this extension/ folder.
  3. Open a tangled.org PR or contributor page. DIDs get a colored pill (green fast-lane / amber normal / red needs-review); hover for the reason.

Two things to confirm against the real site#

  • The DID selector. content.js scans text nodes for did:plc: / did:web: patterns — a best guess. If tangled.org renders DIDs in attributes or a different shape, adjust the scan (this is the UI analog of confirming the NSIDs).
  • CORS / host. The API ships permissive CORS for local use; the manifest grants http://127.0.0.1:8000/*. Point both at your host for a hosted demo.

Not built#

The upstream vision — Tangled's own appview rendering third-party trust records natively (the 6.11 sh.tangled.trust.score records) — is a platform change, not this extension. Ask Lewis whether the appview can render trust records authored by other DIDs.