Add offline collaboration conflict resolver#102
Open
Arthurescc wants to merge 2 commits into
Open
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.
Issue
Closes #12
@algora-pbc /claim #12
Summary
Adds a focused offline collaboration conflict resolver for the real-time collaborative research editor. This is distinct from the broader editor/governance submissions: it handles client-side offline operation queues, deterministic rebase over server operations, duplicate operation replay protection, section-lock conflict detection, safe suggestion/comment merging, audit reports, and restore-ready snapshots.
Demo
offline-collaboration-conflict-resolver/docs/demo.gifoffline-collaboration-conflict-resolver/docs/demo.svgcd offline-collaboration-conflict-resolver && npm run demoThe CLI demo shows 2 offline edits applied, 1 locked-section edit blocked for manual review, 1 stale-version warning, and a restore snapshot/audit hash.
Acceptance criteria mapping
Detailed mapping:
offline-collaboration-conflict-resolver/docs/issue-12-requirement-map.mdVerification
Local results:
npm run checkpassednpm testpassed: 6 conflict resolver testsnpm run demoproducedmanual-review-required, applied 2 operations, blocked 1 section-lock conflict, warning count 1, skipped count 0, and audit hash1384ab646144e6aa48dd5ec243bcbb7054c2f8a9728ee5dd0689badf0342c259git diff --check origin/main...HEADpassedAI-Assisted Disclosure
This contribution was produced with AI assistance and manually reviewed/verified before submission.