@unbrained/pm-cli 2026.9.26 → 2026.9.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/.claude-plugin/marketplace.json +4 -6
  2. package/CHANGELOG.md +42 -0
  3. package/dist/cli/commander-usage.js +2 -2
  4. package/dist/cli/error-guidance.js +1 -1
  5. package/dist/cli/help-json-payload.js +1 -1
  6. package/dist/cli/main.js +2 -2
  7. package/dist/cli/register-operations.js +1 -1
  8. package/dist/cli/register-setup.js +1 -1
  9. package/dist/cli/runtime/selection.d.ts +3 -1
  10. package/dist/cli/runtime/selection.js +1 -1
  11. package/dist/cli-bundle/bundle-manifest.json +156 -148
  12. package/dist/cli-bundle/chunks/{chunk-TC74K7SS.js → chunk-35DME35A.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-QQD3VRMZ.js → chunk-A2G5OG6W.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-CPOWTIIS.js +2 -0
  15. package/dist/cli-bundle/chunks/{chunk-TYJXMT3Q.js → chunk-GLH2LNRH.js} +2 -2
  16. package/dist/cli-bundle/chunks/{chunk-IYN4MJ2C.js → chunk-NBDB3SRC.js} +57 -57
  17. package/dist/cli-bundle/chunks/{chunk-HTHTX6E6.js → chunk-NEUIVBFO.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-U55RYT3I.js → chunk-OYCCWPBM.js} +2 -2
  19. package/dist/cli-bundle/chunks/{chunk-VMO4P5MX.js → chunk-PLNNUAFZ.js} +2 -2
  20. package/dist/cli-bundle/chunks/{chunk-FOTXRNY6.js → chunk-PR4UAMI5.js} +44 -44
  21. package/dist/cli-bundle/chunks/{chunk-SZQCHJI4.js → chunk-UT7GRGHY.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-MJWKR7YA.js → chunk-VMJLM7P2.js} +62 -62
  23. package/dist/cli-bundle/chunks/{chunk-4ODHIX7N.js → chunk-YERBAGQD.js} +2 -2
  24. package/dist/cli-bundle/chunks/chunk-ZFHJP7YD.js +29 -0
  25. package/dist/cli-bundle/chunks/{register-list-query-426QTRET.js → register-list-query-N6RP6PSP.js} +2 -2
  26. package/dist/cli-bundle/chunks/{register-mutation-FLI3HHMP.js → register-mutation-CY7JGQE6.js} +2 -2
  27. package/dist/cli-bundle/chunks/{register-operations-TP7ZG4MK.js → register-operations-53HAD3QP.js} +2 -2
  28. package/dist/cli-bundle/chunks/register-setup-NVX6374E.js +2 -0
  29. package/dist/cli-bundle/focused-chunks/chunk-5KJXX2TZ.js +2 -0
  30. package/dist/cli-bundle/focused-chunks/{chunk-UIFVIE5F.js → chunk-6IVQPNYN.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-MK5AKKHK.js → chunk-A5O3VYWV.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/chunk-AZA4AEOR.js +75 -0
  33. package/dist/cli-bundle/focused-chunks/chunk-BGWF6CMP.js +2 -0
  34. package/dist/cli-bundle/focused-chunks/{chunk-NVVB2HJC.js → chunk-BRLXKRI2.js} +17 -17
  35. package/dist/cli-bundle/focused-chunks/{chunk-ABA3KRPY.js → chunk-DTLRXY77.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-XKH2FC5D.js → chunk-IJXZQE3D.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/{chunk-Q355NPLH.js → chunk-IWLMQLBO.js} +6 -6
  38. package/dist/cli-bundle/focused-chunks/chunk-K7GSZ7YZ.js +2 -0
  39. package/dist/cli-bundle/focused-chunks/{chunk-OY3VHCTX.js → chunk-ONDNR3VU.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/{chunk-XVBWZTU2.js → chunk-OVVCXTIE.js} +12 -12
  41. package/dist/cli-bundle/focused-chunks/{chunk-25BBHWMH.js → chunk-V7OPZRL6.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/{chunk-TLF6N56J.js → chunk-Y5Z3XNGY.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/{chunk-O7MIBEMK.js → chunk-YZB7IPR6.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/{chunk-NRHTXBTI.js → chunk-ZMQTIS3L.js} +2 -2
  45. package/dist/cli-bundle/main.js +22 -22
  46. package/dist/cli-bundle/sdk-authoring.js +1 -1
  47. package/dist/cli-bundle/sdk-contracts.js +1 -1
  48. package/dist/cli-bundle/sdk-core.js +18 -18
  49. package/dist/cli-bundle/sdk-governance.js +1 -1
  50. package/dist/cli-bundle/sdk-graph.js +1 -1
  51. package/dist/cli-bundle/sdk-merge.js +51 -51
  52. package/dist/cli-bundle/sdk-query.js +1 -1
  53. package/dist/cli-bundle/sdk-runtime.js +1 -1
  54. package/dist/cli-bundle/sdk-testing.js +1 -1
  55. package/dist/cli-bundle/sdk.js +8 -8
  56. package/dist/core/diagnostics/remediation.js +1 -1
  57. package/dist/core/item/item-format.js +1 -1
  58. package/dist/core/store/settings.js +3 -3
  59. package/dist/sdk/agent-capability-contracts.js +1 -1
  60. package/dist/sdk/cli-contracts/command-aliases.js +1 -1
  61. package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
  62. package/dist/sdk/cli-contracts/grammar-contracts.js +1 -1
  63. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
  64. package/dist/sdk/completion/fish.js +3 -3
  65. package/dist/sdk/completion/shared.d.ts +1 -1
  66. package/dist/sdk/completion/shared.js +1 -1
  67. package/dist/sdk/completion/zsh.js +3 -3
  68. package/dist/sdk/extension/copy-scope.d.ts +2 -2
  69. package/dist/sdk/extension/copy-scope.js +1 -1
  70. package/dist/sdk/extension/install-plan.js +1 -1
  71. package/dist/sdk/extension/install-runtime.js +2 -2
  72. package/dist/sdk/extension/static-inventory.d.ts +54 -0
  73. package/dist/sdk/extension/static-inventory.js +2 -0
  74. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  75. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
  76. package/dist/sdk/governance/health-merge-evidence.d.ts +18 -0
  77. package/dist/sdk/governance/health-merge-evidence.js +2 -0
  78. package/dist/sdk/governance/health.js +1 -1
  79. package/dist/sdk/guide-topics.js +1 -1
  80. package/dist/sdk/index.d.ts +1 -0
  81. package/dist/sdk/index.js +1 -1
  82. package/dist/sdk/merge/install.js +2 -2
  83. package/dist/sdk/output-projection.d.ts +1 -1
  84. package/dist/sdk/output-projection.js +1 -1
  85. package/dist/sdk/public-surface.json +1 -1
  86. package/dist/sdk/query/complete-list.js +1 -1
  87. package/dist/sdk/read-output/provenance.d.ts +20 -0
  88. package/dist/sdk/read-output/provenance.js +2 -0
  89. package/dist/sdk/read-output-budget.d.ts +1 -1
  90. package/dist/sdk/read-output-budget.js +1 -1
  91. package/dist/sdk/read-output-contracts.js +1 -1
  92. package/dist/sdk/runtime-input.js +1 -1
  93. package/dist/sdk/test/execution.d.ts +11 -0
  94. package/dist/sdk/test/execution.js +2 -2
  95. package/dist/sdk/test/parsers.d.ts +1 -1
  96. package/dist/sdk/test/parsers.js +1 -1
  97. package/dist/types.d.ts +3 -3
  98. package/dist/types.js +1 -1
  99. package/docs/AGENT_READ_AND_TEST_RECEIPTS.md +21 -0
  100. package/docs/CLAUDE_CODE_PLUGIN.md +12 -7
  101. package/docs/CLI_GRAMMAR.md +31 -0
  102. package/docs/CODEX_PLUGIN.md +8 -0
  103. package/docs/CONFIGURATION.md +2 -0
  104. package/docs/EXTENSION_LIFECYCLE.md +18 -0
  105. package/docs/PACKAGE_EVIDENCE.md +18 -7
  106. package/docs/README.md +1 -0
  107. package/docs/RELEASING.md +46 -1
  108. package/docs/TESTING.md +14 -3
  109. package/docs/agent-task-token-baseline.json +4 -4
  110. package/docs/generated/AGENT_CAPABILITY_ROUTING.md +1 -1
  111. package/docs/generated/AGENT_COMMAND_SURFACE.md +5 -1
  112. package/docs/generated/FLAG_LEXICON_BUDGETS.md +4 -0
  113. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +18 -7
  114. package/marketplace.json +4 -6
  115. package/package.json +6 -6
  116. package/packages/pm-beads/package.json +1 -1
  117. package/packages/pm-calendar/package.json +1 -1
  118. package/packages/pm-command-kit/package.json +1 -1
  119. package/packages/pm-digital-twin/package.json +1 -1
  120. package/packages/pm-governance-audit/package.json +1 -1
  121. package/packages/pm-guide-shell/package.json +1 -1
  122. package/packages/pm-kanban/package.json +1 -1
  123. package/packages/pm-lifecycle-hooks/package.json +1 -1
  124. package/packages/pm-linked-test-adapters/package.json +1 -1
  125. package/packages/pm-search-advanced/package.json +1 -1
  126. package/packages/pm-templates/package.json +1 -1
  127. package/packages/pm-todos/package.json +1 -1
  128. package/packages/pm-vcs/package.json +1 -1
  129. package/plugins/pm-claude/.claude-plugin/plugin.json +4 -2
  130. package/plugins/pm-claude/.mcp.json +1 -2
  131. package/plugins/pm-claude/README.md +11 -7
  132. package/plugins/pm-claude/package.json +2 -2
  133. package/plugins/pm-claude/skills/pm-audit/SKILL.md +14 -103
  134. package/plugins/pm-claude/skills/pm-audit/agents/openai.yaml +4 -0
  135. package/plugins/pm-claude/{commands/pm-calendar.md → skills/pm-calendar/SKILL.md} +1 -0
  136. package/plugins/pm-claude/{commands/pm-close-task.md → skills/pm-close-task/SKILL.md} +1 -0
  137. package/plugins/pm-claude/skills/pm-developer/SKILL.md +20 -143
  138. package/plugins/pm-claude/skills/pm-developer/agents/openai.yaml +4 -0
  139. package/plugins/pm-claude/{commands/pm-init.md → skills/pm-init/SKILL.md} +2 -1
  140. package/plugins/pm-claude/{commands/pm-list.md → skills/pm-list/SKILL.md} +2 -1
  141. package/plugins/pm-claude/{commands/pm-new.md → skills/pm-new/SKILL.md} +1 -0
  142. package/plugins/pm-claude/skills/pm-planner/SKILL.md +16 -167
  143. package/plugins/pm-claude/skills/pm-planner/agents/openai.yaml +4 -0
  144. package/plugins/pm-claude/skills/pm-release/SKILL.md +18 -102
  145. package/plugins/pm-claude/skills/pm-release/agents/openai.yaml +4 -0
  146. package/plugins/pm-claude/{commands/pm-search.md → skills/pm-search/SKILL.md} +1 -0
  147. package/plugins/pm-claude/{commands/pm-start-task.md → skills/pm-start-task/SKILL.md} +1 -0
  148. package/plugins/pm-claude/{commands/pm-status.md → skills/pm-status/SKILL.md} +1 -0
  149. package/plugins/pm-claude/{commands/pm-triage.md → skills/pm-triage/SKILL.md} +1 -0
  150. package/plugins/pm-claude/skills/pm-workflow/SKILL.md +25 -156
  151. package/plugins/pm-claude/skills/pm-workflow/agents/openai.yaml +4 -0
  152. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  153. package/plugins/pm-codex/README.md +10 -2
  154. package/plugins/pm-codex/mcp.json +11 -0
  155. package/plugins/pm-codex/package.json +2 -2
  156. package/plugins/pm-codex/plugin.json +45 -0
  157. package/plugins/pm-codex/skills/pm-audit/SKILL.md +21 -0
  158. package/plugins/pm-codex/skills/pm-audit/agents/openai.yaml +4 -0
  159. package/plugins/pm-codex/skills/pm-auditor/SKILL.md +5 -40
  160. package/plugins/pm-codex/skills/pm-auditor/agents/openai.yaml +3 -5
  161. package/plugins/pm-codex/skills/pm-developer/SKILL.md +26 -0
  162. package/plugins/pm-codex/skills/pm-developer/agents/openai.yaml +4 -0
  163. package/plugins/pm-codex/skills/pm-native/SKILL.md +7 -87
  164. package/plugins/pm-codex/skills/pm-native/agents/openai.yaml +3 -5
  165. package/plugins/pm-codex/skills/pm-planner/SKILL.md +22 -0
  166. package/plugins/pm-codex/skills/pm-planner/agents/openai.yaml +4 -0
  167. package/plugins/pm-codex/skills/pm-release/SKILL.md +17 -38
  168. package/plugins/pm-codex/skills/pm-release/agents/openai.yaml +2 -4
  169. package/plugins/pm-codex/skills/pm-workflow/SKILL.md +39 -0
  170. package/plugins/pm-codex/skills/pm-workflow/agents/openai.yaml +4 -0
  171. package/dist/cli-bundle/chunks/chunk-GRWPZR7F.js +0 -29
  172. package/dist/cli-bundle/chunks/register-setup-574SIVQZ.js +0 -2
  173. package/dist/cli-bundle/focused-chunks/chunk-H3BI4EDO.js +0 -75
  174. package/dist/cli-bundle/focused-chunks/chunk-HNHMK5JI.js +0 -2
  175. package/dist/cli-bundle/focused-chunks/chunk-HQPTDJLF.js +0 -2
  176. package/dist/cli-bundle/focused-chunks/chunk-PMPFLA6X.js +0 -2
  177. package/plugins/pm-claude/commands/pm-audit.md +0 -38
  178. package/plugins/pm-claude/commands/pm-developer.md +0 -38
  179. package/plugins/pm-claude/commands/pm-planner.md +0 -54
  180. package/plugins/pm-claude/commands/pm-release.md +0 -41
  181. package/plugins/pm-claude/commands/pm-workflow.md +0 -49
@@ -1,94 +1,14 @@
1
1
  ---
2
2
  name: pm-native
3
- description: Use pm-cli natively in Codex through bundled MCP tools for planning, tracking, mutation, validation, and reporting without invoking the pm shell command.
3
+ description: Use only when an existing Codex workflow explicitly invokes pm-native. This compatibility skill routes to the canonical pm-workflow and pm-planner skills.
4
4
  license: MIT
5
5
  ---
6
6
 
7
- # pm Native Workflow
7
+ # pm Native Compatibility
8
8
 
9
- Use this skill whenever a Codex task should be tracked through pm.
9
+ Use pm-workflow for orientation, claim, evidence, and handoff. Use pm-planner
10
+ for durable Plan steps. The native pm MCP server exposes the same public SDK
11
+ contracts in both workflows.
10
12
 
11
- ## Tool Preference
12
-
13
- Use MCP tools before shell commands:
14
-
15
- - Orient: `pm_context`, `pm_search`, `pm_list`, `pm_get`
16
- - Mutate: `pm_create`, `pm_update`, `pm_claim`, `pm_release`, `pm_close`
17
- - Evidence: `pm_comments`, `pm_notes`, `pm_learnings`, `pm_files`, `pm_docs`, `pm_test`
18
- - Verify: `pm_validate`, `pm_health`, `pm_contracts`
19
- - Everything else: `pm_run` with an explicit `action`
20
-
21
- Do not pass `path` during real repository work. For tests, pass a sandbox `cwd` or `path`.
22
-
23
- ## Required Loop
24
-
25
- 1. Run `pm_context`, `pm_search`, and `pm_list` before creating work.
26
- 2. Reuse an existing item when one matches.
27
- 3. Claim the item with `pm_claim`.
28
- 4. Link changed files/docs/tests as work proceeds.
29
- 5. Add concise evidence with `pm_comments`.
30
- 6. Run linked and project verification.
31
- 7. Close with `pm_close` and release with `pm_release`.
32
-
33
- ## Native Argument Shape
34
-
35
- Most tools accept:
36
-
37
- ```json
38
- {
39
- "cwd": "/repo/root",
40
- "options": {
41
- "limit": "10"
42
- }
43
- }
44
- ```
45
-
46
- `pm_run` accepts an `action` plus `options`:
47
-
48
- ```json
49
- {
50
- "action": "calendar",
51
- "options": {
52
- "view": "week",
53
- "format": "markdown"
54
- }
55
- }
56
- ```
57
-
58
- ## Plan workflow (`pm_plan`)
59
-
60
- Codex-style living ExecPlans are first-class via the `Plan` item type and the `pm_plan` MCP tool. Use [Command Reference: Plan Workflow](../../../../docs/COMMANDS.md#plan-workflow) as the canonical lifecycle recipe; this skill keeps only Codex-specific routing notes.
61
-
62
- Use `pm_plan` for plan-then-execute workflows; use `pm_create` with type Task/Feature/Epic for already-decomposed backlog work.
63
-
64
- Invariants:
65
-
66
- - One step `in_progress` at a time by default; pass `allowMultipleActive: true` for explicit parallel branches.
67
- - Use `subcommand: block-step` with `stepBlockedReason` when discovery flips a step.
68
- - Use `subcommand: materialize` once steps are concrete enough to become Tasks.
69
-
70
- ## Progressive Disclosure and Token Discipline
71
-
72
- Load the smallest thing that answers the question. Costs are measured.
73
-
74
- | Need | Call | Cost |
75
- |------|------|------|
76
- | Pick or resume work | `pm_next`, or `pm_context` with `limit: 10` | ~2.1-2.5k tok |
77
- | Exact flags for one command | `pm_contracts` with `command: "<name>", flagsOnly: true` | ~1-3.4k tok |
78
- | The whole command surface with per-command ceilings | `pm_contracts` with `summary: true` | ~2.6k tok |
79
- | An unfamiliar capability family | `pm_run` with `action: "guide", topic: "<topic>", depth: "brief"` | ~0.6-1k tok |
80
-
81
- Guide topics are declared at runtime: `pm guide` prints the current index and
82
- `pm guide <topic> --depth brief` expands one topic. Do not copy the list.
83
-
84
- Never load `docs/COMMANDS.md` (~29k tok) or `docs/SDK.md` (~45k tok) whole.
85
-
86
- Bound every read in this order: projection (`outputInclude`), then row limit
87
- (`outputLimit` or `limit`), then `outputBudget`, then `outputCursor` to resume.
88
- Read the `omission_receipt` before treating a result as complete — a
89
- budget-truncated read is a claim about the part it withheld, and a truncated
90
- list must never be summarized as if it were the whole population.
91
-
92
- Author identity is detected automatically. Never pass `author` and never set
93
- `PM_AUTHOR`; the harness, model, effort, role, and topic are probed and recorded
94
- on every history entry.
13
+ Read live pm_context and pm_search before creating or mutating items. Claim
14
+ only active work, preserve linked evidence, and release the claim when done.
@@ -1,6 +1,4 @@
1
1
  interface:
2
- display_name: "pm Native"
3
- short_description: "Track Codex work through native pm MCP tools"
4
- icon_small: "./assets/pm-cli-small.svg"
5
- icon_large: "./assets/pm-cli-small.svg"
6
- default_prompt: "Use native pm tools to orient, claim, implement, verify, and close this task without shelling out to pm."
2
+ display_name: "pm Native Compatibility"
3
+ short_description: "Route older Codex workflows to current pm skills"
4
+ default_prompt: "Continue this older pm-native workflow with the canonical pm-workflow and pm-planner guidance."
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: pm-planner
3
+ description: Use when triaging requests, organizing a backlog, decomposing an epic, or making a durable pm plan. Search all statuses and build evidence-backed typed relationships.
4
+ license: MIT
5
+ ---
6
+
7
+ # pm Planner
8
+
9
+ 1. Read pm_context and the relevant parent or outcome milestone.
10
+ 2. Search all statuses and inspect nearest matches before creating anything.
11
+ 3. Use a Plan when ordered steps, decisions, discoveries, and handoff must
12
+ remain resumable. Use Epic, Feature, Task, Issue, and Decision items for
13
+ durable backlog work with different ownership.
14
+ 4. Give new work a parent, testable acceptance criteria, expected result, and
15
+ a create-time duplicate-check explanation.
16
+ 5. Add typed edges only when evidence supports their meaning. Use dependency
17
+ edges for ordering and verification edges for proof; do not invent graph
18
+ depth or fill the graph with related edges.
19
+ 6. Validate the resulting tracker and summarize the next actionable items.
20
+
21
+ Use pm_plan for a living plan and pm_contracts to discover exact options.
22
+ Keep one plan step in progress unless parallel work is explicitly intended.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "pm Planner"
3
+ short_description: "Plan and connect project work"
4
+ default_prompt: "Use pm to deduplicate this request, plan its work, and link it to the project outcome."
@@ -1,45 +1,24 @@
1
1
  ---
2
2
  name: pm-release
3
- description: Run compatibility-gated pm-cli release workflows with native pm tools, linked evidence, and public-surface verification.
3
+ description: Use when preparing a pm release, reviewing its gates, publishing, or verifying the released artifact. Keep source, reviewed head, main, tag, registry, and telemetry evidence distinct.
4
4
  license: MIT
5
5
  ---
6
6
 
7
7
  # pm Release
8
8
 
9
- Use for release prep, compatibility gates, publication checks, and post-release verification.
10
-
11
- ## Release Loop
12
-
13
- 1. Find or create the release item after duplicate checks.
14
- 2. Claim it and link release docs, changelog, compatibility scripts, and tests.
15
- 3. Run sandboxed compatibility checks before changing release assets.
16
- 4. Run full local gates before tagging or publishing.
17
- 5. Verify public surfaces after publish and record results through `pm_comments`.
18
-
19
- Use `pm_run` for release-adjacent pm actions not exposed as narrow tools.
20
-
21
- ## Progressive Disclosure and Token Discipline
22
-
23
- Load the smallest thing that answers the question. Costs are measured.
24
-
25
- | Need | Call | Cost |
26
- |------|------|------|
27
- | Pick or resume work | `pm_next`, or `pm_context` with `limit: 10` | ~2.1-2.5k tok |
28
- | Exact flags for one command | `pm_contracts` with `command: "<name>", flagsOnly: true` | ~1-3.4k tok |
29
- | The whole command surface with per-command ceilings | `pm_contracts` with `summary: true` | ~2.6k tok |
30
- | An unfamiliar capability family | `pm_run` with `action: "guide", topic: "<topic>", depth: "brief"` | ~0.6-1k tok |
31
-
32
- Guide topics are declared at runtime: `pm guide` prints the current index and
33
- `pm guide <topic> --depth brief` expands one topic. Do not copy the list.
34
-
35
- Never load `docs/COMMANDS.md` (~29k tok) or `docs/SDK.md` (~45k tok) whole.
36
-
37
- Bound every read in this order: projection (`outputInclude`), then row limit
38
- (`outputLimit` or `limit`), then `outputBudget`, then `outputCursor` to resume.
39
- Read the `omission_receipt` before treating a result as complete — a
40
- budget-truncated read is a claim about the part it withheld, and a truncated
41
- list must never be summarized as if it were the whole population.
42
-
43
- Author identity is detected automatically. Never pass `author` and never set
44
- `PM_AUTHOR`; the harness, model, effort, role, and topic are probed and recorded
45
- on every history entry.
9
+ Inspect the release item and current release position before mutation. Search
10
+ for an existing release or incident lineage and reuse it.
11
+
12
+ 1. Link the changed files, changelog, compatibility evidence, and release
13
+ tests to the item that owns them.
14
+ 2. Run the build, full coverage, static quality, security, docs, package,
15
+ version, and hosted analysis gates required by the repository.
16
+ 3. Verify the exact reviewed PR head and resolve actionable feedback before
17
+ merging. A silent or quota-limited provider is unavailable evidence.
18
+ 4. After publishing, verify the main commit, tag, GitHub Release, npm
19
+ package, installed npm and Bun consumers, Sentry, and telemetry separately.
20
+ 5. Record immutable close evidence and release the claim.
21
+
22
+ Use the repository release pipeline and pm_contracts rather than a remembered
23
+ flag spelling. Never assume a successful API request proves a scheduled
24
+ release or physical telemetry delivery.
@@ -1,6 +1,4 @@
1
1
  interface:
2
2
  display_name: "pm Release"
3
- short_description: "Run pm release workflows with linked evidence"
4
- icon_small: "./assets/pm-cli-small.svg"
5
- icon_large: "./assets/pm-cli-small.svg"
6
- default_prompt: "Use native pm tools to prepare, gate, publish-check, and document this pm-cli release."
3
+ short_description: "Verify release gates and artifacts"
4
+ default_prompt: "Use pm to prepare, gate, and verify this release with distinct source and published evidence."
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: pm-workflow
3
+ description: Use when starting, resuming, or handing off work in a repository managed by pm. Orient from live context, reuse existing items, and leave evidence for the next agent.
4
+ license: MIT
5
+ ---
6
+
7
+ # pm Workflow
8
+
9
+ Project management is context management. Read the live tracker before describing
10
+ work as open, blocked, or done. Use the bundled pm MCP tools when available;
11
+ use the pm CLI with the same contracts when they are not.
12
+
13
+ ## Orient
14
+
15
+ 1. Read pm_context with a bounded limit, then pm_list for open and in-progress work.
16
+ 2. Search all statuses before creating an item. Inspect the candidate's full
17
+ metadata, comments, notes, learnings, dependencies, and history.
18
+ 3. Follow omission receipts and cursors before making a completeness claim.
19
+ 4. Cross-check release, CI, package, or infrastructure claims against the live
20
+ system that owns them.
21
+
22
+ ## Work and hand off
23
+
24
+ Claim only an item being actively edited. Link files, docs, tests, and typed
25
+ relationships that express a real dependency or outcome. Record concise
26
+ evidence, then close with resolution, expected, and actual results when the
27
+ acceptance criteria are met. Release the claim when stopping.
28
+
29
+ For handoff, report the item IDs, exact current status, last verified result,
30
+ remaining work, and the next read command. Do not copy the entire tracker.
31
+
32
+ ## Host adapters
33
+
34
+ In Claude Code, mirror a claimed item in the task panel when TaskCreate and
35
+ TaskUpdate are available. Keep pm as the durable source of truth. In Codex,
36
+ use the native MCP tools and the same claim, evidence, close, and release loop.
37
+
38
+ Use pm_contracts for exact active flags and pm_run for actions without a narrow
39
+ tool. Never set a static author; let the host identity be detected.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "pm Workflow"
3
+ short_description: "Orient and hand off tracked project work"
4
+ default_prompt: "Use pm to read live context, select existing work, and leave a concise evidence-backed handoff."