14-Website Federated Edge Architecture
Arithmo-Edge deploys 1 Core Portal + 13 Subsites as isolated micro-frontends on Free Forever GitHub Pages (arithmo-edge.github.io/...), coordinated in real time via Cloudflare Workers + Firebase edge orchestration and Arithmo-Core-SDK (engine.js).

Each subsite enforces its own domain security boundary while synchronizing Auth, 10 Core ELOs, and Arithmo Wallet state in milliseconds.
02 · Interactive 14-Portal Explorer
Inspect Every Portal on arithmo-edge.github.io
Filter across the Core Portal, 5 Mathematical Arenas, Contest Portal, Standings, AI Tutoring, Academies, Forge, Socials, HQ, and Subsite #13 Arithmo Database.
Core Portal: Arithmo-Edge Core Portal
V1.0 Genesis Live (Dec 16) · Central Auth, @handle Governance & All-Rounder Telemetry
https://arithmo-edge.github.io/Arithmo-Edge/Primary V1.0 Genesis hub launching Dec 16, 2026 alongside Flagship Mixed Mathematical Olympiad (#05). Orchestrates Gmail SSO, custom @handle registration (7-day 1-time free change; $2.99 once/year thereafter; permanent @handle tombstone upon deletion while anonymized Zero-PII data remains for AI training), Subscriptions & 7-day 1-time free trial, Closed-loop Personal Arithmo Wallet, Free Printable Guidebook, Overall All-Rounder Rating (Seed 300), and ☕ Support the 13-Year-Old System Architect / Buy Me a Coffee.
Serving as the V1.0 Genesis root entry point on Dec 16, 2026 alongside Flagship Mixed Olympiad (#05), the Core Portal orchestrates Firebase Authentication via Gmail SSO, mints unique @handle identities across all 13 downstream subsites, activates TRK-16 Overall All-Rounder telemetry (Seed 300 with 4 × 60 continuity for progressively unlocking Subject Arenas #01–#04), and hosts the centralized Personal Arithmo Wallet without exposing payment or PII keys to public arena repositories.
- Custom @handle onboarding with 7-day free rename window ($2.99 once/year thereafter)
- Zero Pay-to-Win subscription matrix & 8 permanent Pay-As-You-Go Token Packs
- Personal Arithmo Wallet supporting instant USD top-ups (+10% bonus) and @handle gifts
- Free Printable Community Guidebook download & ☕ Patronage portal for founders

Subsite #13: Arithmo Database & Editorials
Catalogs concluded Arithmo rounds across the 5 arenas (never leaking suspended <3 quorum sets) alongside IMO, Putnam, RMM, BMO, and BdMO—with AI-Generated Step-by-Step Editorials.
Zero-Fragmentation topic tags hidden during live contests unlock automatically inside Subsite #13 once Find the Flaw and MBTS windows close, enabling filtered theorem training and V10.3 Mistake Deck exports.
03 · Zero GitHub Actions Live Runtime
Real-Time Cloudflare Workers + Firebase Edge Orchestration
Static GitHub Pages serves only immutable UI bundles. Every live contest clock, ELO calculation, Shadow Bot step, Wallet lock, and Golden Vault fetch executes instantaneously at the edge.
Instant Contest & Bot Dispatch
Cloudflare Workers handle live queue matching (1–120m Arena Duels, 15m Rival Links), Read-Only Golden Vault fetching, and Gemini/Qwen-Math API routing without spinning cold CI runners.
Atomic Firestore Transactions
Closed-loop Wallet balances, 60-second order grace holds, Gmail SSO sessions, and live 20-ELO rating deltas execute inside strict Firestore security rules.
Dual GitHub Pages + .com Topology
Current public showcase runs seamlessly at arithmo-edge.github.io while our dedicated .com custom domain joins production in 2 months.

Zero GitHub Actions in Live Matchmaking, AI & Vault Flows
GitHub Actions never touches live match ticks, rating adjustments, or AI prompts. Cloudflare Edge Workers validate tokens serverlessly before querying Firebase Cloud Firestore or encrypted Golden Vault repositories.
All private GitHub Personal Access Tokens and Gemini / Qwen-Math credentials stay strictly sealed inside Cloudflare Worker secrets, enforcing 5-Minute Pre-Contest Contract locks, Subsite #8 contest Hard-Locks, and instant T+3h General / T+12h Expert + 12h Supreme Appeal snapshots at zero CI wait overhead.
04 · Centralized SDK Backbone
Arithmo-Core-SDK (engine.js) Cross-Portal Sync
Every subsite imports the shared engine.js runtime from github.com/Arithmo-Edge/Arithmo-Core-SDK. This guarantees unified Firebase Auth session hydration, synchronized 10 Core ELO telemetry, closed-loop Arithmo Wallet deduction checks, and instantaneous QPRT-4 contest lockouts without duplicating business logic across 14 repositories.
During live institutional use on Subsite #9 Academy Arena, engine.js atomically toggles between @handle and @handle-academyname context keys—ensuring homework tasks and classroom mock sprints never bleed into a student's public global ELOs.
On unstable student connections across the 7 responsive breakpoints, the SDK flushes draft LaTeX blocks and GeoGebra states into local IndexedDB checkpoints every keystroke, coordinating seamless AES-256 telemetry heartbeats and Hard-Lock triggers whenever Subsite #6 opens an active round.
1. Hydrate Gmail SSO Session & @handle Claim (Firebase Auth) 2. Resolve Dual-Handle Context (Personal vs Academy @handle) 3. Sync 10 Core Arena ELOs + HQ ELO + Contribution ELO 4. Enforce Full-Screen Lockdown & Hard-Lock on Subsite #8/#9 5. Dispatch AES-256 Telemetry & IndexedDB Offline Checkpoints

05 · Dual-Storage Hybrid Data Lake
Hot Cloud Firestore + Cold 24-Hour Private GitHub Zero-PII JSONL Lake
Unified Cloud Firestore
Handles sub-second live match scores, 20-ELO leaderboards, active 2–10p Arena Duel rooms (1–120m), Arithmo Wallet ledger transactions, donors Patron Wall webhooks, and live clarifications during active rated contests.
Private Zero-PII JSONL Data Lake
Every 24 hours, automated background pipelines strip all PII (emails, legal names, IPs), flush concluded submissions, MBTS telemetry, and Find the Flaw traces into compressed .jsonl shards—keeping hot Firestore lean while calibrating AI difficulty curves.

Sub-Millisecond Hot Reads Meets Immutable Cold Archival
All PII leaves the analytics path before nightly shards compact into GitHub cold storage, keeping Firestore billing lean at any student volume.
Only active contests, open 2–10p Arena Duel lobbies, 60-second order grace holds, and current ELO standings remain in hot Cloud Firestore, preventing unbounded collection bloat as seasonal volume scales across global Olympiads.
Even if a competitor deletes their @handle, the permanent tombstone locks the username while anonymized historical problem-solving traces remain safely inside the Zero-PII cold JSONL lake for AI calibration.
06 · Zero-Cost Edge Defense
Caching & Read-Shield Engineering
Token & PAT Isolation
Proxies read-only Golden Vault .json problem sets and Gemini/Qwen-Math API dispatches without exposing credentials on static GitHub Pages clients.
98% Firestore Read Reduction
Public standings and archive indexes compile into static JSON snapshots served at the edge, shielding Firestore quotas from traffic spikes.
Deterministic Local Cache
Contest statements, LaTeX templates, and guidebook chapters cache cleanly in browser storage for instant resume across flaky connections.

98% Edge Read Reduction & Zero-Loss ISP Dropout Survival
Even if a rural competitor loses broadband mid-contest, IndexedDB keystroke persistence and stale-while-revalidate PWA caches keep every proof draft intact until ChronoVault reconnects.
Simultaneously, public visitors browsing Subsite #7 Standings without login read compressed Read-Shield edge snapshots rather than raw database documents—cutting Firestore read exhaustion by 98% across peak Sunday Mega traffic.
07 · Client-Side Deterministic Math Engine
Live Browser Execution: Miller-Rabin + Brent-Pollard's Rho
Numerical validation, primality screening, and factor verification run deterministically inside the contestant's browser using BigInt Miller-Rabin and Brent-Pollard's Rho, paired with Web Audio API timer cues and IndexedDB offline persistence.

Exact 64-Bit Integer & Primality Verification Inside Every Tab
Unlike legacy servers that choke under simultaneous prime checks, BigInt Miller-Rabin (7-base) and Brent-Pollard's Rho verify numeric invariants directly inside the contestant's browser tab.
Pairing local Number Theory checks with Web Audio countdown cues eliminates network jitter from General Velocity Flow rounds while offloading symbolic algebraic & geometric sanity checks cleanly to Python SymPy sandboxes behind Cloudflare Workers.
08 · Core Repositories & Infrastructure FAQ
github.com/Arithmo-Edge & Architecture Q&A
Architecture Spec
QPRT-4 mathematical proofs, 14-portal contracts, and governance constitutions.
Schema v1.2 Studio
LaTeX-to-JSON validator powering the Co-Founders' 5×4 Golden Vault.
engine.js Runtime
Synchronizes Auth, Dual-Handles, Wallet ledger, and 10 Core Arena ELOs.

Auditable SDKs & Schema Contracts on GitHub
Verify our public mathematical specifications, Schema v1.2 studio converters, and client-side BigInt primitives directly inside github.com/Arithmo-Edge.
Public repositories publish deterministic KaTeX rendering schemas, client-side number-theoretic primitives, and SDK interfaces—while official contest vaults, Golden Vault problem banks, and QPRT-4 biometric weight thresholds remain sealed inside private encrypted storage.
Developers, school math clubs, and security researchers can inspect how Arithmo-Core-SDK maintains strict separation of concerns between static GitHub Pages presentation layers and edge-enforced Firebase security rules.