Skip to main content

/done

Run the Definition of Done check before a task is allowed to close. This is /continue step 13 as a standalone command.

What it does

Invoke the process-guardian agent on the current task / merged PR. It verifies the Definition of Done — the same ordered checklist rendered into the task's body:

  • The PR references a valid CU-id and closes #N for its GitHub Issue.
  • lint / typecheck / test / build are green (delegates to /verify if not already run).
  • API: any added/changed HTTP endpoint is saved in the R&D Postman workspace with a sample request + saved response example, collection runner green (postman-endpoint).
  • No secrets were introduced (scan the diff).
  • Backward-compatibility and contract checks pass where they apply.
  • For UI/contract work, the relevant gate signed off — code-reviewer, and for design changes /design-review.
  • The deploy succeeded and telemetry is clean for the defined window.

Outcome

  • All pass → confirm Done; move the ClickUp status (default autonomous after a clean deploy per autonomy-model.md).
  • Any failprocess-guardian blocks the close, names the failing item, and routes to the owner. Do not move the task to Done. Never satisfy a gate with a placeholder.

This is a Hard-Floor gate: it runs regardless of the developer's autonomy setting.