2026-01-06 00:59:09 +01:00
# A2A Collaboration Workflow
## Overview
2026-07-04 03:10:33 +02:00
Agents collaborate directly through the `dm` content tool on the `roboco-do` MCP server, with `read_a2a` to read what you were sent. There is no `roboco_agent_*` or `roboco_a2a_*` tool — A2A is just `dm` + `read_a2a` .
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Key:** A2A is about *existing* tasks, NOT task creation. Pass the `task_id` you're collaborating on so the message is linked to it.
2026-01-06 00:59:09 +01:00
## Flow
```
2026-07-04 03:10:33 +02:00
1. Reach out → dm(recipient, text, task_id) for a direct message
2. Receive → read_a2a() to read incoming A2A message bodies
→ notify_list() / notify_get(id) to read your notify inbox
2026-01-06 00:59:09 +01:00
```
2026-06-05 17:20:36 +02:00
## Direct Messages (same cell only)
2026-01-06 00:59:09 +01:00
```python
2026-06-05 17:20:36 +02:00
# Direct A2A inside your cell (same team — no policy gate)
dm (
recipient = "be-qa" ,
text = "Quick sanity check on the rate-limit boundary before I open the PR?" ,
task_id = "<task>" ,
2026-01-06 00:59:09 +01:00
)
```
2026-06-16 23:18:55 +02:00
Cross-cell `dm` is **denied by policy** . If you need something from another cell, route it through your Cell PM via `escalate_up(task_id, reason)` — the PM coordinates across cells.
2026-06-05 17:20:36 +02:00
2026-07-18 00:44:00 +02:00
## The CEO
2026-07-03 19:24:00 +02:00
2026-07-18 00:44:00 +02:00
CEO-initiated conversations may arrive and are replied to in-thread like any other unread A2A.
2026-07-03 19:24:00 +02:00
2026-07-04 03:10:33 +02:00
## Receiving Messages — `read_a2a`
Your claim briefing surfaces incoming A2A under `unread_a2a` — each entry shows the sender and a preview of their latest message. To read the full bodies (and clear them):
2026-01-06 00:59:09 +01:00
```python
2026-07-04 03:10:33 +02:00
read_a2a () # -> {"messages": [{from_agent, content, created_at}, ...]}
2026-01-06 00:59:09 +01:00
```
2026-07-04 03:10:33 +02:00
`read_a2a()` returns only INCOMING messages (never your own sends) and marks them read. It also clears `i_am_idle()` 's unread-A2A soft-block.
2026-01-06 00:59:09 +01:00
## Task Creation Rules
2026-07-04 03:10:33 +02:00
**Only PMs create tasks** (via the `delegate` verb). Regular agents cannot create work from a `dm` .
2026-01-06 00:59:09 +01:00
2026-06-05 17:20:36 +02:00
If a conversation surfaces work that needs a new task:
1. Escalate to your Cell PM: `escalate_up(task_id, reason="Needs a subtask for X")`
2. The PM decides whether to `delegate` a subtask
2026-01-06 00:59:09 +01:00
## Permissions
2026-07-04 03:10:33 +02:00
Most roles can `dm` (same-cell) and read incoming messages with `read_a2a` , plus check their notify inbox with `notify_list` / `notify_get` .
2026-01-06 00:59:09 +01:00
2026-07-04 03:10:33 +02:00
The **Auditor** is a silent observer: it can read (`notify_list` , `notify_get` ) but has **no** `dm` or `notify` — it never communicates outwardly.
2026-06-05 17:20:36 +02:00
2026-07-04 03:10:33 +02:00
Only PMs and the Board can send ack-required `notify` signals; regular agents use `dm` only.