AgentFlow

Sync · AgentFlow CLI

Synchroniser une source externe vers le repo local

CLI path: agentflow sync

When to use

Orchestration commands coordinate higher-order AgentFlow workloads such as ingestion, syncing, backlog triage, investigative passes, hydrated context payloads, coarse estimates, and workspace-specific automation.

Original CLI synopsis: Synchroniser une source externe vers le repo local

Usage

agentflow sync [flags]

Options

FlagScopeDefaultDescription
--dry-runInheritedfalseSimuler les exécutions sans lancer d'agent ni commandes externes
--featureLocal(empty)Feature slug
--forceLocalfalseÉcraser spec locale sans confirmation
--pageLocal(empty)URL page Notion

Examples

agentflow sync

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

What happens internally

  • Hydrates contextual services resolved from $PWD, coordinating git-bound automation, ingestion pipelines, syncing, backlog triage, investigations, MCP hooks, contextual hydration, coarse estimates, and similar orchestrations for this subtree.

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.
  • Downstream automation may fail whenever credentials, network endpoints, or cached prerequisites drift from expectations.