Parallel tracks need a merge strategy

Conflicts are not only textual. Two tracks can make compatible edits that disagree on behavior, ownership, configuration, or tests. Decide how to integrate before parallel work starts.

The safest default is one integrator who reviews each track and resolves conflicts against the task contract.

ConflictResponse
Same linesResolve manually with the task contract
Same behaviorChoose one design and record the decision
Shared configurationSequence changes or assign one owner
Different testsCompare assumptions before merging
Unclear ownershipPause and return to the owner

Merge review sequence

  1. Collect branch names and changed-file lists.
  2. Compare each diff with the original scope.
  3. Identify overlapping paths and behavior.
  4. Integrate the smallest compatible slice.
  5. Run focused checks and then the broader gate.
  6. Record unresolved risk before merge.

Conflict record

# Track integration

Tracks: <names>
Overlap: <paths>
Decision: <which behavior wins>
Checks: <commands>
Residual risk: <list>
Merge decision: GO / HOLD
Status: documented example.

Canonical lesson source · JavaRush

Open JavaRush material