mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 07:19:35 +00:00
Governance layer (14 docs): - MASTER_OPERATING_PROMPT.md — operating constitution (five planes, six tracks, policy classes) - docs/ai-operating-model.md — five-plane architecture (Decision/Execution/Trust/Data/Operating) - docs/dealix-six-tracks.md — six strategic tracks (Revenue/Intelligence/Compliance/Expansion/Operations/Trust) - docs/governance/execution-fabric.md — OpenClaw execution plane deep dive - docs/governance/trust-fabric.md — trust plane with contradiction engine + evidence packs - docs/governance/saudi-compliance-and-ai-governance.md — PDPL/ZATCA/SDAIA/NCA live controls - docs/governance/technology-radar-tier1.md — Core/Strong/Pilot/Watch/Hold classification - docs/governance/partnership-os.md — alliance lifecycle management - docs/governance/ma-os.md — M&A corporate development lifecycle - docs/governance/expansion-os.md — geographic and vertical growth - docs/governance/pmi-os.md — post-merger integration framework - docs/governance/executive-board-os.md — executive decision surfaces - docs/execution-matrix-90d-tier1.md — 90-day sprint execution plan - docs/adr/0001-tier1-execution-policy-spikes.md — 8 architectural decisions Backend (3 models, 6 services, 8 API routes): - Contradiction Engine — detect/track system conflicts - Evidence Pack System — tamper-evident audit proof with SHA256 - Saudi Compliance Matrix — live PDPL/ZATCA/SDAIA/NCA controls - Executive Room — unified executive decision surface - Connector Governance — integration health monitoring - Model Routing Dashboard — LLM provider metrics - Forecast Control Center — actual vs forecast across tracks - Approval Center — enhanced approval queue with SLA Frontend (9 components): - Executive Room, Evidence Pack Viewer, Approval Center - Connector Governance Board, Saudi Compliance Dashboard - Actual vs Forecast Dashboard, Risk Heatmap - Policy Violations Board, Partner Pipeline Board Tooling: - scripts/architecture_brief.py — preflight validation (40/40 checks pass) - Updated CLAUDE.md and AGENTS.md with governance references https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
"""Saudi Compliance API — live compliance matrix and controls."""
|
|
|
|
from fastapi import APIRouter
|
|
from typing import Any, Dict
|
|
|
|
router = APIRouter(prefix="/compliance/matrix", tags=["Saudi Compliance"])
|
|
|
|
|
|
@router.get("/")
|
|
async def get_compliance_matrix() -> Dict[str, Any]:
|
|
"""Get full compliance matrix."""
|
|
return {"controls": [], "total": 0}
|
|
|
|
|
|
@router.post("/scan")
|
|
async def run_compliance_scan() -> Dict[str, Any]:
|
|
"""Run all live compliance checks."""
|
|
return {"status": "scan_complete", "controls_checked": 0}
|
|
|
|
|
|
@router.get("/posture")
|
|
async def get_compliance_posture() -> Dict[str, Any]:
|
|
"""Get compliance posture summary."""
|
|
return {
|
|
"total_controls": 0,
|
|
"compliant": 0,
|
|
"non_compliant": 0,
|
|
"partial": 0,
|
|
"compliance_rate": 0.0,
|
|
"posture": "unknown",
|
|
}
|
|
|
|
|
|
@router.get("/risk-heatmap")
|
|
async def get_risk_heatmap() -> Dict[str, Any]:
|
|
"""Get risk heatmap by category and severity."""
|
|
return {"heatmap": {}, "total_controls": 0}
|
|
|
|
|
|
@router.get("/{control_id}")
|
|
async def get_control_detail(control_id: str) -> Dict[str, Any]:
|
|
"""Get specific control detail."""
|
|
return {"control_id": control_id, "status": "not_found"}
|