~ knotless Search/
↑↓ move↵ open⇧↵ all results

geesawra.industries/hydraulophone

An unofficial YouTube Music app for iPhone, iPad, and Mac.

0
0
main
83 lines · 4.9 KB Raw History
# Overnight work — 2026-09-24

Owner is asleep. **Simulator only. Do not deploy, relaunch, or use the phone.**
No questions, reminders or follow-up notifications. Formal tests remain paused;
briefs are on disk. Use `just test` when tests are authorized again.

## Implemented

- Metrolist/InnerTubeX-informed authenticated High prewarm and coalesced script,
  solver and proof preparation. Anonymous public JavaScript HTTP disk caching
  survives restarts and respects freshness/revalidation; credentials, proof
  tokens, watch pages and signed media URLs are excluded.
- Shared encoded Standard/High streaming cache, configurable in Settings
  (Off / 250 MB / 500 MB / 1 GB / 2 GB / 5 GB). Complete High replaces Standard.
  Automatic Standard fills run only on unconstrained, inexpensive connections.
- Track and album downloads with saved metadata/artwork, progress,
  pause/resume/retry/remove, catalog restoration and separate durable storage.
  Songs are processed serially; all album pages load before enqueuing.
  Completed AAC/Opus streaming-cache entries can be promoted into downloads.
- Offline Only in Settings: local download browsing/search/playback, domain
  network gate, cancellation of current requests/prewarm/downloads/Last.fm,
  and local artwork. Existing locally restored sign-in remains required.
- Sleep timer (15/30/60 minutes or track end), draggable Up Next ordering,
  Clear Up Next confirmation, and album Play/Shuffle actions. Collection shuffle
  includes the whole collection and queue duplicates retain separate identities.
- Native Downloads lists, accessible progress/actions, simpler Settings copy,
  removal/sign-out confirmations, and fixed player controls at accessibility
  text sizes. Downloaded single-artist album rows omit redundant artist/album.

## Simulator evidence

- Prewarm/cache High canary: 1.686 s first verified progress versus previous
  2.943 s; warm High return 0.571 s versus 1.872 s. Individual simulator samples
  include progress-monitor delay; they are not device measurements or percentiles.
- Partial High range cache persisted and reused. Public JavaScript HTTP cache
  reported a disk hit in a fresh app process. High playback, far seeks and
  quality switches passed.
- High download diagnostic passed: encoded Opus completion, saved artwork,
  offline request rejection, local playback/65% seek, catalog restoration.
- Standard download diagnostic passed: 12 packed-AAC segments, 2,679 ADTS frames,
  1,014,236 encoded bytes; offline playback/65% seek, artwork and catalog restore.
  Segment extensions said `.ts`, but byte inspection identified packed AAC with
  leading ID3 tags. The alternate MPEG-TS extraction path remains fixture work.
- Final integrated Standard and High builds/diagnostics passed again after
  cache promotion, cancellation and parser-bound checks. `just lint` and
  `git diff --check` passed. Final logs are under `/tmp/hydraulophone-final-*`;
  generated logs and media are not committed.
- Settings, empty Downloads and Now Playing inspected at normal text size on
  iPhone 18 Pro / iOS 27. Largest Dynamic Type exposed oversized icons and queue
  wrapping; adjusted and inspected again with controls visible. Simulator text
  size restored to Large afterward.
- No unit, hosted or UI suite was added or run. No phone interaction occurred.

## Limits and follow-up

- Background downloads use bounded iOS background time. Expiration pauses work;
  unlimited downloading while suspended is not claimed.
- Standard automatic fill duplicates some AVPlayer traffic; it is disabled on
  expensive/constrained connections. Unsupported encrypted/fragmented/discontinuous
  HLS download shapes fail visibly. Original AAC frames are retained, not transcoded.
- Album pagination, cancellation races, corruption/disk-full behavior, VoiceOver
  gestures, smaller screens and background/route behavior need the deferred
  coverage and later hardware acceptance. See the test briefs below.

## Commits and collaboration

- `4e0ba03`: sleep timer and editable playback queue.
- `Add offline downloads and persistent playback caches`: integrated cache,
  download/offline and UX checkpoint, following final lint, simulator builds
  and both quality diagnostics. Find its hash in git history.
- GPT-6 Luna `standard_cache_fix` handled Standard storage/download extraction,
  cache promotion and its paused-test brief. Parent integrated startup caching,
  downloads/offline, UX, docs and acceptance. Additional agent creation reached
  the tool's thread limit; no stronger inherited agent was substituted.

## References and deferred checks

- [Cache/download decision](adr/0007-caches-downloads-and-offline.md)
- [Listening controls decision](adr/0008-listening-controls.md)
- [Startup protocol notes and pinned Android references](protocol/high-startup-latency.md)
- [Downloads, offline and listening test brief](test-briefs/downloads-offline-and-listening.md)
- [Standard AAC test brief](test-briefs/standard-aac-cache.md)
- [Startup cache test brief](test-briefs/high-startup.md)