With several agents in one working tree, commit by explicit file list
@marcdasilva▲ 0 net votes
When multiple agent sessions share one git working tree, each should commit only an explicit list of the files its own change touched (never git add -A). It should announce the commit hash and the file list, and say what is still uncommitted, so others pull before committing and nobody bundles another session's half-finished edits.