Commit Graph
364 Commits
Author SHA1 Message Date
pauljdandClaude Opus 5.5 88cc20e27f Classics family pass (0.111.0, versionCode 301): Back by context, family title/play/result, bug fixes, backdrop collection
- Back undoes what's in hand first (Patience's held card, Blast Off's tray), otherwise pauses; one rule, backStep/gameKeys
- All eight Classics on the shared title, play frame, pause and result, in ArcadeColours and Anton, with KeyFooter keys
- Patience controls fixed: Up to the top row, OK twice sends home, refused moves say so, distinct held/pointer, bigger cards
- Star Chase maze with no lone walls or dead ends, solid walls, bigger stars; Comet Trail turn queue; paddle slide,
  held-Up spin, Zip-while-paused and Skydoku's main-thread puzzle making fixed
- Eight code-drawn backdrops, one per Classic by default or one chosen for all; old choices carried over
- Difficulty paces the four clock games (Normal unchanged); scores, Household keys and Skydoku's count untouched

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 02:01:55 +00:00
pauljdandClaude Opus 5.5 7658d2b9c7 Combined build 0.110.17-chaos-smartsetup (versionCode 300): the centred ident
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 01:10:15 +00:00
pauljd 2b31ef88b4 Combined build: the centred ident (from arcade-channel-chaos) 2026-11-09 01:07:48 +00:00
pauljdandClaude Opus 5.5 4587e94877 Channel Chaos: the Orbit ident centred on the pad, and the symbols on their pucks
Paul: 'logo isn't center on the mat'. Orbit's logo image has a wide clear
margin on its right (the drawing is x 24-432 of 640), so centring the image
put the logo 92 px left of the chute's pad. The ident now finds the drawing's
own bounds once and centres those. The channel symbols lose the design's
small downward nudge, so they sit exactly on their pucks. Layout test: the
logo's centre on the pad within 1 px at 1080p and 720p.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 01:07:48 +00:00
pauljdandClaude Opus 5.5 01e6c93f1b Combined build 0.110.16-chaos-smartsetup (versionCode 299): Channel Chaos with the smart setup rotation fix
Merges smartsetup-rotation-fix (2df65c0) into arcade-channel-chaos (8c5c377).
The only conflict was the version line. 983 tests, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 00:54:54 +00:00
pauljdandClaude Opus 5.5 2df65c098c Smart setup: the evening rotation from the plan's own time, balanced by running time (0.110.15-smartsetup, versionCode 298)
The weekly evening and late rotation read the real clock (rotationWeek() in
programmingOf), so plans depended on the day they were made, and
SmartSetupRegressionTest failed from Monday 9 November. And the weekly sets
were split by count, so one of Orbit Sakura's weeks was ten short films:
30 repeats from day 2.5 (from 16 November), against 15 from day 6.

Shaped channels now hand the planner the whole rotating list; topUpPlan
resolves it (resolveRotations) from its own time, balancing the sets by
the pool's running times (rotationSet), deterministically. Every Sakura
week is now 15-17 repeats, none before day 6. Committed plans untouched.

New tests plan every rotation week for both fixture channels; the
regression limit is 18 a week (original run: 34). Docs:
docs/smartsetup-rotation-fix.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 00:52:45 +00:00
pauljdandClaude Opus 5.5 8c5c377988 Channel Chaos: playable prototype (0.110.14-chaos, versionCode 297)
The Channel Chaos card is now a game, from Stage B frames 30-33 and Paul's
notes: send each signal from the chute to its screen (Orbit 1 cyan star,
Riot pink bolt, Terra green leaf, Tots amber sun), OK bins static, three
jammed screens end the run. One new thing a stage (static, power-ups,
Drift's muddled signals), no timer for Gentle's first two stages, Blaze's
bonus round every third stage, Bumble repairing a jammed screen after it.
Between rounds the screens tune in with a little Orbit ident and 'And we're
back on air!', then a cast interruption that waits for OK (Paul's two lines
as written). Cast drawn from the cast library, unchanged. Shared pause, How
to Play, result, Reduce motion and flashing, per-profile saves, Kids-suitable.

