Load the Home screen with a mix of countries at States A/B/C/D; confirm
the per-country grid colors match each country's actual current state.
Confirm aggregate stats (total documents, pending review, accepted,
rejected, validated %, live-in-vector-DB count) match a manual count
against the underlying data for at least one country.
Open a country's detail page; confirm Source Configuration lists every
configured source with correct type/agency/jurisdiction/last-crawl-date/
counts/health status.
Open a document in the review queue; confirm read-only provenance fields
cannot be edited, and editable attributes (country, state/region, agency,
jurisdiction, publication date, effective dates, category, tags) can be.
Attempt to Accept a document missing agency or publication_date;
confirm it's blocked until both are set.
Reject a document with no comment; confirm it's blocked (comment required
on Reject and Needs Review).
Accept a valid document; confirm it's queued for vector-DB sync and the
audit trail records reviewer identity, decision, comment (if any), and
timestamp.
Trigger a "changed since last crawl" flag on a previously accepted
document; confirm it appears in the "needs attention" queue and its
country's state correctly reflects review-pending again.
Confirm no document reaches the vector DB via any path that bypasses this
review screen's decision step.