@unbrained/pm-cli 2026.9.27 → 2026.9.29

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 (158) hide show
  1. package/.agents/skills/pm-developer/references/GRAPH_AND_RELATIONSHIPS.md +7 -6
  2. package/.agents/skills/pm-user/references/BACKLOG_SHAPING.md +1 -1
  3. package/.agents/skills/pm-user/references/ECOSYSTEM_PLANNING.md +26 -3
  4. package/.claude-plugin/marketplace.json +4 -6
  5. package/CHANGELOG.md +43 -0
  6. package/dist/cli/error-guidance.js +1 -1
  7. package/dist/cli/help-json-payload.js +2 -2
  8. package/dist/cli/main.js +2 -2
  9. package/dist/cli/register-operations.js +1 -1
  10. package/dist/cli/runtime/invocation-options.d.ts +3 -1
  11. package/dist/cli/runtime/invocation-options.js +1 -1
  12. package/dist/cli-bundle/bundle-manifest.json +151 -151
  13. package/dist/cli-bundle/chunks/{chunk-6OJVQ7SW.js → chunk-2AQKVJMW.js} +2 -2
  14. package/dist/cli-bundle/chunks/{chunk-TSF2LPIH.js → chunk-4DOL43PF.js} +2 -2
  15. package/dist/cli-bundle/chunks/{chunk-7TAGYNFP.js → chunk-5KEPG36D.js} +2 -2
  16. package/dist/cli-bundle/chunks/{chunk-IEP3VAT5.js → chunk-D32HVIB2.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-AUS6USO4.js → chunk-GP6QTYSD.js} +2 -2
  18. package/dist/cli-bundle/chunks/chunk-OTLIM22J.js +2 -0
  19. package/dist/cli-bundle/chunks/{chunk-LKGQUZ5M.js → chunk-P75SO5HO.js} +2 -2
  20. package/dist/cli-bundle/chunks/{chunk-4SLLCDFL.js → chunk-PJSQAWWQ.js} +64 -64
  21. package/dist/cli-bundle/chunks/{chunk-V5UGBYHN.js → chunk-S5A2UIRV.js} +62 -62
  22. package/dist/cli-bundle/chunks/chunk-SC6JHXFT.js +31 -0
  23. package/dist/cli-bundle/chunks/{chunk-3BTJ66CB.js → chunk-SEJ53XDN.js} +55 -55
  24. package/dist/cli-bundle/chunks/{chunk-OKVDVERQ.js → chunk-SJI55O65.js} +2 -2
  25. package/dist/cli-bundle/chunks/{chunk-JX6WCCHL.js → chunk-U3QJGJYN.js} +2 -2
  26. package/dist/cli-bundle/chunks/{register-list-query-6PAJ4PBU.js → register-list-query-R3ELWWPY.js} +2 -2
  27. package/dist/cli-bundle/chunks/{register-mutation-RZCXZXYS.js → register-mutation-WHXJXIHJ.js} +2 -2
  28. package/dist/cli-bundle/chunks/{register-operations-GK6VU2H2.js → register-operations-7ASWBYQG.js} +2 -2
  29. package/dist/cli-bundle/chunks/{register-setup-ASEMNMBF.js → register-setup-FDRTUG54.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-QO4MTAEA.js → chunk-2O3QFI3G.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-LBDWUHQD.js → chunk-4A4DO5ZT.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/chunk-5MC57KRC.js +2 -0
  33. package/dist/cli-bundle/focused-chunks/{chunk-NWRVNHAD.js → chunk-6OXJVE74.js} +17 -17
  34. package/dist/cli-bundle/focused-chunks/{chunk-MILJCOFJ.js → chunk-7URX7FMY.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/{chunk-OJRX6G22.js → chunk-AVP5C674.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-SMADBUPL.js → chunk-AZE7KUHG.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/{chunk-GZD4ZYIB.js → chunk-DZVOCJFY.js} +14 -14
  38. package/dist/cli-bundle/focused-chunks/chunk-FBIRNSYP.js +75 -0
  39. package/dist/cli-bundle/focused-chunks/{chunk-NETVXIH5.js → chunk-IFBA3ZAT.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/{chunk-OJKJFDIG.js → chunk-K3AIMRIK.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/{chunk-DQ3MB7BO.js → chunk-KLKKCHWM.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/{chunk-PDVL7QYU.js → chunk-MRH4A542.js} +15 -15
  43. package/dist/cli-bundle/focused-chunks/{chunk-6UNKK3UH.js → chunk-NXQZMKW5.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-NY6FLQTN.js +2 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-NZAG7OKB.js → chunk-T4H6Q44B.js} +2 -2
  46. package/dist/cli-bundle/main.js +22 -22
  47. package/dist/cli-bundle/sdk-authoring.js +1 -1
  48. package/dist/cli-bundle/sdk-contracts.js +1 -1
  49. package/dist/cli-bundle/sdk-core.js +22 -21
  50. package/dist/cli-bundle/sdk-governance.js +1 -1
  51. package/dist/cli-bundle/sdk-graph.js +1 -1
  52. package/dist/cli-bundle/sdk-merge.js +51 -51
  53. package/dist/cli-bundle/sdk-query.js +1 -1
  54. package/dist/cli-bundle/sdk-runtime.js +1 -1
  55. package/dist/cli-bundle/sdk-testing.js +1 -1
  56. package/dist/cli-bundle/sdk.js +2 -2
  57. package/dist/core/diagnostics/remediation.js +1 -1
  58. package/dist/core/history/replay.js +1 -1
  59. package/dist/core/item/item-format.js +1 -1
  60. package/dist/core/output/mutation-projection.js +1 -1
  61. package/dist/core/store/settings.js +3 -3
  62. package/dist/core/telemetry/runtime.js +2 -2
  63. package/dist/sdk/cli-contracts/command-aliases.js +1 -1
  64. package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
  65. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
  66. package/dist/sdk/completion/fish.js +3 -3
  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.js +1 -1
  73. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  74. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
  75. package/dist/sdk/governance/health-merge-evidence.d.ts +18 -0
  76. package/dist/sdk/governance/health-merge-evidence.js +2 -0
  77. package/dist/sdk/governance/health.js +1 -1
  78. package/dist/sdk/index.d.ts +1 -0
  79. package/dist/sdk/index.js +1 -1
  80. package/dist/sdk/lifecycle/plan-mutation-receipt.d.ts +53 -0
  81. package/dist/sdk/lifecycle/plan-mutation-receipt.js +2 -0
  82. package/dist/sdk/lifecycle/plan.d.ts +3 -0
  83. package/dist/sdk/lifecycle/plan.js +1 -1
  84. package/dist/sdk/linked-artifacts.js +1 -1
  85. package/dist/sdk/merge/install.js +2 -2
  86. package/dist/sdk/output-projection.d.ts +1 -1
  87. package/dist/sdk/output-projection.js +1 -1
  88. package/dist/sdk/public-surface.json +1 -1
  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/actions.js +1 -1
  93. package/dist/sdk/runtime-input.d.ts +2 -0
  94. package/dist/sdk/runtime-input.js +1 -1
  95. package/dist/sdk/runtime.js +1 -1
  96. package/dist/sdk/similarity-scoring.js +1 -1
  97. package/dist/sdk/telemetry.d.ts +2 -0
  98. package/dist/sdk/telemetry.js +3 -1
  99. package/dist/sdk/test/execution.d.ts +11 -0
  100. package/dist/sdk/test/execution.js +2 -2
  101. package/dist/sdk/test/parsers.d.ts +1 -1
  102. package/dist/sdk/test/parsers.js +1 -1
  103. package/dist/types.d.ts +3 -3
  104. package/dist/types.js +1 -1
  105. package/docs/AGENT_READ_AND_TEST_RECEIPTS.md +21 -0
  106. package/docs/CLAUDE_CODE_PLUGIN.md +12 -7
  107. package/docs/CLI_GRAMMAR.md +18 -1
  108. package/docs/CONFIGURATION.md +2 -0
  109. package/docs/ECOSYSTEM_PLANNING_REVIEW.md +270 -0
  110. package/docs/PACKAGE_EVIDENCE.md +18 -7
  111. package/docs/README.md +2 -0
  112. package/docs/SDK_EVIDENCE_TRACEABILITY.md +34 -0
  113. package/docs/TESTING.md +14 -3
  114. package/docs/agent-task-token-baseline.json +28 -2
  115. package/docs/agent-task-transcripts.json +137 -14
  116. package/docs/ecosystem-review-2026-09-28.json +3159 -0
  117. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +7 -3
  118. package/marketplace.json +4 -6
  119. package/package.json +5 -5
  120. package/packages/pm-beads/package.json +1 -1
  121. package/packages/pm-calendar/package.json +1 -1
  122. package/packages/pm-command-kit/package.json +1 -1
  123. package/packages/pm-digital-twin/package.json +1 -1
  124. package/packages/pm-governance-audit/package.json +1 -1
  125. package/packages/pm-guide-shell/package.json +1 -1
  126. package/packages/pm-kanban/package.json +1 -1
  127. package/packages/pm-lifecycle-hooks/package.json +1 -1
  128. package/packages/pm-linked-test-adapters/package.json +1 -1
  129. package/packages/pm-search-advanced/package.json +1 -1
  130. package/packages/pm-templates/package.json +1 -1
  131. package/packages/pm-todos/package.json +1 -1
  132. package/packages/pm-vcs/package.json +1 -1
  133. package/plugins/pm-claude/.claude-plugin/plugin.json +4 -2
  134. package/plugins/pm-claude/.mcp.json +1 -2
  135. package/plugins/pm-claude/README.md +7 -7
  136. package/plugins/pm-claude/package.json +2 -2
  137. package/plugins/pm-claude/{commands/pm-calendar.md → skills/pm-calendar/SKILL.md} +1 -0
  138. package/plugins/pm-claude/{commands/pm-close-task.md → skills/pm-close-task/SKILL.md} +1 -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/{commands/pm-search.md → skills/pm-search/SKILL.md} +1 -0
  143. package/plugins/pm-claude/{commands/pm-start-task.md → skills/pm-start-task/SKILL.md} +1 -0
  144. package/plugins/pm-claude/{commands/pm-status.md → skills/pm-status/SKILL.md} +1 -0
  145. package/plugins/pm-claude/{commands/pm-triage.md → skills/pm-triage/SKILL.md} +1 -0
  146. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  147. package/plugins/pm-codex/package.json +2 -2
  148. package/plugins/pm-codex/plugin.json +1 -1
  149. package/dist/cli-bundle/chunks/chunk-4UPZLUT2.js +0 -29
  150. package/dist/cli-bundle/chunks/chunk-LC6WEA5U.js +0 -2
  151. package/dist/cli-bundle/focused-chunks/chunk-6J2YCGSN.js +0 -75
  152. package/dist/cli-bundle/focused-chunks/chunk-E7LYK7V5.js +0 -2
  153. package/dist/cli-bundle/focused-chunks/chunk-KMPKKSA6.js +0 -2
  154. package/plugins/pm-claude/commands/pm-audit.md +0 -38
  155. package/plugins/pm-claude/commands/pm-developer.md +0 -38
  156. package/plugins/pm-claude/commands/pm-planner.md +0 -54
  157. package/plugins/pm-claude/commands/pm-release.md +0 -41
  158. package/plugins/pm-claude/commands/pm-workflow.md +0 -49
@@ -17,13 +17,22 @@
17
17
  ],
18
18
  "capability_evidence": {
19
19
  "workspace_state": [
20
- { "step_id": "context", "field_path": "summary.active_items" }
20
+ {
21
+ "step_id": "context",
22
+ "field_path": "summary.active_items"
23
+ }
21
24
  ],
22
25
  "active_ownership": [
23
- { "step_id": "context", "field_path": "activity" }
26
+ {
27
+ "step_id": "context",
28
+ "field_path": "activity"
29
+ }
24
30
  ],
25
31
  "actionable_work": [
26
- { "step_id": "context", "field_path": "hierarchy" }
32
+ {
33
+ "step_id": "context",
34
+ "field_path": "hierarchy"
35
+ }
27
36
  ]
28
37
  }
29
38
  },
@@ -36,13 +45,22 @@
36
45
  ],
37
46
  "capability_evidence": {
38
47
  "workspace_state": [
39
- { "step_id": "next", "field_path": "summary.in_progress" }
48
+ {
49
+ "step_id": "next",
50
+ "field_path": "summary.in_progress"
51
+ }
40
52
  ],
41
53
  "active_ownership": [
42
- { "step_id": "next", "field_path": "held_by_others" }
54
+ {
55
+ "step_id": "next",
56
+ "field_path": "held_by_others"
57
+ }
43
58
  ],
44
59
  "actionable_work": [
45
- { "step_id": "next", "field_path": "recommended.id" }
60
+ {
61
+ "step_id": "next",
62
+ "field_path": "recommended.id"
63
+ }
46
64
  ]
47
65
  }
48
66
  },
@@ -55,12 +73,23 @@
55
73
  ],
56
74
  "capability_evidence": {
57
75
  "workspace_state": [
58
- { "step_id": "context", "field_path": "summary.active_items" }
76
+ {
77
+ "step_id": "context",
78
+ "field_path": "summary.active_items"
79
+ }
59
80
  ],
60
81
  "active_ownership": [
61
- { "step_id": "in-progress", "field_path": "items" }
82
+ {
83
+ "step_id": "in-progress",
84
+ "field_path": "items"
85
+ }
62
86
  ],
63
- "actionable_work": [{ "step_id": "open", "field_path": "items" }]
87
+ "actionable_work": [
88
+ {
89
+ "step_id": "open",
90
+ "field_path": "items"
91
+ }
92
+ ]
64
93
  }
65
94
  }
