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