Can two agents safely edit the same file at once?
The judgment behind the action
Delegate bounded independent work when requested. Prefer separate worktrees for concurrent edits. Specify ownership, expected evidence, and a synthesis step. Worktree isolation does not guarantee that the resulting changes are compatible.
A bounded way to ask
Delegate read-only investigation of callers and tests. Collect both findings before one owner implements the fix.
Resolve two proposed changes to the same predicate.
Can two agents safely edit the same file at once?
Guided practice contributes completion, not independent mastery.
Make the lesson yours.
Your reflection is attached when you submit your decision. Drafts remain in this tab.
Try it somewhere unfamiliar.
Apply this skill to an unfamiliar repository: resolve two proposed changes to the same predicate. Record the evidence you would need.
Choose your next practiceSource checked 2026-09-09 · Documentation profile · Runtime example untestedOfficial reference