Commit Graph
13 Commits
Author SHA1 Message Date
pauljdandClaude Opus 5.5 5c8a33ffb1 Playtest build: a separate app with an adb-only file player for AVI and frame-rate tests
tv.orbit.classic.playtest has its own data and Orbit's own screens switched off,
so it can't reach the household's schedules, Taste or Continue watching. It plays
only the ten approved clips (checked by SHA-256) through Orbit's own player set-up,
container rule and frame-rate matcher, with each switch set per run. Each run
covers seeking, reopening (recovery), one retry on error, and the no-decoder case.
verify.sh now fails if the hook ever reaches the release APK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:31:50 +00:00
pauljdandClaude Opus 5.5 9bcbe768d6 install-tv.sh: dry-run mode, and the playing check now works (it found no app id before)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:23:01 +00:00
pauljdandClaude Opus 5.5 93c53bad58 tools: taste-report.py, Taste Stage 1 findings from install snapshots (read-only)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:09:20 +00:00
pauljdandClaude Opus 5.5 b92fe53237 Silo test server: pinned isolated container, made-up media, live contract test
All 12 contract checks run against a real Silo (build-2072). 11 pass; pictures fail
because Silo redirects image requests, which Orbit never follows. Recorded as the
first need of a Silo adapter, with the identity question. The live test is skipped
unless a Silo server is set, so the release gate is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:00:51 +00:00
pauljdandClaude Opus 5.5 c893318528 tools: install-tv.sh, the backup/install/compare/rollback routine as one command
The snapshot comparison moves into compare_snapshots.py with offline tests,
run by verify.sh. It agrees with today's two hand-checked installs.
It refuses to install while Orbit is playing, and keeps the last three backups per room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:52:06 +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
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 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 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 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 a03a5b10d6 Cutover script: quote shell lines run on the box
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m49s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m29s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-04 13:05:57 +00:00
pauljdandClaude Opus 5.5 208cd5f5ce Cutover script: dry run (snapshot, checksums, restore rehearsal, computation) and execution only with Paul's go
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m46s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m31s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-04 12:59:45 +00:00