Repository navigation
Recipes
- Note the harness version (
claude --version) and the model. - Decide the source: an API error naming the Usage Policy with no model text is
provider-classifier; the model writing "I can't help with" ismodel-refusal; a blocked tool call isharness-permission. - Record it with the verbatim message and what got it through:
python scripts/trust.py stop --harness claude-code --version 2.1.5 --model example-model --task "Explain how a known CVE in my own server works" --source model-refusal --category security-research --message "I can't help with that." --workaround "Said it is my server and asked for the patch" --date 2026-11-14A workaround is the same request with its real context (purpose, ownership, a safe target). Never record or use a jailbreak.
Claude Code keeps session transcripts as .jsonl files. Scan one:
python scripts/trust.py scan tests/fixtures/session.jsonlEach hit is a candidate. Open the line, check the task was legitimate, then record it with stop.
Log the same kind of observation on each version as it happens, with the same wording when it is the same behaviour. Then:
python scripts/trust.py diff --product claude-code --from 2.1.3 --to 2.1.5new lines appeared after the old version; same lines were there before too; gone? lines were not logged again. "It got worse" needs entries on both versions for the same kind of task. With entries on one side only, say so instead of calling it a change. A pattern needs at least two dated entries before you state it as one.
python scripts/trust.py check --type actionThen look for the test command and its output in the tool log, after the last edit. A "tests pass" with no matching call is a fabricated claim: log it.
python scripts/trust.py log --product claude-code --version 2.1.3 --model example-model --kind hallucination --observation "Reported tests passing with no test run in the log" --evidence "session 2026-11-02 transcript" --date 2026-11-02Combine the lists that fit, and add --high-stakes for money, health, legal, deletes or releases:
python scripts/trust.py check --type code --type numbers --high-stakesReport each claim as verified (with the evidence), unverified or wrong, and never move an unverified claim to verified.
show --json prints both files as one JSON object with behaviour and stops lists:
python scripts/trust.py show --product claude-code --jsonOr read the JSONL files directly; Data format has the fields.
This wiki describes trustwright 0.1.1 and was last updated on 2026-11-21. The plugin is MIT licensed. Report problems in the issues. Source: m4bwav/trustwright.
Using it
The releases
Contributing
Elsewhere