mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09: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
67 lines
1.6 KiB
Python
67 lines
1.6 KiB
Python
"""Executive Room API — unified executive decision surface."""
|
|
|
|
from fastapi import APIRouter
|
|
from typing import Any, Dict
|
|
|
|
router = APIRouter(prefix="/executive-room", tags=["Executive Room"])
|
|
|
|
|
|
@router.get("/snapshot")
|
|
async def executive_snapshot() -> Dict[str, Any]:
|
|
"""Full executive room snapshot."""
|
|
return {
|
|
"revenue": {
|
|
"actual": 0,
|
|
"forecast": 0,
|
|
"variance_percent": 0.0,
|
|
"pipeline_value": 0,
|
|
"win_rate": 0.0,
|
|
},
|
|
"approvals": {
|
|
"pending": 0,
|
|
"warning": 0,
|
|
"breach": 0,
|
|
},
|
|
"connectors": {
|
|
"healthy": 0,
|
|
"degraded": 0,
|
|
"error": 0,
|
|
},
|
|
"compliance": {
|
|
"compliant": 0,
|
|
"partial": 0,
|
|
"non_compliant": 0,
|
|
"posture": "unknown",
|
|
},
|
|
"contradictions": {
|
|
"active": 0,
|
|
"critical": 0,
|
|
},
|
|
"strategic_deals": {
|
|
"active": 0,
|
|
"pipeline_value": 0,
|
|
},
|
|
"evidence_packs": {
|
|
"ready": 0,
|
|
"pending_review": 0,
|
|
},
|
|
}
|
|
|
|
|
|
@router.get("/risks")
|
|
async def executive_risks() -> Dict[str, Any]:
|
|
"""Risk summary for executives."""
|
|
return {"risks": [], "total": 0}
|
|
|
|
|
|
@router.get("/decisions-pending")
|
|
async def pending_decisions() -> Dict[str, Any]:
|
|
"""Decisions requiring executive attention."""
|
|
return {"decisions": [], "total": 0}
|
|
|
|
|
|
@router.get("/forecast-vs-actual")
|
|
async def forecast_vs_actual() -> Dict[str, Any]:
|
|
"""Forecast vs actual comparison."""
|
|
return {"tracks": {}, "overall_health": "unknown"}
|