66
95
  ]
@@ -186,7 +215,9 @@
186
215
  "expected_accounting_mode": "self_reported",
187
216
  "required_fields": ["code", "refusal", "recovery"],
188
217
  "expected_error_code": "unknown_context_intent",
189
- "expected_field_values": { "recovery.recovery_mode": "compact" },
218
+ "expected_field_values": {
219
+ "recovery.recovery_mode": "compact"
220
+ },
190
221
  "expected_refusal_surface": "--for"
191
222
  },
192
223
  {
@@ -266,7 +297,9 @@
266
297
  "expected_output_kind": "entity",
267
298
  "expected_accounting_mode": "self_reported",
268
299
  "required_fields": ["item.id", "item.status"],
269
- "expected_field_values": { "item.status": "open" }
300
+ "expected_field_values": {
301
+ "item.status": "open"
302
+ }
270
303
  },
271
304
  {
272
305
  "id": "close",
@@ -283,7 +316,9 @@
283
316
  "expected_output_kind": "entity",
284
317
  "expected_accounting_mode": "self_reported",
285
318
  "required_fields": ["item.id", "item.status"],
286
- "expected_field_values": { "item.status": "closed" }
319
+ "expected_field_values": {
320
+ "item.status": "closed"
321
+ }
287
322
  }
