Local-First Learning Core
HIVE · CODE VERIFIEDComplete bilingual dictionary and 50 benchmark test items are stored in binary Hive boxes. Search, quizzes, and streak calculations execute with zero network overhead.
An evidence-backed engineering case study of a Flutter application helping the Facilities Management community master 1,847 domain terms — from a zero-latency Hive local core to Cloudflare edge and Firebase boundaries.

1,847
Current terms
50
Bundled test items
27
Recorded tests
1.1.0+9
App Store version
System Architecture
The architecture strictly decouples 3 isolated boundaries. All primary search and learning loops are guaranteed to execute with zero cloud dependencies.
Zero-latency offline search, card reviews, and phonetic evaluation run entirely on device.
1,847 FM terms and 50 benchmark test items pre-indexed into local binary boxes (< 5ms response).
State machine tracks Leitner review intervals and test history without requiring network roundtrips.
Evaluates acoustic transcripts against FM phonetic patterns locally to deliver immediate learner feedback.
Shields upstream credentials and caches dictionary pronunciation audio at edge nodes worldwide.
Term pronunciation audio clips are cached at Cloudflare edge, reducing latency and upstream egress costs.
Client applications never hold external speech API keys; all traffic is authenticated via worker tokens.
Gracefully switches speech providers if primary upstream encounters degradation or rate limits.
Manages user authentication and synchronizes bookmarks without ever blocking the offline experience.
Users start immediately without registration; sessions can be permanently linked at any time.
Bookmarks and mastery metrics sync lazily when a network connection is verified.
Lightweight RTDB counters compute cohort study streaks and weekly motivation statistics.

Audited Codebase Areas
Complete bilingual dictionary and 50 benchmark test items are stored in binary Hive boxes. Search, quizzes, and streak calculations execute with zero network overhead.
Remote dictionary updates validate schema version, stage a temporary rollback box, and atomically apply changes with instant fallback if verification fails.
Local Hive operations, Cloudflare proxy edge, and Firebase cloud sync are strictly decoupled. Failure of cloud services never degrades core dictionary functionality.
Speech audio is routed through an authenticated edge proxy to obtain phonetic transcripts, which are then scored locally against FM pronunciation rubrics.
Verified Git History
2026-03-22
Git 6cd2c76
Flashcards, Hive persistence and text-to-speech established the first zero-dependency offline learning loop.
2026-05-19
Git a6b69ed
Local Whisper plan transitioned to authenticated Cloudflare proxy boundaries for lower device memory footprint.
2026-05-31
Git tag v1.0.0
The repository recorded its first explicit application release tag with bundled 1,847 facilities management terms.
2026-06-05
Git tag v1.1.0
Global group leaderboard, progress sync, and accessibility UI refinements were validated and published.
2026-09-06
Phase 2 baseline f59332b
All storage boundaries, speech fallback mechanisms, and test invariants were audited and documented.
Truthful Engineering Claims
FM Dictionary