NOW RAG is actually usable... might switch to gemma3:4b from glm-4.6 cloud for expenses reasons but we'll see

This commit is contained in:
Renn F
2026-01-03 05:07:45 +01:00
parent 16dda8134b
commit 1d173a5203
76 changed files with 4196 additions and 10668 deletions
+72
View File
@@ -0,0 +1,72 @@
# Task States Reference
## State Categories
### Active States (Work happening)
- `claimed` - Agent has ownership, about to start
- `in_progress` - Active work
- `verifying` - Self-verification
- `needs_revision` - Fixing QA issues
### Waiting States (On hold)
- `blocked` - Waiting on dependency
- `paused` - Temporarily stopped
- `awaiting_qa` - Ready for QA review
- `awaiting_documentation` - Ready for docs
- `awaiting_pm_review` - Ready for PM approval
- `awaiting_ceo_approval` - Major task, CEO review
### Terminal States (Done)
- `completed` - Work finished
- `cancelled` - Work cancelled
### Special States
- `quarantined` - Problematic task, can return to pending
### Setup State
- `backlog` - PM setup phase, not ready for work
## State Transitions
### Developer Flow
```
pending → claimed → in_progress → verifying → awaiting_qa
↑ ↓
└── needs_revision ←──────┘
```
### QA Flow
```
awaiting_qa → claimed → in_progress → pass/fail
pass: awaiting_documentation
fail: needs_revision
```
### Documenter Flow
```
awaiting_documentation → claimed → in_progress → awaiting_pm_review
```
### PM Activation
```
backlog → pending (via roboco_task_activate)
```
## Role-Restricted Transitions
| Transition | Allowed Roles |
|------------|---------------|
| `backlog → pending` | cell_pm, main_pm |
| `awaiting_qa → awaiting_documentation` | qa only |
| `awaiting_qa → needs_revision` | qa only |
| `awaiting_documentation → awaiting_pm_review` | documenter only |
| `awaiting_pm_review → completed` | cell_pm, main_pm |
| `any → cancelled` | cell_pm, main_pm |
## Checking State
```python
task = roboco_task_get(task_id)
# task.status contains current state
```