Changes Made

roboco/agents/base.py - Added proper workflow methods:
  - _qa_pass(task_id, qa_notes) - Calls /pass-qa endpoint
  - _qa_fail(task_id, qa_notes, issues) - Calls /fail-qa endpoint
  - _docs_complete(task_id, doc_notes?) - Calls /docs-complete endpoint
  - Marked old _mark_needs_revision, _mark_awaiting_documentation, _mark_awaiting_pm_review as DEPRECATED

  roboco/agents/qa.py - Fixed verdict phase:
  - Now uses _qa_pass() instead of _mark_awaiting_documentation()
  - Now uses _qa_fail() instead of _mark_needs_revision()
  - Properly passes QA notes and issue lists

  roboco/agents/documenter.py - Fixed submit phase:
  - Now uses _docs_complete() instead of _mark_awaiting_pm_review()
  - Properly passes documentation summary as notes
This commit is contained in:
Renn F
2025-12-24 23:34:42 +01:00
parent dd1b3394a7
commit 15f5be3f8b
16 changed files with 149 additions and 35 deletions
-1
View File
@@ -131,7 +131,6 @@ async def handle_task_pause(
await client.post(
f"/tasks/{data.task_id}/checkpoint",
json={
"agent_id": agent_id,
"state_summary": data.checkpoint_summary,
"remaining_work": data.remaining_work,
"notes": data.reason,
+1 -1
View File
@@ -142,7 +142,7 @@ async def handle_task_progress(
progress_resp = await client.post(
f"/tasks/{task_id}/progress",
json={"agent_id": agent_id, "message": message, "percentage": percentage},
json={"message": message, "percentage": percentage},
)
if not progress_resp.ok: