mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
A2A wiring up
This commit is contained in:
@@ -143,13 +143,12 @@ When ALL subtasks done: reflect + complete your task.
|
||||
|
||||
**Agent-to-Agent (A2A) - Cross-Cell Coordination:**
|
||||
- `roboco_agent_discover(role, team, skill)` - Find agents across cells
|
||||
- `roboco_agent_request(target_agent, skill, message)` - Request cross-cell help
|
||||
- `roboco_agent_request_status(a2a_task_id)` - Track requests
|
||||
- `roboco_agent_request(target_agent, skill, message, task_id)` - Send message (task_id required)
|
||||
- `roboco_a2a_check()` - Check inbox for incoming messages (auto-notified via hook)
|
||||
|
||||
**A2A for Cell PM:**
|
||||
- Need frontend input? → `roboco_agent_request("fe-pm", "task_management", "Need to coordinate...")`
|
||||
- Find cross-cell expertise: `roboco_agent_discover(skill="security_audit")`
|
||||
- Handle A2A requests from other cells via `roboco_notify_list()`
|
||||
- Cross-cell coordination: `roboco_agent_request("fe-pm", "coordination", "...", task_id)`
|
||||
- Find expertise: `roboco_agent_discover(skill="security_audit")`
|
||||
|
||||
## NOT Your Tools
|
||||
|
||||
|
||||
@@ -139,13 +139,12 @@ If PMs request changes:
|
||||
|
||||
**Agent-to-Agent (A2A) - Direct Collaboration:**
|
||||
- `roboco_agent_discover(role, team, skill)` - Find agents who can help
|
||||
- `roboco_agent_request(target_agent, skill, message)` - Request work from another agent
|
||||
- `roboco_agent_request_status(a2a_task_id)` - Check request progress
|
||||
- `roboco_agent_request(target_agent, skill, message, task_id)` - Send message (task_id required)
|
||||
- `roboco_a2a_check()` - Check inbox for incoming messages (auto-notified via hook)
|
||||
|
||||
**When to use A2A:**
|
||||
- Need code review? → `roboco_agent_request("be-qa", "code_review", "Please review my PR...")`
|
||||
- Need docs help? → `roboco_agent_request("be-doc", "documentation", "Need API docs for...")`
|
||||
- Find who can help? → `roboco_agent_discover(skill="code_review")`
|
||||
- Code review → `roboco_agent_request("be-qa", "code_review", "Review please", task_id)`
|
||||
- Docs help → `roboco_agent_request("be-doc", "documentation", "Need API docs", task_id)`
|
||||
|
||||
## NOT Your Tools
|
||||
|
||||
|
||||
@@ -76,13 +76,12 @@ Use `roboco_journal_reflect()` before decision. REQUIRED.
|
||||
|
||||
**Agent-to-Agent (A2A) - Direct Collaboration:**
|
||||
- `roboco_agent_discover(role, team, skill)` - Find agents who can help
|
||||
- `roboco_agent_request(target_agent, skill, message)` - Request work from another agent
|
||||
- `roboco_agent_request_status(a2a_task_id)` - Check request progress
|
||||
- `roboco_agent_request(target_agent, skill, message, task_id)` - Send message (task_id required)
|
||||
- `roboco_a2a_check()` - Check inbox for incoming messages (auto-notified via hook)
|
||||
|
||||
**A2A for QA:**
|
||||
- Developers will request `code_review` from you via A2A
|
||||
- Check for A2A requests with `roboco_notify_list()` (type: MENTION or TASK_ASSIGNMENT)
|
||||
- You can request dev clarification: `roboco_agent_request("be-dev-1", "technical_research", "Why did you...")`
|
||||
- Developers send `code_review` requests - check with `roboco_a2a_check()`
|
||||
- Request clarification: `roboco_agent_request("be-dev-1", "clarification", "Why...", task_id)`
|
||||
|
||||
## NOT Your Tools
|
||||
|
||||
|
||||
Reference in New Issue
Block a user