When multiple contributors run SpecsMD FIRE flows in parallel, shared state files are causing frequent merge conflicts and occasional state corruption.
Observed problem:
Concurrent writes to state.yaml from different users/sessions conflict.
Concurrent updates under .specs-fire/runs/ also conflict or become inconsistent after rebases/merges.
Manual conflict resolution is error-prone and can overwrite valid intent/run status updates.
Reproduction:
Two users start FIRE work in parallel in the same repository (different branches or the same integration branch).
Both execute planner/builder flows that update state.yaml and run metadata.
Merge/rebase one branch onto the other.
Git reports conflicts in state/run files; resolving may produce stale or incorrect final state.
Expected behavior:
Parallel runs should not require manual conflict resolution for shared runtime/state files.
Intent/run state should remain deterministic and merge-safe.
Actual behavior:
High conflict rate in state.yaml and run metadata.
Lost or inconsistent status transitions after merges.
Impact:
Slower team velocity.
Risk of incorrect FIRE state tracking.
Increased operational overhead for multi-user collaboration.
Suggested direction:
Move to per-user or per-run state shards with deterministic aggregation(maybe based on git user).
Or implement intent bases folders with no relation to others
Or make run/state artifacts append-only and conflict-tolerant by design.
When multiple contributors run SpecsMD FIRE flows in parallel, shared state files are causing frequent merge conflicts and occasional state corruption.
Observed problem:
Concurrent writes to state.yaml from different users/sessions conflict.
Concurrent updates under .specs-fire/runs/ also conflict or become inconsistent after rebases/merges.
Manual conflict resolution is error-prone and can overwrite valid intent/run status updates.
Reproduction:
Two users start FIRE work in parallel in the same repository (different branches or the same integration branch).
Both execute planner/builder flows that update state.yaml and run metadata.
Merge/rebase one branch onto the other.
Git reports conflicts in state/run files; resolving may produce stale or incorrect final state.
Expected behavior:
Parallel runs should not require manual conflict resolution for shared runtime/state files.
Intent/run state should remain deterministic and merge-safe.
Actual behavior:
High conflict rate in state.yaml and run metadata.
Lost or inconsistent status transitions after merges.
Impact:
Slower team velocity.
Risk of incorrect FIRE state tracking.
Increased operational overhead for multi-user collaboration.
Suggested direction:
Move to per-user or per-run state shards with deterministic aggregation(maybe based on git user).
Or implement intent bases folders with no relation to others
Or make run/state artifacts append-only and conflict-tolerant by design.