1.1 KiB
1.1 KiB
Agent Coordination Protocol (FOR AGENTS ONLY)
🛡️ The Golden Rule
NEVER modify code without verifying the lock status in the Agent Hub.
🔑 Identity Management
claude-code: Official Claude CLIcopilot-agent: GitHub Copilotgemini-cursor: Cursor IDE or Gemini extensioniflow-agent: iFlow SDK agent
🛠️ The Synchronization Tool
Script: scripts/agent_sync.py (SQLite-backed)
🏎️ Workflow Lifecycle
- Initialize Session:
python3 scripts/agent_sync.py statuspython3 scripts/agent_sync.py register <id> <name> "<objective>"
- Resource Acquisition:
python3 scripts/agent_sync.py lock <id> <file_path>- If blocked, identify the owner from
statusand do not attempt to bypass.
- Collaboration (Research Mode):
- If the project mode is
RESEARCH, prioritize thenotecommand. - Summarize findings:
python3 scripts/agent_sync.py note <id> "<topic>" "<summary>"
- If the project mode is
- Cleanup:
python3 scripts/agent_sync.py unlock <id> <file_path>
📜 Shared Memory
Read .agent/learnings/ to avoid reinventing the wheel.