Repository navigation
Protect spreadsheet exports and retain exact format 2/3 replay - #7
Merged
Merged
Conversation
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.
A fullwidth formula prefix such as
=1+1currently passes through review/source CSV unchanged; the apostrophe policy also depends on spreadsheet import and re-save behavior. New CSV values and headers use a visible, collision-safetext:prefix for formula-shaped strings, fullwidth variants and leading control/BOM characters. Numeric values and original source/review JSON remain unchanged.Bump to 0.2.9 and bundle format 4 so the changed CSV bytes have an explicit replay boundary. Formats 2/0.2.7 and 3/0.2.8 retain their original serializer and evidence-binding semantics. A retained, actually exported 0.2.8 ZIP (synthetic records/test review only) locks down backward replay rather than regenerating old bytes with the new exporter. Update the lockfile, CSV policy and migration documentation.
Validation: 108 tests pass (18 new cases), Ruff and git diff checks pass,
uv lock --check --offlinepasses. New format-4 exports replay with raw review JSON intact; the unmodified 0.2.8 archive also replays, checking 28 source files and the selected finding. Spreadsheet behavior still depends on the application; CSV is a review copy, JSON is the original evidence.