feat: pluggable citation verification (AustLII human / Jade automated) + admin toggle

↗ view on GitHub · Peter Dombkins · 2026-07-06 · 072c9583

- Pluggable verification sources: registry + chain resolver; jade (automated),
  austlii (human). Add/remove sources without dispatch changes.
- Admin 'Have you obtained Jade.io approval?' toggle (default no) → AustLII-only
  human verification with no Jade fallback; yes → Jade automated with AustLII fallback.
- app_settings table + migration (20260705) + GET/PUT /admin/settings.
- verify_citation tool replaces jade_validate_citation; emits
  citation_verification_required for the human-in-the-loop gate.
- Frontend: admin toggle UI + in-chat verification panel (opens AustLII in a new
  tab, Verified / Not verified) that sends the outcome back so the model finalises.
Repository pdombkins/rose_lawyer
Author Peter Dombkins <pdombkins@gmail.com>
Authored
Parents 11d0955d
Stats 18 files changed , +702 , -31
Part of Australian legal research: AustLII + Jade.io integration

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-072c9583.md from inside the repo you want the change in.

⬇ Download capture-commit-072c9583.md