Repository navigation
Fix M8C defaults, upgrade login adoption and signed-out local data - #179
Merged
Merged
Conversation
Restore the approved Home/Stats default without rewriting saved layouts. Adopt independent legacy logins atomically in the existing encrypted vault, and publish bounded local library windows without claiming a catalog owner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restore the approved §4 two-page M8C default (Home and Stats), preserving saved layouts and pass 4 navigation/touch fixes. Adopt existing device-entered sync and matching native OPDS logins as independent
userlogins, with both credentials and the once-only marker checkpointed atomically in the existing encrypted vault. Preserve the legacy catalog identity and cached-detail capability; imported logins survive account sign-out and are never resurrected after removal.Signed-out readers now use a reserved device owner for companion-materialized local books, native custom covers, battery and local statistics. The generic
ko/store.luachange is limited to allowing that reserved owner throughStore.library; its SQL still selects only that owner's bounded row. The SQLite regression covers existing/no catalog owner, rejected remote-owner reads, zero oversized decode, and the foreground-reading memo gate. The maintainer clarified that the store restriction concerned the deleted legacy adapter store and explicitly approved this narrow generic Store change.Reuse:
logic/layout.lua:181,logic/home_plan.lua:81,ko/library.lua:15,ko/store.lua:149, companionLibraryReadModel.kt:30,server/bookorbit/ServerCredentials.kt:16,ReadingStats.kt:24,LibraryFilter.kt:30, andDeviceStorage.kt:19. No new public Library operation, parallel catalog, server transport, or position/lifecycle writer. All local scans/filtering/joins remain on the companion, with existing per-call/per-paint timing and row/byte/batch budgets. Updated design notes, AGENTS, roadmap and all four feature cells. Android only under the maintainer's ruling; firmware follows later.Validation:
No device acceptance, adb, releases or tags. Device timing targets remain unconfirmed. Local covers here are native custom covers already available beside a book; no image extraction or fetch is added.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Post-merge integration: #168 landed while the full PR CI suite ran. The combined tree is identical to the landed
f5ec240bcommit and passes 238 logic tests, 290 updated flow tests, 758 companion tests, version verification, debug assembly/lint, boundary and feature checks. Android CI on the landed commit also passed. All applicable PR CI checks passed, including the three firmware builds and three simulator suites; publishing jobs were skipped as expected for a PR.