Brain · EngineSource · docs/MSGF_V1_ROADMAP.md

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
  1. Phase 1

    SHARD — six-pillar persistence

    In flight
    • 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
  2. Phase 2

    DEFEND + CROSS-REF — shadow preflight

    Wired
    • msgf-shadow preFlightCheck against Vault + Hall before consensus
    • 1.1.1 genealogical lineage on every Fix Delta
    • LOM disagreement test gating the Pulse path
  3. Phase 3

    CONVERGE + ARBITRATE — dual-model consensus

    Active
    • Claude / Gemini consensus on RED critical deltas
    • Human tie-breaker mandatory on disagreement or retry > 3
    • ERR_RECURSION_LIMIT surfaced into the operations dashboard
  4. Phase 4

    PERSIST + lifecycle — Vault writes, Hall purge

    Hardening
    • 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

PillarCapabilityNotes
P1Static Ledger · immutable lawsmsgf-legal, security migrations
P2Flow Sequence · build / dependencyPulse orchestration
P3Entity Profiles · roles + tenantsSupabase auth, Stripe entitlements
P4State Ledger · hot + cold beatsRedis active slice, p4_state_ledger
P5Local Variables · per-tenant configtenant-manifest.json, UI shells
P6Constraint Ledger · Vault vs Hallpgvector 1.1.1, 30d LOW purge