foolish-bandit makes Gary admit when it can't cite a source

Every answer now carries a visible trust signal - and a blunt warning when no source is attached.

chat-uicompliance

The original Mike left it to the user to decide whether to trust an AI answer. foolish-bandit moves that judgment into the interface itself. When a reply comes back with no sources behind it, the tool now flags it in amber: treat this as unverified. When sources are present, they're listed with a plain reminder to check them before relying on the answer.

The same discipline runs through the drafting, explain, and review screens - short notes telling the user that drafts need review and that findings should trace back to the underlying contract. It's a small, cheap change, but it puts the warning where the work happens instead of burying it in a help page nobody opens. Worth noting: the amber "unverified" flag also fires on plain factual questions where there was never a document to cite, so the signal can read louder than intended.

So what Anyone shipping a legal AI tool should look at this - it's a low-effort way to make "check the source" the default posture rather than an afterthought.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

2 commits from foolish-bandit/gary, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
b178b7ed polish cited answer expectations SONOMOS 2026-05-07 ↗ GitHub
ad430fc2 Merge pull request #18 from foolish-bandit/codex/pr-18-cited-answer-ui-expectations Zack Brenner 2026-05-07 ↗ GitHub
Cited-answer UI expectations

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-171.md from inside the repo you want the changes in.

⬇ Download capture-thread-171.md