# Orbit Arcade Stage C: verification (8 November 2026) Branch `arcade-stage-c` from `release-0.108` (0.110.5, `84b28b6`), worktree `/home/pauljd/Documents/OrbitTV/orbit-arcade`. Version name and code are unchanged (0.110.5-own-issues, 280): this is a foundation for review, not a release. Nothing was pushed or installed, and no TV was touched. What changed and why: `docs/arcade-stage-c.md`. ## Checks The same Gradle run (`assembleDebug assembleRelease testDebugUnitTest lintDebug`, with orbit-tv's `.tooling`) was done on untouched `release-0.108` first, then on this branch. | | release-0.108 | arcade-stage-c | |---|---|---| | Build (debug and release) | passed | passed | | Kotlin unit tests | 723 run, 24 skipped, 0 failed | **772 run, 24 skipped, 0 failed** (49 new) | | BumbleHive tests (`tools/test-bumblehive.sh`, Node 24) | none | **23 passed, 0 failed** | | Lint | 0 errors, 77 warnings | **0 errors, 76 warnings** (one fewer: the Arcade logo is now used; no new warning types) | | Debug APK | 51,622,213 bytes | 51,885,071 bytes (**+262,858**) | | Release APK | 47,527,828 bytes | 47,646,299 bytes (**+118,471**, +0.25%) | The same 24 tests are skipped as before (the hand-run replays). ### New tests - `ArcadeStoreTest` (9): round trip with schema 1; top 10 best first; a left run still counts; moves, wins and solves only when finished; separate files per profile and nothing `.writing` left; missing, unreadable, schema-less and empty files start afresh without throwing (unreadable kept as `.unreadable`); partly damaged saves keep what they can; each reset clears only its part and records when; recent list; safe file names. - `HouseholdRecordsTest` (5): copy with source key and date; the old values only read; taken once and never rewritten (same bytes and modified time); an unreadable snapshot left alone; empty box; **a source scan proves no app code writes the old score keys any more**. - `ArcadeSessionTest` (8): first-run How to Play; Back pauses and never leaves mid-game; pause choices; result; reset flow with Cancel chosen first; the four actions separate; who may reset what (never someone else's, Kids included; BumbleHive levels only with profile saves on). - `ArcadeInputTest` (6): key map; held OK acts once, including a second "down" without a release; moves still repeat; focus loss forgets held keys; loop gating; pause only on going out of sight, not on starting behind a dialog. - `ArcadeAudioTest` (4): the ceiling matrix (quiet .4, Wind Down .25); nothing ever louder than the ceiling across every combination; mute, music, effects and the game's own switch. - `KidsArcadeTest` (7): grown-ups see all 13; Off / Kids-suitable / Chosen matrix (Blast Off and Skydoku hidden for Kids-suitable); older profiles keep their meaning; profile JSON round trip and pre-Stage C JSON; pick and recent follow the filter; the Family line says what Kids really sees. - `BestOnExitTest` (4): each wrapped game from a real mid-game state to its save on Leave (Comet Trail, Star Chase, Brick Break, Block Drop, Blast Off keep their points; Pairs, Patience, Skydoku count only when finished); a run is reported once. - `ArcadeWordsTest` (6): score wording, nameless Household lines, "Played" labels, top 3, reset wording, settings starting from the old box-wide choice. - `hive-save.test.js` (11): **the migration test plan**: flag off writes nothing new; flag on offers without touching; copy equals the household save; the household save's SHA-256 is unchanged after every operation; copy idempotent; start fresh; fallback when the copy is deleted; corrupt, empty and partial input; no household save; a profile's level reset clears only its own save, once; odd profile ids; failing storage never throws. - `hive-game.test.js` (12): the real `game.js`, headless: title and safe area (info line at y 672 of 720, limit 684); pause menu with How to Play returning to pause; run start, score and end reports, including leaving and restarting; a lost level reported finished; Daily Bonus with Not today keeping the spin; Reduce motion (wheel stops at once, no shake); sound ceiling (0.02 → 0.008 at 0.4, silent at 0); hidden stops frames and pauses; focus ring yellow over navy; flag off uses the old save only; flag on offers, copies and never touches the old save; runs with no bridge. ## Not checked - **No emulator or AVD on this PC**, so no instrumented test ran and **no screen of the new Arcade has been seen running**. The home, pages, dialogs and remote focus order are checked only by the compiler and against the frames. - Nothing ran on the Xiaomi: no frame times, memory or sound levels. Proposed commands for Paul are below. ## Proposed Xiaomi baseline (for Paul to approve; not run) Read-only `dumpsys` captures while Paul drives the remote; nothing is installed or pressed by adb. To be run on this build once installed and, for comparison, on 0.110.5. ```bash ADB=/opt/android-sdk/platform-tools/adb; D=192.168.0.252:5555; P=tv.orbit.classic; OUT=~/Documents/OrbitTV/audits/arcade-baseline-$(date +%Y%m%d-%H%M); mkdir -p "$OUT" $ADB connect $D # Each point: reset frame stats, Paul uses the screen for about 60 s (5 min for the late level), then capture. snap() { $ADB -s $D shell dumpsys meminfo $P > "$OUT/$1-meminfo.txt"; $ADB -s $D shell "dumpsys meminfo | grep -iE 'orbit|webview|sandboxed'" > "$OUT/$1-processes.txt"; $ADB -s $D shell dumpsys gfxinfo $P framestats > "$OUT/$1-gfxinfo.txt"; } $ADB -s $D shell dumpsys gfxinfo $P reset; snap 0-before-arcade # Orbit Home, before opening the Arcade $ADB -s $D shell dumpsys gfxinfo $P reset; snap 1-hive-title # BumbleHive title $ADB -s $D shell dumpsys gfxinfo $P reset; snap 2-hive-level1 # playing level 1 $ADB -s $D shell dumpsys gfxinfo $P reset; snap 3-hive-late-5min # 5 minutes at the latest unlocked level $ADB -s $D shell dumpsys gfxinfo $P reset; snap 4-after-exit # back on Orbit Home, 30 s after leaving the Arcade ```