Single-threaded writes
activemerge conflict
- Parallel writers fork from the same spec.
- Each encodes implicit decisions the other cannot see.
- Merge conflict: divergent assumptions collide.
- 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