Mont3's Know-Your-Client due-diligence tool enforces a strict citation rule requiring every AI-generated statement in a dossier to link to a verifiable public HTTP/HTTPS source, driven by Swiss AMLA Article 7 requirements for auditable records. Initial prompt instructions proved insufficient, as models continued producing unsourced claims; a 2023 audit by Liu, Zhang, and Liang found only 51.5% of sentences in generative search engines were fully supported by citations. The system now implements a post-generation enforcement pipeline: `coerceDossierText` normalizes output, `sanitizeDossierText` strips invalid entries (non-public URLs, "N/A", bare IPs, local addresses), `enforceCitations` drops statements lacking valid bracketed citations (e.g., [2] or [2,3]), and `runQaGate` performs a final check, withholding the risk conclusion if any unlinked statement remains. Citation parsing handles edge cases: mid-sentence citations apply only to preceding text, lines starting with citations are suppressed, and ambiguous sentence boundaries (e.g., "Example Inc. Holdings") trigger conservative omission. Version 1.110.0's server-side source assignment was removed in 1.141.4 after it erroneously linked facts to same-named individuals; now, unsourced facts are returned to the model for explicit source-list mapping. All removed statements are logged with their original citations for audit. Server-queried lists (sanctions, PEP, registers) follow parallel logic: failed sources yield "PARTIAL" categories, unchecked ones "NOT SCREENED," and incomplete list screening flags the risk indicator. The risk level is rule-based, not model-derived. Analysts must confirm/dismiss every finding before signing, with deviations requiring written notes. Since version 1.177.0, cited pages can be archived with RFC 3161 timestamped hashes. The link proves provenance, not accuracy; each source is labeled by retrieval status ("Not retrieved" if never fetched), leaving final verification to the analyst.

Read original