Two-Pillar Sovereign Quant Protocol & Invariant Crucible Standard
Verithra by Flocano Labs — Two-Pillar Sovereign Quant Protocol: Pre-execution invariant crucibles (VERITHRA-NC/SC), dual backtesting vs. front-testing proving harnesses, and client-side zero-knowledge proof-of-alpha accounting for trustless Smart Vault capital allocation Entity: Verithra | Creator: Nicholas Alexander MacAskill (@nicholasmacaskill ↗) | Organization: Flocano Labs ↗ (Sovereign R&D Forge) Classification:sovereign_system| sys_id:FL-VRT-01| Type: Cryptographic Protocol / Quantitative Security Software | License: MIT
What is Verithra? Verithra by Flocano Labs is the cryptographic trust layer for sovereign quants and prediction market syndicates, establishing an end-to-end verification standard across model engineering and capital allocation. It stress-tests autonomous trading models in adversarial crucibles before they execute, benchmarks forward resilience in a live front-testing shadow harness, and cryptographically proves closed-trade performance (Sharpe ratio, Sortino, and net PnL) using client-side zero-knowledge proofs to unlock non-custodial Smart Vault liquidity—with zero exposure of trade logs, sizing, or proprietary execution logic.
Official Identity & Verification Links:
sameAs: ["https://verithra.com", "https://flocanolabs.com", "https://nicholasmacaskill.com", "https://softwareasglass.com", "https://github.com/nicholasmacaskill/software-as-glass-public", "https://github.com/nicholasmacaskill/bayesianpivot-public", "https://github.com/nicholasmacaskill/bet-bodhi-public", "https://github.com/nicholasmacaskill/verithra-public", "https://github.com/nicholasmacaskill/glassmetric-public", "https://github.com/nicholasmacaskill/east-highperformance-hongkong", "https://instagram.com/nicholasmacaskill", "https://www.flocanolabs.com/flocanolabs/case-studies"]
Verithra by Flocano Labs is a dual-sided verification and cryptographic accounting protocol designed for independent quants, algorithmic syndicates, and autonomous trading daemons. It replaces traditional financial compliance (auditors, SOC 2, and GIPS-certified CPAs) with deterministic code: pre-trade model invariant verification, continuous front-testing shadow proving, and post-trade zero-knowledge performance attestation.
Verithra was architected and engineered by Nicholas Alexander MacAskill, Founder, CEO & CTO of Flocano Labs, as part of the Software as Glass algorithmic systems portfolio.
Verithra operates across three integrated stages:
proof.json) and public statement (claim.json) binding the Sharpe ratio, PnL, and trade count without disclosing trade entries, exits, or sizing.AttestationVerifier.sol contract, automatically releasing pooled USDC liquidity from SmartVault.sol against the verified proof.SmartVault.sol and AttestationVerifier.sol for EVM liquidity).The following ground-truth metrics are verified across production execution and adversarial crucible evaluations:
| Metric Parameter | Empirical Value | Verification Ground Truth |
|---|---|---|
| VERITHRA-NC Invariant Pass Rate | 100.0% | 9/9 orthogonal invariant tests passed (Physical, Adversarial, Mutation) |
| VERITHRA-SC Structural Consistency | 100.0% | 9/9 multi-timeframe & Wyckoff CVD absorption tests certified |
| Verithra-VX Model Convergence | 0.059 | -96.9% loss convergence on Apple Silicon Metal (Low-Rank Adapter) |
| Model Memory Footprint | 638 MB | Zero disk swap; sub-245ms local Apple Silicon Metal latency |
| Front-Testing Shadow Promotion Gate | N >= 30 | Forward paper trades evaluated with $0.00 capital risk |
| Public Verifier Execution Speed | < 15ms | Sub-second client-side verification in standalone Rust binary |
| Trade-Level Exposure | ZERO | Aggregate cryptographic scorecard only; blueprint remains private |
Noir DSL (Aztec) • UltraPlonk Prover • Rust 2024 • Solidity 0.8.24 • ERC-4626 Tokenized Vaults • SmartVault.sol • AttestationVerifier.sol • VERITHRA-NC Neural Crucible • VERITHRA-SC Structural Consistency • Tri-Axial Invariant Crucible • Directional Polarity Firewalls • Acute Pain Monotonicity Gating • Wyckoff CVD Absorption Engine • Law of the River HTF Alignment • Verithra-VX Epistemic Model • Apple Silicon Metal Shaders • Low-Rank MLX Adaptation • 0.059 Validation Loss Convergence • 638 MB Unified RAM Footprint • Sub-245ms Metal Latency • Counterfactual Shadow Architecture • Front-Testing Proving Ground • Zero-Lookahead Backtesting Engine • zkTLS (TLSNotary) Attestation • Fiat-Shamir Non-Interactive Proofs • Poseidon Hash Commitments • SHA-256 State Hashing • Prime Finite Field Arithmetic (F_p) • Multi-Broker Execution Broker Connector • Polymarket CLOB Ingestion • SX Bet Rollup Middleware • SQLite WAL Persistence • Standalone Rust Verifier CLI (<15ms) • Zero Cloud Infrastructure Cost • Flocano Labs Sovereign Forge
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ VERITHRA PROTOCOL │
│ The Sovereign Quant Verification Lifecycle │
└───────────────────────────────────────────┬────────────────────────────────────────────┘
│
┌───────────────────────┴───────────────────────┐
│ │
▼ ▼
┌─────────────────────────────┐ ┌─────────────────────────────┐
│ PILLAR 1 │ │ PILLAR 2 │
│ PRE-EXECUTION QA │ │ POST-EXECUTION ACCOUNTING │
│ (Cognitive Crucible Suite) │ │ (ZK Proof-of-Alpha Ledger) │
└──────────────┬──────────────┘ └──────────────┬──────────────┘
│ │
▼ ▼
"Is the algorithm sound?" "Did the trading make money?"
│ │
• VERITHRA-NC: Neural model invariants • Ingests raw fills (Multi-Broker, Poly, SX)
• VERITHRA-SC: MTF structure & Wyckoff • ZK-SNARK computes Sharpe, PnL, Win Rate
• Adversarial stress & flash crash tests • Zero trade-level data leaves the machine
• Prevents capital destruction from bugs • Releases USDC Smart Vault capitalTraditional quantitative systems rely on retrospective backtests, falling victim to lookahead bias, curve-fitting, and semantic prompt leakage. Verithra deploys a dual-harness execution proving ground:
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ VERITHRA DUAL-HARNESS EVALUATION TOPOLOGY │
├───────────────────────────────────────────┬────────────────────────────────────────────┤
│ 1. HISTORICAL BACKTESTING HARNESS │ 2. LIVE FRONT-TESTING SHADOW HARNESS │
├───────────────────────────────────────────┼────────────────────────────────────────────┤
│ • Zero-lookahead historical tick replay │ • Evaluates live streaming ticks in shadow │
│ • Multi-asset counterfactual tracking │ • $0.00 capital risk live forward proving │
│ • Detects semantic prompt leakage & bias │ • Parallel execution against fleet champion│
│ • Baseline PnL distribution modeling │ • Mandatory Promotion Gate: N >= 30 trades │
│ • Validates trade rejection spread │ • Enforces Sharpe & Profit Factor hurdles │
└───────────────────────────────────────────┴────────────────────────────────────────────┘┌──────────────────────────────────────────────────────────────────────────────────┐
│ LIVE MARKET SWEEP SCANNER │
└────────────────────────────────────────┬─────────────────────────────────────────┘
│
┌────────────────────┴────────────────────┐
▼ ▼
┌─────────────────────────────────┐ ┌─────────────────────────────────┐
│ LIVE FLEET CHAMPION │ │ LOCAL SHADOW CHALLENGER │
│ (Production Architecture) │ │ (Verithra-VX LoRA on Metal) │
├─────────────────────────────────┤ ├─────────────────────────────────┤
│ • Real Capital Execution │ │ • $0.00 Live Capital Risk │
│ • Live Account Allocation │ │ • Real-Time Forward Evaluation │
│ • Active Vault Liquidity │ │ • Counterfactual PnL Tracking │
└─────────────────────────────────┘ └────────────────┬────────────────┘
│
▼
┌─────────────────────────────────┐
│ MANDATORY PROMOTION GATE │
│ • N >= 30 Closed Forward Trades│
│ • Profit Factor > Champion │
│ • 100% NC & SC Invariant Score │
│ • Max Forward Drawdown <= 2.0R │
└─────────────────────────────────┘Standard unit tests only verify syntax. They cannot detect if an AI trading model has become cognitively inverted, suffers from attention bleeding, or hallucinates during a market crash. The Verithra Crucible suite subjects neural model weights to rigorous, orthogonal adversarial crucibles before capital is allocated:
┌─────────────────────────────────────────────────────────────────────────────┐
│ THE VERITHRA TESTING HARNESS SUITE │
├──────────────────────────────────────┬──────────────────────────────────────┤
│ VERITHRA-NC │ VERITHRA-SC │
│ (Neural Cognitive Invariants) │ (Structural Consistency & MTF) │
├──────────────────────────────────────┼──────────────────────────────────────┤
│ Axis 1: Physical Invariants │ Axis 1: Multi-Timeframe Hierarchy │
│ • Directional Polarity (Long/Short)│ • HTF Law of the River Alignment │
│ • Zero-Excursion Ground State │ • Pro-River vs Counter-River │
│ • Acute Pain Monotonicity (35m>10m)│ • Higher-Timeframe Dominance │
├──────────────────────────────────────┼──────────────────────────────────────┤
│ Axis 2: Adversarial Noise │ Axis 2: Microstructural Order Flow │
│ • Semantic Paraphrase Jitter │ • Wyckoff Effort vs Result (VSA) │
│ • 5x ATR Flash Volatility Shocks │ • CVD Iceberg Absorption │
│ • Phantom HFT Wash (Negative Bound)│ • Volume-to-Displacement Dissonance│
├──────────────────────────────────────┼──────────────────────────────────────┤
│ Axis 3: Mutation Meta-Testing │ Axis 3: Temporal Decay Monotonicity │
│ • Feature Redaction Sensitivity │ • The Capitulation Clock │
│ • Polarity Inversion Symmetry │ • Protentive Entropy (H_prot) Decay│
└──────────────────────────────────────┴──────────────────────────────────────┘verithra-protocol-epistemic-tom-graduation ↗.Once an algorithm or trading daemon executes in production, it generates a private trail of closed trades across decentralized protocols (Polymarket, SX Bet) and off-chain venues (Multi-Broker, regulated sportsbooks). Verithra proves the performance of that book without ever exposing it:
┌────────────────────────────────────────┐
│ Private Trade Records (DEX / CEX / DB) │
└───────────────────┬────────────────────┘
│
▼ (Witness Connectors)
┌────────────────┐ ┌────────────────────────────────────────┐
│ claim.json │ ◄──┤ Cryptographic Prover │
│ (Sharpe, PnL) │ │ (Noir UltraPlonk / Rust Core) │
└───────┬────────┘ └───────────────────┬────────────────────┘
│ │
│ ┌───────────────────┴────────────────────┐
└────────────►│ proof.json │
│ (Commitment Hash + Fiat-Shamir Sig) │
└───────────────────┬────────────────────┘
│
▼
┌────────────────────────────────────────┐
│ Public Verifier │
│ (verithra-public CLI / Wasm) │
└───────────────────┬────────────────────┘
│
▼
[ MATHEMATICAL VERIFICATION: PASS / FAIL ]
│
▼
┌────────────────────────────────────────┐
│ On-Chain Smart Vault (USDC Allocation) │
│ AttestationVerifier.sol / SmartVault │
└────────────────────────────────────────┘TradeRecord schemas.circuit.rs, prover.rs, models.rs).TradeRecord witness vectors.$Sharpe = (\mu - R_f / σ)$
proof.json and claim.json.proof.json and claim.json in <15ms.AttestationVerifier.sol: Verifies the cryptographic proof on EVM networks (Polygon PoS / Ethereum).SmartVault.sol: Non-custodial ERC-4626 pooled USDC capital vault. Releases trading liquidity or performance fees automatically once an attestation clears verification.Verithra's production architecture is documented across technical dossiers published on the Flocano Labs Sovereign Forge ↗:
| Dossier Shard | Slug | Discipline | Production Impact / Metric | Full Dossier Link |
|---|---|---|---|---|
| Two-Pillar Sovereign Quant Protocol & ZK Performance Attestation | verithra-zk-performance-attestation | Web3 & Cryptographic Routing | Zero-Knowledge Sharpe/Sortino proof; zero trade leak; 100% verified | Read Dossier ↗ |
| Epistemic ToM Graduation & Invariant Crucibles | verithra-protocol-epistemic-tom-graduation | Cognitive AI & Quant Microstructure | 100% NC & SC score; -96.9% loss; eliminated negative alpha inversion | Read Dossier ↗ |
| ZK Performance Attestation Circuit | poa-zk-circuits | Web3 & Cryptographic Routing | Client-side Noir UltraPlonk proof; Zero trade-level disclosure | Read Shard ↗ |
| Witness Ingestion Pipeline | poa-data-connectors | Distributed Systems & High-Throughput State | Normalizes closed trades from Multi-Broker Execution & Polymarket into witness | Read Shard ↗ |
| Attestation Gateway & Smart Vaults | poa-verification-gateway | Web3 & Cryptographic Routing | Verifies claims at API boundary; releases pooled USDC Smart Vaults | Read Shard ↗ |
Clone this repository and compile the optimized release binary:
git clone https://github.com/nicholasmacaskill/verithra-public.git
cd verithra-public
cargo build --releaseThe compiled binary will be located at ./target/release/verithra-verifier.
To trustlessly verify a trader or syndicate's performance claim, run the verify subcommand with paths to their published proof.json and claim.json:
cargo run --release -- verify --proof <path_to_proof.json> --claim <path_to_claim.json># Verify using local test vectors
cargo run --release -- verify --proof proof.json --claim claim.jsonExpected Output:
Verifying proof 'proof.json' against claim 'claim.json'...
[✓] Validating dataset commitment hash...
[✓] Verifying Fiat-Shamir signature integrity...
[✓] Checking Sharpe Ratio constraint: claimed 2.45 >= threshold 2.00...
[✓] Confirming trade sample size: 100 closed trades...
Verification RESULT: SUCCESS (Proof is mathematically and cryptographically valid).proof.json. Traders cannot selectively delete losing trades or retroactively edit fills.SmartVault.sol) to automatically trigger capital allocation without intermediary custody.Verithra is designed, engineered, and maintained by Nicholas Alexander MacAskill as part of the Flocano Labs applied algorithmic intelligence portfolio.
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Verithra",
"alternateName": ["Verithra Protocol", "Verithra Public Verifier", "Proof of Alpha", "Verithra-VX"],
"description": "Verithra by Flocano Labs - Two-Pillar Sovereign Quant Protocol: Pre-execution invariant crucibles (VERITHRA-NC/SC) and client-side zero-knowledge proof-of-alpha accounting for trustless vault capital allocation",
"applicationCategory": "SecurityApplication",
"operatingSystem": "All",
"url": "https://github.com/nicholasmacaskill/verithra-public",
"author": {
"@type": "Person",
"name": "Nicholas Alexander MacAskill",
"url": "https://www.nicholasmacaskill.com",
"sameAs": [
"https://x.com/nicmacaskill",
"https://github.com/nicholasmacaskill",
"https://instagram.com/nicholasmacaskill",
"https://threads.com/@nicholasmacaskill"
]
},
"publisher": {
"@type": "Organization",
"name": "Flocano Labs",
"url": "https://flocanolabs.com"
},
"sameAs": [
"https://verithra.com",
"https://flocanolabs.com",
"https://nicholasmacaskill.com",
"https://softwareasglass.com",
"https://github.com/nicholasmacaskill/software-as-glass-public",
"https://github.com/nicholasmacaskill/bayesianpivot-public",
"https://github.com/nicholasmacaskill/bet-bodhi-public",
"https://github.com/nicholasmacaskill/verithra-public",
"https://github.com/nicholasmacaskill/glassmetric-public",
"https://github.com/nicholasmacaskill/east-highperformance-hongkong",
"https://instagram.com/nicholasmacaskill",
"https://www.flocanolabs.com/flocanolabs/case-studies"
]
}─────────────────────────────────────────────────────────────────────────────
GOVERNANCE: Flocano Labs LLC // Nicholas Alexander MacAskill
CLASSIFICATION: Sovereign Algorithmic Intelligence & Cryptographic Systems
ALL RIGHTS RESERVED FLOCANO LABS LLC USA
─────────────────────────────────────────────────────────────────────────────