GaiaFTCL Mac Cell โ Sovereign Mโธ Technical Guide¶
Patents: USPTO 19/460,960 | USPTO 19/096,071 โ ยฉ 2026 Richard Gillespie
New here? Start with these.¶
This page is the technical guide. It's dense on purpose โ it's the reference manual for engineers shipping the cell.
If you have never opened Franklin.app before, do not start here. Start with one of these plain-English pages instead, then come back:
- Franklin First โ your first five minutes with the cell.
- Reading the Franklin Window โ what every label, chip, and shape on the screen means.
- Scene Strip: The Five Rooms โ a tour of Mโธ, QUANTUM, FUSION, HEALTH, LITHO.
- Cell Boot Recall โ how the cell remembers itself every time it wakes up.
- License Readiness โ new (v107) โ how a cure crosses to a human and becomes licensable, across all 70 language games.
- The Reflective Mesh โ new (v102/v104/v105) โ the five actors that watch the cell while you work.
- Licensing in Plain Words โ what the LICENSING button does and why it's there.
These pages are written for a junior-high reader. You can read all of them in about forty minutes and you will understand the cell well enough to use it. The rest of this page is for the people building the cell.
What This Is¶
GaiaFTCL Mโธ is a sovereign macOS application โ Franklin.app โ that embodies an eight-dimensional manifold: four structural dimensions (S1โS4) and four constitutional dimensions (C1โC4). It runs entirely in pure Swift 6.2 on Apple Silicon, ships as a single ad-hoc-signed DMG, and is qualified to GAMP 5 (156 build-time tests + 18 in-app IQ/OQ/PQ checks).
Three processes, one NATS bus, no external dependencies:
Franklin.app
โโโ Franklin (SwiftUI macOS app)
โ โโโ FranklinSceneView โ RealityKit S4 projection layer
โ โโโ FranklinDriver โ sovereign gate: propose(_:origin:)
โ โโโ SwiftNATSServer โ embedded NATS broker on 127.0.0.1:4222
โ
โโโ VQbitVM (child process)
โ โโโ S4DeltaWire โ ManifoldTensorStore โ C4ProjectionWire pipeline
โ โโโ VQbitMeasurementGate โ Bell/CHSH gates, constitutional invariants
โ โโโ Publishes: gaiaftcl.vm.ready ยท gaiaftcl.vm.heartbeat (30s)
โ
โโโ FranklinConsciousnessService (child process)
โโโ FranklinConsciousnessActor โ C4 projection loop, self-review
โโโ GRDB substrate โ SQLite v1โv11 migrations
โโโ Publishes: gaiaftcl.franklin.consciousness.state
The vQbit Data Model¶
Every sovereign state in the Mโธ manifold flows through a VQbitPrimitive โ one prim = one domain entity = one point on the eight-dimensional manifold.
// Sources/GaiaFTCLCore/VQbitPrimitive.swift
public struct VQbitPrimitive: Sendable, Codable {
// Sโด โ structural dimensions
public var s1_structural: Float32 // geometry / topology
public var s2_temporal: Float32 // time / sequence
public var s3_spatial: Float32 // location / space
public var s4_observable: Float32 // rendered / visible
// Cโด โ constitutional dimensions
public var c1_trust: Float32 // epistemic authority
public var c2_identity: Float32 // prim identity integrity
public var c3_closure: Float32 // gate closure state
public var c4_consequence: Float32 // action consequence weight
public var primID: UUID
public var domain: String // FUSION / HEALTH / QUANTUM / etc.
public var timestampUTC: String
}
Terminal state derivation from constitutional health mean(c1..c4):
| Health range | Terminal state |
|---|---|
| โฅ 0.65 | CALORIE โ value produced |
| 0.35 โ 0.65 | CURE โ converging |
| < 0.35 | BLOCKED โ structural failure |
| Explicit refusal | REFUSED โ with closure condition |
The Apple Silicon Advantage โ Unified Memory¶
Apple Silicon M-chips eliminate the CPUโGPU copy. Memory is unified physical DRAM โ both CPU and GPU read from the same physical address. RealityKit entity components updated by C4ProjectionSystem.update() go directly from FranklinDriver's Swift actors to the GPU without a staging buffer or DMA transfer.
S4 Projection Layer (RealityKit)¶
The S4 dimension โ "observable" โ is rendered by RealityKit. Every domain has a USD scene (FranklinSceneDirector.catalog) with a three-level hierarchy:
def Xform "<FileName>" (kind="group") โ defaultPrim
def Xform "<SCOPE_NAME>" (kind="group") โ must match catalog entry
def Xform "CatalogAnchor" โ Mโธ origin for sphere + portals
โฆgeometry childrenโฆ
C4ProjectionSystem runs every render tick, reading from C4ManifoldRuntimeBridge (which is only written via FranklinDriver.propose()) and updating RealityKit entity components. Entity state is always derived from validated bridge state โ never mutated directly.
The Sovereign Gate¶
Every S4/C4 mutation in the system routes through a single method:
// Sources/GaiaFTCLApp/FranklinDriver.swift
@MainActor
public func propose(_ move: UIProjectionMove,
origin: ValidationOrigin,
modelContext: ModelContext? = nil) async -> UIValidationResult
VQbitUIValidator runs the move through:
1. Bounds gate โ all 8 dimensions โ [0, 1]
2. Entropy gate โ ฮE = current.health โ proposed.health โค 0 (health must improve or hold)
3. Terminal gate โ proposed state must not be .refused or .blocked
4. Mooring gate โ primID must not be the zero UUID
On .closed(receipt): state is committed, ClosureReceiptRecord is persisted to SwiftData, activeTone updates from domain.
On .refused(code, reason): a SHA-256-sealed refused receipt is persisted, activeTone shifts to .diagnostic. No state mutation occurs.
Wire Formats (frozen)¶
| Format | Subject | Size | Carries |
|---|---|---|---|
S4DeltaWire |
gaiaftcl.substrate.s4.delta |
53 bytes | One S4 dimension update per prim |
C4ProjectionWire |
gaiaftcl.substrate.c4projection |
53 bytes | Full C4 constitutional state per prim |
Both sizes locked by IQ-007. Any change requires a full GAMP 5 re-qualification.
The Nine-Cell Sovereign Mesh¶
| Region | Cells | Purpose |
|---|---|---|
| HEL (Helsinki) | hel-01..hel-05 | Primary computation |
| NBG (Nuremberg) | nbg-01..nbg-04 | Secondary computation |
Quorum: โฅ5/9 cells. In standalone sovereign mode (single DMG), VQbitVM's gaiaftcl.vm.heartbeat marks all 9 cells live.
Configuration management¶
| Item | Requirement |
|---|---|
S4DeltaWire.byteCount |
53 bytes (CI-007) โ change requires full PQ re-execution |
Franklin.usda |
Exactly one authoritative copy in Sources/GaiaFTCL/Resources/ |
FranklinSceneDirector.catalog |
scope must exactly match def Xform name in USDA |
language_game_contracts |
SUM(algorithm_count WHERE domain LIKE 'quantum%') == 19 |
See also¶
- Sovereign-M8-Qualification โ IQ/OQ/PQ specification
- GaiaFTCL-Fusion-Mac-Cell-Wiki โ full architecture reference
- Language-Games โ game catalogue and S4 mappings
- Quantum-Algorithm-Catalog โ what each of the 19 quantum algorithms heals
- Quantum-C4-Autonomous-Loop โ the loop that walks the quantum catalog continuously without operator prompting
cells/xcode/docs/S4_USD_LESSONS_LEARNED.mdโ USD authorship guidecells/xcode/docs/NATS_ARCHITECTURE.mdโ NATS subject catalogue
Federation-cosigned
This page's source is sealed in the GaiaFTCL federation manifest โ page SHA-256 6320f85760ad5babโฆ, manifest witness a090592e0609adc8โฆ, signed 2026-06-02T18:58:22Z by cell gaiaftcl-mac-cell. Verify with gaiaftcl wiki sign --all and compare wiki-all-signatures.json.