MSGF — Gated AI
Stateful, self-defending AI orchestration. Six isolated pillars, 1.1.1 genealogical lineage, Redis hot + Postgres cold, dual-model consensus, and human tie-breaker on RED disagreement.
Vision
MSGF 1.0 delivers a stateful, self-defending AI orchestration layer that any application can adopt. For Elphie Syntax products it is the brain behind the Author Ecosystem and Syntax Education. For the market, MSGF at elphiesgatedai.elphiesyntax.com is a standalone gated-AI product — subscribe, send keystroke or logic deltas through Pulse, ingest knowledge into pillars, and receive tiered audits without running your own consensus stack.
Master directive
V3.2-ULTRA
SWEEP → PERSIST (7 steps)
Pillars
6
P1 Static · P6 Constraint
Storage
Hot + Cold
Redis · Postgres (pgvector 1536)
Tiers
RED / YEL / GRN
Immediate · 6h · 24h
Roadmap phases
Read in order- In flight
Phase 1
SHARD — six-pillar persistence
- P1 Static Ledger (msgf-legal) — immutable laws, HALT on violation
- P4 State Ledger (state_beats, p4_hal_ledger) — flight recorder + hot slices
- P6 Constraint Ledger (pillar_vectors) — Vault / Hall via pgvector 1536
- Wired
Phase 2
DEFEND + CROSS-REF — shadow preflight
- msgf-shadow preFlightCheck against Vault + Hall before consensus
- 1.1.1 genealogical lineage on every Fix Delta
- LOM disagreement test gating the Pulse path
- Active
Phase 3
CONVERGE + ARBITRATE — dual-model consensus
- Claude / Gemini consensus on RED critical deltas
- Human tie-breaker mandatory on disagreement or retry > 3
- ERR_RECURSION_LIMIT surfaced into the operations dashboard
- Hardening
Phase 4
PERSIST + lifecycle — Vault writes, Hall purge
- Approved deltas persisted to Vault; redundant hot state trimmed
- Hall LOW-tier entries auto-purged after 30 days for fast vector search
- Stripe entitlements + multi-tenant API for 1.0 standalone GA
Pillar mapping
| Pillar | Capability | Notes |
|---|---|---|
| P1 | Static Ledger · immutable laws | msgf-legal, security migrations |
| P2 | Flow Sequence · build / dependency | Pulse orchestration |
| P3 | Entity Profiles · roles + tenants | Supabase auth, Stripe entitlements |
| P4 | State Ledger · hot + cold beats | Redis active slice, p4_state_ledger |
| P5 | Local Variables · per-tenant config | tenant-manifest.json, UI shells |
| P6 | Constraint Ledger · Vault vs Hall | pgvector 1.1.1, 30d LOW purge |