"""AI semantic layer V1 — NOT a fiscal authority. Rules frozen by the operator contract: - AI only selects among official candidates; it never invents codes. - Cache first: KB exact/fingerprint hits never trigger AI calls. - No AI for origin, ST retention, or company-level decisions. - AI_WRITE_ALLOWED=false in V1: results stay AI_CANDIDATE_VALIDATED. """