[BW-PLAY-01] Persist per-profile local remembered audiobook identity #24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Classification
Planned playback-correctness implementation. Blocked on GitHub PR #93.
Product intent
BookWave needs one durable answer to: which audiobook did this phone last play for this profile?
That identity is required by Continue actions, launcher shortcuts, widgets, Quick Settings, headset automation, Android Auto and Garmin controls.
Problem
Current remembered-book selection derives from progress recency. Remote progress activity can therefore change which book this phone thinks it last used, even though the user never played that book locally on this device.
That conflates two different facts:
GitHub PR #93 owns the second fact. This issue owns the first.
Scope
Explicitly out of scope
progress.updatedAt.Dependencies
Storage / migration
Use existing durable device-local/profile-scoped storage unless implementation evidence makes another store materially safer.
For existing profiles with no trustworthy local remembered evidence, migrate to no remembered book rather than inventing one from server timestamps.
Privacy / security
Persist only opaque local identity necessary to resolve the book under the profile. Respect profile deletion/lock boundaries.
Automated tests
Device acceptance
Effort
Medium.
Risk
Medium-High because this changes startup/Continue ownership.
Sequence
Immediately after GitHub #93. Foundation for #23 BW-SYS-01 and all later system surfaces.
Acceptance criteria