mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
Audit finding 1 — Saudi consent was hardcoded True: _check_consent() now queries real PDPLConsent table. Returns consent_valid=True only if active consents exist or tenant has no records yet (new tenant grace). Otherwise blocks. Audit finding 2 — Saudi export rules were hardcoded True: _check_export_rules() now enforces: restricted data with requires_dpo_review=True blocks export by default. Returns blocked_reason_ar explaining why. Audit finding 3 — MASTER_OPERATING_PROMPT overclaimed: Rule 6 said "controls are live, not aspirational" which contradicted current-vs-target-register showing 52% maturity. Rewritten to accurately describe: enforcement is live on golden path and Saudi workflow, full coverage tracked in register. Audit finding 4 — forecast accuracy_trend was empty stub: Now queries real Deal table: closed_won vs total pipeline, returns actual accuracy percentage. Post-fix audit status: - Saudi consent: REAL (queries PDPLConsent) - Saudi export: REAL (enforces classification) - MASTER_OPERATING_PROMPT: NO OVERCLAIM - Forecast accuracy: REAL (queries deals) https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| knowledge_base | ||
| scripts | ||
| tests | ||
| .env.phase2.example | ||
| alembic.ini | ||
| campaign_results.json | ||
| Dockerfile | ||
| pytest.ini | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| seed_database.py | ||
| update_requirements.py | ||