OQ β Operational Qualification¶
Operational Qualification proves that the running sovereign stack produces correct outputs. Every check runs against the live Franklin.app process β not mocks, not stubs.
Document reference: GFTCL-OQ-001-M8
Framework: GAMP 5 | EU Annex 11
Stack: Pure Swift 6.2 / SPM
Prerequisite: IQ CALORIE (all 7 IQ checks passed)
Running OQ¶
In-app (runtime gate β 7 checks):
- Launch Franklin.app and wait for stack ready (~30s for VQbitVM first heartbeat)
- Click
⬑β Run Qualificationβ¦ β RUN QUALIFICATION - OQ runs automatically after IQ completes
Build-time (CI gate β ~80 OQ-tier tests):
OQ Checks (7 in-app checks)¶
| ID | Name | Passes when |
|---|---|---|
| OQ-001 | VQbitVM emitted vm.ready | SovereignStackLauncher.phase == .ready |
| OQ-002 | C4 constitutional health measurable | mean(c1..c4) > 0 from live ManifoldOverlayStore |
| OQ-003 | Terminal state derivation correct | health >= 0.65 β .calorie, 0.35..0.65 β .cure, < 0.35 β .blocked |
| OQ-004 | Sovereign cell quorum met | liveCells >= 5 OR stackReady (standalone mode) |
| OQ-005 | Awakening ceremony completed | ManifoldState.timestampUTC is non-empty |
| OQ-006 | C4MemoryStore contains genesis record | Memory store has a GENESIS event from this session |
| OQ-007 | Quantum proof invariant | quantumAlgorithmCount() == 19 |
OQ-004 β Cell quorum, two pass paths¶
Path A β Production mesh: liveCells >= CellDescriptor.quorumRequired (5)
FranklinDriver subscribes to gaiaftcl.vm.heartbeat. When VQbitVM's heartbeat arrives (~30s post-launch), all 9 mesh cell IDs (hel-01..hel-05, nbg-01..nbg-04) are marked live. OQ-004 detail shows: 9/9 cells live β quorum threshold: 5.
Path B β Standalone sovereign: stackReady == true
Before VQbitVM's first heartbeat fires, launcher.phase == .ready satisfies quorum. OQ-004 passes via this path for the first 30s after launch; detail shows: Standalone sovereign mode β VQbitVM + FCS instantiated.
OQ Acceptance Criteria¶
| Criterion | Requirement |
|---|---|
| Check count | Exactly 7 checks executed |
| Pass rate | 100% β zero failures permitted |
| Receipt | OQ-<timestamp>.json with overallStatus: "CALORIE" |
Evidence β 2026-05-09 qualification run¶

Run timestamp: 2026-05-09T10:12:42Z
Platform: macOS Version 26.4.1 (Build 25E253) Β· Swift 6.2
Verdict: CALORIE β 7/7 pass
| ID | Result | Detail |
|---|---|---|
| OQ-001 | β PASS | SovereignStackLauncher.phase == .ready |
| OQ-002 | β PASS | health=0.6566 c1=0.556 c2=0.481 c3=0.690 c4=0.900 |
| OQ-003 | β PASS | health=0.657 β expected CALORIE, got CALORIE |
| OQ-004 | β PASS | Standalone sovereign mode β VQbitVM + FCS instantiated (no external mesh) |
| OQ-005 | β PASS | Manifold timestamped 2026-05-09T09:47:36Z |
| OQ-006 | β PASS | Genesis event found: GENESIS. I am Franklin. Session 9535F5C6. Born 2026-05-09T09β¦ |
| OQ-007 | β PASS | Quantum algorithm count = 19 (invariant: 19) |
Receipt written to ~/Library/Application Support/GaiaFTCL/qualification/OQ-<timestamp>.json
Build-time OQ test suite (~80 tests in Tests/GAMP5/OQ/)¶
Key test files:
| File | Tests | What they cover |
|---|---|---|
ReceiptPersistenceTests.swift |
RP-001..006 | ClosureReceipt β SwiftData persistence, sessionID, entropyDelta β€ 0 |
UngatedPathClosureTests.swift |
UPC-001..006 | Every S4/C4 mutation path routes through FranklinDriver.propose() |
UISpecConformanceTests.swift |
UI-AVATAR-001, UI-PORTAL-ATTACH-001 | USD REFUSED terminals declared on Avatar and portal prims |
LanguageGameOQTests.swift |
LG-001..LG-N | Language game domain contracts, vQbit validation, receipt closure |
Run: swift test from cells/xcode/
Continuous operational measurement β Quantum C4¶
In addition to the build-time OQ suite, the cell runs a continuous operational walk against 19 quantum algorithms + 7 combination stacks. v38 seeded 26 sovereign_scenarios (domain='quantum_algorithm' Γ 19 and domain='quantum_combination' Γ 7); v39 corrected their warrant queries to the per-algorithm substrate-resident teaching atom. The SentinelReflectionLoop walks them on a 30s cadence, the QuantumC4MetricsAggregator refreshes quantum_c4_metrics every 30s, and the ContinuousImprovementLoop records every autonomous targeting decision in improvement_loop_audit every 60s.
The substrate-resident result is that operational status for every quantum algorithm is queryable at any tauBlock without rerunning a build-time test. The same current_health / calorie_rate_24h / drift_indicator shape the runtime sentinel emits is the shape the runtime aggregator exposes. See Quantum-C4-Autonomous-Loop for the schemas and inspection queries.
See also¶
- Sovereign-M8-Qualification β full IQ/OQ/PQ specification
- IQ-Installation-Qualification β prerequisite
- PQ-Performance-Qualification β performance gate
- Quantum-C4-Autonomous-Loop β continuous quantum measurement loop
cells/xcode/docs/NATS_ARCHITECTURE.mdβ NATS vm.heartbeat routing detailcells/xcode/docs/GAMP5_QUALIFICATION.mdβ complete check specification
Federation-cosigned
This page's source is sealed in the GaiaFTCL federation manifest β page SHA-256 fdf74fd20dfab068β¦, 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.