Can two shards edit the same files at the same time?
Yes, unless one of them is isolated. Shards in a gem work in the same checkout and see each other’s uncommitted edits. That is convenient when the terminals cooperate on one state, but two agents can overwrite or conflict with each other if they edit the same files concurrently. Use isolated shards when parallel agents need independent working copies.