Single-threaded writes

activemerge conflict
SpecWriter AWriter Bdate: ISO stringdate: epoch intMergemerge conflict
  1. Parallel writers fork from the same spec.
  2. Each encodes implicit decisions the other cannot see.
  3. Merge conflict: divergent assumptions collide.
  4. Parallel readers, single-threaded writes.
Notes & references

Use when

Parallel search and review feeding one writer.

Avoid

Parallel writers on coupled modules without shared traces.

# risky: two writers, hidden choices
a, b = await gather(writer_a(spec), writer_b(spec))
merge(a, b)                        # may not fit

# safer: parallel reading, one writer
facts = await gather(reader(api_docs), reader(codebase))
result = writer(spec, facts)       # one set of choices