Context · AgentFlow CLI
Afficher ou optimiser le contexte prévu
CLI path: agentflow context
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: Afficher ou optimiser le contexte prévu
Usage
agentflow context [flags]Options
| Flag | Scope | Default | Description |
|---|---|---|---|
--dry-run | Inherited | false | Simuler les exécutions sans lancer d'agent ni commandes externes |
--optimize | Local | false | Afficher le résumé tokens |
--show | Local | false | Afficher le contexte pack |
--task | Local | (empty) | ID de tâche |
Examples
agentflow contextWire 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.