0.99.14: read-only source diagnostics for the series inspection (Beerus check)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m48s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m20s

Per-source codec, profile, resolution, audio and subtitle tracks, decoder verdict with reasons, completeness; safe labels
only, nothing sensitive logged. Scheduling untouched: all 30 booking fingerprints identical to 0.99.13.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-04 14:34:15 +00:00
co-authored by Claude Opus 5.5
parent f93f79823f
commit 0780e15dc2
10 changed files with 244 additions and 13 deletions
+50
View File
@@ -0,0 +1,50 @@
# Orbit TV 0.99.14: read-only source diagnostics (Beerus check)
Paul approved building this on 4 November 2026 at 14:27. Installing it needs its own approval. The change is diagnostics only: it extends the existing hand-triggered `orbit_inspect_series` log, and nothing else. Scheduling, playback, presentation, pools and bookings are unchanged.
## What's in it
- **`describeSource`** (SourceDiagnostics.kt) writes one log line per media source of each inspected episode:
- **Source:** its id and container.
- **Runtime.**
- **Video:** codec, profile, resolution and bit depth, and whether the box has a decoder.
- **Audio:** every track, with codec, language, channels, the default flag, and a no-decoder flag where the box has no decoder for that type.
- **English sound:** yes or no.
- **Subtitles:** every track, with format, language and the external, forced and default flags.
- **Verdict:** playable, or rejected with each reason. The verdict uses the same tests the scheduler applies when it reads a pool (`playableSource`):
- a directly played container;
- a usable source id;
- a video decoder on the box;
- a runtime in range;
- plus the box's own record of files that failed before.
- **Per series**, the inspection now adds:
- the number of playable episodes;
- the season 1 episode range;
- any missing episode numbers;
- each episode's id and location type (a file, or a placeholder).
- **`BoxDecoders.has`:** reads the box's decoder list, for the audio flags. It's information only; the app doesn't reject on sound.
- **Safe by construction:**
- only short labels made of letters, digits, `-` and `_`, sizes, counts and 2- or 3-letter language codes are written;
- no path, URL, token, track title or file name is logged;
- anything else becomes "unknown" or "und".
- As before, the hook runs only when started by hand with the intent extra, once.
- **Version:** 0.99.14 (versionCode 144).
## Checks before install
- **440 unit tests pass** (2 skipped: hand-run replays that need input files). Lint has no errors.
- **Four new tests in SourceDiagnosticsTest:**
- A playable source is described in full.
- Each rejection reason is given.
- The verdict matches what the scheduler accepts, on playable, wrong-container, unknown-runtime and no-decoder sources.
- Nothing sensitive reaches the line. The test feeds it paths, stream URLs, `api_key` values, track titles and hostile codec, language and profile values.
- **Booking fingerprints:** the four-week replay of all 30 channels on 0.99.14 is identical to 0.99.13 on every channel, committed and four weeks (docs/replays/replay-fingerprints-0.99.14.txt).
- **The Stage A Paradox replay** still passes.
## Use
With the TV idle, the box gets one launch with `--es orbit_inspect_series 'Dragon Ball Super: Beerus'`, quoting the whole `am start` command so the title isn't split. Both library copies are reported. Nothing is booked, added to Vortex, changed or transcoded.
## Rollback
Install 0.99.13. Nothing is saved by this change.
@@ -0,0 +1,62 @@
--- 0.99.13
101 committed=ceabf650e4810201 kept=true fourWeeks=e18874a80beb3a55 programmes=2177
102 committed=8c81144d3b36e833 kept=true fourWeeks=9709a1ca2f5535ea programmes=1322
103 committed=7ffea57b7e1cb472 kept=true fourWeeks=647399c086fdb2e4 programmes=1822
104 committed=e126e9ffa3955107 kept=true fourWeeks=c76da7a762869ce3 programmes=1735
105 committed=6cade544765d2ea1 kept=true fourWeeks=018a087fb33a0c60 programmes=2557
106 committed=0288c16eee5a2421 kept=true fourWeeks=9bd2fb23de4d7feb programmes=1150
107 committed=760efbb2924e4202 kept=true fourWeeks=f5647f529049aab8 programmes=1011
201 committed=8285c8e353c30297 kept=true fourWeeks=1432d42080236f60 programmes=962
202 committed=e5d035e62d63daab kept=true fourWeeks=f4e034a1c71ac493 programmes=1132
203 committed=eda55bfc0c2a0322 kept=true fourWeeks=92598db1029e57a1 programmes=1138
204 committed=34d70788b01a7f2b kept=true fourWeeks=7075e49beb136fdb programmes=1262
301 committed=c52f04f716ebb7e6 kept=true fourWeeks=be7f588cb8f45b0b programmes=362
302 committed=c8682948ae9da547 kept=true fourWeeks=b52216995141a77c programmes=442
303 committed=69f9f7a1b0a600f7 kept=true fourWeeks=b78067d5fe62f8d5 programmes=419
304 committed=00ffa5e31b47af35 kept=true fourWeeks=80a6083310a0a39f programmes=493
305 committed=20bcd7b52807a154 kept=true fourWeeks=560742628cc8bdf3 programmes=503
306 committed=8f0834ad01578303 kept=true fourWeeks=72af90f39e52b7ec programmes=492
307 committed=ad3946c4d730d332 kept=true fourWeeks=c148014574309a44 programmes=441
308 committed=5cd79b96711429dc kept=true fourWeeks=3a1336770d917f73 programmes=514
309 committed=4a0bd1974ae8edb3 kept=true fourWeeks=10c076d0783c3c78 programmes=498
401 committed=af07a051503088f4 kept=true fourWeeks=0afb306085ac669e programmes=880
601 committed=7b828830b81e9e13 kept=true fourWeeks=ea118968a94a8ba9 programmes=2203
602 committed=ae97602ec57c90a7 kept=true fourWeeks=5a0bcc83098512df programmes=2337
603 committed=8f07d376dc34ec46 kept=true fourWeeks=869d0c295e7e7995 programmes=2316
604 committed=67f6f095d1ec3ba8 kept=true fourWeeks=71fca98d5f2d0f6f programmes=3253
605 committed=63d770ea8815b616 kept=true fourWeeks=b337a4f18b1f2c35 programmes=4508
611 committed=57b262c3da28ad26 kept=true fourWeeks=40412f13bc54bd40 programmes=2754
612 committed=8a5ace31156c9d43 kept=true fourWeeks=1675c47b4acc635e programmes=579
613 committed=d6164e2905c0082f kept=true fourWeeks=db55ae486c4998d1 programmes=521
614 committed=5c0ab156234c7836 kept=true fourWeeks=4c6f6d2a686b66ba programmes=3844
--- 0.99.14
101 committed=ceabf650e4810201 kept=true fourWeeks=e18874a80beb3a55 programmes=2177
102 committed=8c81144d3b36e833 kept=true fourWeeks=9709a1ca2f5535ea programmes=1322
103 committed=7ffea57b7e1cb472 kept=true fourWeeks=647399c086fdb2e4 programmes=1822
104 committed=e126e9ffa3955107 kept=true fourWeeks=c76da7a762869ce3 programmes=1735
105 committed=6cade544765d2ea1 kept=true fourWeeks=018a087fb33a0c60 programmes=2557
106 committed=0288c16eee5a2421 kept=true fourWeeks=9bd2fb23de4d7feb programmes=1150
107 committed=760efbb2924e4202 kept=true fourWeeks=f5647f529049aab8 programmes=1011
201 committed=8285c8e353c30297 kept=true fourWeeks=1432d42080236f60 programmes=962
202 committed=e5d035e62d63daab kept=true fourWeeks=f4e034a1c71ac493 programmes=1132
203 committed=eda55bfc0c2a0322 kept=true fourWeeks=92598db1029e57a1 programmes=1138
204 committed=34d70788b01a7f2b kept=true fourWeeks=7075e49beb136fdb programmes=1262
301 committed=c52f04f716ebb7e6 kept=true fourWeeks=be7f588cb8f45b0b programmes=362
302 committed=c8682948ae9da547 kept=true fourWeeks=b52216995141a77c programmes=442
303 committed=69f9f7a1b0a600f7 kept=true fourWeeks=b78067d5fe62f8d5 programmes=419
304 committed=00ffa5e31b47af35 kept=true fourWeeks=80a6083310a0a39f programmes=493
305 committed=20bcd7b52807a154 kept=true fourWeeks=560742628cc8bdf3 programmes=503
306 committed=8f0834ad01578303 kept=true fourWeeks=72af90f39e52b7ec programmes=492
307 committed=ad3946c4d730d332 kept=true fourWeeks=c148014574309a44 programmes=441
308 committed=5cd79b96711429dc kept=true fourWeeks=3a1336770d917f73 programmes=514
309 committed=4a0bd1974ae8edb3 kept=true fourWeeks=10c076d0783c3c78 programmes=498
401 committed=af07a051503088f4 kept=true fourWeeks=0afb306085ac669e programmes=880
601 committed=7b828830b81e9e13 kept=true fourWeeks=ea118968a94a8ba9 programmes=2203
602 committed=ae97602ec57c90a7 kept=true fourWeeks=5a0bcc83098512df programmes=2337
603 committed=8f07d376dc34ec46 kept=true fourWeeks=869d0c295e7e7995 programmes=2316
604 committed=67f6f095d1ec3ba8 kept=true fourWeeks=71fca98d5f2d0f6f programmes=3253
605 committed=63d770ea8815b616 kept=true fourWeeks=b337a4f18b1f2c35 programmes=4508
611 committed=57b262c3da28ad26 kept=true fourWeeks=40412f13bc54bd40 programmes=2754
612 committed=8a5ace31156c9d43 kept=true fourWeeks=1675c47b4acc635e programmes=579
613 committed=d6164e2905c0082f kept=true fourWeeks=db55ae486c4998d1 programmes=521
614 committed=5c0ab156234c7836 kept=true fourWeeks=4c6f6d2a686b66ba programmes=3844