Conflict-Free Collaborative Schematic Editing: A Netlist CRDT that Converges Without a Server and Preserves Electrical Invariants by Classifying Them as Coordination-Free, Reservable or Repairable
Text documents, slides and vector drawings can be edited by many people at once, offline and without a central server, thanks to conflict-free replicated data types (CRDTs). Circuit schematics cannot. Collaborative circuit editing today relies on file locking or check-in/check-out, and naive replication of a schematic as a drawing is unsafe: two edits that are each electrically valid can merge into an invalid circuit, such as a short between supplies or a gate left floating, with no one having made a mistake. This paper proposes a netlist CRDT for collaborative, local-first schematic editing. Its state has three replicated layers—geometry, parameters and connectivity—built from standard convergent types with stable identities, and a derived layer in which nets, electrical-rule results and conflict markers are computed as pure functions of the merged state, so every replica shows the same nets and the same warnings. We then classify electrical invariants by whether concurrent edits can violate them. Invariants that merging preserves are enforced locally with no coordination; invariants that merging can break are either protected by reservations on a small set of critical nets, such as supplies, or surfaced as conflict markers that persist until a user resolves them. We give the data model, the merge rules, convergence arguments and the invariant classification for common electrical rules, and outline an implementation for browser-based EDA. Concept/architecture paper analysed with symbolic models; no simulation was run and no measured results are claimed. Any numerical values quoted come from the cited sources. Simulation-based validation is planned for a follow-up paper. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24535745
- Citations
- 1
- Primary Topic
- Distributed systems and fault tolerance
- Type
- preprint