@unbrained/pm-cli 2026.8.17 → 2026.8.19

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 (204) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/AGENTS.md +4 -3
  3. package/CHANGELOG.md +51 -5
  4. package/README.md +3 -3
  5. package/dist/cli/error-guidance.js +8 -4
  6. package/dist/cli/help-content.js +32 -13
  7. package/dist/cli/help-json-payload.d.ts +15 -0
  8. package/dist/cli/help-json-payload.js +101 -23
  9. package/dist/cli/main.js +6 -2
  10. package/dist/cli/register-list-query.js +138 -54
  11. package/dist/cli/register-mutation.js +8 -8
  12. package/dist/cli/register-operations.js +6 -6
  13. package/dist/cli-bundle/bundle-manifest.json +149 -149
  14. package/dist/cli-bundle/chunks/chunk-4NRRH7AM.js +2 -0
  15. package/dist/cli-bundle/chunks/chunk-4THEB6PD.js +13 -0
  16. package/dist/cli-bundle/chunks/{chunk-HBJAS566.js → chunk-BHYMXLAE.js} +2 -2
  17. package/dist/cli-bundle/chunks/chunk-GWMXAQOD.js +197 -0
  18. package/dist/cli-bundle/chunks/chunk-HVFQTLYM.js +35 -0
  19. package/dist/cli-bundle/chunks/chunk-OI4XI562.js +5 -0
  20. package/dist/cli-bundle/chunks/{chunk-3UEGXBMR.js → chunk-OIOKV6NO.js} +58 -54
  21. package/dist/cli-bundle/chunks/chunk-QXSH7BLM.js +3 -0
  22. package/dist/cli-bundle/chunks/chunk-SARFF5H5.js +3 -0
  23. package/dist/cli-bundle/chunks/{chunk-7IBRGCHX.js → chunk-TOXJM4WA.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-JOKATURE.js → chunk-YBMRWW4E.js} +44 -44
  25. package/dist/cli-bundle/chunks/register-list-query-Y56KINDU.js +11 -0
  26. package/dist/cli-bundle/chunks/register-mutation-AUWVCW4M.js +20 -0
  27. package/dist/cli-bundle/chunks/register-operations-PZQPHXW5.js +2 -0
  28. package/dist/cli-bundle/chunks/{register-setup-DOSFBGKE.js → register-setup-I4LUHGVW.js} +2 -2
  29. package/dist/cli-bundle/focused-chunks/chunk-34QBIYZI.js +155 -0
  30. package/dist/cli-bundle/focused-chunks/{chunk-MHPIL773.js → chunk-BJRYFVSH.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/chunk-DKPLYW3L.js +2 -0
  32. package/dist/cli-bundle/focused-chunks/{chunk-SALH6B6K.js → chunk-EF6ZS5GH.js} +44 -44
  33. package/dist/cli-bundle/focused-chunks/{chunk-XKAMP5OU.js → chunk-ESISGDAY.js} +2 -2
  34. package/dist/cli-bundle/focused-chunks/{chunk-SYZENPIT.js → chunk-EXBCLIBU.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/chunk-JDOMQ7VQ.js +4 -0
  36. package/dist/cli-bundle/focused-chunks/chunk-L623ZPNK.js +2 -0
  37. package/dist/cli-bundle/focused-chunks/chunk-MCZXYZAF.js +2 -0
  38. package/dist/cli-bundle/focused-chunks/chunk-ODHQEECS.js +2 -0
  39. package/dist/cli-bundle/focused-chunks/{chunk-ZQPGZZWQ.js → chunk-PRHY2IMX.js} +3 -3
  40. package/dist/cli-bundle/focused-chunks/chunk-RZU5U6Q7.js +2 -0
  41. package/dist/cli-bundle/focused-chunks/{chunk-ATEY76SX.js → chunk-US7VEYZG.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/chunk-VXDSU5MC.js +26 -0
  43. package/dist/cli-bundle/focused-chunks/chunk-YBMGXBFV.js +16 -0
  44. package/dist/cli-bundle/focused-chunks/chunk-YLVBJ6GF.js +2 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-CYFK5UPB.js → chunk-ZBIQQYMI.js} +2 -2
  46. package/dist/cli-bundle/main.js +13 -13
  47. package/dist/cli-bundle/sdk-authoring.js +1 -1
  48. package/dist/cli-bundle/sdk-contracts.js +2 -1
  49. package/dist/cli-bundle/sdk-core.js +28 -28
  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 +32 -32
  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 +5 -4
  57. package/dist/core/config/nested-settings.js +8 -2
  58. package/dist/core/extensions/exporter-output-contract.d.ts +12 -0
  59. package/dist/core/extensions/exporter-output-contract.js +67 -0
  60. package/dist/core/extensions/extension-types.d.ts +36 -1
  61. package/dist/core/extensions/extension-types.js +2 -2
  62. package/dist/core/extensions/loader.js +35 -44
  63. package/dist/core/history/event-index.d.ts +5 -0
  64. package/dist/core/history/event-index.js +133 -27
  65. package/dist/core/sentry/helpers.js +3 -3
  66. package/dist/core/shared/constants.js +5 -2
  67. package/dist/core/shared/errors.d.ts +2 -0
  68. package/dist/core/shared/errors.js +2 -2
  69. package/dist/core/store/settings-validator.d.ts +4 -0
  70. package/dist/core/store/settings-validator.js +3 -2
  71. package/dist/core/store/settings.js +8 -2
  72. package/dist/mcp/tool-definitions.js +12 -7
  73. package/dist/sdk/agent/refusal-closure.d.ts +41 -0
  74. package/dist/sdk/agent/refusal-closure.js +92 -0
  75. package/dist/sdk/agent/refusal-reachability.d.ts +1 -1
  76. package/dist/sdk/agent/refusal-reachability.js +4 -4
  77. package/dist/sdk/agent-capability-contracts.d.ts +13 -0
  78. package/dist/sdk/agent-capability-contracts.js +104 -7
  79. package/dist/sdk/authoring.d.ts +1 -1
  80. package/dist/sdk/authoring.js +2 -2
  81. package/dist/sdk/cli-bootstrap.d.ts +2 -2
  82. package/dist/sdk/cli-bootstrap.js +4 -4
  83. package/dist/sdk/cli-contracts/command-aliases.d.ts +34 -2
  84. package/dist/sdk/cli-contracts/command-aliases.js +80 -13
  85. package/dist/sdk/cli-contracts/commander-mutation-options.js +30 -6
  86. package/dist/sdk/cli-contracts/commander-types.js +5 -4
  87. package/dist/sdk/cli-contracts/enum-contracts.d.ts +4 -0
  88. package/dist/sdk/cli-contracts/enum-contracts.js +9 -2
  89. package/dist/sdk/cli-contracts/flag-contracts.d.ts +5 -0
  90. package/dist/sdk/cli-contracts/flag-contracts.js +84 -13
  91. package/dist/sdk/cli-contracts/flag-lexicon-contracts.d.ts +55 -0
  92. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +240 -0
  93. package/dist/sdk/cli-contracts/grammar-contracts.d.ts +151 -0
  94. package/dist/sdk/cli-contracts/grammar-contracts.js +958 -0
  95. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +33 -5
  96. package/dist/sdk/cli-contracts/runtime-contracts.js +100 -23
  97. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +28 -1
  98. package/dist/sdk/cli-contracts/tool-option-contracts.js +38 -3
  99. package/dist/sdk/cli-contracts/tool-parameter-tables.js +7 -2
  100. package/dist/sdk/cli-contracts/tool-schema.d.ts +2 -2
  101. package/dist/sdk/cli-contracts/tool-schema.js +20 -11
  102. package/dist/sdk/cli-contracts.d.ts +5 -4
  103. package/dist/sdk/cli-contracts.js +7 -6
  104. package/dist/sdk/completion.js +13 -15
  105. package/dist/sdk/compose.d.ts +3 -3
  106. package/dist/sdk/compose.js +2 -2
  107. package/dist/sdk/context-intent-contracts.d.ts +2 -2
  108. package/dist/sdk/context-intent-contracts.js +22 -7
  109. package/dist/sdk/contracts.d.ts +3 -0
  110. package/dist/sdk/contracts.js +5 -2
  111. package/dist/sdk/core.d.ts +1 -1
  112. package/dist/sdk/core.js +3 -3
  113. package/dist/sdk/environment/host-environment-errors.js +3 -3
  114. package/dist/sdk/flag-invocation-contracts.d.ts +37 -0
  115. package/dist/sdk/flag-invocation-contracts.js +218 -9
  116. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +186 -14
  117. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +194 -26
  118. package/dist/sdk/guide-topics.js +5 -5
  119. package/dist/sdk/index.d.ts +10 -7
  120. package/dist/sdk/index.js +10 -7
  121. package/dist/sdk/init-agent-guidance.js +3 -3
  122. package/dist/sdk/mutation-events.d.ts +18 -2
  123. package/dist/sdk/mutation-events.js +59 -16
  124. package/dist/sdk/output-projection.d.ts +2 -0
  125. package/dist/sdk/output-projection.js +11 -5
  126. package/dist/sdk/output.d.ts +44 -0
  127. package/dist/sdk/output.js +28 -2
  128. package/dist/sdk/query/complete-list.d.ts +94 -0
  129. package/dist/sdk/query/complete-list.js +173 -0
  130. package/dist/sdk/query/get.js +25 -6
  131. package/dist/sdk/query/list.js +19 -2
  132. package/dist/sdk/query/search-contracts.d.ts +1 -1
  133. package/dist/sdk/query/search-contracts.js +23 -9
  134. package/dist/sdk/query/search.js +3 -3
  135. package/dist/sdk/query.d.ts +1 -0
  136. package/dist/sdk/query.js +3 -2
  137. package/dist/sdk/read-output/continuation.d.ts +1 -1
  138. package/dist/sdk/read-output/continuation.js +7 -24
  139. package/dist/sdk/read-output-contracts.d.ts +2 -2
  140. package/dist/sdk/read-output-contracts.js +89 -13
  141. package/dist/sdk/read-output-rows.d.ts +4 -0
  142. package/dist/sdk/read-output-rows.js +47 -18
  143. package/dist/sdk/runtime-extended-actions.js +10 -2
  144. package/dist/sdk/runtime.d.ts +8 -2
  145. package/dist/sdk/runtime.js +18 -11
  146. package/dist/sdk/workspace-snapshot.d.ts +2 -0
  147. package/dist/sdk/workspace-snapshot.js +10 -2
  148. package/dist/types.d.ts +5 -0
  149. package/dist/types.js +2 -2
  150. package/docs/AGENT_GUIDE.md +25 -9
  151. package/docs/CLI_GRAMMAR.md +106 -0
  152. package/docs/COMMANDS.md +39 -27
  153. package/docs/ONBOARDING.md +4 -4
  154. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +11 -2
  155. package/docs/QUICKSTART.md +1 -1
  156. package/docs/README.md +2 -0
  157. package/docs/READ_OUTPUT_CONTRACTS.md +10 -6
  158. package/docs/RELEASING.md +30 -6
  159. package/docs/SDK.md +42 -2
  160. package/docs/SDK_ARTIFACT_OUTPUT.md +72 -0
  161. package/docs/SDK_CONTEXT_COORDINATION.md +46 -12
  162. package/docs/TESTING.md +14 -1
  163. package/docs/agent-task-token-baseline.json +5 -5
  164. package/docs/generated/AGENT_COMMAND_SURFACE.md +78 -78
  165. package/docs/generated/FLAG_LEXICON_BUDGETS.md +76 -0
  166. package/marketplace.json +2 -2
  167. package/package.json +5 -2
  168. package/packages/pm-beads/package.json +1 -1
  169. package/packages/pm-calendar/package.json +1 -1
  170. package/packages/pm-command-kit/package.json +1 -1
  171. package/packages/pm-digital-twin/package.json +1 -1
  172. package/packages/pm-governance-audit/package.json +1 -1
  173. package/packages/pm-guide-shell/package.json +1 -1
  174. package/packages/pm-kanban/package.json +1 -1
  175. package/packages/pm-lifecycle-hooks/package.json +1 -1
  176. package/packages/pm-linked-test-adapters/package.json +1 -1
  177. package/packages/pm-search-advanced/package.json +1 -1
  178. package/packages/pm-templates/package.json +1 -1
  179. package/packages/pm-todos/package.json +1 -1
  180. package/packages/pm-vcs/package.json +1 -1
  181. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  182. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  183. package/scripts/generate-agent-capability-surfaces.mjs +20 -14
  184. package/sdk/public-surface.json +1245 -60
  185. package/dist/cli-bundle/chunks/chunk-2QLOXC3V.js +0 -3
  186. package/dist/cli-bundle/chunks/chunk-4JPYF536.js +0 -35
  187. package/dist/cli-bundle/chunks/chunk-6VDLG2FC.js +0 -13
  188. package/dist/cli-bundle/chunks/chunk-ION3E43Q.js +0 -197
  189. package/dist/cli-bundle/chunks/chunk-OAC5NIV4.js +0 -3
  190. package/dist/cli-bundle/chunks/chunk-TPXZIBIV.js +0 -5
  191. package/dist/cli-bundle/chunks/chunk-YM2YAMF7.js +0 -2
  192. package/dist/cli-bundle/chunks/register-list-query-Q7KII4G5.js +0 -10
  193. package/dist/cli-bundle/chunks/register-mutation-4WBRPXLV.js +0 -20
  194. package/dist/cli-bundle/chunks/register-operations-SSENDH5B.js +0 -2
  195. package/dist/cli-bundle/focused-chunks/chunk-267MUUS6.js +0 -16
  196. package/dist/cli-bundle/focused-chunks/chunk-2NNFLLNG.js +0 -2
  197. package/dist/cli-bundle/focused-chunks/chunk-2QSAKMIH.js +0 -2
  198. package/dist/cli-bundle/focused-chunks/chunk-BUCG4ZI2.js +0 -2
  199. package/dist/cli-bundle/focused-chunks/chunk-EHXIKD6K.js +0 -2
  200. package/dist/cli-bundle/focused-chunks/chunk-KGEXTMPG.js +0 -2
  201. package/dist/cli-bundle/focused-chunks/chunk-KP2VQQVQ.js +0 -2
  202. package/dist/cli-bundle/focused-chunks/chunk-POEEAD2V.js +0 -4
  203. package/dist/cli-bundle/focused-chunks/chunk-XPIC53VA.js +0 -26
  204. package/dist/cli-bundle/focused-chunks/chunk-ZT2DJS27.js +0 -155
@@ -6,20 +6,20 @@
6
6
  "scenarios": [
7
7
  {
8
8
  "id": "small-workspace",
9
- "max_estimated_tokens": 626
9
+ "max_estimated_tokens": 552
10
10
  },
11
11
  {
12
12
  "id": "large-workspace",
13
- "max_estimated_tokens": 1231
13
+ "max_estimated_tokens": 1055
14
14
  },
15
15
  {
16
16
  "id": "returning-agent",
17
- "max_estimated_tokens": 597
17
+ "max_estimated_tokens": 371
18
18
  },
19
19
  {
20
20
  "id": "failing-command",
21
- "max_estimated_tokens": 197
21
+ "max_estimated_tokens": 200
22
22
  }
23
23
  ],
24
- "composite_max_estimated_tokens": 2651
24
+ "composite_max_estimated_tokens": 2178
25
25
  }
@@ -1,81 +1,81 @@
1
1
  # Generated agent command surface
2
2
 
3
- This file is generated from `PM_COMMAND_VISIBILITY_CONTRACTS`. Do not edit it manually.
3
+ This file is generated from `PM_COMMAND_CAPABILITY_CONTRACTS`. Do not edit it manually.
4
4
 
5
- | Command | Minimum visibility tier |
6
- | --- | --- |
7
- | `init` | full |
8
- | `config` | standard |
9
- | `extension` | full |
10
- | `package` | full |
11
- | `packages` | full |
12
- | `install` | full |
13
- | `upgrade` | full |
14
- | `create` | core |
15
- | `item` | full |
16
- | `copy` | full |
17
- | `focus` | standard |
18
- | `list` | core |
19
- | `list-all` | standard |
20
- | `list-draft` | full |
21
- | `list-open` | standard |
22
- | `list-in-progress` | standard |
23
- | `list-blocked` | standard |
24
- | `list-closed` | standard |
25
- | `list-canceled` | full |
26
- | `aggregate` | full |
27
- | `context` | core |
28
- | `ctx` | full |
29
- | `get` | core |
30
- | `graph` | standard |
31
- | `search` | core |
32
- | `duplicates` | full |
33
- | `eval` | full |
34
- | `next` | core |
35
- | `history` | standard |
36
- | `events` | standard |
37
- | `history-redact` | full |
38
- | `history-repair` | full |
39
- | `history-compact` | full |
40
- | `history-author-acknowledge` | full |
41
- | `merge` | full |
42
- | `schema` | standard |
43
- | `profile` | standard |
44
- | `activity` | full |
45
- | `restore` | full |
46
- | `update` | core |
47
- | `update-many` | full |
48
- | `close` | core |
49
- | `close-many` | full |
50
- | `delete` | full |
51
- | `append` | standard |
52
- | `comments` | standard |
53
- | `notes` | standard |
54
- | `learnings` | standard |
55
- | `files` | standard |
56
- | `docs` | standard |
57
- | `deps` | standard |
58
- | `plan` | core |
59
- | `test` | standard |
60
- | `test-all` | full |
61
- | `telemetry` | full |
62
- | `stats` | full |
63
- | `health` | standard |
64
- | `validate` | core |
65
- | `assurance` | full |
66
- | `gc` | full |
67
- | `workspace` | full |
68
- | `contracts` | standard |
69
- | `claim` | core |
70
- | `release` | core |
71
- | `start-task` | full |
72
- | `pause-task` | full |
73
- | `close-task` | full |
74
- | `meet` | full |
75
- | `event` | full |
76
- | `remind` | full |
77
- | `help` | core |
78
- | `completion-statuses` | internal |
79
- | `completion-tags` | internal |
80
- | `completion-types` | internal |
81
- | `test-runs-worker` | internal |
5
+ | Command | Minimum visibility tier | Capability family |
6
+ | --- | --- | --- |
7
+ | `init` | full | workspace |
8
+ | `config` | standard | workspace |
9
+ | `extension` | full | extensions |
10
+ | `package` | full | extensions |
11
+ | `packages` | full | extensions |
12
+ | `install` | full | extensions |
13
+ | `upgrade` | full | extensions |
14
+ | `create` | core | intake |
15
+ | `item` | full | intake |
16
+ | `copy` | full | intake |
17
+ | `focus` | standard | intake |
18
+ | `list` | core | context |
19
+ | `list-all` | standard | context |
20
+ | `list-draft` | full | context |
21
+ | `list-open` | standard | context |
22
+ | `list-in-progress` | standard | context |
23
+ | `list-blocked` | standard | context |
24
+ | `list-closed` | standard | context |
25
+ | `list-canceled` | full | context |
26
+ | `aggregate` | full | context |
27
+ | `context` | core | context |
28
+ | `ctx` | full | context |
29
+ | `get` | core | context |
30
+ | `graph` | standard | graph |
31
+ | `search` | core | context |
32
+ | `duplicates` | full | context |
33
+ | `eval` | full | context |
34
+ | `next` | core | context |
35
+ | `history` | standard | evidence |
36
+ | `events` | standard | evidence |
37
+ | `history-redact` | full | evidence |
38
+ | `history-repair` | full | evidence |
39
+ | `history-compact` | full | evidence |
40
+ | `history-author-acknowledge` | full | evidence |
41
+ | `merge` | full | workspace |
42
+ | `schema` | standard | workspace |
43
+ | `profile` | standard | workspace |
44
+ | `activity` | full | context |
45
+ | `restore` | full | intake |
46
+ | `update` | core | lifecycle |
47
+ | `update-many` | full | lifecycle |
48
+ | `close` | core | lifecycle |
49
+ | `close-many` | full | lifecycle |
50
+ | `delete` | full | lifecycle |
51
+ | `append` | standard | evidence |
52
+ | `comments` | standard | evidence |
53
+ | `notes` | standard | evidence |
54
+ | `learnings` | standard | evidence |
55
+ | `files` | standard | evidence |
56
+ | `docs` | standard | evidence |
57
+ | `deps` | standard | graph |
58
+ | `plan` | core | graph |
59
+ | `test` | standard | quality |
60
+ | `test-all` | full | quality |
61
+ | `telemetry` | full | workspace |
62
+ | `stats` | full | context |
63
+ | `health` | standard | workspace |
64
+ | `validate` | core | quality |
65
+ | `assurance` | full | quality |
66
+ | `gc` | full | workspace |
67
+ | `workspace` | full | workspace |
68
+ | `contracts` | standard | quality |
69
+ | `claim` | core | lifecycle |
70
+ | `release` | core | lifecycle |
71
+ | `start-task` | full | lifecycle |
72
+ | `pause-task` | full | lifecycle |
73
+ | `close-task` | full | lifecycle |
74
+ | `meet` | full | automation |
75
+ | `event` | full | automation |
76
+ | `remind` | full | automation |
77
+ | `help` | core | context |
78
+ | `completion-statuses` | internal | internal |
79
+ | `completion-tags` | internal | internal |
80
+ | `completion-types` | internal | internal |
81
+ | `test-runs-worker` | internal | internal |
@@ -0,0 +1,76 @@
1
+ # Generated flag lexicon budgets
2
+
3
+ This file is generated by `listPmFlagLexicon()`. Compatibility aliases do not consume canonical budget.
4
+
5
+ | Command | Capability family | Canonical flags | Maximum |
6
+ | --- | --- | ---: | ---: |
7
+ | `init` | workspace | 30 | 30 |
8
+ | `config` | workspace | 35 | 35 |
9
+ | `extension` | extensions | 53 | 53 |
10
+ | `package` | extensions | 54 | 54 |
11
+ | `packages` | extensions | 54 | 54 |
12
+ | `install` | extensions | 26 | 26 |
13
+ | `upgrade` | extensions | 29 | 29 |
14
+ | `create` | intake | 100 | 100 |
15
+ | `copy` | intake | 24 | 24 |
16
+ | `focus` | intake | 22 | 22 |
17
+ | `list` | context | 86 | 86 |
18
+ | `list-all` | context | 85 | 85 |
19
+ | `list-draft` | context | 84 | 84 |
20
+ | `list-open` | context | 84 | 84 |
21
+ | `list-in-progress` | context | 84 | 84 |
22
+ | `list-blocked` | context | 84 | 84 |
23
+ | `list-closed` | context | 84 | 84 |
24
+ | `list-canceled` | context | 84 | 84 |
25
+ | `aggregate` | context | 37 | 37 |
26
+ | `context` | context | 45 | 45 |
27
+ | `ctx` | context | 45 | 45 |
28
+ | `get` | context | 30 | 30 |
29
+ | `graph` | graph | 34 | 34 |
30
+ | `search` | context | 78 | 78 |
31
+ | `duplicates` | context | 24 | 24 |
32
+ | `eval` | context | 25 | 25 |
33
+ | `next` | context | 35 | 35 |
34
+ | `history` | evidence | 35 | 35 |
35
+ | `events` | evidence | 33 | 33 |
36
+ | `history-redact` | evidence | 27 | 27 |
37
+ | `history-repair` | evidence | 26 | 26 |
38
+ | `history-compact` | evidence | 30 | 30 |
39
+ | `history-author-acknowledge` | evidence | 28 | 28 |
40
+ | `merge` | workspace | 24 | 24 |
41
+ | `schema` | workspace | 40 | 40 |
42
+ | `profile` | workspace | 22 | 22 |
43
+ | `activity` | context | 35 | 35 |
44
+ | `restore` | intake | 23 | 23 |
45
+ | `update` | lifecycle | 105 | 105 |
46
+ | `update-many` | lifecycle | 140 | 140 |
47
+ | `close` | lifecycle | 31 | 31 |
48
+ | `close-many` | lifecycle | 72 | 72 |
49
+ | `delete` | lifecycle | 24 | 24 |
50
+ | `append` | evidence | 24 | 24 |
51
+ | `comments` | evidence | 30 | 30 |
52
+ | `notes` | evidence | 34 | 34 |
53
+ | `learnings` | evidence | 26 | 26 |
54
+ | `files` | evidence | 39 | 39 |
55
+ | `docs` | evidence | 30 | 30 |
56
+ | `deps` | graph | 32 | 32 |
57
+ | `plan` | graph | 109 | 109 |
58
+ | `test` | quality | 48 | 48 |
59
+ | `test-all` | quality | 37 | 37 |
60
+ | `telemetry` | workspace | 21 | 21 |
61
+ | `stats` | context | 29 | 29 |
62
+ | `health` | workspace | 36 | 36 |
63
+ | `validate` | quality | 45 | 45 |
64
+ | `assurance` | quality | 30 | 30 |
65
+ | `gc` | workspace | 22 | 22 |
66
+ | `workspace` | workspace | 23 | 23 |
67
+ | `contracts` | quality | 29 | 29 |
68
+ | `claim` | lifecycle | 36 | 36 |
69
+ | `release` | lifecycle | 23 | 23 |
70
+ | `start-task` | lifecycle | 23 | 23 |
71
+ | `pause-task` | lifecycle | 23 | 23 |
72
+ | `close-task` | lifecycle | 24 | 24 |
73
+ | `meet` | automation | 33 | 33 |
74
+ | `event` | automation | 33 | 33 |
75
+ | `remind` | automation | 29 | 29 |
76
+ | `test-runs-worker` | internal | 25 | 25 |
package/marketplace.json CHANGED
@@ -6,14 +6,14 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Official marketplace for pm CLI — native git-based project management for Claude Code and AI coding agents.",
9
- "version": "2026.8.17"
9
+ "version": "2026.8.19"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "pm-claude",
14
14
  "source": "./plugins/pm-claude",
15
15
  "description": "Native pm CLI integration for Claude Code — 28 MCP tools, 5 workflow skills, 14 slash commands, 4 subagents, hybrid TUI task tracking, session context injection, and coordination subagents for git-based project management without leaving Claude Code.",
16
- "version": "2026.8.17",
16
+ "version": "2026.8.19",
17
17
  "author": {
18
18
  "name": "unbrained",
19
19
  "url": "https://github.com/unbraind/pm-cli"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-cli",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "description": "Git-native project management CLI for humans and agents.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.10.0",
@@ -120,11 +120,14 @@
120
120
  "lint:complexity:baseline": "eslint . --suppress-rule complexity --suppress-rule sonarjs/cognitive-complexity",
121
121
  "lint:duplicates": "jscpd --config .jscpd.json",
122
122
  "lint:codefactor": "pnpm quality:static",
123
- "quality:static": "pnpm build && node scripts/release/repository-assurance.mjs repository-static-quality --trigger ci --json && node scripts/release/audit-package-boundary.mjs && node scripts/release/package-sdk-contract-parity.mjs && node scripts/release/surface-replication-gate.mjs && node dist/cli.js assurance run tracker-context-quality --trigger ci --dry-run --json --output-budget unbounded && node scripts/release/gate-registry.mjs && node scripts/sdk-surface-snapshot.mjs --check && node scripts/bench/sdk-entrypoint-costs.mjs --check && node scripts/bench/cli-transport-floor.mjs --check && node dist/cli.js assurance run graph-composition --trigger ci --dry-run --json --output-budget unbounded && node dist/cli.js assurance run record-integrity --trigger ci --dry-run --json --output-budget unbounded",
123
+ "quality:static": "pnpm build && node scripts/contracts-snapshot.mjs --check && node scripts/generate-agent-capability-surfaces.mjs --check && node scripts/generate-error-code-catalog.mjs --check && node scripts/release/repository-assurance.mjs repository-static-quality --trigger ci --json && node scripts/release/audit-package-boundary.mjs && node scripts/release/package-sdk-contract-parity.mjs && node scripts/release/surface-replication-gate.mjs && node scripts/release/command-grammar-gate.mjs && node scripts/release/flag-invocation-parity.mjs && node scripts/release/flag-lexicon-gate.mjs && node scripts/release/refusal-closure-gate.mjs && node dist/cli.js assurance run tracker-context-quality --trigger ci --dry-run --json --output-budget unbounded && node scripts/release/gate-registry.mjs && node scripts/sdk-surface-snapshot.mjs --check && node scripts/bench/sdk-entrypoint-costs.mjs --check && node scripts/bench/cli-transport-floor.mjs --check && node dist/cli.js assurance run graph-composition --trigger ci --dry-run --json --output-budget unbounded && node dist/cli.js assurance run record-integrity --trigger ci --dry-run --json --output-budget unbounded",
124
+ "quality:command-grammar": "pnpm build && node scripts/release/command-grammar-gate.mjs && node scripts/release/flag-invocation-parity.mjs && node scripts/release/flag-lexicon-gate.mjs",
125
+ "quality:recovery-closure": "pnpm build && node scripts/release/refusal-closure-gate.mjs",
124
126
  "quality:token-budget": "node scripts/release/token-budget-gate.mjs",
125
127
  "quality:token-surface": "node scripts/measure-agent-token-surface.mjs --check",
126
128
  "quality:token-surface:update": "pnpm build && node scripts/measure-agent-token-surface.mjs --update",
127
129
  "quality:context-eval": "pnpm build && node scripts/release/repository-assurance.mjs repository-context-quality --trigger ci --json && pnpm quality:token-surface",
130
+ "context:intent:calibrate": "node scripts/release/context-intent-calibration-gate.mjs",
128
131
  "quality:agent-task-token": "pnpm build && node scripts/release/agent-task-token-gate.mjs",
129
132
  "quality:agent-task-token:update": "pnpm build && node scripts/release/agent-task-token-gate.mjs --update",
130
133
  "quality:retrieval-eval": "pnpm build && node scripts/release/retrieval-eval-gate.mjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-beads",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for importing Beads JSONL records.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-calendar",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for calendar and agenda views.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-command-kit",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm exemplar package for the commands capability: registerCommand, registerFlags, and registerParser.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-digital-twin",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Beyond-PM exemplar: a temporal production-facility digital twin built entirely on public pm SDK and extension primitives.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-governance-audit",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for governance audit and normalization workflows.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-guide-shell",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for guide and shell completion workflows.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-kanban",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm archetype package: a complete Kanban continuous-flow profile built on public SDK primitives.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-lifecycle-hooks",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package demonstrating safe lifecycle hook registration.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-linked-test-adapters",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for optional linked-test run management adapters and reporters.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-search-advanced",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for semantic, hybrid, and reindex search workflows.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-templates",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for reusable create templates.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-todos",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for Todo markdown import and export.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-vcs-sdk-exemplar",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Beyond-PM exemplar: a VCS-style changeset workflow built entirely on public pm SDK and extension primitives.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pm-claude",
3
3
  "description": "Native pm CLI integration for Claude Code — 28 MCP tools, 5 workflow skills, 14 slash commands, 4 subagents (coordinator, delivery-chain, triage, verification), hybrid TUI task tracking (pm as persistent store + Claude Code task panel as live view), session context injection, and full git-based project management without leaving Claude Code.",
4
- "version": "2026.8.17",
4
+ "version": "2026.8.19",
5
5
  "author": {
6
6
  "name": "unbrained",
7
7
  "url": "https://github.com/unbraind/pm-cli"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-codex",
3
- "version": "2026.8.17",
3
+ "version": "2026.8.19",
4
4
  "description": "Native Codex integration for pm-cli with bundled MCP tools, skills, commands, and agent workflows.",
5
5
  "author": {
6
6
  "name": "unbrained",
@@ -7,6 +7,7 @@ import { mkdir, readFile, writeFile } from "node:fs/promises";
7
7
  import path from "node:path";
8
8
  import { fileURLToPath, pathToFileURL } from "node:url";
9
9
  import { renderPmCommandVisibilityMarkdown } from "../dist/sdk/agent-capability-contracts.js";
10
+ import { renderPmFlagLexiconMarkdown } from "../dist/sdk/cli-contracts/flag-lexicon-contracts.js";
10
11
 
11
12
  const repositoryRoot = path.resolve(
12
13
  path.dirname(fileURLToPath(import.meta.url)),
@@ -16,24 +17,29 @@ export async function main(
16
17
  root = repositoryRoot,
17
18
  args = process.argv.slice(2),
18
19
  ) {
19
- const outputPath = path.join(
20
- root,
21
- "docs",
22
- "generated",
23
- "AGENT_COMMAND_SURFACE.md",
24
- );
25
- const expected = renderPmCommandVisibilityMarkdown();
20
+ const outputs = [
21
+ ["AGENT_COMMAND_SURFACE.md", renderPmCommandVisibilityMarkdown()],
22
+ ["FLAG_LEXICON_BUDGETS.md", renderPmFlagLexiconMarkdown()],
23
+ ];
26
24
  if (args.includes("--check")) {
27
- const actual = await readFile(outputPath, "utf8").catch(() => "");
28
- if (actual !== expected) {
29
- throw new Error(
30
- "Generated agent command surface is stale. Run pnpm contracts:agent-surfaces:update.",
31
- );
25
+ for (const [filename, expected] of outputs) {
26
+ const actual = await readFile(
27
+ path.join(root, "docs", "generated", filename),
28
+ "utf8",
29
+ ).catch(() => "");
30
+ if (actual !== expected) {
31
+ throw new Error(
32
+ `Generated agent capability surface ${filename} is stale. Run pnpm contracts:agent-surfaces:update.`,
33
+ );
34
+ }
32
35
  }
33
36
  return;
34
37
  }
35
- await mkdir(path.dirname(outputPath), { recursive: true });
36
- await writeFile(outputPath, expected, "utf8");
38
+ const outputDirectory = path.join(root, "docs", "generated");
39
+ await mkdir(outputDirectory, { recursive: true });
40
+ for (const [filename, expected] of outputs) {
41
+ await writeFile(path.join(outputDirectory, filename), expected, "utf8");
42
+ }
37
43
  }
38
44
 
39
45
  /* c8 ignore start -- CLI auto-run guard; logic is covered through main(). */