Repository navigation
Protect workspace data and harden import, snapshots and history rendering - #14
Draft
flankero-dev wants to merge 6 commits into
Draft
flankero-dev wants to merge 6 commits into
flankero-dev wants to merge 6 commits into
Conversation
This branch has not been deployed
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.
Storage errors could appear saved, a damaged saved copy could be overwritten, and failed snapshot refreshes left stale data actionable. This PR adds explicit persistence/recovery feedback, pre-write version checks, snapshot diffs and confirmations, strict date/Unicode validation, bounded history and draft preservation. It also fixes Windows static assets, path/symlink containment, malformed UTF-8, invalid SQLite state and WebKit long-assignee overflow.
Verification completed on head
90765909eaf98d8ea1784c5b6666d7e32dc1e787:Limits: localStorage cannot provide atomic cross-process CAS; SQLite snapshots retain transactional ETags. Real screen readers, physical mobile devices and native browser zoom remain unverified; CSS zoom/axe are not WCAG certification. Firefox/WebKit clipboard checks use an explicitly labelled double. Public-demo smoke covers the existing baseline only.
Compatibility: no SQLite schema/version migration. Historically accepted ambiguous dates/unsafe identifiers now fail validation with raw recovery rather than guessed migration. Back up JSON and SQLite before upgrade/rollback; older code restores weaker guards. See decisions.
Ready for owner review; kept as a draft. No merge or production deployment has been performed or authorized. Merge may start the existing deployment workflow.