Local-First Sync Conflict Lab
Rehearse and explain three-way JSON sync conflicts without touching production data.
The problem it solves
Rehearse and explain three-way JSON sync conflicts without touching production data.
Who Local-First Sync Conflict Lab is for
- Developers and maintainers who need reviewable evidence before changing or releasing software.
- Users working with local-first, sync, conflict resolution who want the documented v1.3.0 behavior.
- People who prefer an open-source release with visible limitations, source, and license terms.
Intended result
Rehearse and explain three-way JSON sync conflicts without touching production data.
This summary is reconciled from the current catalog and repository documentation.
Features in v1.3.0
Capabilities below come from the current project README and release documentation.
Rehearse three-way JSON merges with explicit conflict choices and hash-bound replay.
Review detailed or value-redacted reports with opt-in keyed-array identities.
Opt into the small booking-order application rule and replay its validation after choosing conflict resolutions.
Verified examples
Screenshots are shown only when the current README references a local source image. Otherwise, repository example files are linked directly.
Platforms and implementation
The public release claims only the cataloged platforms and technologies.
Supported platforms
- Windows
- macOS
- Linux
Built with
- Python
What changed in v1.3.0
- Add a booking example where independently valid edits combine into invalid start/end ordering.
- Offer opt-in booking-order post-merge validation with explicit valid, invalid and not-evaluated status; withhold invalid merged snapshots.
- Retain enabled validation in strict version 2 replay plans while preserving default behavior and version 1 compatibility.
Changelog
Release notes from the canonical v1.3.0 source tag.
- Demonstrate independently valid booking edits that combine into invalid start/end ordering.
- Add opt-in
booking-orderpost-merge validation with explicit valid/invalid/not-evaluated status, withheld invalid results and CLI exit 1. - Preserve the application rule in strict version 2 HTML replay exports; keep default behavior and version 1 plans compatible.
- Cover report formats, redaction, source/output protection and real HTML download/replay behavior; ship booking examples in distributions.
- Require tag, package and runtime version identity before release builds.
- Run complete quality checks and dependency audit in the pinned tag workflow.
- Verify built wheel/source metadata and publish checksums over the exact payloads.
- Preserve the previous public release, runtime behavior and native support matrix.
- Distinguish booleans from numbers in three-way comparisons and reject ineffective keyed-array contracts.
- Validate bounded strict JSON and replay plans, and preserve source files and existing destinations.
- Preserve resolved choices in HTML downloads and render literal Markdown with safe evidence fences.
- Ship installed examples and complete release documentation.
- Add opt-in value-redacted JSON, Markdown and HTML reviews that omit source values and merged application data.
- Retain presence/absence, paths, classifications, counts, fingerprints and hash-bound local/remote choices.
- Label redacted artifacts explicitly and document visible metadata and replay privacy limits.
- Fix deletion-versus-null handling and add visual conflict choices, hash-bound replay and opt-in keyed-array identity contracts.
- Added regression coverage for the audited behavior and invalid inputs.
- Added three-way JSON comparison with same-change, local-only, remote-only, and both-changed classifications.
- Added manual, prefer-local, prefer-remote, and newest-snapshot simulations with explicit unresolved conflicts.
- Added JSON Pointer evidence, deterministic input and merged-result fingerprints, Markdown and JSON output, safe CLI exit codes, tests, and cross-platform release packaging.
Quick start
The shortest documented path into the current release.
Before running these source commands, download the v1.3.0 source archive, extract it, and open a terminal in the extracted project folder containing README.md. Follow the tagged README for required runtimes and any platform-specific setup.
python -m pip install .
sync-conflict-lab examples/base.json examples/local.json examples/remote.json
sync-conflict-lab examples/base.json examples/local.json examples/remote.json --strategy prefer-local --format json --output result.jsonExit code 1 means manual conflicts remain unresolved or an enabled application rule failed, 0 means the selected policy produced a complete simulated result satisfying any enabled rule, and 2 means the inputs or command were invalid. Without an application rule, exit 0 makes no business-validity claim. Existing reports are never overwritten.
Current limitations
These boundaries are part of the product and prevent the page from implying unverified capability.
- A policy simulator rather than a production synchronization engine or CRDT; application semantics and array identities are operator-supplied.
- Redaction omits source values but retains paths, identities, counts and hashes, which can remain sensitive.
- Inputs are limited to 10 MiB, JSON nesting to 128 levels and integer tokens to 1,000 digits; array-contained contract traversal is not inferred.
Privacy and licensing
Review the actual data boundary before using a tool with sensitive inputs.
Privacy and safety
Everything runs locally without accounts, telemetry, cloud storage, or network requests. Reports may reproduce conflicting input values so they can contain sensitive data and must be protected accordingly.
This is a deterministic policy simulator, not a production synchronization engine or CRDT. It does not infer identities inside arrays, validate an application's full schema, guarantee convergence across repeated real-world operations, contact a server, or write merged data back into an application.
License and release
Local-First Sync Conflict Lab is published under MIT. The current cataloged release is v1.3.0, published 2026-10-22.
Related projects
Related projects are selected deterministically from shared catalog tags, category, and implementation technologies—not popularity or paid placement.
Local-First Sync Conflict Lab v1.3.0
Use the tagged release for downloads and release notes. Use the repository for source, issues, contribution guidance, security reporting, and complete documentation.
Page source: current Forge catalog plus README and CHANGELOG from the canonical GitHub release tag. Fingerprint: e2c5b1797c02da37.