Todos los comandos · graph

pm plan

Agent-optimized Plan item workflow: create, manage steps, link dependencies, approve, and materialize.

Agent-optimized Plan item workflow: create, manage steps, link dependencies, approve, and materialize.

Uso

pm plan [options] <subcommand> [id] [step] [new-order]

Argumentos

<subcommand>Required; Plan subcommand: create|show|add-step|update-step|complete-step|block-step|reorder-step|remove-step|link|unlink|decision|discovery|validation|resume|approve|materializeobligatorio
<id>Plan id (required for non-create subcommands); for create this may be the positional titleopcional
<step>Step reference: stable id (plan-step-001) or order integeropcional
<new-order>New order integer for reorder-stepopcional

Opciones

--title <value>Plan titleopcional
--description <value>Plan descriptionopcional
--scope <value>Short scope statement of the target change or investigationopcional
--parent <value>Parent pm item idopcional
--related <value>Related pm item ids (repeatable, csv-friendly)opcional
--blocks <value>Pm item ids this plan blocks (repeatable, csv-friendly)opcional
--blocked-by <value>Pm item ids that block this plan (repeatable, csv-friendly)opcional
--harness <value>Plan harness provenance: codex|claude-code|cursor|genericopcional
--mode <value>Plan mode: draft|research|review|approved|executing|paused|completed|supersededopcional
--resume-context <value>Compact context summary for a future stateless agentopcional
--tags <value>Comma-separated tagsopcional
--priority <value>Priority 0-4opcional
--body <value>Plan item bodyopcional
--claimClaim the plan on create for the authoropcional
--from-search <value>Record the search query that led to plan creationopcional
--template <value>Seed plan steps from a built-in template: bug-investigation|feature-implementation|refactoring-sprintopcional
--step-title <value>Step title for add-step / update-stepopcional
--step <value>Step title (repeatable on create: each --step appends an ordered step; elsewhere a single value aliases --step-title)opcional
--step-body <value>Step body textopcional
--step-owner <value>Step owneropcional
--step-status <value>Step status: pending|in_progress|completed|blocked|skipped|supersededopcional
--step-evidence <value>Step evidence text (used by update-step/complete-step)opcional
--step-blocked-reason <value>Step blocked reason (required when blocking)opcional
--step-replacement <value>Replacement reference for a superseded stepopcional
--depends-on <value>Pm item ids the step depends on (repeatable, csv-friendly)opcional
--link <value>Pm item id to link (repeatable, csv-friendly)opcional
--link-kind <value>Link kind: related|blocks|blocked_by|depends_on|discovered_from|implements|recurs_from|verifies|supersedesopcional
--link-note <value>Optional note for the linkopcional
--promote-to-item-depAlso add the linked id as a top-level item dependency when linkingopcional
--allow-multiple-activeAllow multiple steps to be in_progress at onceopcional
--file <value>Step linked file path=<value>[,scope=project|global,note=<text>] (repeatable)opcional
--test <value>Step linked test command=<value>[,path=<value>,note=<text>] (repeatable)opcional
--doc <value>Step linked doc path=<value>[,scope=project|global,note=<text>] (repeatable)opcional
--decision-text <value>Decision log entry textopcional
--decision-rationale <value>Decision log entry rationaleopcional
--decision-evidence <value>Decision log entry evidenceopcional
--discovery-text <value>Discovery log entry textopcional
--validation-text <value>Validation log entry textopcional
--validation-command <value>Validation log entry commandopcional
--validation-expected <value>Validation log entry expected outcomeopcional
--depth <value>Show depth: brief|standard|deep (default: brief)opcional
--fields <value>Comma-separated field projection for show outputopcional
--steps <value>Comma-separated step ids/orders for materializeopcional
--materialize-type <value>Item type for materialized steps (default: Task)opcional
--materialize-parent <value>Parent item id for materialized children (default: the plan)opcional
--materialize-tags <value>Comma-separated tags for materialized childrenopcional
--field <name=value>Custom field value forwarded to every materialized child (repeatable)opcional
--author <value>Mutation authoropcional
--message <value>Mutation messageopcional
--forceForce ownership overrideopcional
--create-mode <value>Create required-option policy mode: strict|progressiveopcional
--status, -s <value>Item statusopcional
--deadline <value>Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)opcional
--estimate, --estimated-minutes <value>Estimated minutesopcional
--acceptance-criteria <value>Acceptance criteria (repeatable; values join with '; '; allow empty string)opcional
--definition-of-ready <value>Definition of ready (allow empty string)opcional
--order <value>Planning order/rank integeropcional
--goal <value>Goal identifieropcional
--objective <value>Objective identifieropcional
--value <value>Business value summaryopcional
--impact <value>Business impact summaryopcional
--outcome <value>Expected outcome summaryopcional
--why-now <value>Why-now rationaleopcional
--assignee <value>Item assigneeopcional
--reviewer <value>Revieweropcional
--risk <value>Risk level: low|med|medium|high|critical (med persists as medium)opcional
--confidence <value>Confidence level: 0..100|low|med|medium|high (med persists as medium)opcional
--sprint <value>Sprint identifieropcional
--release <value>Release identifieropcional
--blocked-reason <value>Blocked reasonopcional
--unblock-note <value>Unblock rationale noteopcional
--reporter <value>Issue reporteropcional
--severity <value>Issue severity: low|med|medium|high|critical (med persists as medium)opcional
--environment <value>Issue environment contextopcional
--repro-steps <value>Issue reproduction stepsopcional
--resolution <value>Issue resolution summaryopcional
--expected-result <value>Issue expected behavioropcional
--expected <value>Short alias for --expected-resultopcional
--actual-result <value>Issue observed behavioropcional
--actual <value>Short alias for --actual-resultopcional
--affected-version <value>Affected version identifieropcional
--fixed-version <value>Fixed version identifieropcional
--component <value>Issue component ownershipopcional
--regression [value]Regression marker; bare flag means true, or pass true|false|1|0opcional
--customer-impact <value>Customer impact summaryopcional
--type-option <value>Type option key=value or key=<name>,value=<value> (also accepts key:value and markdown pairs; use - for stdin; repeatable)opcional
--reminder <value>Seed reminder entry at=<iso|relative>,text=<text> (also accepts markdown pairs and - for stdin; repeatable)opcional
--event <value>Seed event entry start=<iso|relative>,end=<iso|relative>,duration=<relative|30min|PT30M>,title=<text>,all_day=<true|false>,recur_* fields (also accepts markdown pairs and - for stdin; repeatable)opcional
--comment <value>Seed comment entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)opcional
--note <value>Seed note entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)opcional
--learning <value>Seed learning entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)opcional

Ejemplos

pm plan --help

Comandos relacionados