Todos los comandos · lifecycle
pm claim
Claim an item for active work.
Claims an item to signal active ownership and reduce conflicts.
Uso
pm claim [options] [id]Argumentos
| <id> | Item id (omit with --next) | opcional |
|---|
Opciones
| --start | Claim and start an explicit item | opcional |
|---|---|---|
| --author <value> | Mutation author | opcional |
| --message <value> | History message | opcional |
| --force | Force claim override | opcional |
| --if-available | Skip another author's claim (skipped=true) | opcional |
| --next | Atomically claim the next caller-available actionable item | opcional |
| --type <value> | Filter --next candidates by type | opcional |
| --tag <value> | Filter --next candidates by tag | opcional |
| --priority <value> | Filter --next candidates by priority | opcional |
| --assignee-filter <value> | Filter --next candidates: assigned|unassigned | opcional |
| --parent <id> | Scope --next candidates to a subtree | opcional |
| --sprint <value> | Filter --next candidates by sprint | opcional |
| --release <value> | Filter --next candidates by release | opcional |
| --max-attempts <n> | Bound the --next candidate walk (default 10; maximum 100) | opcional |
| --include-decisions | Allow --next to claim human-gated Decision items | opcional |
| --include-gates | Allow --next to claim outcome gates | opcional |
| --include-containers | Allow --next to claim containers with unfinished descendants | opcional |
| --token-budget <n> | Bound the estimated tokens used to rank --next candidates | opcional |
| --explain-ranking | Include ranking provenance for --next selection | opcional |
Ejemplos
pm claim pm-a1b2 --start