VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Vocabulary Coding and Engineering | Semantic Concurrency: When Two Editors Change the Same Definition at Once

Researcher comparing abstract before-and-after datasets while reviewing a data-cleaning change log

Two people can edit the same definition while disconnected, and software may successfully merge their documents without resolving what the word should mean. Imagine a public-service team defines “completed application” as submitted with all required fields. During a network outage, Editor A changes it to include payment confirmation; Editor B changes it to include manual identity review. When they reconnect, a collaboration tool may converge on a single document version—but which rule is authorised to govern actual decisions? Vocabulary Coding and Engineering proposes a Semantic Concurrency Protocol: preserve both changes and their source context, detect which concept boundaries were altered, distinguish machine-level convergence from source-authorised reconciliation, and prevent unapproved combinations from becoming operative.

The software foundation is not speculative. Shapiro, Preguiça, Baquero and Zawirski’s 2011 CRDT research specifies conditions for replicated data types to converge under suitable assumptions. Automerge’s documentation illustrates how concurrent edits to one property can be retained while a deterministic value is selected for display. These mechanisms address distributed state, not the institutional truth or legal force of a definition. The proposed semantic workflow begins where automatic merge stops: if two definitions differ in who qualifies, source authority and affected consumers must be reviewed, not settled by which character string happens to win.

  • Detect: Two editors changed the same concept while using potentially different evidence.
  • Preserve: Original definition, both proposals, timestamps and accountable source roles.
  • Separate: CRDT convergence is not equivalence of two institutional meanings.
  • Compare: Test boundary cases that distinguish the proposed definitions.
  • Decide: An authorised owner approves, rejects, forks or combines the proposals.
  • Deploy: Only an approved version may alter downstream AI decisions.
  • Recover: Keep historical meaning and correct affected cases without inventing authority.

Chapter index

1. The difference between merging characters and merging meanings

Software collaboration solves many practical editing problems. Two writers can insert paragraphs in different locations, and the document can show both. That is not automatically a conflict in the intended rules. By contrast, two small edits to the same exception clause may be impossible to reconcile without understanding the organisation’s purpose.

Suppose one edit changes at least 65 to older than 65 while another adds an authorised extension. A text engine might retain both words, remove one, or choose a deterministic winner depending on its underlying data structure. Whether the resulting rule correctly governs the source-defined situation remains unanswered.

The proposed protocol treats a converged document as a candidate editorial state, not as an approved policy. It asks which cases have different outcomes, who is entitled to make the change, and which dependent systems must be informed. This distinguishes useful automatic collaboration from a misleading claim of semantic agreement.

Back to index · Next chapter

2. What CRDT means in distributed systems

Conflict-free Replicated Data Types support particular forms of replicated updates that converge under defined mathematical conditions. The 2011 INRIA report develops convergent and commutative replicated data types and explains the state-based and operation-based approaches.

The result concerns consistency of replicated data states. Under the applicable assumptions, replicas that receive the relevant updates eventually obtain compatible state. It does not establish that the data values are factually true, legally binding, morally justified or linguistically equivalent.

This separation is essential. A dictionary may be replicated perfectly while containing a mistaken definition. A system can achieve strong eventual consistency while all readers consistently rely on a wrong rule. The semantic layer requires independent source validation.

Back to index · Next chapter

3. Concurrent edit does not always mean competing meaning

Two editors may add independent examples to an existing definition. Their changes can be combined without changing the inclusion criteria or exceptions. Such updates might be safe to merge after ordinary editorial checks.

Other changes can affect different formal fields but interact. Editor A changes who is eligible; Editor B changes the verification evidence. Both fields can merge cleanly while the combined new rule excludes cases neither editor considered. A property-level conflict detector might not notice the semantic interaction.

For consequential concepts, evaluate the merged meaning as a whole. Testing only whether edit operations commute is insufficient when their combined result affects actors, deadlines or permissions.

Back to index · Next chapter

4. A fictional completed-application dispute

The source glossary says completed means that all required form fields were submitted. Editor A proposes that a payment confirmation must also exist. Editor B proposes a completed identity review. Both are plausible administrative proposals but can change who is counted as finished.

One applicant has all fields and payment confirmed but identity review pending. Another has all fields and identity approved but no payment. A third has both. These are distinguishing cases for the two proposed definitions and their possible conjunction.

A correct reconciliation depends on what the institution wants completed to denote. The software must not infer the policy owner’s intent simply by combining the two edits with and, or, last-writer-wins or majority vote. The outcome should remain unapproved until the authorised process decides.

Back to index · Next chapter

5. Last-writer-wins is not a source of policy authority

Distributed systems sometimes choose a winner using timestamps or deterministic ordering. These choices can provide predictable convergence for machine state while retaining the other value for inspection. They do not establish that the latest clock value corresponds to the authorised definition.

