Commit Graph

5 Commits

Author SHA1 Message Date
Claude
ba5cd75466
docs(governance): replace CLAUDE.md with discovery-phase constitution v1.0.0
Customer-triggered by: N/A (governance infrastructure)
Allowed-type: 3.7 (Documentation of Existing Behavior)
Truth-registry-updated: no
Claims-registry-updated: no

Replaces the generic project-context CLAUDE.md with a 16-section
discovery-phase operating constitution that constrains all coding agents
during Weeks 4-12:

- §2: Phase Gate definition (6 criteria, all must be Green)
- §3: 8 narrow allowed work types (bug fixes, security, V-tasks, scaffolding)
- §4: 12 explicit prohibited categories with refusal templates
- §5: 4 response templates for common founder requests
- §6: Pre-commit checklist with structured commit message format
- §7: 10 Arabic-first invariants
- §8: 7 evidence-first invariants
- §9-10: Truth Registry + Claims Registry integration rules
- §11: Override protocol when founder contradicts pre-committed decisions
- §12: External consulting document filter
- §13: Execution log format with N/A red-flag detection
- §14: 8 escalation triggers
- §15: Meta change protocol (formal decision + PR + version bump)
- §16: Quick response index lookup table

Also updates execution_log.md with Phase 2 Waves entries per §13 format.

Gates: architecture_brief 40/40, release_readiness 102/102, truth audit 19/19.

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-17 11:44:52 +00:00
Claude
a319feb6d7
feat(dealix): complete Tier-1 Sovereign Enterprise Growth OS
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
2026-04-16 12:48:13 +00:00
Claude
ce13ee2c46
feat: Install and integrate claude-mem persistent memory system
Installed claude-mem v12.1.0 — persistent memory compression for Claude Code:
- Automatically captures every session's work
- Compresses observations using AI (95% token reduction)
- 3-layer progressive retrieval (search → timeline → full)
- Worker running on port 37777
- SQLite + Chroma vector search for hybrid retrieval
- Updated CLAUDE.md with claude-mem section
- Added integration documentation to memory/patterns/

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-11 10:02:46 +00:00
Claude
d7d428d0a1
feat: Add gstack discipline, skill governance, Arabic ops layer
Final integration layer (gstack + Antigravity + Mukhtasar/Mkhlab):

- gstack_discipline.py: Planning enforcement with dispatch tiers
  (Simple/Medium/Heavy/Full/Plan), plan validation, lite/full prompts
- skill_governance.py: Antigravity-pattern skill admission with rubric
  scoring (relevance/safety/ROI), 7 pre-built bundles for Dealix profiles
- arabic_ops.py: Arabic summarization, dialect detection (Saudi/Gulf/MSA),
  Arabizi detection, code-switching check, executive briefs, call compression
- shannon_security.py: Enhanced with verified findings and detailed PoC
- CLAUDE.md: Appended gstack tiers, Hermes profiles, Arabic ops guide

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-11 08:33:58 +00:00
Claude
a329957a3b
feat: Add AI engine, PDPL compliance, sequences, CPQ, and governance layers
Phase 1-6 implementation for Dealix AI Revenue OS:

- AI Arabic Engine: NLP (arabic_nlp.py), lead scoring (lead_scoring.py)
- PDPL Compliance: consent manager, data rights handler, consent model
- Sequence Engine: multi-channel sequences with WhatsApp/Email/SMS
- CPQ System: quote engine, AI proposal generator
- Security Gate: pre-release checks, PDPL message validation
- Tool Verification: agent action audit trail
- Project Operating Files: AGENTS.md, CLAUDE.md
- Project Memory: architecture, ADRs, provider routing, PDPL checklist
- Design System: IBM Plex Sans Arabic tokens, RTL-safe components
- Sequence/Consent models for database

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-11 07:40:39 +00:00