2026-01-03 05:07:45 +01:00
# Common Issues
## Permission Denied
**Error** : "Not authorized for this action"
**Cause** : Your role doesn't have permission
**Check Permissions** :
| Action | Allowed Roles |
|--------|---------------|
2026-06-05 17:20:36 +02:00
| Create / delegate task | PM only (Cell PM, Main PM) |
| Cancel task | PM, CEO |
2026-01-03 05:07:45 +01:00
| Pass/fail QA | QA only |
| Complete docs | Documenter only |
| Complete task | PM only |
2026-06-05 17:20:36 +02:00
| Send notification (`notify` ) | PM, Board |
2026-01-03 05:07:45 +01:00
**Solution** : Request appropriate role to perform action
## Task Stuck in Status
**Problem** : Task won't transition
**Causes** :
1. Missing required fields
2. Waiting on parallel action
3. Invalid transition attempted
**Check** :
2026-04-19 16:13:42 +02:00
- Branch exists?
2026-01-03 05:07:45 +01:00
- For `awaiting_pm_review` : both `docs_complete` AND `pr_created` ?
- Is transition valid from current status?
## Notification Not Received
**Problem** : Expected notification didn't arrive
**Causes** :
1. Sender doesn't have notification permission
2. Notification filtering
3. Already acknowledged
**Solutions** :
2026-06-05 17:20:36 +02:00
- Check `notify_list()` for all notifications
2026-01-03 05:07:45 +01:00
- Verify sender has PM/Board role
2026-06-05 17:20:36 +02:00
- Check if already acknowledged via `notify_get(notification_id)`
2026-01-03 05:07:45 +01:00
## Escalation Not Routing
**Problem** : Escalation went to wrong person
2026-06-05 17:20:36 +02:00
**Cause** : `escalate_up` auto-routes to your escalation target
2026-01-03 05:07:45 +01:00
**Chain** :
```
2026-06-05 17:20:36 +02:00
Cell members → Cell PM → Main PM → Product Owner → CEO
2026-01-03 05:07:45 +01:00
```
2026-06-16 23:18:55 +02:00
Cannot skip levels or choose target. (Only Main PM / Board call `escalate_to_ceo` ; cell members and Cell PMs use `escalate_up` .)
2026-01-03 05:07:45 +01:00
## Tests Failing Before Submit
**Problem** : Tests fail, can't submit to QA
**Checklist** :
```bash
# Backend
uv run pytest # Tests
uv run ruff check . # Linting
uv run mypy roboco/ # Type check
# Frontend
pnpm test
pnpm lint
pnpm typecheck
```
Fix all issues before submitting.
## Lost Context After Pause
**Problem** : Resuming task, forgot context
**Solutions** :
- Read `quick_context` field on task
- Read your journal for this task
- Get proactive context: `roboco_get_proactive_context(task_id)`
- Read channel history for discussions
2026-01-04 03:03:45 +01:00
## Documentation Path Confusion
**Problem** : Unsure where to write documentation
**Solution** : Use `roboco_docs_write()` - system handles paths automatically
```python
roboco_docs_write ({
"task_id" : "your-task-uuid" ,
"filename" : "feature.md" ,
"doc_type" : "api" , # api, qa, guide, readme, changelog, architecture, design
"title" : "Feature Documentation" ,
"content" : "..."
})
```
- Team folder: Determined from your agent ID
- Subfolder: Determined by doc_type
- No path decisions needed
## Documentation Already Exists
**Problem** : Want to update existing doc but created duplicate
**Cause** : Content was too different from existing doc (RAG similarity < 0.75)
**Solution** :
- Ensure content covers the same topic
- Or delete duplicate: `roboco_docs_delete(path)`
- Check existing: `roboco_docs_list(task_id)` or `roboco_kb_search("topic")`
**Note** : `roboco_docs_write()` auto-deduplicates via RAG by **content similarity** . If content is semantically similar (~75%+), it updates instead of creating new.
2026-01-06 00:59:09 +01:00
## A2A Message Not Delivered
2026-06-05 17:20:36 +02:00
**Problem** : Sent a `dm` but no response
2026-01-06 00:59:09 +01:00
**Check** :
2026-06-16 23:18:55 +02:00
1. Is the recipient in your **own cell** ? Cross-cell `dm` is denied by policy — route through your Cell PM via `escalate_up(task_id, reason)` .
2. Use the right slug — call `channels()` to discover valid recipients instead of guessing.
2026-06-05 17:20:36 +02:00
3. Did you include `task_id` ? It anchors the message to the work.
2026-01-06 00:59:09 +01:00
**Solutions** :
2026-06-05 17:20:36 +02:00
- Same-cell peer: `dm(recipient="be-qa", text="...", task_id="...")`
- Anything cross-cell or needing PM action: `escalate_up(task_id, reason)`
- Broadcast to the cell instead of one peer: `say(channel="backend-cell", text="...")`
2026-01-06 00:59:09 +01:00
2026-06-05 17:20:36 +02:00
## Cross-Cell Message Denied
2026-01-06 00:59:09 +01:00
2026-06-05 17:20:36 +02:00
**Error** : A `dm` to an agent outside your cell is rejected by policy
2026-01-06 00:59:09 +01:00
2026-06-05 17:20:36 +02:00
**Cause** : Direct A2A is same-cell only — there is no cross-cell `dm`
2026-01-06 00:59:09 +01:00
2026-06-16 23:18:55 +02:00
**Solution** : Escalate up the chain. Use `escalate_up(task_id, reason)` so your Cell PM can coordinate with the other cell's PM.