Documentation Index
Fetch the complete documentation index at: https://cyberpaisa-dof-mesh-40-27.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Security Compliance Status
DOF_MESH Security Score: 100% (5/5 gaps closed)
| Control | Severity | Status | Implementation |
|---|---|---|---|
| E2E Encryption | CRITICAL | Resolved | NaCl box (Curve25519 + XSalsa20-Poly1305) |
| NATS TLS 1.3 + mTLS | HIGH | Resolved | Phase 3 |
| Key Management (KMS) | MEDIUM | Resolved | AES-256-GCM vault |
| SHA3-256 Audit Chain | MEDIUM | Resolved | Phase 3 |
| Data Loss Prevention | MEDIUM | Resolved | 18 patterns + entropy analysis |
7 Official Layer Names
| # | Official Name | Module | Role |
|---|---|---|---|
| 1 | Constitution | core/governance.py | Hard rules block, soft rules warn |
| 2 | AST Validator | core/ast_verifier.py | Static analysis |
| 3 | Tool Hook Gate PRE | core/tool_hooks.py | Intercepts before execution |
| 4 | Supervisor Engine | core/supervisor.py | Monitors behavior and drift |
| 5 | Adversarial Guard | core/adversarial.py | Red/blue pipeline |
| 6 | Memory Layer | core/memory_governance.py | Session state governance |
| 7 | Z3 SMT Verifier | core/z3_verifier.py | 4/4 state invariants PROVEN |
DLP Scanner
adversarial_dlp_hook(text) — 18 patterns across 7 categories:
| Category | Severity | Patterns |
|---|---|---|
| API keys | CRITICAL | OpenAI, Anthropic, Groq, Cerebras, NVIDIA |
| Private keys/crypto | CRITICAL | RSA PEM, Ethereum 64-hex, BIP39 |
| Cloud credentials | CRITICAL | AWS Access Key, AWS Secret |
| Database | CRITICAL | PostgreSQL, MySQL, MongoDB, Redis connection strings |
| PII | CRITICAL | SSN, credit cards |
| Auth tokens | HIGH | JWT |
| PII bulk | MEDIUM | 3+ email addresses |
Formal Verification
Tuning Constitution Rules
Editdof.constitution.yml to adjust thresholds:
dof.constitution.yml.
Security Hierarchy
core/supervisor.py → enforce_hierarchy(). Override resistance
verified by Z3 across 42 hierarchy patterns (6 overrides + 11 escalations + 25 others).
7-Layer Governance
Full layer reference with HARD/SOFT rules
Formal Verification
Z3 invariants and state transitions