Todos los comandos · context
pm list
List active items with optional lifecycle-status and project filters.
Lists active items with deterministic filtering and ordering.
Uso
pm list [options]Opciones
| --status <value> | Filter by status (repeatable or comma-separated; matches any; all selects every status) | opcional |
|---|---|---|
| --all | Include every lifecycle status | opcional |
| --for <intent> | Apply a declared context intent projection. Allowed core values: triage. Configured package and workspace intents may extend this domain. | opcional |
| --token-budget <n> | Override the selected intent's maximum estimated output tokens | opcional |
| --type <value> | Filter by item type (repeatable or comma-separated; matches any) | opcional |
| --tag <value> | Filter by tag (repeatable or comma-separated; matches any) | opcional |
| --priority <value> | Filter by priority (repeatable or comma-separated; matches any) | opcional |
| --deadline-before <value> | Filter by deadline upper bound (ISO/date string or relative) | opcional |
| --deadline-after <value> | Filter by deadline lower bound (ISO/date string or relative) | opcional |
| --today | Filter to items updated since local midnight today | opcional |
| --recent | Filter to items updated in the last 7 days | opcional |
| --updated-after <value> | Updated since ISO timestamp or signed relative (-2h/-7d for past); use last-window ISO | opcional |
| --updated-before <value> | Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d) | opcional |
| --created-after <value> | Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d) | opcional |
| --created-before <value> | Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d) | opcional |
| --ids <value> | Filter by explicit item IDs (comma-separated or repeatable) | opcional |
| --assignee <value> | Filter by assignee | opcional |
| --assignee-filter <value> | Filter assignee presence: assigned|unassigned | opcional |
| --parent <value> | Filter by parent item ID | opcional |
| --sprint <value> | Filter by sprint | opcional |
| --release <value> | Filter by release | opcional |
| --filter-ac-missing | Show only items missing acceptance_criteria | opcional |
| --filter-estimates-missing | Show only items missing estimated_minutes | opcional |
| --filter-resolution-missing | Show only terminal items missing resolution | opcional |
| --filter-metadata-missing | Show only items missing any tracked metadata (AC, estimate, or resolution) | opcional |
| --offset <n> | Skip the first n matching rows before limit is applied | opcional |
| --after <cursor> | Continue after an opaque next_cursor from a previous list response | opcional |
| --no-truncate | Return every matched row after the explicit status and field filters | opcional |
| --include-body | Include item body in each returned list row | opcional |
| --strict-read | Fail closed if any item document or item directory cannot be read | opcional |
| --compact | Render compact list projection fields (mutually exclusive with --brief/--full/--fields) | opcional |
| --brief | Ultra-compact output: id, status, type, title only (agent-optimized, mutually exclusive with --compact/--full/--fields) | opcional |
| --full | Render full list projection fields (mutually exclusive with --compact/--brief/--fields) | opcional |
| --fields <value> | Render custom comma-separated list fields (mutually exclusive with --compact/--brief/--full). Allowed core values: acceptance_criteria|actual_result|affected_version|assignee|author|blocked_by|blocked_reason|body|claim_principal|close_reason|closed_at|comments|completed_at|component|confidence|created_at|customer_impact|deadline|definition_of_ready|dependencies|description|design|docs|duplicate_of|environment|estimated_minutes|events|expected_result|external_ref|files|fixed_version|goal|id|impact|learnings|notes|objective|order|outcome|parent|plan_decisions|plan_discoveries|plan_harness|plan_mode|plan_resume_context|plan_scope|plan_steps|plan_validation|pm_format_version|priority|regression|release|reminders|reporter|repro_steps|resolution|reviewer|risk|severity|source_owner|source_type|sprint|status|tags|test_runs|tests|title|tree_children|tree_depth|tree_parent|tree_title|type|type_options|unblock_note|updated_at|value|why_now. item.<field> aliases and configured runtime metadata fields are also accepted. | opcional |
| --sort <value> | Sort field: priority|deadline|updated_at|created_at|title|parent (aliases: updated, created) | opcional |
| --order <value> | Sort order: asc|desc (requires --sort) | opcional |
| --tree | Render rows in parent/child tree order | opcional |
| --tree-depth <n> | Maximum recursion depth with --tree (0 keeps root rows only) | opcional |
| --format <value> | Output render mode: csv|table (human export) or json|ndjson|toon (machine output override) | opcional |
| --stream | Emit line-delimited JSON rows (requires --json) | opcional |
| --has-notes | Show only items that have notes | opcional |
| --has-learnings | Show only items that have learnings | opcional |
| --has-files | Show only items that have linked files | opcional |
| --has-docs | Show only items that have linked docs | opcional |
| --has-tests | Show only items that have linked tests | opcional |
| --has-comments | Show only items that have comments | opcional |
| --has-deps | Show only items that have dependencies | opcional |
| --has-body | Show only items that have a non-empty body | opcional |
| --has-linked-command | Show only items whose linked tests carry a runnable command | opcional |
| --no-notes | Show only items that have no notes | opcional |
| --no-learnings | Show only items that have no learnings | opcional |
| --no-files | Show only items that have no linked files | opcional |
| --no-docs | Show only items that have no linked docs | opcional |
| --no-tests | Show only items that have no linked tests | opcional |
| --no-comments | Show only items that have no comments | opcional |
| --no-deps | Show only items that have no dependencies | opcional |
| --empty-body | Show only items with an empty body | opcional |
| --no-linked-command | Show only items whose linked tests carry no runnable command | opcional |
| --filter-reviewer-missing | Show only items missing reviewer | opcional |
| --filter-risk-missing | Show only items missing risk | opcional |
| --filter-confidence-missing | Show only items missing confidence | opcional |
| --filter-sprint-missing | Show only items missing sprint | opcional |
| --filter-release-missing | Show only items missing release | opcional |
Ejemplos
pm list --limit 20