feat(llm): add Mistral support and finalize audit closure - #74
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrates the verified post-v0.5.0 follow-up range: a local BYOK runbook,
direct Mistral provider support with budget/usage accounting, current DataLens
live-response contract compatibility, and final audit/external-evidence
reconciliation. The final polish commit also reports the configured hosted LLM
provider accurately in readiness output and covers the
AUTO_BI_MISTRAL_API_KEYalias.Audit accounting remains exact: 21 historical rows closed, 3 excluded from
current scope, and active work remaining 0.
Type of change
Security checklist
AUTO_BI_SEND_SAMPLESopt-in + classification allow itData / privacy
prompt_datasanitizationDocs
docs/CURRENT_STATE.mdupdated when product status or residual roadmap changes.env.examplematches new Settings fields and defaultsdocs/ENV_REFERENCE.md;--checkreports 70/70 keysSettingsRelease / deploy
Test plan
Local pre-push evidence on Windows / Python 3.12:
The local
pip-auditprocess did not finish within 300 seconds and the host hasno local
gitleaksbinary. The protectedmainruleset therefore remains thesource of truth for those required GitHub checks; this PR must not merge unless
all required checks are green.
Risk / rollback
Mistral is opt-in through provider configuration; existing provider defaults and
data-classification controls are unchanged. The live sentinel can select
Mistral when a Mistral secret exists and no explicit provider override is set.
Rollback is a normal PR revert; no migration or remote data mutation is needed.