288
323
  ]
289
324
  },
@@ -329,7 +364,9 @@
329
364
  "expected_output_kind": "collection",
330
365
  "expected_accounting_mode": "self_reported",
331
366
  "required_fields": ["rows", "outcome", "exit_code"],
332
- "expected_field_values": { "outcome": "partial_effect" }
367
+ "expected_field_values": {
368
+ "outcome": "partial_effect"
369
+ }
333
370
  },
334
371
  {
335
372
  "id": "no-effect",
@@ -347,7 +384,93 @@
347
384
  "expected_output_kind": "collection",
348
385
  "expected_accounting_mode": "self_reported",
349
386
  "required_fields": ["rows", "outcome", "exit_code"],
350
- "expected_field_values": { "outcome": "no_effect" }
387
+ "expected_field_values": {
388
+ "outcome": "no_effect"
389
+ }
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "id": "plan-execution-mutations",
395
+ "description": "Create a Plan, add and complete a step, then inspect its durable evidence without echoing the full Plan on each mutation.",
396
+ "steps": [
397
+ {
398
+ "id": "create-plan",
399
+ "args": [
400
+ "create",
401
+ "--id",
402
+ "pm-transcript-plan",
403
+ "--type",
404
+ "Plan",
405
+ "--title",
406
+ "Transcript execution Plan",
407
+ "--create-mode",
408
+ "progressive"
409
+ ],
410
+ "expected_exit_code": 0,
411
+ "expected_output_kind": "mutation_receipt",
412
+ "expected_accounting_mode": "self_reported",
413
+ "required_fields": ["id", "status"]
414
+ },
415
+ {
416
+ "id": "add-step",
417
+ "args": [
418
+ "plan",
419
+ "add-step",
420
+ "pm-transcript-plan",
421
+ "--step-title",
422
+ "Verify result",
423
+ "--step-body",
424
+ "Durable execution context retained for later inspection."
425
+ ],
426
+ "expected_exit_code": 0,
427
+ "expected_output_kind": "diagnostic",
428
+ "expected_accounting_mode": "self_reported",
429
+ "required_fields": [
430
+ "id",
431
+ "step.id",
432
+ "steps_summary.total",
433
+ "inspection_command"
434
+ ],
435
+ "expected_field_values": {
436
+ "kind": "plan_mutation",
437
+ "steps_summary.total": 1
438
+ }
439
+ },
440
+ {
441
+ "id": "complete-step",
442
+ "args": [
443
+ "plan",
444
+ "complete-step",
445
+ "pm-transcript-plan",
446
+ "plan-step-001",
447
+ "--step-evidence",
448
+ "Verified result"
449
+ ],
450
+ "expected_exit_code": 0,
451
+ "expected_output_kind": "diagnostic",
452
+ "expected_accounting_mode": "self_reported",
453
+ "required_fields": [
454
+ "id",
455
+ "step.status",
456
+ "steps_summary.completed",
457
+ "omission_receipt"
458
+ ],
459
+ "expected_field_values": {
460
+ "step.status": "completed",
461
+ "steps_summary.completed": 1
462
+ }
463
+ },
464
+ {
465
+ "id": "inspect-plan",
466
+ "args": ["plan", "show", "pm-transcript-plan", "--depth", "deep"],
467
+ "expected_exit_code": 0,
468
+ "expected_output_kind": "diagnostic",
469
+ "expected_accounting_mode": "self_reported",
470
+ "required_fields": ["plan.steps", "plan.steps_summary.completed"],
471
+ "expected_field_values": {
472
+ "plan.steps_summary.completed": 1
473
+ }
351
474
  }
352
475
  ]
353
476
  }