An editor working offline may have a clock set incorrectly. Another may have submitted a change earlier but received approval later. Publication time, approval time and effective time can all differ. A simple latest edit order cannot determine which institutional rule controls a current case.

The proposed record separates edit timestamp, source document date, review decision and effective interval. The current operating definition must come from an accountable authority path, not from a race between network messages.

Back to index · Next chapter

6. Automerge’s conflict display is a useful warning

Automerge’s conflict documentation explains that if two users concurrently write different values to the same key, Automerge can retain the conflicting values internally and present a consistent winner. The visible value therefore does not mean the alternatives have ceased to exist.

A semantic glossary could adopt the design principle of exposing unresolved alternatives instead of silently pretending the machine-selected winner is the only meaning. It would need an application-level view allowing reviewers to inspect both proposals and their source reasons.

This does not make Automerge a semantic reasoning standard. It is an example of data conflict representation whose behaviour must be understood rather than conflated with human consensus.

Back to index · Next chapter

7. Even separate fields can be jointly inconsistent

Editor A changes minimum age to 66. Editor B adds an exception applying only to exactly age 65. The fields age_limit and exception may not produce a literal concurrent write to the same property. Nevertheless, their combined interpretation requires institutional review.

A rules engine can generate boundary cases at ages 64, 65 and 66, with and without the exception. It should show whether any unintended eligibility transitions occur under each proposal and under the merged candidate.

If the proposed exception deliberately restores age-65 access, the combination may be legitimate. If the exception refers to an obsolete group, it may be inappropriate. No merge algorithm can settle the source authority without a relevant policy decision.

Back to index · Next chapter

8. Three-way semantic comparison

A familiar version-control approach compares an original base with two changed branches. For meaning, keep the same structure: base definition, proposal A and proposal B. Add a fourth candidate only if a combined draft is requested and can be tested.

For each version, record actor, category, modal force, conditions, exclusions, valid period and source. Then compare representative and distinguishing cases. An exact text diff can reveal altered words, but not all cases in which their interpretation diverges.

A proposed reviewer card can say: base allows one case, A rejects it, B permits it conditionally, and combined draft remains unresolved. That is more informative than reporting one hundred bytes of difference.

Back to index · Next chapter

9. A semantic merge has at least four outcomes

First, equivalent edits can be merged after appropriate review. Second, non-overlapping compatible edits can be combined if their interaction tests pass. Third, incompatible scoped meanings can remain as explicit separate branches or namespaces. Fourth, uncertain proposals can be held for competent review.

Not every conflict must produce one winner. A vocabulary can legitimately support several local definitions when they belong to different communities or institutions. The responsibility is to prevent a consumer from mistaking one for another in an exact decision.

The proposed system should record the outcome and its conditions rather than inventing a globally authoritative meaning for convenience.

Back to index · Next chapter

10. Why validators must not simply count votes

Five automated validators could agree on one definition because all retrieved the same obsolete policy page. A lone source owner might have the current operative rule. Consensus among the five does not confer equal or greater authority over that institution’s process.

A reviewer should check the source hierarchy, relevant dates, evidence independence and legitimate objections. Human review can also be mistaken, so versioned rationale and a correction path remain necessary.

The meaning commons model supports collective technical maintenance without erasing local source authority. It must not convert popularity into factual or legal truth merely because distributed systems use the word consensus.

Back to index · Next chapter

11. Offline editing creates time and provenance problems

An editor may revise a glossary while disconnected and later synchronise. The change was authored at one time, transmitted at another and approved—if at all—at a third. These coordinates can matter to historical interpretation.

The proposed ZTime fields should distinguish authored_at, received_at, approved_at and effective_from when appropriate. They need the related source document or event, because a reliable timestamp for the wrong event remains misleading.

An AI explaining a past decision should reconstruct the governing meaning at that time. It should not reclassify an old action solely because a late-synchronising proposal now appears first in the document history.

Back to index · Next chapter

12. Concurrent deletions need special treatment

One editor may delete a definition because it is obsolete. Another may add a new example to it while offline. A collaborative data type may have a defined delete-versus-update rule, but a semantic registry must decide whether to retire, correct, preserve or replace the concept.

Retirement should generally retain appropriate historical references, with clear deprecation and supersession metadata. A late update must not silently revive an obsolete rule as current, yet its evidence may still matter for an archive.

The responsible outcome depends on source authority and retention obligations. Technical tombstones support replication mechanics; they are not a universal policy for deleting linguistic history.

Back to index · Next chapter

13. Consumer contracts need to be tested

A payment tool, dashboard and translation service may each rely on a different field of the glossary. A seemingly harmless edit can change a class name or decision calculation in one consumer while leaving the others unaffected.

Map the consumers and identify what each assumes about the definition. Test the original and proposed rule on the cases they actually process, including unknown and boundary cases. A schema-valid message can still carry a meaning-breaking change.

