AI Providers, 48 Built-In Audit Rules & Knowledge Base
1. Dual-Track AI Provider Configuration (/admin/review-engine/providers)
- Cloud OpenAI-Compatible (
defaultProfile): Public endpoints requirehttps://(OpenAI, DeepSeek, Qwen, OpenRouter). Every request runs in-memory anonymization +AssertZeroLeakand restores real identifiers only for authorized reviewers. - Self-Hosted LAN Models (
sanProfile): Private RFC1918 vLLM/Ollama endpoints allowhttp://orhttps://underaddrguardSSRF protection. Models namedsan-*orsql-audit-nano*route to the compact Raw-SQL Native contract (PrivacyContractHashSAN) and never fall back to clouddefaultproviders with raw payloads. - Reference Pricing & Global Daily Budget (
/admin/review-engine/ai-budget): ConfigureCNY/USDper-1M-token timezone-aware pricing windows and enforce a global daily budget (2010 AI_DAILY_BUDGET_EXHAUSTEDwhen exceeded).
2. Core Built-In Review Skills (48 Seeded Rules in /admin/review-engine/skills)
3. Zero-Leak Table-Scoped Knowledge Entries (/admin/review-engine/knowledge)
Reference real database objects using typed catalog tokens so the compiler anonymizes them automatically on default cloud tracks:
Any actual violation of an enabled flow-bound skill or scope-matched knowledge entry escalates deterministically to critical and blocks order submission (2008).