Files
roboco/docs/rag/lifecycle/status-transitions.md
T
Renn F 5902c0fe38 feat(roles): add the read-only pr_reviewer role end-to-end
A global, read-only PR reviewer agent (pr-reviewer-1) that reviews inbound
external/fork PRs and posts one change-request. Wired end-to-end:

- identity: Role.PR_REVIEWER + agent + ROLE_LEVEL (QA-peer) + REVIEWER_ROLES
- lifecycle: CLAIM_RULES + ROLE_TEAM_RULES + a dedicated claim_pr_review /
  post_pr_review verb pair (distinct from QA's) + the pr_review_done action and
  its in_progress->completed transition; give_me_work / i_am_idle gain the role
- role_config: a read-only RoleConfig (allows_write=False)
- journaling: ALL_CELLS read tier so it can read internal intent like QA
- tracing: post_pr_review requires a learning entry; claim_pr_review is waived
- seeds presentation + factory prompt layer + builtin tools + the agentrole
  enum migration (037) + regenerated verb/lifecycle artifacts

Read-only at /app like QA/auditor; default-off — nothing dispatches review work
until external_pr_enabled. Foundation + role-config + enum suites green; ruff +
mypy clean; orchestrator boots.
2026-06-16 10:37:06 +02:00

40 lines
2.0 KiB
Markdown

# Status Transitions
| Source | Target | Action | Roles |
|--------|--------|--------|-------|
| awaiting_ceo_approval | cancelled | cancel | cell_pm, ceo, main_pm |
| awaiting_ceo_approval | completed | ceo_approve | ceo |
| awaiting_ceo_approval | needs_revision | ceo_reject | ceo |
| awaiting_documentation | awaiting_pm_review | docs_complete | documenter |
| awaiting_documentation | cancelled | cancel | cell_pm, ceo, main_pm |
| awaiting_documentation | claimed | claim | documenter |
| awaiting_pm_review | awaiting_ceo_approval | escalate_to_ceo | head_marketing, main_pm, product_owner |
| awaiting_pm_review | cancelled | cancel | cell_pm, ceo, main_pm |
| awaiting_pm_review | completed | complete | cell_pm, main_pm |
| awaiting_qa | awaiting_documentation | qa_pass | qa |
| awaiting_qa | cancelled | cancel | cell_pm, ceo, main_pm |
| awaiting_qa | claimed | claim | qa |
| awaiting_qa | needs_revision | qa_fail | qa |
| backlog | cancelled | cancel | cell_pm, ceo, main_pm |
| backlog | pending | activate | any |
| blocked | awaiting_ceo_approval | escalate_to_ceo | head_marketing, main_pm, product_owner |
| blocked | cancelled | cancel | cell_pm, ceo, main_pm |
| blocked | in_progress | unblock | any |
| blocked | pending | unblock | any |
| claimed | cancelled | cancel | cell_pm, ceo, main_pm |
| claimed | in_progress | start | any |
| in_progress | awaiting_pm_review | submit_pm_review | any |
| in_progress | blocked | block | any |
| in_progress | cancelled | cancel | cell_pm, ceo, main_pm |
| in_progress | completed | pr_review_done | pr_reviewer |
| in_progress | paused | pause | any |
| in_progress | verifying | submit_verification | any |
| needs_revision | cancelled | cancel | cell_pm, ceo, main_pm |
| needs_revision | claimed | claim | any |
| paused | cancelled | cancel | cell_pm, ceo, main_pm |
| paused | in_progress | resume | any |
| pending | cancelled | cancel | cell_pm, ceo, main_pm |
| pending | claimed | claim | any |
| verifying | awaiting_qa | submit_qa | any |
| verifying | cancelled | cancel | cell_pm, ceo, main_pm |