2026-01-06 00:59:09 +01:00
# Tool Permissions by Role
## Overview
2026-05-09 03:15:09 +02:00
Agents call gateway verbs through three MCP servers, scoped per role:
| MCP server | Provides |
|------------|----------|
| `roboco-flow` | Lifecycle verbs (give_me_work, i_will_work_on, open_pr, complete, …) |
| `roboco-do` | Content/write verbs (commit, note, say, dm, notify, evidence) |
| `roboco-git-readonly` | Read-only git inspection (status, log, diff, branch_list) |
2026-06-16 23:18:55 +02:00
Native shell git is blocked by the bash-guard hook for everyone. There is **no** `roboco_git_commit / _push / _create_pr / _merge_pr / _checkout` tool — write operations happen through the lifecycle verbs and the choreographer handles git as a side-effect.
2026-05-09 03:15:09 +02:00
2026-06-16 23:18:55 +02:00
The canonical source of role → verb mapping is `roboco/services/gateway/role_config.py` . The tables below summarise it.
2026-01-06 00:59:09 +01:00
## Developer
2026-06-16 23:18:55 +02:00
**Flow verbs (roboco-flow):** `give_me_work` , `i_will_work_on` , `open_pr` , `i_am_done` , `i_am_blocked` , `unclaim` , `resume` , `i_am_idle`
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Content verbs (roboco-do):** `commit` , `note` , `say` , `dm` , `evidence`
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Read-only git (roboco-git-readonly):** all 4 (`status` , `log` , `diff` , `branch_list` )
2026-05-09 03:15:09 +02:00
2026-06-16 23:18:55 +02:00
**Workspace writes:** `Write` / `Edit` in `/data/workspaces/{project}/{team}/{agent-id}/` only.
2026-01-06 00:59:09 +01:00
## QA
2026-06-16 23:18:55 +02:00
**Flow verbs:** `give_me_work` , `claim_review` , `pass` , `fail` , `unclaim` , `resume` , `i_am_idle`
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Content verbs:** `note` , `say` , `dm` , `evidence` (no `commit` — QA does not write code)
2026-05-09 03:15:09 +02:00
**Read-only git:** all 4
**Workspace writes:** none — QA reviews only.
2026-01-06 00:59:09 +01:00
## Documenter
2026-06-16 23:18:55 +02:00
**Flow verbs:** `give_me_work` , `claim_doc_task` , `i_documented` , `unclaim` , `resume` , `i_am_idle`
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Content verbs:** `commit` , `note` , `say` , `dm` , `evidence`
2026-01-06 00:59:09 +01:00
2026-05-09 03:15:09 +02:00
**Read-only git:** all 4
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Workspace writes:** docs files inside the agent's own workspace (`/data/workspaces/{project}/{team}/{agent-id}/` ).
2026-01-06 00:59:09 +01:00
2026-05-09 03:15:09 +02:00
## Cell PM
2026-06-16 23:18:55 +02:00
**Flow verbs:** `give_me_work` , `i_will_plan` , `delegate` , `submit_up` , `triage` , `unblock` , `complete` , `escalate_up` , `unclaim` , `resume` , `i_am_idle`
2026-05-09 03:15:09 +02:00
2026-06-16 23:18:55 +02:00
**Content verbs:** `note` , `say` , `dm` , `notify` , `evidence` (no `commit` — PMs delegate code; merging the leaf PR happens automatically inside `complete` )
2026-05-09 03:15:09 +02:00
**Read-only git:** all 4
**Workspace writes:** none.
## Main PM
2026-06-16 23:18:55 +02:00
**Flow verbs:** `give_me_work` , `i_will_plan` , `delegate` , `triage_all` , `unblock` , `complete` , `escalate_up` , `escalate_to_ceo` , `unclaim` , `resume` , `i_am_idle`
2026-05-09 03:15:09 +02:00
2026-06-16 23:18:55 +02:00
**Content verbs:** `note` , `say` , `dm` , `notify` , `evidence`
2026-05-09 03:15:09 +02:00
**Read-only git:** all 4
2026-06-16 23:18:55 +02:00
**Workspace writes:** none. `complete` on a root parent task opens the master PR via the choreographer and escalates to CEO.
2026-05-09 03:15:09 +02:00
## Board (Product Owner, Head of Marketing)
**Flow verbs:** `triage` , `escalate_to_ceo` , `i_am_idle`
**Content verbs:** `note` , `say` , `dm` , `notify` , `evidence`
**Read-only git:** none.
2026-01-06 00:59:09 +01:00
## Auditor
2026-05-09 03:15:09 +02:00
**Flow verbs:** `triage` , `i_am_idle` (read-only)
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Content verbs:** `note` (scope=reflect), `evidence` (no `say` / `dm` — Auditor observes silently)
2026-01-07 22:45:42 +01:00
2026-05-09 03:15:09 +02:00
**Read-only git:** none.
2026-01-07 22:45:42 +01:00
2026-05-09 03:15:09 +02:00
## Tool Permissions Summary
2026-01-07 22:45:42 +01:00
2026-05-09 03:15:09 +02:00
| Capability | Dev | Doc | QA | Cell PM | Main PM | Board | Auditor |
|---|---|---|---|---|---|---|---|
| `commit` (writes code) | ✓ | ✓ | — | — | — | — | — |
| `open_pr` (opens PR) | ✓ | — | — | — | — | — | — |
| `pass` / `fail` (QA verdict) | — | — | ✓ | — | — | — | — |
| `i_documented` | — | ✓ | — | — | — | — | — |
| `delegate` (creates subtasks) | — | — | — | ✓ | ✓ | — | — |
| `complete` (merges PR) | — | — | — | ✓ | ✓ | — | — |
| `escalate_to_ceo` | — | — | — | — | ✓ | ✓ | — |
| `notify` (ack-required) | — | — | — | ✓ | ✓ | ✓ | — |
| `say` / `dm` (channel / A2A) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | — |
| `note` (journal entry) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (reflect) |
| `roboco_git_*` (read-only) | ✓ | ✓ | ✓ | ✓ | ✓ | — | — |
| `Write` / `Edit` (own workspace) | ✓ | ✓ | — | — | — | — | — |
2026-06-16 23:18:55 +02:00
**CEO** is human and never inside an agent container; the panel runs as the CEO via `X-Agent-Role: ceo` against the orchestrator API directly.