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|materialize | obligatorio |
|---|---|---|
| <id> | Plan id (required for non-create subcommands); for create this may be the positional title | opcional |
| <step> | Step reference: stable id (plan-step-001) or order integer | opcional |
| <new-order> | New order integer for reorder-step | opcional |
Opciones
| --title <value> | Plan title | opcional |
|---|---|---|
| --description <value> | Plan description | opcional |
| --scope <value> | Short scope statement of the target change or investigation | opcional |
| --parent <value> | Parent pm item id | opcional |
| --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|generic | opcional |
| --mode <value> | Plan mode: draft|research|review|approved|executing|paused|completed|superseded | opcional |
| --resume-context <value> | Compact context summary for a future stateless agent | opcional |
| --tags <value> | Comma-separated tags | opcional |
| --priority <value> | Priority 0-4 | opcional |
| --body <value> | Plan item body | opcional |
| --claim | Claim the plan on create for the author | opcional |
| --from-search <value> | Record the search query that led to plan creation | opcional |
| --template <value> | Seed plan steps from a built-in template: bug-investigation|feature-implementation|refactoring-sprint | opcional |
| --step-title <value> | Step title for add-step / update-step | opcional |
| --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 text | opcional |
| --step-owner <value> | Step owner | opcional |
| --step-status <value> | Step status: pending|in_progress|completed|blocked|skipped|superseded | opcional |
| --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 step | opcional |
| --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|supersedes | opcional |
| --link-note <value> | Optional note for the link | opcional |
| --promote-to-item-dep | Also add the linked id as a top-level item dependency when linking | opcional |
| --allow-multiple-active | Allow multiple steps to be in_progress at once | opcional |
| --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 text | opcional |
| --decision-rationale <value> | Decision log entry rationale | opcional |
| --decision-evidence <value> | Decision log entry evidence | opcional |
| --discovery-text <value> | Discovery log entry text | opcional |
| --validation-text <value> | Validation log entry text | opcional |
| --validation-command <value> | Validation log entry command | opcional |
| --validation-expected <value> | Validation log entry expected outcome | opcional |
| --depth <value> | Show depth: brief|standard|deep (default: brief) | opcional |
| --fields <value> | Comma-separated field projection for show output | opcional |
| --steps <value> | Comma-separated step ids/orders for materialize | opcional |
| --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 children | opcional |
| --field <name=value> | Custom field value forwarded to every materialized child (repeatable) | opcional |
| --author <value> | Mutation author | opcional |
| --message <value> | Mutation message | opcional |
| --force | Force ownership override | opcional |
| --create-mode <value> | Create required-option policy mode: strict|progressive | opcional |
| --status, -s <value> | Item status | opcional |
| --deadline <value> | Deadline (ISO/date string or relative +6h/+1d/+2w/+6m) | opcional |
| --estimate, --estimated-minutes <value> | Estimated minutes | opcional |
| --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 integer | opcional |
| --goal <value> | Goal identifier | opcional |
| --objective <value> | Objective identifier | opcional |
| --value <value> | Business value summary | opcional |
| --impact <value> | Business impact summary | opcional |
| --outcome <value> | Expected outcome summary | opcional |
| --why-now <value> | Why-now rationale | opcional |
| --assignee <value> | Item assignee | opcional |
| --reviewer <value> | Reviewer | opcional |
| --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 identifier | opcional |
| --release <value> | Release identifier | opcional |
| --blocked-reason <value> | Blocked reason | opcional |
| --unblock-note <value> | Unblock rationale note | opcional |
| --reporter <value> | Issue reporter | opcional |
| --severity <value> | Issue severity: low|med|medium|high|critical (med persists as medium) | opcional |
| --environment <value> | Issue environment context | opcional |
| --repro-steps <value> | Issue reproduction steps | opcional |
| --resolution <value> | Issue resolution summary | opcional |
| --expected-result <value> | Issue expected behavior | opcional |
| --expected <value> | Short alias for --expected-result | opcional |
| --actual-result <value> | Issue observed behavior | opcional |
| --actual <value> | Short alias for --actual-result | opcional |
| --affected-version <value> | Affected version identifier | opcional |
| --fixed-version <value> | Fixed version identifier | opcional |
| --component <value> | Issue component ownership | opcional |
| --regression [value] | Regression marker; bare flag means true, or pass true|false|1|0 | opcional |
| --customer-impact <value> | Customer impact summary | opcional |
| --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