185 Invariant Gates
Validates contract parsing, AST delta bounds, permission tiers, and rollback checkpoints in sterile local pytest runs.
pytest evals/ -v
SYSTEM VERIFICATION LEDGER & KNOWN GAPS
Trustworthy engineering requires publishing exact operational boundaries, known bottlenecks, and reproduction harnesses alongside architectural strengths.
FORMAL INVARIANTS / 001
Backed by ARCHITECTURE_INVARIANTS.json and enforced across autonomous mission lifecycles.
| Invariant ID | Enforcement Rule | Status | Backing Source Module |
|---|---|---|---|
INV_01_CONSTITUTIONAL_PRECEDENCE |
Applicable Law > Explicit Auth > Constitution > Goal Contract | IMMUTABLE | alrazzi/tier0/court.py |
INV_02_ZERO_DUPLICATION_POINTER |
Canonical KB pointers without local multi-workspace storage bloat | IMMUTABLE | alrazzi/memory_rag/hub.py |
INV_03_MODEL_RAM_BOUND |
Active sub-worker context strictly bounded ≤ 16k tokens | CRITICAL | alrazzi/providers/catalog.py |
INV_04_E5_EVOLUTION_BARRIER |
Zero self-mutation of security policies without explicit human approval | IMMUTABLE | alrazzi/longterm_evolution/engine.py |
INV_05_ANTI_SILENT_PROMOTION |
Factual state cannot promote without independent V ≠ P verification | CRITICAL | alrazzi/tier0/court.py |
RISK REGISTER / 002
Grounded in PRACTICAL_GAP_AUDIT.json. Every real system has physical limits—here are ours and their active mitigations.
| Gap ID | Subsystem | Observed Engineering Boundary | Severity | Active Mitigation |
|---|---|---|---|---|
GAP-ARCH-01 |
Event Bus | Event bus backpressure under 10,000+ burst events/sec | LOW | Bounded in-memory queues with leaky-bucket rate control |
GAP-ARCH-02 |
Kernel Mesh | Cross-harness session checkout latency during rapid sub-turns | LOW | Pre-warmed worker handles and cached IPC descriptors |
GAP-ARCH-03 |
Filesystem | Windows legacy path length boundary (MAX_PATH 260 chars) | MEDIUM | Long-path \\?\ normalization & shallow worktrees |
GAP-ARCH-04 |
ADE Tools | Dynamic tool transition prior cold-start on unseen schemas | LOW | Pre-indexed AST schema catalog in alrazzi/ade/catalog.py |
EMPIRICAL HARNESSES / 003
Run our exact unit and AST repair harnesses locally in under five minutes.
Validates contract parsing, AST delta bounds, permission tiers, and rollback checkpoints in sterile local pytest runs.
pytest evals/ -v
Author-built sandbox testing deterministic AST structural repair on isolated Git repositories—distinct from external leaderboards.
python -m alrazzi.benchmarks.swe_bench_sim
Clone the repository, audit the Python modules directly, and run al-razzi doctor on your own workstation.