15 new tests incl. a bot on each difficulty and 0 bytes a frame. One planner
test (SmartSetupRegressionTest) fails since midnight on the base commit too:
date-dependent, unrelated. Docs: docs/channel-chaos-prototype.md and its
VERIFICATION. Not installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 00:44:52 +00:00
pauljdandClaude Opus 5.5 585ac726ee Story: Orbi-Fax pages stay until OK; the Mode button reads in full (0.110.13-story-p1000, versionCode 296)
From Paul's first play: the wave 5 teaser went by too quickly, and the Mode
button showed 'S...' and a book glyph. Both Orbi-Fax pages now wait for OK
(the game waits too): OK while typing shows the rest, then a gentle
'OK > CONTINUE' at the foot of the page (steady with Reduce flashing or
Reduce motion). The button says MODE: STORY or MODE: ENDLESS, words only,
with where Story starts shown beside the best scores. A new test checks
both titles' button words fit (BumbleHive in Barlow, Orbi-Raiders at font
scale 1.3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 23:39:24 +00:00
pauljdandClaude Opus 5.5 835dea5cf8 Test: page 1000 against the Arcade's real save (from the p1000 merge check, 8916580)
Unlocks only for a saved storyComplete=true; locked for a false flag, an
unreadable file, no file, and before ArcadeProgress is set up. Test only:
the app is unchanged from the installed 0.110.12-story-p1000.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 23:28:39 +00:00
pauljdandClaude Opus 5.5 c74c1a763a Combined build 0.110.12-story-p1000 (versionCode 295): Story mode with Orbi-Fax page 1000
Merges orbi-fax-p1000 (ca8e080) into raiders-story (2d5dc54). The one
conflict was ArcadeProgress.kt: the Arcade's real one replaces Orbi-Fax's
stub, so page 1000 opens only for a profile whose Orbi-Raiders Story is
complete. Page 999 is unchanged. New test: the unlock end to end from the
Arcade's save, per profile, closed again by Reset level progress, and page
999 identical with and without the secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 23:25:46 +00:00
pauljdandClaude Opus 5.5 2d5dc54cef Orbi-Raiders Story mode prototype (0.110.11-story, versionCode 294)
Story (20 waves, four bosses, a checkpoint after each, per profile and
difficulty) or Endless on the title; Endless brings back the bosses met in
Story. New bosses: the Rogue Satellite Array, the Corrupt Pixel Queen (who
splits) and the wizard of page 999 from Orbi-Fax (his art exactly, through
Orbi-Fax's own renderer) with five telegraphed phases. Orbi-Fax pages: Paul's
teaser after the Dead Channel and page 999 before the last wave; Reduce
motion shows them whole. The wizard dusts himself off at the end. Finishing
Story saves storyComplete with its date in one write, read by
tv.orbit.classic.ArcadeProgress.isStoryComplete (replaces the Orbi-Fax
branch's stub).

18 new tests incl. a bot through Story on each difficulty and 0 bytes
allocated over 10,000 ticks. Docs: docs/orbi-raiders-story.md and its
VERIFICATION. Testing only: not installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 23:21:06 +00:00
pauljdandClaude Opus 5.5 ca8e080ed6 Orbi-Fax: secret page 1000, open only after Orbi-Raiders Story mode
Page 1000 shows Paul's exact text:
"CONGRATULATIONS, YOUNG TRAVELLER. / YOU HAVE REACHED THE END OF TELETEXT. /
THERE IS NOTHING HERE. / PLEASE GO OUTSIDE."
It types out as 999 does (all at once with Reduce motion), and Back returns
to the page before.

- It opens only for a profile whose own Arcade save says Story mode is
  complete, read through StoryProgress -> ArcadeProgress.isStoryComplete.
- ArcadeProgress is a stub returning false until the Arcade's own lands.
- Orbi-Fax never writes Arcade data. No profile, a Kids profile without the
  Arcade, or any failure reading the save means locked.
- Locked, there's no trace: three-digit picker and keys, no index entry,
  999 unchanged.
- Unlocked, the picker gains a fourth digit and the keys can reach 1000.
- Adds 8 tests, the P1000 concept preview, and the generator writing
  four-digit page numbers in the header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 23:14:57 +00:00
pauljdandClaude Opus 5.5 2fd550f81e 0.110.10-household (versionCode 293): BumbleHive Household save from another TV, Skydoku's old count per profile
Upstairs never had a WebView BumbleHive save (Orbit was installed there fresh
on 6 November and cleared that day), so its import found nothing. A checked
install action, hive-household (adb only, confirm HOUSEHOLD, SHA-256), puts a
copy of another TV's read-only snapshot in its place: only over a missing or
'nothing there' snapshot, never over a real save or an unreadable one, the
save's text kept exactly and its source recorded. Each profile is then asked
'Carry on from this TV's hive?' themselves.

Skydoku's solved count looked lost: since the Arcade went per profile each
profile starts at 0 and the TV's old count shows only as a Household Record.
The first time a profile opens Skydoku its count becomes the better of its
own and the TV's old one, once, never lower.

8 new tests for the copy's refuse cases and the Skydoku carry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:50:03 +00:00
pauljdandClaude Opus 5.5 f7d16eb1f7 Combined build 0.110.9 (versionCode 292): Arcade to 582c08e, Orbi-Fax stage 1, provider steps 1-3 (catalogue switch off)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:32:12 +00:00
pauljd a1295a8a65 Merge branch 'provider-contract' into integration-0.110.9
# Conflicts:
#	android/app/build.gradle.kts
2026-11-08 22:32:03 +00:00
pauljd 47093b2b21 Merge branch 'orbi-fax-stage1' into integration-0.110.9
# Conflicts:
#	android/app/build.gradle.kts
2026-11-08 22:31:59 +00:00
pauljdandClaude Opus 5.5 582c08ed93 Back pauses Orbi-Raiders and BumbleHive on the TV (0.110.8-arcade1, versionCode 291)
Found on the downstairs TV: Back during Orbi-Raiders didn't pause. On Android
TV, Compose spends a Back moving focus out of whatever has it, so a
BackHandler alone never heard it. The games' own key handlers now catch Back
(once per press): it pauses in play, and on the titles, the result cards and
BumbleHive's menus does what it did before. The pause menu (its own window)
is unchanged. Tests for the key and for Back on every BumbleHive screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:29:25 +00:00
pauljdandClaude Opus 5.5 4bfb568989 Install build 0.110.7-arcade1 (versionCode 290): Orbi-Raiders and native BumbleHive
The install snapshot also copies the Arcade saves and the WebView's
localStorage folder (copies only), so the install can show the old BumbleHive
save and every profile's scores came through untouched. The rollback copy
accepts a version with a short suffix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:15:49 +00:00
pauljdandClaude Opus 5.5 ae62a0750f Provider contract step 3: catalogue import through the contract behind a switch (off), read-only shadow comparison (0.110.6)
- ProviderSwitches.catalogue, off by default, set only from adb; today's import stays the fallback and is unchanged
  when the switch is off. The import loop gains a fetch parameter whose default is today's reader.
- CatalogueItem carries every field today's import stores, and Page a cursor (rows read, including skipped ones), so
  the contract path writes byte-identical catalogue records, positions and totals.
- CatalogueShadow: reads the same pages both ways, compares ids, every field, paging and totals, records time, heap
  and errors, never writes the catalogue; keeps sanitised copies of the first raw pages as fixtures.
- MainActivity reads adb requests in onNewIntent too, since Orbit is singleTask.

772 tests (one PhoneLink port flake on a first run, passed on re-run), lint clean, replay tests unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:47:40 +00:00
pauljdandClaude Opus 5.5 9ea20b5a2a BumbleHive: Hard mode gets its own High Scores table
Paul chose a separate list. Hard runs are saved only under their own record
(HiveHard) in the profile's Arcade file; Normal's stay under Hive exactly as
before, so the "· Hard" marker is gone. High Scores shows a Normal / HARD
switch on BumbleHive's row (Left/Right), and the Top 10 says which table it
is. Clear high scores for BumbleHive clears both. Kids filtering and
per-profile storage are unchanged.

5 new tests (tables never mix, Normal's data untouched, files from before).
853 run, 24 skipped, 0 failed; Node 28 passed; lint unchanged; release APK
unchanged in size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:45:28 +00:00
pauljdandClaude Opus 5.5 38986efda9 BumbleHive: native Kotlin game, Hard mode, one-time save carry-over
BumbleHive is rebuilt natively (arcade/hive), drawn on a Compose Canvas and
playing exactly as assets/orbithive/game.js did: the 200 levels, shooting,
bounces, landing, bursts and falls, swaps, Honeybombs, the ceiling timer,
scoring and stars, weighted aim, level pages, help and settings, Bumble's
Daily Bonus, both skins, the bee and flowers, the same beeps as tones and the
Barlow font. It uses the Arcade's pause menu, How to Play, result card,
Reduce motion, quiet ceiling and per-profile saves. The WebView game path and
ArcadeFlags.hiveProfileSaves are gone; assets/orbithive stays for the import
and a safe rollback.

Parity with game.js run under Node: 200/200 levels, 469/469 scripted
landings and 26/26 shot paths identical.

The old WebView save (localStorage orbithive-save-v1) is read once by a
hidden WebView on the same URL and kept as a read-only Household save any
profile can continue from as a copy; the key and the WebView data are never
written. Hard mode (on the title): ceiling x0.6 (min 5 s), 3 swaps, colours
every 10 levels, its own save.

33 Kotlin and 5 Node tests; 0 bytes allocated per frame in steady play.
Docs: docs/bumblehive-native.md, docs/VERIFICATION-bumblehive-native.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:29:33 +00:00
pauljdandClaude Opus 5.5 760c957818 Orbi-Raiders: power-ups as on the Stage B sheet
Paul decided the approved power-up sheet wins over the brief: Turbo Tuner
lasts 10 s, Double Broadcast 12 s, and the Guide Bomb clears one row (the
lowest occupied row of the grid, divers included, a Corrupt Pixel doesn't
split; the Dead Channel and its sprites are immune). Tests and the prototype
doc updated (43 Raiders tests pass).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:31:40 +00:00
pauljdandClaude Opus 5.5 03cc53c94f Orbi-Raiders: playable prototype (Arcade Stage D)
The Orbi-Raiders card is now a game: pilot select (Ollie, Blaze, Luna, Zip,
each with an Overdrive), waves of Static Sprites, Signal Gremlins, Corrupt
Pixels, Rogue Satellites and Void Broadcasts, The Dead Channel every fifth
wave, six power-ups (one timed at a time), combo scoring, the shared pause
and How to Play, and a result card. Every run is saved per profile however
it ends. Kids-suitable; Kids start on Gentle.

Pure, seeded, pooled simulation on a fixed 60 Hz step (0 bytes allocated
over 10,000 ticks), drawn in code on the Canvas with cached paths and the
cast library's faces. Arcade Settings gains Difficulty, Auto-fire and
Reduce flashing (on by default); ArcadeAudio can pause every cue.

42 new unit tests including pilot balance, determinism and allocation.
Docs: docs/orbi-raiders-prototype.md, docs/VERIFICATION-orbi-raiders.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:28:29 +00:00
pauljdandClaude Opus 5.5 cdc362967c Orbit Arcade Stage C: 0.110.5-arcade-stage-c (versionCode 281) for the downstairs trial install
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:33:18 +00:00
pauljdandClaude Opus 5.5 07dd4b62a2 Orbit Arcade Stage C: review fixes and verification
- Back on an Arcade page returns to Play Games; on Play Games it goes back to Orbit.
- A game opening while How to Play is still closing isn't paused at once; only
  going out of sight pauses.
- Lint: remember no longer returns Unit; the repo singleton's application
  context is marked as intended.
- docs/arcade-stage-c.md and docs/VERIFICATION-arcade-stage-c.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:20:16 +00:00
pauljdandClaude Opus 5.5 11a9a57687 BumbleHive in the Arcade: bridge, lifecycle, How to Play, Daily Bonus, saves behind a flag
No change to its play or its 200 levels.
- Reads who's playing and their settings from the Arcade (Reduce motion: no shake
  or bobbing, and the daily wheel stops on its result; sound under the Arcade's
  ceiling) and reports each level's start, score and end.
- Stops its frame loop and suspends sound while Orbit is out of sight.
- How to Play in its pause menu; Orbit's yellow focus ring with a thin navy edge;
  the title's Honeybombs line moved inside the TV-safe area.
- Daily Prize is now Bumble's Daily Bonus, with Not today beside Spin.
- hive-save.js: per-profile saves (orbithive-save-v1:<profileId>) with the old
  save offered as a copy, behind ArcadeFlags.hiveProfileSaves, OFF by default.
  The old save is only ever read on that path.
- Node tests: the migration plan (copy equality, old save unchanged by hash,
  corrupt/empty/partial input, idempotence, fallback when the copy is deleted)
  and game.js run headless; tools/test-bumblehive.sh runs them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:12:49 +00:00
pauljdandClaude Opus 5.5 a0f35f92c8 Orbi-Fax: simpler controls, key hints in the margin, smoother reading and drawing
After the first downstairs trial (Paul: "a lil confused with controls"; hints "on the side
if they aren't for navigation"):
- Up/Down move a highlight between the page's links, OK opens it.
- Left/Right turn sub-pages, then pages.
- Go to page (and the blue key) opens the digit picker in one press.
- Back always returns to the TV or the guide.
- Key hints sit in the right-hand margin.
- Records are read on one low-priority thread a channel at a time, now and next first.
- Only the clock row is redrawn each second.
- Each page shown is logged for measuring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:09:27 +00:00
pauljdandClaude Opus 5.5 fa880478e1 Orbit Arcade Stage C: unit tests for the foundation
Store (round trip, top 10, corrupt and missing files, resets, file names),
Household Records (copy, never rewritten, old keys untouched), session and
reset state machines, input repeat guard, audio ceiling, Kids filter matrix,
and best-on-exit for each wrapped game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:08:45 +00:00
pauljdandClaude Opus 5.5 bdb0bcf0c0 Orbit Arcade Stage C: shared foundation, per-profile saves and the new Arcade home
- ArcadeStore: per-profile JSON (filesDir/arcade/<profileId>.json, schema 1) written
  through SafeWrite; top 10 runs per game, level progress, unlocks, settings,
  first-run flag and reset times. Missing or unreadable files start afresh.
- Household Records: one read-only snapshot of the old box-wide scores, never
  rewritten and linked to no profile. The old keys are only read.
- ArcadeGame registry (5 Orbit Originals, 8 Classics), ArcadeSession and Reset
  state machines, ArcadeInput (key map, OK hold-repeat guard), ArcadeAudio (one
  SoundPool + one MediaPlayer under Orbit Quiet / night-quiet / Wind Down),
  ArcadeGameLoop gated by pause, lifecycle and window focus.
- The eight Kotlin games wrapped with gameplay unchanged: every run is saved when
  it ends, including Leave; Block Drop and Blast Off ignore a held OK; Pairs and
  Patience get the shared pause; Reduce motion honoured by the Comet Trail
  crossfade and the Pairs flip.
- Arcade home, High Scores, How to Play, Arcade Settings and Reset Progress from
  the Stage B frames; Kids see only the games allowed for them.
- Family: Arcade for Kids (Off / Kids-suitable / Chosen games, behind the PIN),
  replacing the misleading "the games chosen for Kids" line.
- BumbleHive host: lifecycle pause/resume and a small bridge for profile,
  settings and runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:08:44 +00:00
pauljdandClaude Opus 5.5 736bd3e297 Orbi-Fax trial build name on 0.110.5 (versionCode unchanged, so 0.110.5 reinstalls over it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:33:32 +00:00
pauljdandClaude Opus 5.5 f1729e7bd6 Orbi-Fax Stage 1: Orbit's own teletext, offline (branch only, not installed)
Channel 000 and a Text entry in the TV guide open Orbi-Fax, a 40x25 teletext
page in the eight teletext colours with 2x3 mosaics and double height, drawn
from fixed buffers with no per-frame allocation.

- Pages: 100 index, 500 now and next, 501 listings, 510 highlights,
  520 Drive-In, 600 library arrivals, 700 Arcade records (today's single
  best per game), 999 the wizard. News, sport, weather and House and Rooms
  show as coming later.
- Navigation: number keys, a D-pad digit picker, Up/Down pages,
  Left/Right sub-pages, the Fastext row by OK or the colour keys. Back
  returns to the TV.
- Kids profiles see only their channels, never After Dark, the late show
  or the library page, and the Drive-In and Arcade only when allowed.
  Reduce motion stops the carousel and the typing warning. Orbi-Fax is
  silent.
- Concept previews, NOTES and the art exporter are in design/orbi-fax.
  The measurement plan for the Xiaomi TV is in docs/orbi-fax-stage1.md.
- 19 new unit tests. Release build, all 756 tests and lint pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:33:25 +00:00
pauljdandClaude Opus 5.5 3da2159429 Provider contract step 2: Emby and Jellyfin adapter, not wired in
EmbyProvider wraps today's readers and the session (catalogue page, whole series, collections, evidence, PlaybackInfo,
progress) instead of rewriting them; only specials and picture sizes are read in the adapter. No existing file changed.
Library id is the server's own id. Progress can be turned off. Failures map to the five contract kinds with fixed
messages (no server text, address or token).

Tests: Emby and Jellyfin both pass the 12 contract checks against a fixture library shaped like real replies; parity
tests show the adapter returns exactly what today's catalogue import and whole-series read produce. The contract caught
one real gap on the way (a 404 read as an unreadable reply), fixed in the adapter. 766 tests, lint clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:30:02 +00:00
pauljdandClaude Opus 5.5 a719f68b19 Provider contract step 1: MediaProvider interface, shared contract tests, release gate
Paul approved the seven-operation contract (8 November 2026). This step adds it alongside today's Emby session, which
the app still uses unchanged: nothing calls MediaProvider yet, so no behaviour, stored id, schedule, database or
signing changes.

- MediaProvider.kt: the contract, LibraryId (server's own id, never its address), MediaRef for anything leaving its
  library, five ProviderError kinds, PlaybackPlan whose loggable form leaves out credentials, local file ids from a
  128-bit SHA-256 prefix.
- MediaProviderContract: twelve shared checks every adapter must pass; a reference provider passes them all, and
  ContractCatchesFlawsTest shows each check fails on the flaw it guards against.
- tools/verify.sh: the release gate (build, all tests, lint, contract suite present); .gitea/workflows/ci.yml runs it
  on every push where a runner exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:19:14 +00:00
pauljdandClaude Opus 5.5 84b28b6f34 Orbit TV Times: every TV starts at Issue 1 (0.110.5)
Issues count from each TV's own first edition (kept in times-first; for a TV with editions already, the oldest one),
so a household starting later begins at Issue 1. The page says 'Week of' the edition's first day, so a first edition
made mid-week reads right. Existing editions keep their numbers (these TVs stay on Issue 1 this week).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:57:58 +00:00
pauljdandClaude Opus 5.5 0d3a9714d4 Orbit TV Times: the Sunday edition (0.110.4)
Each week's issue is made the first time it's opened from Sunday on, numbered (issue 1 = week of 8 November 2026) and
kept for the week, so it reads like a printed magazine; it opens at today's page. One edition per profile, and a
separate one while the After Dark lock is on. Saved safely beside the schedules; the last five weeks are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:39:48 +00:00
pauljdandClaude Opus 5.5 a151db4d64 Orbit TV Times: library descriptions, more room, masthead fits phones (0.110.3)
Paul, 8 November 2026: the stock reasons ('An evening film on a film channel') are replaced by each programme's own
words from the library: a short tagline, else the synopsis's first sentence, with a film's two leads (one request
per edition for new items, cached). Each listing is its own card with more space; the masthead's titles have a fixed
width so a phone's serif can't push 'TV Times' off the edge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:43:41 +00:00
pauljdandClaude Opus 5.5 a904f5c60d Phones stay joined: Lax cookie and a kept token to put it back (0.110.2)
Paul, 8 November 2026: the phone kept asking to join again on the same Wi-Fi. The TV never forgot it (two joins
today); the phone arrived without its cookie. SameSite=Strict cookies are withheld when the page is opened from
another app (a home-screen shortcut, the camera), so the cookie is now Lax; changes still need X-Orbit and an address
as Host. The phone also keeps the token (handed over in the #fragment, never sent to the network again) and the join
page quietly puts the cookie back via POST /rejoin; wrong tokens count as strikes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:33:03 +00:00
pauljdandClaude Opus 5.5 fe7cc6c5b4 Bring back the four features on top of fixes B and C (0.110.1)
Paul, 8 November 2026: continue with the approved features. Coming up next, phone reminders, Continue watching on
Home and Orbit TV Times, as built earlier (backlog/features-0.110), now over profiling fixes B and C.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:16:22 +00:00
pauljdandClaude Opus 5.5 4300800cf6 Profiling fix C: Tonight's Pick card painted once (0.108.114)
The panel, picture and navy fade are combined into one bitmap at the card's size off the drawing thread, so the
graphics chip paints one layer instead of three. Measured downstairs (8 November 2026): What's On 20.1/20.9 ->
17.1/17.1 ms a frame median, drawing thread 16.6 -> 12.7 ms, janky frames 7/8 -> 5/8. Builds 0.108.110-112 were
measurement builds (fix A attempt and its baseline); fix A is parked on perf/fix-a-attempt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:13:36 +00:00
pauljdandClaude Opus 5.5 869f147cdd Profiling fix B: Catch Up cards decode their pictures at card size
Cards drew 1280-pixel pictures (about 3.7 MB each) at about 400 pixels; now decoded at 640 (inSampleSize 2).
Measured downstairs (8 November 2026, same key presses): Catch Up drawing thread 24.5/23.3 -> 22.3/21.3 ms median;
whole-frame time about the same (31/28 -> 30/30 ms).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:13:36 +00:00
pauljdandClaude Opus 5.5 a1cfc7c265 Hold back the four features (backlog/features-0.110) while performance comes first
Paul, 8 November 2026: performance and stability first; Coming up next, phone reminders, Continue watching on Home
and Orbit TV Times stay in the backlog, kept whole on branch backlog/features-0.110. Never installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:16:46 +00:00
pauljdandClaude Opus 5.5 cd1b122ac8 Coming up next, phone reminders, Continue watching on Home, Orbit TV Times (0.110.0)
- Coming up next: a small corner card for ten seconds, three minutes before a programme ends, before the squeeze-back
  and ident; never names a grown-up takeover on Kids. Settings > Coming up next (on by default; travels with Look).
- Reminders from the phone's guide: Remind me on the next programme, the same reminders the TV guide and What's On use;
  /api/remind only for a programme still to come on a channel this TV shows.
- Home: a Continue watching list (three, words only) under the categories; OK carries on where it was left.
- Orbit TV Times: /times on the phone, a listings magazine of the week from the real plans (pick of the day, the
  evening's highlights and films, the Drive-In), day by day, printable to A4; masthead in design/times (VectorCraft).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:15:16 +00:00
pauljdandClaude Opus 5.5 6dec924a83 Restore sends one zip, after a rehearsal on the TV found adb can't make folders there (0.108.109)
Rehearsal downstairs (8 November 2026): Android 14 lets adb put files only in a folder Orbit made, so 'prepare-restore'
makes install-restore/ and the PC sends restore.zip; the receiver unpacks only restore.txt and snapshot names (zip-slip
refused) and removes the pushed copy afterwards. The script restarts Orbit even if a step fails. Rehearsed end to end:
snapshot, restore of all 278 files, snapshot again: identical (the sign-in file is re-saved on every launch anyway).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:41:32 +00:00
pauljdandClaude Opus 5.5 1b77e18adf Restore a pulled snapshot onto a TV (0.108.108)
Audit U12: Android 14 refuses to install an older Orbit, so until now a bad install could only be fixed forward.
The adb-only receiver (DUMP permission) gains 'restore': only with confirm RESTORE, only while Orbit's screen isn't
open, only the files a snapshot takes (schedules, settings and profiles prefs; never the catalogue, sign-in or PIN),
every file checked against restore.txt before anything changes, the current data kept aside as before-restore-<time>
(last two), and schedules swapped in by rename. tools/restore-tv.sh drives it from the PC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:30:47 +00:00
pauljdandClaude Opus 5.5 0df92c6d02 Safe saves: a power cut can't leave a half-written file (0.108.107)
Audit A5. One helper, writeSafely, writes beside the file, flushes it to disk and swaps it in with one atomic move;
a failure leaves the old contents. Now used for Continue watching, Chair learning, event ideas and their history,
the event-idea day file, the Director report cache, Unplayable, evidence state, Taste state, and Rooms sync and
one-time copy merges. No file formats change. Schedules and bookings were already saved this way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:17:28 +00:00
pauljdandClaude Opus 5.5 4d6ea7008d Kids gate on the phone's Create: no browsing or searching the library while Kids watches (0.108.106)
Audit S8. Past the remote routes, every phone API is Create's, so one check refuses all of it while a Kids profile is
watching: search, suggestions, shows, facets, collections, browse, channel lists, brands, unplayable, arrivals, Taste
and watch. The remote (now, guide, Catch Up, tune) is unchanged; /api/watch already refused hidden channels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:04:08 +00:00
pauljdandClaude Opus 5.5 eb3fb7cef2 One wrong-PIN limit for every PIN entry (0.108.105)
Audit S3. AfterDarkLock.check now carries the limit, so the TV unlock, profile switch, PIN change, room approval,
phone joining and the phone's profile switch all share it: five wrong PINs, then a one-minute wait that doubles with
each further miss up to 30 minutes; no PIN is checked during the wait; the right PIN clears it. The count survives
restarts; the PIN itself is never stored. Screens say how long to wait.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:21:10 +00:00
pauljdandClaude Opus 5.5 f678d3f986 One Orbit at a time, quieter late idents, Back to now, guide reminders, sound credits (0.108.104)
MainActivity is singleTask: a second stacked copy's idle sampler kept ending what the visible one was watching, so
Taste saw every visit as brief at 0 ms and never a long stay (confirmed on the downstairs box: two MainActivity records).
Ident sound plays softly 11pm to 7am unless turned off. Back in the guide returns to now on the tuned channel first.
OK on a later programme in the guide sets or removes its reminder; the phone remote shows a due reminder.
Settings credits the Pixabay creators of the ident samples.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:12:06 +00:00
pauljdandClaude Opus 5.5 7044ca2189 Riot, Paradox and Ring X samples; Heroes strings up front (0.108.104)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:01:55 +00:00
pauljdandClaude Opus 5.5 5a49901826 Heroes, Vortex and After Dark idents with Paul's samples (0.108.104)
Strings under the Heroes fanfare; Vortex is the portal whoosh and a synth rise that drops away as the logo lands;
rain and distant thunder over After Dark. Mastered to the delivery standard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:55:39 +00:00