Coordination Patterns
File Ownership Check
Before editing shared files:
- •Run
ac listen '#general' --last 10 - •Check if anyone mentioned the file recently
- •If unclear, post:
ac send '#general' '[COORD] About to edit <file> - conflicts?' - •Wait 30-60 seconds for response, then proceed
Handoff Protocol
When transferring work to another agent:
- •Complete current work to a stable state
- •Commit with descriptive message
- •Send handoff message:
code
ac send '@AgentName' '[HANDOFF] Task: <description> Files Modified: <list> Current State: <status> Next Steps: <what to do>'
Conflict Resolution
If two agents are working on the same file:
- •First agent to post in #general has priority
- •Second agent should wait or work on different files
- •Use [COORD] prefix to negotiate
Status Updates
Post to #status at natural breakpoints:
- •
[STATUS] Working on <task> - •
[DONE] Completed <task> - •
[BLOCKED] Waiting on <dependency>