Assertions inspect the action, evidence and SQLite writes. Attack and retry faults are synthetic. These curated cases are not a general AI accuracy benchmark.
Under the hood
The live pipeline collects official records, keeps document versions and retrieves passages with SQLite FTS5 / BM25. A local model writes a short answer with exact source quotations. Failed checks stay failed; no recording is substituted for a live result.
| Component | Depends on | Produces / enforces |
|---|---|---|
| Live connectors | EIA RSS, Federal Register API, OFAC HTML | Conditional HTTP requests, provider cooldowns, response limits and visible source errors |
| Version store | Validated source documents | Append-only captures, fingerprints and diffs; publication and fetch dates stay separate |
| Retrieval | Latest stored versions + user-selected scope | BM25-ranked passages with document/version IDs; no-match abstention |
| AI brief | Question + retrieved passages + structured-output model | Quote and numeric validation, visible failures, reviewable interpretation — no automatic publication |
| Job worker | Local API + SQLite checkpoints | Responsive progress, one-job backpressure, cancellation and restart recovery to an interrupted state |
The separate recorded case remains a reproducible regression lab. Live coverage is publisher summaries, abstracts and license titles, not every full document. Lexical retrieval can miss relevant passages, and citation matching cannot prove semantic correctness. Public multi-user hosting requires authentication and a deployed backend.
Under the hood
The live pipeline collects official records, keeps document versions and retrieves passages with a Haystack BM25 pipeline. A local model writes a short answer with exact source quotations. Failed checks stay failed; no recording is substituted for a live result.
| Component | Depends on | Produces / enforces |
|---|---|---|
| Live connectors | EIA RSS, Federal Register API, OFAC HTML | Conditional HTTP requests, provider cooldowns, response limits and visible source errors |
| Version store | Validated source documents | Append-only captures, fingerprints and diffs; publication and fetch dates stay separate |
| Retrieval | Latest stored versions + Haystack BM25 Pipeline | Lexical BM25-ranked passages with document/version IDs; no-match abstention. Haystack does not write the ledger or call the model |
| AI brief | Question + retrieved passages + structured-output model | Quote and numeric validation, visible failures, reviewable interpretation — no automatic publication |
| Job worker | Local API + SQLite checkpoints | Responsive progress, one-job backpressure, cancellation and restart recovery to an interrupted state |
The separate recorded case remains a reproducible regression lab. Live coverage is publisher summaries, abstracts and license titles, not every full document. Lexical retrieval can miss relevant passages, and citation matching cannot prove semantic correctness. Public multi-user hosting requires authentication and a deployed backend.