AgentFlow

Resume · AgentFlow CLI

Reprendre un run interrompu

CLI path: agentflow resume

When to use

Operational commands summarise historical runs or unblock automation by resuming deterministic workflow bookkeeping without rewriting task definitions manually.

Original CLI synopsis: Reprendre un run interrompu

Usage

agentflow resume [flags]

Options

FlagScopeDefaultDescription
--dry-runInheritedfalseSimuler les exécutions sans lancer d'agent ni commandes externes
--executeLocalfalseExécuter le prochain step (dry-run uniquement)
--forceLocalfalseRelancer une étape déjà réussie

Examples

agentflow resume

Wire richer samples through cobra.Command.Example when the happy path warrants copy/paste-friendly automation beyond this scaffold.

What happens internally

  • Reloads checkpoints for the requested run identifier, obeying --force / --execute semantics layered with persistent --dry-run rehearsals.

Failure modes

  • Cobra rejects unknown flags or arity mismatches before any repository side effects occur.
  • AgentFlow cannot resolve scaffolding when the command is invoked outside an initialised checkout.
  • Delegated subprocesses (git, MCP hosts, editor agents, etc.) can exit non-zero and bubble errors verbatim.