How your outcomes change the ranking

How your outcomes change the ranking An architecture diagram generated by Archify. Claude Code · the host session · Architecture component Claude Code the host session Findings skill · /trust · Your machine: Runs on the developer's machine; code leaves it only in the two model calls Findings skill /trust polywatch CLI · report, outcome, review · Your machine: Runs on the developer's machine; code leaves it only in the two model calls polywatch CLI report, outcome, review Ledger · .polywatch/ledger.jsonl · Your machine: Runs on the developer's machine; code leaves it only in the two model calls Ledger .polywatch/ledger.jsonl Ranker · bucket precision · Your machine: Runs on the developer's machine; code leaves it only in the two model calls Ranker bucket precision read outcomes · file record an outcome · file loads when asked · manual run report or outcome · spawn Your machine: Runs on the developer's machine; code leaves it only in the two model calls Legend Frontend Backend Database

The short answer

  • • The outcome goes into the ledger
  • • The ranker reads the ledger on every review, so the next findings of that kind score higher or lower, and a kind that keeps being wrong drops below the threshold

Not shown here

  • • The model providers, which the learning loop never touches
  • • Connected but out of scope: Hook entry, Review worker, Review results

Doctrine

  • • Recorded outcomes set the ranking: each kind of finding starts from a prior precision worth four outcomes; every real or false the user records moves it