mnemosyne_agent_collisions
Detect concurrent agent sessions sharing one Git working tree and branch before staging or committing, preventing index conflicts across harnesses. Reads transcript files to identify collisions.
Instructions
Are two agent sessions live in the SAME git working tree and branch right now, from ANY installed harness? This is the one to call before git add -A, before a commit, and before a rebase: the git index is shared by every process in one working tree, so a commit from one session picks up whatever the other has staged. Answers from transcript files on disk; needs neither Mnemosyne OS nor a token. Each recorded directory is resolved to its working tree first, because one cd into a subfolder would otherwise make two sessions in one repository look like two projects. A clean answer says only that nothing was found IN WHAT IS READABLE — an agent whose transcripts live elsewhere does not appear at all, and sessions whose harness records no directory are listed separately as unplaceable rather than guessed at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Restrict to one working tree, matched exactly (separators and case are normalised). Pass the output of `git rev-parse --show-toplevel`. Omit to check every project on the machine. |