Alle Befehle · 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.

Aufruf

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

Argumente

<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|materializeerforderlich
<id>Plan id (required for non-create subcommands); for create this may be the positional titleoptional
<step>Step reference: stable id (plan-step-001) or order integeroptional
<new-order>New order integer for reorder-stepoptional

Optionen

--title <value>Plan titleoptional
--description <value>Plan descriptionoptional
--scope <value>Short scope statement of the target change or investigationoptional
--parent <value>Parent pm item idoptional
--related <value>Related pm item ids (repeatable, csv-friendly)optional
--blocks <value>Pm item ids this plan blocks (repeatable, csv-friendly)optional
--blocked-by <value>Pm item ids that block this plan (repeatable, csv-friendly)optional
--harness <value>Plan harness provenance: codex|claude-code|cursor|genericoptional
--mode <value>Plan mode: draft|research|review|approved|executing|paused|completed|supersededoptional
--resume-context <value>Compact context summary for a future stateless agentoptional
--tags <value>Comma-separated tagsoptional
--priority <value>Priority 0-4optional
--body <value>Plan item bodyoptional
--claimClaim the plan on create for the authoroptional
--from-search <value>Record the search query that led to plan creationoptional
--template <value>Seed plan steps from a built-in template: bug-investigation|feature-implementation|refactoring-sprintoptional
--step-title <value>Step title for add-step / update-stepoptional
--step <value>Step title (repeatable on create: each --step appends an ordered step; elsewhere a single value aliases --step-title)optional
--step-body <value>Step body textoptional
--step-owner <value>Step owneroptional
--step-status <value>Step status: pending|in_progress|completed|blocked|skipped|supersededoptional
--step-evidence <value>Step evidence text (used by update-step/complete-step)optional
--step-blocked-reason <value>Step blocked reason (required when blocking)optional
--step-replacement <value>Replacement reference for a superseded stepoptional
--depends-on <value>Pm item ids the step depends on (repeatable, csv-friendly)optional
--link <value>Pm item id to link (repeatable, csv-friendly)optional
--link-kind <value>Link kind: related|blocks|blocked_by|depends_on|discovered_from|implements|recurs_from|verifies|supersedesoptional
--link-note <value>Optional note for the linkoptional
--promote-to-item-depAlso add the linked id as a top-level item dependency when linkingoptional
--allow-multiple-activeAllow multiple steps to be in_progress at onceoptional
--file <value>Step linked file path=<value>[,scope=project|global,note=<text>] (repeatable)optional
--test <value>Step linked test command=<value>[,path=<value>,note=<text>] (repeatable)optional
--doc <value>Step linked doc path=<value>[,scope=project|global,note=<text>] (repeatable)optional
--decision-text <value>Decision log entry textoptional
--decision-rationale <value>Decision log entry rationaleoptional
--decision-evidence <value>Decision log entry evidenceoptional
--discovery-text <value>Discovery log entry textoptional
--validation-text <value>Validation log entry textoptional
--validation-command <value>Validation log entry commandoptional
--validation-expected <value>Validation log entry expected outcomeoptional
--depth <value>Show depth: brief|standard|deep (default: brief)optional
--fields <value>Comma-separated field projection for show outputoptional
--steps <value>Comma-separated step ids/orders for materializeoptional
--materialize-type <value>Item type for materialized steps (default: Task)optional
--materialize-parent <value>Parent item id for materialized children (default: the plan)optional
--materialize-tags <value>Comma-separated tags for materialized childrenoptional
--field <name=value>Custom field value forwarded to every materialized child (repeatable)optional
--author <value>Mutation authoroptional
--message <value>Mutation messageoptional
--forceForce ownership overrideoptional
--create-mode <value>Create required-option policy mode: strict|progressiveoptional
--status, -s <value>Item statusoptional
--deadline <value>Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)optional
--estimate, --estimated-minutes <value>Estimated minutesoptional
--acceptance-criteria <value>Acceptance criteria (repeatable; values join with '; '; allow empty string)optional
--definition-of-ready <value>Definition of ready (allow empty string)optional
--order <value>Planning order/rank integeroptional
--goal <value>Goal identifieroptional
--objective <value>Objective identifieroptional
--value <value>Business value summaryoptional
--impact <value>Business impact summaryoptional
--outcome <value>Expected outcome summaryoptional
--why-now <value>Why-now rationaleoptional
--assignee <value>Item assigneeoptional
--reviewer <value>Revieweroptional
--risk <value>Risk level: low|med|medium|high|critical (med persists as medium)optional
--confidence <value>Confidence level: 0..100|low|med|medium|high (med persists as medium)optional
--sprint <value>Sprint identifieroptional
--release <value>Release identifieroptional
--blocked-reason <value>Blocked reasonoptional
--unblock-note <value>Unblock rationale noteoptional
--reporter <value>Issue reporteroptional
--severity <value>Issue severity: low|med|medium|high|critical (med persists as medium)optional
--environment <value>Issue environment contextoptional
--repro-steps <value>Issue reproduction stepsoptional
--resolution <value>Issue resolution summaryoptional
--expected-result <value>Issue expected behavioroptional
--expected <value>Short alias for --expected-resultoptional
--actual-result <value>Issue observed behavioroptional
--actual <value>Short alias for --actual-resultoptional
--affected-version <value>Affected version identifieroptional
--fixed-version <value>Fixed version identifieroptional
--component <value>Issue component ownershipoptional
--regression [value]Regression marker; bare flag means true, or pass true|false|1|0optional
--customer-impact <value>Customer impact summaryoptional
--type-option <value>Type option key=value or key=<name>,value=<value> (also accepts key:value and markdown pairs; use - for stdin; repeatable)optional
--reminder <value>Seed reminder entry at=<iso|relative>,text=<text> (also accepts markdown pairs and - for stdin; repeatable)optional
--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)optional
--comment <value>Seed comment entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)optional
--note <value>Seed note entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)optional
--learning <value>Seed learning entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)optional

Beispiele

pm plan --help

Verwandte Befehle