The earlier Semantic Contract Testing and Semantic Lockfile articles propose versioned dependency checks. Semantic concurrency adds the special danger of two individually reasonable proposed updates forming one incompatible combined result.

Back to index · Next chapter

14. Protect against automatic publication of unreviewed merges

A network sync should not equal a policy release. A collaborative editor can display a candidate merged document to staff without making it the operative glossary used by AI agents to determine eligibility or release files.

Separate the editing data plane from the approved source version. Downstream consumers should subscribe to explicitly released identifiers, not whichever working copy synchronised most recently.

This is an application governance boundary, not a claim that CRDTs themselves are unsafe. Replication can be excellent for drafts while a trusted approval process controls consequential publication.

Back to index · Next chapter

15. Scope a concept before declaring a collision

Two organisations can both use the label resident under different administrative purposes. Their mappings may differ legitimately. An automatic system that flags every such disagreement as a data corruption error can create a false conflict.

Namespace, institution, effective interval and task distinguish the records. A change in one scheme need not automatically rewrite the other. Cross-scheme exactness requires independent evidence.

The same applies to multilingual synonyms and dialect forms. Convergence of machine records is not a reason to impose one language variety or force an exact concept relation that a community has not adopted.

Back to index · Next chapter

16. A test matrix for three edit scenarios

Start with three fictional source cases: two editors add different examples without changing a rule; two editors change the same eligibility threshold; and two editors alter separate fields whose combination changes an exception. The second produces a direct concept conflict; the third demonstrates an interaction without a direct field collision.

For each, test base, A, B and candidate merge on included, excluded and exact-boundary cases. Record whether the meaning is preserved, changed, conflicting or unresolved under the governing source.

These are designed scenarios, not published experimental results. A useful pilot would measure false conflict alarms, missed harmful merges and human review work, compared with a straightforward manual review baseline.

Back to index · Next chapter

17. Privacy and the meaning of a visible conflict

Editing history may include reviewers’ comments, personal case examples or sensitive organisational discussions. A globally accessible conflict log is not automatically justified by the desire for transparent governance.

Publish only the source definitions and review outcomes appropriate for readers; keep private evidence and identifiers under access controls. A meaningful audit can show that two proposals conflicted without releasing every private message that led to them.

The original evidence should remain available to authorised reviewers under lawful retention rules. Transparency and data minimisation need not be enemies when provenance is designed deliberately.

Back to index · Next chapter

18. A bounded convergence experiment

Build a low-risk glossary with ten concepts, two offline replicas and three controlled update types. Demonstrate that the chosen CRDT implementation converges under its documented assumptions, then independently evaluate the semantic output of each merged candidate.

Report data convergence separately from meaning correctness, source approval and consumer compatibility. It is possible for every replica to show identical bytes while the combined definition fails one boundary case.

That result would be valuable: it would pinpoint where distribution technology ends and semantic governance must begin. The goal is not to claim that CRDTs can never manage a glossary, but to show which decisions remain with people and rules beyond replication.

Back to index · Next chapter

19. The long-term role of an immutable Z reference

A stable source-scoped Z identifier can anchor the base definition. New branches carry their own versions and source rationale. When an authorised reviewer resolves a conflict, the history remains inspectable without altering the old reference.

This gives future systems a way to reconstruct how two offline edits became one approved rule, two legitimate forks or a rejected proposal. It does not make the chosen source definition universally true, nor does it eliminate new language change.

The technical achievement to seek is safe convergence of records plus honest divergence of meaning. Where the meaning differs, the system must be capable of saying so instead of equating synchronisation with consensus.

Back to index

Seven steps for a safe semantic merge

  • Keep original, concurrent proposals and their sources as distinct records.
  • Merge replicated data according to the chosen software’s documented algorithm.
  • Compare base, branch A, branch B and candidate combined meaning.
  • Test exact-boundary cases and interaction among independently changed fields.
  • Record whether the result is equivalent, compatible, forked or unresolved.
  • Require actual source-owner approval before changing an operative definition.
  • Retest dependent consumers and preserve the dated historical audit trail.

Frequently asked questions

Does a CRDT guarantee everyone agrees on the definition?

It can guarantee data convergence under its specified model, not that source meanings or institutional decisions are correct.

Can two separate edits create a semantic conflict?

Yes. They may change different fields whose combined effect creates a new rule or changes an exception.

Should last-writer-wins decide policy?

Not automatically. Technical ordering is not the same as authorised policy approval or effective time.

Must every conflicting definition be forced into one?

No. Separate scoped definitions, explicit mappings or unresolved states can be legitimate outcomes.

What is the first practical test?

Synchronise two fictional glossary replicas, compare base and branches on valid boundary cases, and measure whether harmful merged meanings are caught before release.

Research and documentation

Research status: CRDT convergence is established under specified distributed-systems assumptions. The Semantic Concurrency Protocol is a proposed application-layer governance and testing workflow, not a CRDT standard or proof of universally correct definitions. All administrative scenarios are fictional.