Add annual PDF audit export - #164
Open
kyleve wants to merge 5 commits into
Open
Conversation
…t-export # Conflicts: # Where/WhereCore/AGENTS.md
kyleve
marked this pull request as ready for review
August 2, 2026 04:55
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.
Summary
Why
Users need a transparent, portable record of jurisdiction-day presence that they can review themselves or share with an accountant or tax authority. The report explains Where's non-exclusive day-counting methodology and can optionally disclose the underlying device-GPS rows without introducing a backend or a dedicated mail integration.
User impact
The Your Year toolbar now opens an export sheet with an independent year picker, optional prepared-for/reference fields, Letter/A4 selection, and an explicit raw-GPS opt-in. After generation, users can inspect the paged PDF and share it through Mail, Files, AirDrop, Messages, or another installed destination. Demo-mode exports are unmistakably marked as sample data.
No persistence migration, entitlement, backend, target, or package dependency is added.
Validation
./test --everything— 1,555 unit tests and 33 snapshot tests passedswift run bumper config .swift run bumper test .— 15 architecture mutation tests passedswift run bumper lint . --timings— no architecture violations./swiftformat --lint./xcstrings --lintgit diff --check