Skip to main content

Cancel, retry, and follow up on work

Status: Ready

Article ID: 039

Truth label: Limited

Audience: Agency operator

Reader outcome: Choose cancellation, automatic or manual retry, revision, or a separate follow-up based on the current run state and evidence.

Related articles: 015, 032, 060

Target week: 16

Last verified: 2026-09-13

Technical reviewer: Codex source audit

Editorial reviewer: Codex editorial audit

Cancel work that should stop​

Cancel a pending task when it should never start. Central marks it cancelled immediately and cascades cancellation to waiting dependents.

For assigned, in-progress, or checkpoint work, Central records cancel_requested. The worker sees that flag during lease polling, stops the CLI, and reports cancelled. Until that report arrives, the task can remain in its active state. Cancellation is cooperative, not an instant process kill from Central.

Retry machine or verification failure​

Automatic retry is opt-in and bounded by max_verification_retries. A failed attempt returns to pending only while budget remains. It keeps the assigned worker and can resume a Claude Code CLI session when the failed run reported one.

Use this for transient machine, provider, or verification failures where the same brief is still correct. Do not enable it for deterministic unsafe behavior or a wrong objective.

Use revision for a human correction​

At a checkpoint, request revision when the operator knows what must change. Central appends bounded feedback and requeues the appropriate stage. Human revision does not consume the automatic retry budget.

Write feedback that names the violated constraint and expected evidence. A revision is part of the original task's decision history, unlike a separate manual retry task.

Create a new task when history should stay intact​

Cortex offers “Retry as new task” after a failure. This copies relevant task settings into a separate record, leaving the failed attempt intact. Use it when you want a fresh task identity or must change routing, permission, verification, or the brief substantially.

A follow-up is also a separate task. It can share the Forge session and, when available, resume the prior CLI session. Use it to ask a question or perform a narrow check without deciding the held task. A queued continuation message on a completed task keeps that task's execution settings and writing context, and carries a continuation provenance record, because it resumes existing work rather than starting new work through default resolution.

Make the choice from evidence​

Before acting, inspect task state, checkpoint stage, error, verification, attempt history, worker health, files changed, and whether a resumable CLI id exists. Then choose:

  • cancel for unwanted work
  • automatic retry for an anticipated transient failure
  • revise for a known correction inside the original review flow
  • new-task retry for a fresh execution record
  • follow-up for a separate question or check

Current limits​

Cancellation cannot undo files already changed. A killed process can leave a partial checkout. A follow-up can start fresh when no resumable CLI id was reported. Retry and resume do not prove idempotent side effects outside Forge, and manual lifecycle actions share the trusted operator boundary.

Next lesson​

Continue with Read Forge analytics.

Derivative map​

  • Weekly package: WEEK-16
  • Long video: VIDEO-W16-LONG
  • Shorts: SHORT-W16-PROBLEM, SHORT-W16-MECHANISM, SHORT-W16-WARNING
  • Email: EMAIL-W16
  • LinkedIn: LI-W16-A, LI-W16-B
  • X: X-W16-A, X-W16-B
  • Visual: VISUAL-W16

Review record​

  • Pending and active cancellation, automatic retry, revision, new-task retry, and follow-up behavior checked against current source.
  • Partial-checkout, resume, idempotency, authority, and cascade limits reviewed.
  • Decision table preserves prior run and review evidence.
  • Internal links and repository voice reviewed.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13