compliant + in-breach + ambiguous + unreadable = scanned
A run that cannot account for its population never finishes, so no record is silently skipped. Findings are append-only, with no update or delete path anywhere in the code. Chat carries counts, the receipt, and a labeled sample; the dashboard carries the volume, so the model never summarizes away the guarantee.
One more mechanism deserves stealing. Even a narrator-only model reintroduces risk at the end of the chain, and AWS reports watching it happen: one narration stripped a caveat tag and invented a citation; another extrapolated a portfolio-wide range from twenty preview rows. The countermeasures are structural: bracketed caveat suffixes repeated at several payload levels, aggregates precomputed over every record, and mode labels, official versus exploratory, stamped wherever a number appears. The honest answer becomes the easy one.
## What a Full Sweep Costs
Lease compliance automation has five cost drivers: portfolio size, rules per document, unit price, re-run cadence, and per-exception human review. The first three get all the attention. Re-run cadence usually dominates, and it multiplies the fifth.
### Adjudication Volume per Full Sweep
Start with adjudication volume. A 50,000-lease portfolio checked against three rules per lease is 150,000 lease-rule pairs per full sweep. In the AWS reference build the sweep itself is set-based SQL, so its marginal cost is database compute and storage; the generative spend sits in extraction and the exploratory path, and the conversational layer bills per query under [Amazon Quick pricing](https://aws.amazon.com/quick/pricing/), so pull current rates instead of trusting any blog's number. To see the shape of the math, assume a placeholder half a cent per adjudication across extraction and querying combined. One full pass costs $750. That is the cheap part.
### Re-Run Cadence Can Outrun Portfolio Size
Landlord-tenant statutes change on legislatures' schedules, tracked in the [NCSL housing legislation database](https://www.ncsl.org/human-services/housing-and-homelessness-legislation-database). If your answer to every amendment is a full-portfolio re-sweep, cost scales with change frequency, and cadence can outrun portfolio size entirely. A 10,000-lease portfolio re-swept monthly against three rules produces 360,000 adjudications a year; a 50,000-lease portfolio swept twice produces 300,000. The smaller portfolio costs more to keep provably current. The fix is scoping: wire each enacted amendment to a jurisdiction-scoped re-sweep covering only the leases under that state's law, with a low-frequency full sweep as a backstop. Statute monitoring is a cost lever as much as a compliance control.
### The Exception Budget
Budget separately for the exception buckets. Ambiguous and unreadable documents route to humans, and that per-exception review cost recurs on every sweep: at an illustrative $2 per review, the walkthrough's 689 ambiguous findings add roughly $1,378 of recurring human labor to every pass, before re-runs multiply it.
## The Record Behind Audit-Ready LLM Document Review

### The Minimum Adjudication Record
When a regulator or a court inspects an AI-assisted review, they will not re-run your model. They will read your records. This is the LLM compliance audit trail in its minimal form, the record that turns model output into inspectable evidence:
| Field | What it proves | Example |
|---|---|---|
| document_id | which record was checked | TX-LEASE-04471 (illustrative) |
| rule_id, version, citation | which rule, which pinned law version | LATE_FEE_CAP v2026.01 (illustrative), TX Prop. Code ch. 92 subch. B |
| disposition | the outcome, one of four buckets | in_breach |
| evidence_span | the verbatim clause text | "Late fee of 7% of monthly rent" (illustrative) |
| extracted vs required value | the actual comparison performed | 7% against a 5% cap |
| model and config versions | reproducibility of the extraction | model ID plus prompt and config hash |
| run_id and timestamp | which sweep, when | sweep ID plus ISO timestamp (placeholder) |
| human override | who changed what, and why | analyst ID and rationale, or none |
| receipt reference | population completeness for the run | counts row reconciling to scanned |
The 7 percent late fee, the 5 percent cap, and the Texas citation come from AWS's walkthrough. The lease ID, rule identifier, clause quote, and timestamp shown above are illustrative placeholders, not artifacts of the AWS sample. The transferable artifact is the field structure, not the Texas law.
### Governance Anchors and the Identity Gap
Two governance anchors frame these AI governance records. The EU AI Act's [Article 12 record-keeping duty](https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-12) requires high-risk systems to automatically log events over time, which is exactly what an append-only findings store provides. On AWS, [Bedrock invocation logging](https://docs.aws.amazon.com/bedrock/latest/userguide/model-invocation-logging.html) captures model inputs and outputs with metadata at the account level, the plumbing behind the model-version field on any stack that uses Bedrock. And note the gap AWS itself flags: the chat integration authenticates machine-to-machine, so the token identifies the application, not the analyst who asked the question. If "by whom" must travel with the finding rather than living in a separate chat audit log, thread the end-user identity into the tool call and persist it on the sweep row.
## Where These Pipelines Fail Their Audits
Four silent failure modes account for most audit collapses in this class of system. Each demands a named control in the design.
1. **Law drift.** The sweep certifies the portfolio in March. An amendment takes effect in June, nobody re-runs, and the dashboard still says compliant, now against a law that no longer exists. The control is twofold: every record pins the law version it was judged under, and a statute monitor triggers a scoped re-sweep when that version is superseded. Without the pin, you cannot even measure your own staleness.
2. **Silent drops.** Ingestion chokes on 340 scanned PDFs. They never reach analysis, no error surfaces, and the headline count looks exact because it is exact, for the wrong population. Generated queries make this worse, since a hallucinated predicate quietly shrinks the population while the number renders cleanly. The control is the completeness receipt asserted before persistence, with unreadable documents named as a bucket rather than dropped.
3. **Untracked overrides.** An analyst flips a breach to compliant in a review UI. The rationale lives in an email thread, the analyst changes teams, and eighteen months later nobody can defend the change. The control is append-only records: an override is a new row carrying identity, rationale, and timestamp, never an in-place edit, with the original finding preserved beneath it.
4. **Hallucinated citations.** The model cites a statute section that does not exist. Courts have sanctioned lawyers for filings built on ChatGPT-invented cases, the Mata v. Avianca episode being the standard example, and the tag-stripping failure described above shows the same risk surviving inside a narrator-only design. The control is structural. Citations live in the rulebook as versioned data, the model renders them but never sources them, and every rendered citation is diffed against the pinned statute text before it reaches a user, so a fabricated section number fails the check loudly instead of surviving to the audit.
## What Transfers Beyond AWS
The portable core is four mechanisms, none of them AWS-shaped: pinning every judgment to a versioned rule and model, giving every document exactly one disposition, asserting a completeness receipt before persistence, and storing append-only evidence. The execution layer, Amazon Quick chat, QuickSight dashboards, Cognito token flows, the Lambda-hosted MCP server, Aurora storage, Bedrock models, is AWS plumbing. Swap it freely; the pattern does not care.
AWS's own fit test transfers just as well. Ask whether a missed record is a liability rather than an inconvenience, whether answers will be challenged later by someone who was not in the room, whether the governing logic is externally owned and changes on its own schedule, and whether the population is enumerable. KYC onboarding review passes all four: identity documents checked against sanctions and watchlist rules that regulators update without notice, over an enumerable applicant population. Insurance claims adjudication passes too, and AWS names it, along with export control screening, as candidate domains. Policy checks also fit, by our extension rather than AWS's list. A marketing content review fails the test, which is exactly the point of asking it.
## A Minimal Build Spec for Any Compliance Sweep
Whatever stack you run, the build spec for provable coverage in AI compliance pipelines compresses to eight moves:
1. **Ingest against a manifest.** Assign an ID and status to every document before any analysis. The population is defined here, and nowhere else.
2. **Make unreadable a disposition.** Failed extraction lands in a named bucket, never in an exception log the pipeline swallows.
3. **Adjudicate against pinned rules.** Rules are versioned rows with citations. No law reference lives in code.
4. **Assert the receipt before persisting.** The four buckets must reconcile to scanned, or the run fails loudly and stores nothing official.
5. **Store the trail append-only.** Every field from the table above, no update path, overrides as new rows.
6. **Log the model layer.** Invocation logs with model and config identifiers are the reproducibility evidence behind the version fields; use Bedrock logging on AWS or the equivalent structured logs elsewhere.
7. **Wire change to re-sweep.** Statute and rule updates trigger jurisdiction-scoped re-sweeps, with a periodic full pass as backstop.
8. **Keep the model at the edges.** Translate questions, narrate results, rank exploratory samples. Never determine, never fix populations, never source citations.
Know when this is overkill. If the determination is genuine judgment, such as whether a clause is unconscionable, forcing it into a rules engine hides the subjectivity inside rule authorship and makes the output look exact when it is not. If the population is fuzzy, the receipt is precise about the wrong denominator. If plausible answers suffice and users can re-ask, plain RAG is the correct and cheaper answer. For enumerable populations under externally owned rules, though, the pattern's product is the thing compliance teams actually lack: a receipt that ages into evidence. The demo impresses; the record defends.]]>