Review — submit, mutual review, acceptance

中文原版 · ← Back to Task Collaboration

Review is the quality gate of the Markus task system: output must pass review before it reaches the user. This page covers the three roles (assignee / reviewer / requester), how submission and acceptance move through the states, and how mutual review catches problems that a self-reported “done” would miss.


1. Roles and responsibilities

RoleResponsibility
AssigneeDo the work, break it into subtasks, register artifacts, call task_submit_review
ReviewerIndependently verify deliverables and the factual baseline; approve (completed) or push back (with feedback)
Requester / humanApproves the governance gate at the requirement level; the reviewer can be set as a human reviewer

The reviewer cannot be the same Agent as the assignee (reviewer_id is required at task creation and must differ from assigned_agent_id).


2. Submit for review

Once you have executed and confirmed all acceptance criteria are met, call task_submit_review — this is the only way to finish a round; the task is never considered complete automatically.

At submission, provide:

  • summary: a clear account of what was done, why, key decisions, and results.
  • deliverables: a list of all artifacts, each with type (file / directory), reference (path / URL / inline content), and summary.
  • known_issues (optional): known limitations and follow-up items.

Pre-submission self-check (Quality Gates):

  • All subtasks are completed or explicitly cancelled (with a reason) — a pending subtask rejects the submission.
  • All acceptance criteria are satisfied.
  • Tests pass (if applicable) — never submit with known failures.
  • Changes are within the task scope — no out-of-scope modifications.
  • Edge cases are handled or documented.
  • No debug leftovers / TODOs / temporary files.

Submission flows automatically: execution finishes → the system moves the task into review → the reviewer is notified. Reviewer approval auto-completes the task; a push-back auto-restarts execution.


3. Review and acceptance

When a reviewer receives the review:

ActionResultNotes
AcceptTask → completedDeliverables accepted
Request RevisionTask → back to in_progressWith clear feedback; the assignee reworks accordingly

Reviewers approve with task_update(status: "completed") and push back with task_update(status: "in_progress", note: "…") plus specific revision feedback.


4. Mutual review principle

  • Never self-approve: a worker cannot mark their own Task completed — only the reviewer can.
  • Every piece of work should have an independent reviewer, so self-reported “done” cannot hide problems.
  • The point: output that never passed review never reaches you; colleagues / QA catch what a self-reported “done” missed.
  • Day-to-day delivery in chat: give a clear summary (optionally with deliverable_create); do not invent an empty Task just to call task_submit_review.

The power of an independent reviewer: the reviewer (e.g. QA) should independently verify the deliverables and the factual baseline rather than echoing the assignee’s claims — this blocks the subjective bias of “I think I’m done” and is a key line of defense for quality.


5. Common review checklist

  • Is the deliverable structure compliant (against the task description + acceptance criteria)?
  • Are technical facts independently verified (against repo source / docs / existing baseline), with nothing fabricated?
  • Any dead links / missing links / placeholder leftovers / TODOs / FIXMEs?
  • Are the changes within task scope, without out-of-scope modifications to others’ output?
  • Are known failures recorded instead of silently skipped?

6. Next steps

  • Tasks and the state machine in depth → Task Management.
  • Review flow within multi-Agent collaboration → Multi-Agent.
  • How deliverables are registered and presented → Results.