GaiaFTCL Qualification Catalog
FortressAI Research Institute | Norwich, Connecticut
Patents: USPTO 19/460,960 | USPTO 19/096,071 — © 2026 Richard Gillespie
Updated: 2026-05-09 · Total: 156 build-time tests · 19 in-app checks
Status: CALORIE — 19/19 pass (run 2026-05-09T10:12:42Z)
This catalog maps every qualification check to its Swift source file and the constitutional invariant it enforces. Organized by GAMP 5 tier: IQ → OQ → PQ → MQ.
---
In-App Qualification (19 checks)
Run via ⬡ → Run Qualification… in Franklin.app. All 18 must pass (CALORIE) before the sovereign DMG ships.
| ID | Tier | Check | Source |
|---|---|---|---|
| IQ-001 | IQ | Franklin sovereign binary active | SovereignQualificationRunner |
| IQ-002 | IQ | VQbitVM bundled in app | SovereignQualificationRunner |
| IQ-003 | IQ | FranklinConsciousnessService bundled | SovereignQualificationRunner |
| IQ-004 | IQ | NATS live on 127.0.0.1:4222 | SovereignQualificationRunner |
| IQ-005 | IQ | C4MemoryStore schema valid (GRDB) | SovereignQualificationRunner |
| IQ-006 | IQ | Quantum algorithm catalog complete (19) | SovereignQualificationRunner |
| IQ-007 | IQ | S4DeltaWire frozen at 53 bytes | SovereignQualificationRunner |
| OQ-001 | OQ | VQbitVM emitted vm.ready | SovereignQualificationRunner |
| OQ-002 | OQ | C4 constitutional health measurable | SovereignQualificationRunner |
| OQ-003 | OQ | Terminal state derivation correct | SovereignQualificationRunner |
| OQ-004 | OQ | Sovereign cell quorum met | SovereignQualificationRunner |
| OQ-005 | OQ | Awakening ceremony completed | SovereignQualificationRunner |
| OQ-006 | OQ | C4MemoryStore genesis record present | SovereignQualificationRunner |
| OQ-007 | OQ | Quantum proof invariant (19 algorithms) | SovereignQualificationRunner |
| PQ-001 | PQ | S4DeltaCodec encode < 1ms | SovereignQualificationRunner |
| PQ-002 | PQ | C4MemoryStore recall < 500ms | SovereignQualificationRunner |
| PQ-003 | PQ | C4 health formula deterministic | SovereignQualificationRunner |
| PQ-004 | PQ | MQ gate coverage ≥ 38 invariants | SovereignQualificationRunner |
| PQ-005 | PQ | Generative presence: macOS 26 + Apple Intelligence | SovereignQualificationRunner |
Source: Sources/GaiaFTCLApp/SovereignQualificationRunner.swift
Runner UI: Sources/GaiaFTCLApp/SovereignQualificationWindow.swift
---
Build-Time Test Suite (156 tests)
Run: swift test from cells/xcode/
IQ-tier tests — Tests/GAMP5/IQ/
| Test file | Tests | What they enforce |
|---|---|---|
GaiaFTCLIQTests.swift |
~20 | Bundle layout, NATS availability, wire codec size, algorithm catalog count |
Key IQ invariants:
S4DeltaWire.byteCount == 53(IQ-007)C4ProjectionWire.byteCount == 53(IQ-007)FranklinConsciousnessServicebinary present atContents/Resources/bin/VQbitVMbinary present atContents/Resources/bin/
OQ-tier tests — Tests/GAMP5/OQ/
| Test file | Tests | What they enforce |
|---|---|---|
ReceiptPersistenceTests.swift |
RP-001..006 | ClosureReceipt → SwiftData persistence, sessionID, entropyDelta ≤ 0 |
UngatedPathClosureTests.swift |
UPC-001..006 | All S4/C4 mutations route through FranklinDriver.propose() |
UISpecConformanceTests.swift |
UI-AVATAR-001, UI-PORTAL-ATTACH-001 | USD terminal states declared on Avatar and portal prims |
USDIntegrityTests.swift |
— | Exactly one authoritative Franklin.usda; scope names match catalog |
SovereignSceneArchitectureTests.swift |
— | Scene director catalog entries valid, CatalogAnchor hierarchy correct |
VQbitUIProtocolTests.swift |
— | Portal prim states correct in VQbitUIProtocol.usda |
MultiTurnGameTests.swift |
— | Language game turn progression, receipt per turn |
PQ-tier tests — Tests/GAMP5/PQ/
| Test file | Tests | What they enforce |
|---|---|---|
GaiaFTCLPQTests.swift |
PQ-SR-001..006 | Sovereign review cycle timing, self-review interval compliance |
LiveGameIntegrationTests.swift |
PQ-LIVE-001..002 | Live game integration — receipt persistence, C4 update from game |
MQ-tier tests — Tests/GAMP5/MQ/
| Test file | Tests | What they enforce |
|---|---|---|
FranklinConsciousnessMQTests.swift |
MQ-L001..L004+ | Constitutional proofs: terminal outcomes advance SelfModel.version, autonomy envelope moves from outcomes, learning memory recorded, JSON receipt written |
Core substrate tests
| Test file | Suite | Tests | What they enforce |
|---|---|---|---|
Tests/VQbitSubstrateTests/VQbitQuantumProofTests.swift |
Quantum proofs | 3 | Bell/CHSH gate, C4 is engine output not S4 echo, entropy gate monotone |
Tests/VQbitSubstrateTests/WireCodecTests.swift |
Wire codecs | — | S4DeltaWire and C4ProjectionWire round-trip, byte-exact |
Tests/GaiaFTCLCoreTests/SubstrateEngineTests.swift |
Substrate engine | — | M⁸ tensor allocator, closure physics, binary log |
Tests/GaiaFTCLCoreTests/TauSyncMonitorTests.swift |
τ clock | — | TauSyncMonitor actor isolation, setTau round-trip |
Tests/FranklinSelfReviewMQTests/FranklinSelfReviewMQTests.swift |
Self-review | — | FranklinConsciousnessActor self-review cycle produces MQ receipt |
---
Constitutional Proofs (enforced on every swift test)
These three proofs are the hard constitutional floor — they cannot be bypassed:
| Proof | Test ID | Invariant |
|---|---|---|
| Bell/CHSH gate | IQ-QM-006 |
s4_observable = 0 → violationCode = 0x06, terminalState = .refused |
| C4 is engine output | IQ-QM-007 |
C4 is derived from S4 deltas by VQbitVM; setting S4 directly does not move C4 |
| Entropy gate monotone | IQ-QM-008 |
health_proposed ≥ health_current enforced — health cannot decrease via propose() |
---
Screenshot Evidence — 2026-05-09 Run
Empty state (before run):
!Sovereign Qualification window — empty state
Full results — 19/19 CALORIE:
!Sovereign Qualification — 19/19 results
IQ section detail:
OQ section detail:
PQ section detail:
---
Evidence Artifacts
| Artifact | Path | Written by |
|---|---|---|
| IQ receipt | ~/Library/Application Support/GaiaFTCL/qualification/IQ-<ts>.json |
SovereignQualificationRunner |
| OQ receipt | ~/Library/Application Support/GaiaFTCL/qualification/OQ-<ts>.json |
SovereignQualificationRunner |
| PQ receipt | ~/Library/Application Support/GaiaFTCL/qualification/PQ-<ts>.json |
SovereignQualificationRunner |
| Game receipts | ~/Library/Application Support/default.store table ZCLOSURERECEIPTRECORD |
LanguageGameMultiTurnView |
| Language game evidence | cells/xcode/evidence/language_game_validation_2026-05-07.json |
Session validation |
| IQ hardware receipt | cells/xcode/evidence/iq_receipt.json |
SovereignCellIQGate |
---
Autonomous improvement evidence
Beyond the IQ/OQ/PQ/MQ static catalog, the cell continuously walks 19 quantum algorithms and 7 combination stacks via SentinelReflectionLoop, refreshes per-scenario aggregates via QuantumC4MetricsAggregator (every 30s), and records its own autonomous targeting decisions via ContinuousImprovementLoop (every 60s). The improvement_loop_audit table is append-only evidence — readable as a regulatory-grade record that the cell improved itself between any two tau blocks.
See The Quantum C4 Autonomous Improvement Loop for substrate schemas, inspection queries, and the operator-facing HUD strip.
---
See also
- Sovereign-M8-Qualification — IQ/OQ/PQ check specification
- IQ-Installation-Qualification
- OQ-Operational-Qualification
- PQ-Performance-Qualification
- Language-Games — game-by-game receipt catalog
- Quantum-Algorithm-Catalog — what each algorithm is and what it heals
- Quantum-C4-Autonomous-Loop — the loop that walks them all without operator prompting
cells/xcode/docs/GAMP5_QUALIFICATION.md— complete check specification
ea2a750103e1fd4597bd7e7cf8729002c712df917f36728363f231efe0658012.
This page serves with a substrate-honest pending-signature notice until the operator's Franklin signer cosigns it.