@unbrained/pm-cli 2026.9.21 → 2026.9.23

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 (255) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +27 -1
  3. package/dist/cli/commander-usage.d.ts +5 -1
  4. package/dist/cli/commander-usage.js +2 -2
  5. package/dist/cli/commands/annotations/comments.d.ts +2 -0
  6. package/dist/cli/commands/{comments.js → annotations/comments.js} +1 -1
  7. package/dist/cli/commands/{docs.d.ts → annotations/docs.d.ts} +2 -2
  8. package/dist/cli/commands/{docs.js → annotations/docs.js} +1 -1
  9. package/dist/cli/commands/{files.d.ts → annotations/files.d.ts} +2 -2
  10. package/dist/cli/commands/{files.js → annotations/files.js} +1 -1
  11. package/dist/cli/commands/annotations/learnings.d.ts +2 -0
  12. package/dist/cli/commands/{learnings.js → annotations/learnings.js} +1 -1
  13. package/dist/cli/commands/annotations/notes.d.ts +2 -0
  14. package/dist/cli/commands/{notes.js → annotations/notes.js} +1 -1
  15. package/dist/cli/commands/extension/extension.d.ts +6 -0
  16. package/dist/cli/commands/{extension.js → extension/extension.js} +1 -1
  17. package/dist/cli/commands/{gc.d.ts → governance/gc.d.ts} +2 -2
  18. package/dist/cli/commands/{gc.js → governance/gc.js} +1 -1
  19. package/dist/cli/commands/governance/health.d.ts +6 -0
  20. package/dist/cli/commands/{deps.js → governance/health.js} +2 -2
  21. package/dist/cli/commands/governance/telemetry.d.ts +6 -0
  22. package/dist/cli/commands/{telemetry.js → governance/telemetry.js} +1 -1
  23. package/dist/cli/commands/governance/validate.d.ts +9 -0
  24. package/dist/cli/commands/governance/validate.js +2 -0
  25. package/dist/cli/commands/history/activity.d.ts +6 -0
  26. package/dist/cli/commands/{activity.js → history/activity.js} +1 -1
  27. package/dist/cli/commands/history/history-compact.d.ts +7 -0
  28. package/dist/cli/commands/{history-compact.js → history/history-compact.js} +1 -1
  29. package/dist/cli/commands/{history-redact.d.ts → history/history-redact.d.ts} +2 -2
  30. package/dist/cli/commands/history/history-redact.js +2 -0
  31. package/dist/cli/commands/{history-repair.d.ts → history/history-repair.d.ts} +2 -2
  32. package/dist/cli/commands/{history-repair.js → history/history-repair.js} +1 -1
  33. package/dist/cli/commands/history/history.d.ts +2 -0
  34. package/dist/cli/commands/{history.js → history/history.js} +1 -1
  35. package/dist/cli/commands/history/restore.d.ts +6 -0
  36. package/dist/cli/commands/history/restore.js +2 -0
  37. package/dist/cli/commands/lifecycle/append.d.ts +2 -0
  38. package/dist/cli/commands/{append.js → lifecycle/append.js} +1 -1
  39. package/dist/cli/commands/lifecycle/claim.d.ts +2 -0
  40. package/dist/cli/commands/{claim.js → lifecycle/claim.js} +1 -1
  41. package/dist/cli/commands/lifecycle/close-many.d.ts +2 -0
  42. package/dist/cli/commands/{close-many.js → lifecycle/close-many.js} +1 -1
  43. package/dist/cli/commands/lifecycle/close.d.ts +6 -0
  44. package/dist/cli/commands/lifecycle/close.js +2 -0
  45. package/dist/cli/commands/lifecycle/copy.d.ts +6 -0
  46. package/dist/cli/commands/lifecycle/copy.js +2 -0
  47. package/dist/cli/commands/lifecycle/create.d.ts +6 -0
  48. package/dist/cli/commands/{create.js → lifecycle/create.js} +1 -1
  49. package/dist/cli/commands/lifecycle/delete.d.ts +6 -0
  50. package/dist/cli/commands/{delete.js → lifecycle/delete.js} +1 -1
  51. package/dist/cli/commands/lifecycle/focus.d.ts +6 -0
  52. package/dist/cli/commands/lifecycle/focus.js +2 -0
  53. package/dist/cli/commands/lifecycle/plan.d.ts +6 -0
  54. package/dist/cli/commands/{plan.js → lifecycle/plan.js} +1 -1
  55. package/dist/cli/commands/lifecycle/update-many.d.ts +2 -0
  56. package/dist/cli/commands/lifecycle/update-many.js +2 -0
  57. package/dist/cli/commands/lifecycle/update.d.ts +6 -0
  58. package/dist/cli/commands/{copy.js → lifecycle/update.js} +2 -2
  59. package/dist/cli/commands/query/aggregate.d.ts +2 -0
  60. package/dist/cli/commands/{aggregate.js → query/aggregate.js} +1 -1
  61. package/dist/cli/commands/query/context.d.ts +6 -0
  62. package/dist/cli/commands/{focus.js → query/context.js} +2 -2
  63. package/dist/cli/commands/{deps.d.ts → query/deps.d.ts} +2 -2
  64. package/dist/cli/commands/query/deps.js +2 -0
  65. package/dist/cli/commands/query/duplicates.d.ts +6 -0
  66. package/dist/cli/commands/{duplicates.js → query/duplicates.js} +1 -1
  67. package/dist/cli/commands/{eval.d.ts → query/eval.d.ts} +2 -2
  68. package/dist/cli/commands/{eval.js → query/eval.js} +1 -1
  69. package/dist/cli/commands/query/get.d.ts +6 -0
  70. package/dist/cli/commands/{get.js → query/get.js} +1 -1
  71. package/dist/cli/commands/{graph.d.ts → query/graph.d.ts} +2 -2
  72. package/dist/cli/commands/{graph.js → query/graph.js} +1 -1
  73. package/dist/cli/commands/{list.d.ts → query/list.d.ts} +2 -2
  74. package/dist/cli/commands/{list.js → query/list.js} +1 -1
  75. package/dist/cli/commands/{next.d.ts → query/next.d.ts} +2 -2
  76. package/dist/cli/commands/{next.js → query/next.js} +1 -1
  77. package/dist/cli/commands/query/search.d.ts +6 -0
  78. package/dist/cli/commands/{search.js → query/search.js} +1 -1
  79. package/dist/cli/commands/query/stats.d.ts +6 -0
  80. package/dist/cli/commands/{stats.js → query/stats.js} +1 -1
  81. package/dist/cli/commands/{test-all.d.ts → test/test-all.d.ts} +2 -2
  82. package/dist/cli/commands/{test-all.js → test/test-all.js} +1 -1
  83. package/dist/cli/commands/{test-runs.d.ts → test/test-runs.d.ts} +2 -2
  84. package/dist/cli/commands/{test-runs.js → test/test-runs.js} +1 -1
  85. package/dist/cli/commands/{test.d.ts → test/test.d.ts} +2 -2
  86. package/dist/cli/commands/{test.js → test/test.js} +1 -1
  87. package/dist/cli/commands/{config.d.ts → workspace/config.d.ts} +2 -2
  88. package/dist/cli/commands/{config.js → workspace/config.js} +1 -1
  89. package/dist/cli/commands/workspace/contracts.d.ts +2 -0
  90. package/dist/cli/commands/{contracts.js → workspace/contracts.js} +1 -1
  91. package/dist/cli/commands/{init.d.ts → workspace/init.d.ts} +2 -2
  92. package/dist/cli/commands/{update.js → workspace/init.js} +2 -2
  93. package/dist/cli/commands/workspace/merge.d.ts +8 -0
  94. package/dist/cli/commands/workspace/merge.js +2 -0
  95. package/dist/cli/commands/{profile.d.ts → workspace/profile.d.ts} +2 -2
  96. package/dist/cli/commands/{profile.js → workspace/profile.js} +1 -1
  97. package/dist/cli/commands/workspace/schema.d.ts +7 -0
  98. package/dist/cli/commands/workspace/schema.js +2 -0
  99. package/dist/cli/commands/workspace/upgrade.d.ts +2 -0
  100. package/dist/cli/commands/{update-many.js → workspace/upgrade.js} +2 -2
  101. package/dist/cli/register-annotations.js +1 -1
  102. package/dist/cli/register-history-activity.js +1 -1
  103. package/dist/cli/register-history-maintenance.js +1 -1
  104. package/dist/cli/register-list-query.js +1 -1
  105. package/dist/cli/register-mutation.js +1 -1
  106. package/dist/cli/register-operations.js +1 -1
  107. package/dist/cli/register-setup.js +1 -1
  108. package/dist/cli/schema/registration.js +1 -1
  109. package/dist/cli/stats-analytics-json.d.ts +1 -1
  110. package/dist/cli/stats-analytics-json.js +1 -1
  111. package/dist/cli-bundle/bundle-manifest.json +154 -154
  112. package/dist/cli-bundle/chunks/{chunk-2QLXN6HZ.js → chunk-6WBR6GMW.js} +26 -26
  113. package/dist/cli-bundle/chunks/{chunk-JBJUOOJI.js → chunk-7IABMUB6.js} +6 -6
  114. package/dist/cli-bundle/chunks/{chunk-7YUYLYJQ.js → chunk-E6ZES2X7.js} +6 -6
  115. package/dist/cli-bundle/chunks/{chunk-2UNYUB4A.js → chunk-KOUT5SAA.js} +2 -2
  116. package/dist/cli-bundle/chunks/{chunk-NHRB3L5T.js → chunk-NBGSRFZE.js} +2 -2
  117. package/dist/cli-bundle/chunks/{chunk-K7RWRJLT.js → chunk-OBTHQ6UX.js} +2 -2
  118. package/dist/cli-bundle/chunks/{chunk-GRHSNUQO.js → chunk-PFWCAI4X.js} +2 -2
  119. package/dist/cli-bundle/chunks/chunk-SGFQQXFD.js +2 -0
  120. package/dist/cli-bundle/chunks/{chunk-HAFSMFJK.js → chunk-SXRMM72R.js} +3 -3
  121. package/dist/cli-bundle/chunks/{chunk-SDLBF4PY.js → chunk-VO7DHENB.js} +2 -2
  122. package/dist/cli-bundle/chunks/{chunk-QZTS23BV.js → chunk-WBB5B7G5.js} +2 -2
  123. package/dist/cli-bundle/chunks/{chunk-FBWAECBI.js → chunk-ZSVINTXT.js} +3 -3
  124. package/dist/cli-bundle/chunks/{chunk-4SI67A2F.js → chunk-ZWSWR2GX.js} +2 -2
  125. package/dist/cli-bundle/chunks/{register-list-query-5V43MYPN.js → register-list-query-IFPQ4YRD.js} +2 -2
  126. package/dist/cli-bundle/chunks/register-mutation-C3O7OSXW.js +20 -0
  127. package/dist/cli-bundle/chunks/{register-operations-LJU5H2CU.js → register-operations-LGO7DBZ7.js} +2 -2
  128. package/dist/cli-bundle/chunks/{register-setup-HJUNGYBB.js → register-setup-4EW2PPZD.js} +2 -2
  129. package/dist/cli-bundle/focused-chunks/{chunk-UIS5FVHH.js → chunk-3JAEZ7WI.js} +49 -49
  130. package/dist/cli-bundle/focused-chunks/{chunk-6MNKQKT6.js → chunk-6CWR2QFM.js} +2 -2
  131. package/dist/cli-bundle/focused-chunks/{chunk-HYPK5OPA.js → chunk-BKXYQQDT.js} +2 -2
  132. package/dist/cli-bundle/focused-chunks/{chunk-N6KI3LWF.js → chunk-BQSKFRL2.js} +2 -2
  133. package/dist/cli-bundle/focused-chunks/{chunk-PC6ZZVNP.js → chunk-BULUJEOL.js} +3 -3
  134. package/dist/cli-bundle/focused-chunks/{chunk-L6L4XCLY.js → chunk-E5AOEXF5.js} +2 -2
  135. package/dist/cli-bundle/focused-chunks/{chunk-3XPBKIV6.js → chunk-FIQYVDLL.js} +12 -12
  136. package/dist/cli-bundle/focused-chunks/{chunk-FXAZPSU6.js → chunk-HJA6OHWT.js} +2 -2
  137. package/dist/cli-bundle/focused-chunks/{chunk-DPBTIFW7.js → chunk-KMNH4G6Y.js} +2 -2
  138. package/dist/cli-bundle/focused-chunks/{chunk-RQL5WLNZ.js → chunk-L554BKFH.js} +2 -2
  139. package/dist/cli-bundle/focused-chunks/{chunk-ISEOBALS.js → chunk-LZOEUNHR.js} +2 -2
  140. package/dist/cli-bundle/focused-chunks/{chunk-U2SB2BMM.js → chunk-N2JYYEHM.js} +2 -2
  141. package/dist/cli-bundle/focused-chunks/{chunk-5BLRMUMK.js → chunk-PIHQNL32.js} +3 -3
  142. package/dist/cli-bundle/focused-chunks/{chunk-IA5CCSBB.js → chunk-QREDJ77O.js} +2 -2
  143. package/dist/cli-bundle/focused-chunks/{chunk-DRNXMOSV.js → chunk-S5JYIFFS.js} +2 -2
  144. package/dist/cli-bundle/focused-chunks/{chunk-K5ZCBC6Y.js → chunk-YE6F5HGF.js} +2 -2
  145. package/dist/cli-bundle/main.js +18 -18
  146. package/dist/cli-bundle/sdk-authoring.js +1 -1
  147. package/dist/cli-bundle/sdk-contracts.js +1 -1
  148. package/dist/cli-bundle/sdk-core.js +3 -3
  149. package/dist/cli-bundle/sdk-governance.js +1 -1
  150. package/dist/cli-bundle/sdk-graph.js +1 -1
  151. package/dist/cli-bundle/sdk-merge.js +38 -38
  152. package/dist/cli-bundle/sdk-query.js +1 -1
  153. package/dist/cli-bundle/sdk-runtime.js +1 -1
  154. package/dist/cli-bundle/sdk-testing.js +1 -1
  155. package/dist/cli-bundle/sdk.js +1 -1
  156. package/dist/core/config/positional-value.d.ts +0 -2
  157. package/dist/core/config/positional-value.js +1 -1
  158. package/dist/core/history/history-diff.js +1 -1
  159. package/dist/core/schema/type-workflows.d.ts +1 -1
  160. package/dist/core/schema/type-workflows.js +1 -1
  161. package/dist/core/search/eval.d.ts +1 -1
  162. package/dist/core/search/eval.js +1 -1
  163. package/dist/core/shared/item-metadata-contract.d.ts +0 -4
  164. package/dist/core/shared/item-metadata-contract.js +1 -1
  165. package/dist/sdk/cli-contracts/commander-types.d.ts +11 -11
  166. package/dist/sdk/cli-contracts/commander-types.js +1 -1
  167. package/dist/sdk/extension/shared.d.ts +2 -2
  168. package/dist/sdk/extension/shared.js +1 -1
  169. package/dist/sdk/governance/upgrade.d.ts +2 -0
  170. package/dist/sdk/governance/upgrade.js +2 -2
  171. package/dist/sdk/pagination.js +1 -1
  172. package/dist/sdk/public-surface.json +1 -1
  173. package/dist/sdk/query/search-contracts.d.ts +0 -1
  174. package/dist/sdk/query/search-contracts.js +1 -1
  175. package/dist/sdk/schema.d.ts +8 -4
  176. package/dist/sdk/schema.js +1 -1
  177. package/docs/ARCHITECTURE.md +31 -4
  178. package/docs/BUILD_AND_RELEASE_ACCEPTANCE.md +50 -1
  179. package/docs/COMMANDS.md +1 -1
  180. package/docs/EXTENSIONS.md +1 -1
  181. package/docs/QUALITY_EVIDENCE.md +70 -0
  182. package/docs/READ_OUTPUT_CONTRACTS.md +1 -1
  183. package/docs/RELEASING.md +7 -1
  184. package/docs/SDK_CONTEXT_INTEGRITY_PRIMITIVES.md +1 -1
  185. package/docs/TESTING.md +8 -0
  186. package/marketplace.json +2 -2
  187. package/package.json +12 -5
  188. package/packages/pm-beads/package.json +1 -1
  189. package/packages/pm-calendar/package.json +1 -1
  190. package/packages/pm-command-kit/package.json +1 -1
  191. package/packages/pm-digital-twin/package.json +1 -1
  192. package/packages/pm-governance-audit/package.json +1 -1
  193. package/packages/pm-guide-shell/package.json +1 -1
  194. package/packages/pm-kanban/package.json +1 -1
  195. package/packages/pm-lifecycle-hooks/package.json +1 -1
  196. package/packages/pm-linked-test-adapters/package.json +1 -1
  197. package/packages/pm-search-advanced/package.json +1 -1
  198. package/packages/pm-templates/package.json +1 -1
  199. package/packages/pm-todos/package.json +1 -1
  200. package/packages/pm-vcs/package.json +1 -1
  201. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  202. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  203. package/scripts/build-lease.mjs +27 -0
  204. package/dist/cli/commands/activity.d.ts +0 -6
  205. package/dist/cli/commands/aggregate.d.ts +0 -2
  206. package/dist/cli/commands/append.d.ts +0 -2
  207. package/dist/cli/commands/claim.d.ts +0 -2
  208. package/dist/cli/commands/close-many.d.ts +0 -2
  209. package/dist/cli/commands/close.d.ts +0 -6
  210. package/dist/cli/commands/close.js +0 -2
  211. package/dist/cli/commands/comments.d.ts +0 -2
  212. package/dist/cli/commands/context.d.ts +0 -6
  213. package/dist/cli/commands/context.js +0 -2
  214. package/dist/cli/commands/contracts.d.ts +0 -2
  215. package/dist/cli/commands/copy.d.ts +0 -6
  216. package/dist/cli/commands/create.d.ts +0 -6
  217. package/dist/cli/commands/delete.d.ts +0 -6
  218. package/dist/cli/commands/duplicates.d.ts +0 -6
  219. package/dist/cli/commands/extension.d.ts +0 -6
  220. package/dist/cli/commands/focus.d.ts +0 -6
  221. package/dist/cli/commands/get.d.ts +0 -6
  222. package/dist/cli/commands/health.d.ts +0 -6
  223. package/dist/cli/commands/health.js +0 -2
  224. package/dist/cli/commands/history-compact.d.ts +0 -7
  225. package/dist/cli/commands/history-redact.js +0 -2
  226. package/dist/cli/commands/history.d.ts +0 -2
  227. package/dist/cli/commands/index.d.ts +0 -55
  228. package/dist/cli/commands/index.js +0 -2
  229. package/dist/cli/commands/init-agent-guidance.d.ts +0 -6
  230. package/dist/cli/commands/init-agent-guidance.js +0 -2
  231. package/dist/cli/commands/init.js +0 -2
  232. package/dist/cli/commands/learnings.d.ts +0 -2
  233. package/dist/cli/commands/lifecycle-transitions.d.ts +0 -2
  234. package/dist/cli/commands/lifecycle-transitions.js +0 -2
  235. package/dist/cli/commands/merge.d.ts +0 -8
  236. package/dist/cli/commands/merge.js +0 -2
  237. package/dist/cli/commands/notes.d.ts +0 -2
  238. package/dist/cli/commands/plan.d.ts +0 -6
  239. package/dist/cli/commands/restore.d.ts +0 -6
  240. package/dist/cli/commands/restore.js +0 -2
  241. package/dist/cli/commands/scheduling-shortcuts.d.ts +0 -6
  242. package/dist/cli/commands/scheduling-shortcuts.js +0 -2
  243. package/dist/cli/commands/schema.d.ts +0 -7
  244. package/dist/cli/commands/schema.js +0 -2
  245. package/dist/cli/commands/search.d.ts +0 -6
  246. package/dist/cli/commands/stats.d.ts +0 -6
  247. package/dist/cli/commands/telemetry.d.ts +0 -6
  248. package/dist/cli/commands/update-many.d.ts +0 -2
  249. package/dist/cli/commands/update.d.ts +0 -6
  250. package/dist/cli/commands/upgrade.d.ts +0 -2
  251. package/dist/cli/commands/upgrade.js +0 -2
  252. package/dist/cli/commands/validate.d.ts +0 -9
  253. package/dist/cli/commands/validate.js +0 -2
  254. package/dist/cli-bundle/chunks/chunk-T3AMFUCN.js +0 -2
  255. package/dist/cli-bundle/chunks/register-mutation-DXES37MA.js +0 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-cli",
3
- "version": "2026.9.21",
3
+ "version": "2026.9.23",
4
4
  "description": "Git-native project management CLI for humans and agents.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.10.0",
@@ -123,7 +123,8 @@
123
123
  "lint:complexity:baseline": "eslint . --suppress-rule complexity --suppress-rule sonarjs/cognitive-complexity",
124
124
  "lint:duplicates": "jscpd --config .jscpd.json && jscpd --config .jscpd.source.json && jscpd --config .jscpd.tables.json",
125
125
  "lint:codefactor": "pnpm quality:static",
126
- "quality:static": "pnpm lint:eslint && pnpm lint:duplicates && 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 scripts/release/agent-task-token-gate.mjs && pnpm quality:mcp-deprecations && 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",
126
+ "quality:static": "pnpm quality:docstrings && pnpm quality:exports && pnpm lint:eslint && pnpm lint:duplicates && 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 scripts/release/agent-task-token-gate.mjs && pnpm quality:mcp-deprecations && 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 && pnpm quality:mutation -- --prebuilt",
127
+ "quality:exports": "knip --no-config-hints && node scripts/run-tests.mjs test -- tests/unit/scripts/release/dead-exports.spec.ts",
127
128
  "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",
128
129
  "quality:recovery-closure": "pnpm build && node scripts/release/refusal-closure-gate.mjs",
129
130
  "quality:token-budget": "node scripts/release/token-budget-gate.mjs",
@@ -187,7 +188,10 @@
187
188
  "sentry:inject": "sentry-cli sourcemaps inject dist/",
188
189
  "sentry:upload": "sentry-cli sourcemaps upload --org unbrained --project pm-cli --release \"pm-cli@$npm_package_version\" --validate dist/",
189
190
  "build:sentry": "pnpm build && pnpm sentry:inject && pnpm sentry:upload",
190
- "prepublishOnly": "pnpm build"
191
+ "prepublishOnly": "pnpm build",
192
+ "quality:docstrings": "node --input-type=module --eval \"import { main } from './scripts/release/docstring-quality.mjs'; console.log(JSON.stringify(main()));\"",
193
+ "quality:docstrings:update": "node --input-type=module --eval \"import { main } from './scripts/release/docstring-quality.mjs'; console.log(JSON.stringify(main(['--update'])));\"",
194
+ "quality:mutation": "node scripts/run-tests.mjs mutation"
191
195
  },
192
196
  "keywords": [
193
197
  "cli",
@@ -222,6 +226,8 @@
222
226
  "@eslint/js": "^10.0.1",
223
227
  "@modelcontextprotocol/ext-apps": "2.0.0",
224
228
  "@sentry/cli": "^3.8.0",
229
+ "@stryker-mutator/core": "10.0.0",
230
+ "@stryker-mutator/vitest-runner": "10.0.0",
225
231
  "@types/node": "^26.6.2",
226
232
  "@types/npm-package-arg": "^6.1.4",
227
233
  "@vitest/coverage-v8": "^4.1.11",
@@ -229,13 +235,14 @@
229
235
  "eslint": "^10.11.0",
230
236
  "eslint-plugin-sonarjs": "^4.2.1",
231
237
  "eslint-plugin-unicorn": "76.0.0",
232
- "fast-check": "^4.10.1",
238
+ "fast-check": "^4.10.2",
233
239
  "github-slugger": "2.0.0",
234
240
  "greptile": "^3.5.3",
235
241
  "jscpd": "^5.3.0",
242
+ "knip": "^6.37.0",
236
243
  "marked": "18.0.13",
237
244
  "parse5": "8.0.1",
238
- "tsx": "^4.23.13",
245
+ "tsx": "^4.23.15",
239
246
  "typescript": "^6.0.3",
240
247
  "typescript-eslint": "^8.70.0",
241
248
  "vitest": "^4.1.11"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-beads",
3
- "version": "2026.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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.9.21",
4
+ "version": "2026.9.23",
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.9.21",
3
+ "version": "2026.9.23",
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",
@@ -3,6 +3,32 @@ import { mkdir, readFile, realpath, rm, writeFile } from "node:fs/promises";
3
3
  import path from "node:path";
4
4
  import { setTimeout as delay } from "node:timers/promises";
5
5
 
6
+ /** Read a published owner conservatively; incomplete receipts never authorize recovery. */
7
+ async function readLeaseOwner(ownerFile) {
8
+ try {
9
+ const owner = JSON.parse(await readFile(ownerFile, "utf8"));
10
+ return owner && Number.isSafeInteger(owner.pid) && owner.pid > 0
11
+ && typeof owner.token === "string" && owner.token.length > 0 ? owner : undefined;
12
+ } catch {
13
+ return undefined;
14
+ }
15
+ }
16
+
17
+ /** Diagnose a missing owner without deleting its lease or assuming its consumers stopped. */
18
+ async function assertLeaseOwnerPresent(ownerFile) {
19
+ const owner = await readLeaseOwner(ownerFile);
20
+ if (!owner) return;
21
+ try {
22
+ process.kill(owner.pid, 0);
23
+ } catch (error) {
24
+ if (error.code !== "ESRCH") return;
25
+ // The original owner may have released and another acquired between reads.
26
+ const current = await readLeaseOwner(ownerFile);
27
+ if (current?.pid !== owner.pid || current.token !== owner.token) return;
28
+ throw new Error(`Abandoned build lease: recorded owner PID ${owner.pid} is absent. Inspect ${ownerFile}; confirm its producer and consumers have stopped before manually removing the lease. No files were removed.`, { cause: error });
29
+ }
30
+ }
31
+
6
32
  /**
7
33
  * Hold an exclusive checkout lease through a complete producer or consumer.
8
34
  * Never steal a lock by age: a slow compiler or test is still its owner.
@@ -27,6 +53,7 @@ export async function withBuildLease(root, operation, options = {}) {
27
53
  break;
28
54
  } catch (error) {
29
55
  if (error.code !== "EEXIST") throw error;
56
+ await assertLeaseOwnerPresent(ownerFile);
30
57
  if (Date.now() >= deadline) {
31
58
  throw new Error("Timed out waiting for build lease. Check .cache/build-lease/owner.json; remove an abandoned lease only after confirming its producer and consumers have stopped.", { cause: error });
32
59
  }
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/activity
3
- *
4
- * Compatibility export for the SDK-owned activity query operation.
5
- */
6
- export * from "../../sdk/query/activity.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/aggregate Compatibility export for the SDK-owned aggregate query. */
2
- export * from "../../sdk/query/aggregate.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/append Compatibility export for the SDK-owned append lifecycle operation. */
2
- export * from "../../sdk/lifecycle/append.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/claim Compatibility export for SDK-owned ownership lifecycle operations. */
2
- export * from "../../sdk/lifecycle/claim.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/close-many Compatibility export for the SDK-owned bulk close operation. */
2
- export * from "../../sdk/lifecycle/close-many.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/close
3
- *
4
- * Compatibility presentation shim for the SDK-owned close-item operation.
5
- */
6
- export { _testOnlyCloseCommand, closeItem, runClose, type CloseCommandOptions, type CloseResult, } from "../../sdk/lifecycle/close.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9d427524-4929-5184-b94e-8f808627d26e")}catch(e2){}})();import{_testOnlyCloseCommand,closeItem,runClose}from"../../sdk/lifecycle/close.js";export{_testOnlyCloseCommand,closeItem,runClose};
2
- //# sourceMappingURL=close.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/comments Compatibility export for SDK-owned comment annotations. */
2
- export * from "../../sdk/comments.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/context
3
- *
4
- * Compatibility export for the SDK-owned context query operation.
5
- */
6
- export * from "../../sdk/query/context.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="90ac260a-3714-526b-b8b5-d6e1c6c3dbb1")}catch(e2){}})();export*from"../../sdk/query/context.js";
2
- //# sourceMappingURL=context.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/contracts Compatibility export for SDK-owned runtime contracts. */
2
- export * from "../../sdk/cli-contracts/runtime-contracts.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/copy
3
- *
4
- * Preserves the CLI import path while copy lifecycle behavior is owned by the SDK.
5
- */
6
- export { runCopy, type CopyOptions, type CopyResult, } from "../../sdk/lifecycle/copy.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/create
3
- *
4
- * Compatibility export for the SDK-owned create lifecycle operation.
5
- */
6
- export * from "../../sdk/lifecycle/create.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/delete
3
- *
4
- * Preserves the CLI import path while the delete transaction is owned by the SDK.
5
- */
6
- export { runDelete, type DeleteCommandOptions, type DeleteResult, } from "../../sdk/lifecycle/delete.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/duplicates
3
- *
4
- * Compatibility export for SDK-owned duplicate-cluster discovery.
5
- */
6
- export * from "../../sdk/duplicates.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/extension
3
- *
4
- * Compatibility exports for the SDK-owned extension and package engine.
5
- */
6
- export * from "../../sdk/extension.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/focus
3
- *
4
- * Preserves the CLI import path while focus lifecycle behavior is owned by the SDK.
5
- */
6
- export { runFocus, type FocusOptions, type FocusResult, } from "../../sdk/lifecycle/focus.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/get
3
- *
4
- * Preserves the CLI import path while item retrieval is owned by the SDK.
5
- */
6
- export { _testOnlyGetCommand, runGet, type GetOptions, type GetResult, } from "../../sdk/query/get.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/health
3
- *
4
- * Compatibility adapter for the SDK-owned project health engine.
5
- */
6
- export * from "../../sdk/governance/health.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d413f650-10c4-55c1-8403-90a7783ef5e9")}catch(e2){}})();export*from"../../sdk/governance/health.js";
2
- //# sourceMappingURL=health.js.map
@@ -1,7 +0,0 @@
1
- /**
2
- * @module cli/commands/history-compact
3
- *
4
- * Presentation compatibility shim for public SDK history compaction. The SDK
5
- * owns checkpointing, pruning, integrity verification, and bulk target policy.
6
- */
7
- export { assertHistoryCompactTarget, runHistoryCompact, runHistoryCompactBulk, type HistoryCompactBulkCommandOptions, type HistoryCompactBulkItemResult, type HistoryCompactBulkResult, type HistoryCompactCommandOptions, type HistoryCompactResult, } from "../../sdk/history-compact.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c713a4ec-b6a5-5a77-8c53-610dde8a386d")}catch(e2){}})();import{_testOnly,resolveHistorySubject,runHistoryRedact}from"../../sdk/history-redact.js";export{_testOnly,resolveHistorySubject,runHistoryRedact};
2
- //# sourceMappingURL=history-redact.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/history Compatibility export for the SDK-owned history query. */
2
- export * from "../../sdk/query/history.js";
@@ -1,55 +0,0 @@
1
- /**
2
- * @module cli/commands/index
3
- *
4
- * Implements the pm command index command surface and its agent-facing runtime behavior.
5
- */
6
- export { runAppend } from "./append.js";
7
- export { runAggregate, type AggregateOptions, type AggregateResult, } from "./aggregate.js";
8
- export { runActivity } from "./activity.js";
9
- export { runClaim, runClaimNext, runRelease } from "./claim.js";
10
- export { runClose, type CloseCommandOptions, type CloseResult, } from "./close.js";
11
- export { runCloseMany, type CloseManyCommandOptions, type CloseManyResult, } from "./close-many.js";
12
- export { runComments } from "./comments.js";
13
- export { runConfig, type ConfigCommandOptions, type ConfigResult, } from "./config.js";
14
- export { runContracts, type ContractsCommandOptions, type ContractsResult, } from "./contracts.js";
15
- export { CONTEXT_OUTPUT_VALUES, buildChildrenByParent, collectSubtreeIds, compareCriticalItems, renderContextMarkdown, resolveContextOutputFormat, runContext, toContextFocusItem, type ContextFocusItem, type ContextOptions, type ContextOutputFormat, type ContextResult, } from "./context.js";
16
- export { NEXT_OUTPUT_VALUES, renderNextMarkdown, resolveNextOutputFormat, runNext, type NextActionableItem, type NextBlockerRef, type NextOptions, type NextOutputFormat, type NextRecommendation, type NextResult, } from "./next.js";
17
- export { runCreate, type CreateCommandOptions } from "./create.js";
18
- export { runCopy, type CopyOptions, type CopyResult } from "./copy.js";
19
- export { runFocus, type FocusOptions, type FocusResult } from "./focus.js";
20
- export { runMeet, runEvent, runRemind, type MeetingEventShortcutOptions, type ReminderShortcutOptions, type SchedulingShortcutCommonOptions, } from "./scheduling-shortcuts.js";
21
- export { suggestNextLifecycleTransition, type LifecycleTransitionSuggestion, } from "./lifecycle-transitions.js";
22
- export { runDelete, type DeleteCommandOptions, type DeleteResult, } from "./delete.js";
23
- export { runDeps, DEPS_FORMAT_VALUES, type DepsCommandOptions, type DepsFormat, type DepsResult, } from "./deps.js";
24
- export { runDocs } from "./docs.js";
25
- export { runGraph, GRAPH_SUBCOMMAND_VALUES, type GraphCommandOptions, type GraphResult, type GraphSubcommand, } from "./graph.js";
26
- export { runExtension, type ExtensionCommandOptions, type ExtensionCommandResult, } from "./extension.js";
27
- export { runFiles, runFilesDiscover } from "./files.js";
28
- export { runGc } from "./gc.js";
29
- export { runGet } from "./get.js";
30
- export { runHealth } from "./health.js";
31
- export { runHistory } from "./history.js";
32
- export { runHistoryCompact, type HistoryCompactCommandOptions, type HistoryCompactResult, } from "./history-compact.js";
33
- export { runHistoryRedact, type HistoryRedactCommandOptions, type HistoryRedactResult, } from "./history-redact.js";
34
- export { assertHistoryRepairTarget, runHistoryRepair, runHistoryRepairAll, type HistoryRepairAllResult, type HistoryRepairAllStreamResult, type HistoryRepairCommandOptions, type HistoryRepairResult, } from "./history-repair.js";
35
- export { runInit, summarizeInitResult, type InitConciseResult, } from "./init.js";
36
- export { INIT_AGENT_GUIDANCE_MODE_VALUES, runInitAgentGuidance, type InitAgentGuidanceMode, type InitAgentGuidanceSummary, type RunInitAgentGuidanceOptions, type RunInitAgentGuidanceResult, } from "./init-agent-guidance.js";
37
- export { runLearnings } from "./learnings.js";
38
- export { runList, type ListOptions } from "./list.js";
39
- export { runNotes } from "./notes.js";
40
- export { runPlan, PLAN_SUBCOMMANDS, PLAN_SHOW_DEPTH_VALUES, type PlanCommandOptions, type PlanCommandResult, type PlanDispatchInput, type PlanResultPlan, type PlanStepSummary, type PlanShowDepth, type PlanSubcommand, } from "./plan.js";
41
- export { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaAddField, runSchemaRemoveField, runSchemaListFields, runSchemaShowField, runSchemaApplyPreset, runSchemaInferTypes, runSchemaList, runSchemaShow, runSchemaShowStatus, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaAddFieldHuman, formatSchemaRemoveFieldHuman, formatSchemaListFieldsHuman, formatSchemaShowFieldHuman, formatSchemaApplyPresetHuman, formatSchemaInferTypesHuman, formatSchemaListHuman, formatSchemaShowHuman, formatSchemaShowStatusHuman, SCHEMA_SUBCOMMANDS, type SchemaSubcommand, type SchemaAddTypeCommandOptions, type SchemaAddTypeResult, type SchemaRemoveTypeCommandOptions, type SchemaRemoveTypeResult, type SchemaAddStatusCommandOptions, type SchemaAddStatusResult, type SchemaRemoveStatusCommandOptions, type SchemaRemoveStatusResult, type SchemaAddFieldCommandOptions, type SchemaAddFieldResult, type SchemaRemoveFieldCommandOptions, type SchemaRemoveFieldResult, type SchemaListFieldsResult, type SchemaShowFieldResult, type SchemaApplyPresetCommandOptions, type SchemaApplyPresetResult, type SchemaAddTypeInferCommandOptions, type SchemaAddTypeInferResult, type SchemaListResult, type SchemaShowResult, type SchemaShowStatusResult, } from "./schema.js";
42
- export { runProfileApply, runProfileLint, runProfileList, runProfileShow, formatProfileApplyHuman, formatProfileLintHuman, formatProfileListHuman, formatProfileShowHuman, PROFILE_SUBCOMMANDS, type ProfileSubcommand, type ProfileApplyCommandOptions, type ProfileApplyResult, type ProfileLintResult, type ProfileListResult, type ProfileShowResult, type ProfileResult, } from "./profile.js";
43
- export { runSearch } from "./search.js";
44
- export { runEval } from "./eval.js";
45
- export { runRestore } from "./restore.js";
46
- export { runStats } from "./stats.js";
47
- export { runDuplicates } from "./duplicates.js";
48
- export { runTelemetry, TELEMETRY_SUBCOMMANDS, type TelemetryCommandOptions, type TelemetrySubcommand, } from "./telemetry.js";
49
- export { runTest } from "./test.js";
50
- export { runTestAll } from "./test-all.js";
51
- export { runStartBackgroundRun, runTestRunsList, runTestRunsLogs, runTestRunsResume, runTestRunsStatus, runTestRunsStop, runTestRunsWorker, } from "./test-runs.js";
52
- export { runUpdate } from "./update.js";
53
- export { runUpdateMany, type UpdateManyCommandOptions, type UpdateManyResult, } from "./update-many.js";
54
- export { runUpgrade, type UpgradeCommandOptions, type UpgradeResult, } from "./upgrade.js";
55
- export { runValidate, type ValidateCheck, type ValidateCommandOptions, type ValidateResult, } from "./validate.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b8fd5988-0b4d-5c11-95e4-8db1edbcb139")}catch(e2){}})();import{runAppend}from"./append.js";import{runAggregate}from"./aggregate.js";import{runActivity}from"./activity.js";import{runClaim,runClaimNext,runRelease}from"./claim.js";import{runClose}from"./close.js";import{runCloseMany}from"./close-many.js";import{runComments}from"./comments.js";import{runConfig}from"./config.js";import{runContracts}from"./contracts.js";import{CONTEXT_OUTPUT_VALUES,buildChildrenByParent,collectSubtreeIds,compareCriticalItems,renderContextMarkdown,resolveContextOutputFormat,runContext,toContextFocusItem}from"./context.js";import{NEXT_OUTPUT_VALUES,renderNextMarkdown,resolveNextOutputFormat,runNext}from"./next.js";import{runCreate}from"./create.js";import{runCopy}from"./copy.js";import{runFocus}from"./focus.js";import{runMeet,runEvent,runRemind}from"./scheduling-shortcuts.js";import{suggestNextLifecycleTransition}from"./lifecycle-transitions.js";import{runDelete}from"./delete.js";import{runDeps,DEPS_FORMAT_VALUES}from"./deps.js";import{runDocs}from"./docs.js";import{runGraph,GRAPH_SUBCOMMAND_VALUES}from"./graph.js";import{runExtension}from"./extension.js";import{runFiles,runFilesDiscover}from"./files.js";import{runGc}from"./gc.js";import{runGet}from"./get.js";import{runHealth}from"./health.js";import{runHistory}from"./history.js";import{runHistoryCompact}from"./history-compact.js";import{runHistoryRedact}from"./history-redact.js";import{assertHistoryRepairTarget,runHistoryRepair,runHistoryRepairAll}from"./history-repair.js";import{runInit,summarizeInitResult}from"./init.js";import{INIT_AGENT_GUIDANCE_MODE_VALUES,runInitAgentGuidance}from"./init-agent-guidance.js";import{runLearnings}from"./learnings.js";import{runList}from"./list.js";import{runNotes}from"./notes.js";import{runPlan,PLAN_SUBCOMMANDS,PLAN_SHOW_DEPTH_VALUES}from"./plan.js";import{runSchemaAddType,runSchemaRemoveType,runSchemaAddStatus,runSchemaRemoveStatus,runSchemaAddField,runSchemaRemoveField,runSchemaListFields,runSchemaShowField,runSchemaApplyPreset,runSchemaInferTypes,runSchemaList,runSchemaShow,runSchemaShowStatus,formatSchemaAddTypeHuman,formatSchemaRemoveTypeHuman,formatSchemaAddStatusHuman,formatSchemaRemoveStatusHuman,formatSchemaAddFieldHuman,formatSchemaRemoveFieldHuman,formatSchemaListFieldsHuman,formatSchemaShowFieldHuman,formatSchemaApplyPresetHuman,formatSchemaInferTypesHuman,formatSchemaListHuman,formatSchemaShowHuman,formatSchemaShowStatusHuman,SCHEMA_SUBCOMMANDS}from"./schema.js";import{runProfileApply,runProfileLint,runProfileList,runProfileShow,formatProfileApplyHuman,formatProfileLintHuman,formatProfileListHuman,formatProfileShowHuman,PROFILE_SUBCOMMANDS}from"./profile.js";import{runSearch}from"./search.js";import{runEval}from"./eval.js";import{runRestore}from"./restore.js";import{runStats}from"./stats.js";import{runDuplicates}from"./duplicates.js";import{runTelemetry,TELEMETRY_SUBCOMMANDS}from"./telemetry.js";import{runTest}from"./test.js";import{runTestAll}from"./test-all.js";import{runStartBackgroundRun,runTestRunsList,runTestRunsLogs,runTestRunsResume,runTestRunsStatus,runTestRunsStop,runTestRunsWorker}from"./test-runs.js";import{runUpdate}from"./update.js";import{runUpdateMany}from"./update-many.js";import{runUpgrade}from"./upgrade.js";import{runValidate}from"./validate.js";export{CONTEXT_OUTPUT_VALUES,DEPS_FORMAT_VALUES,GRAPH_SUBCOMMAND_VALUES,INIT_AGENT_GUIDANCE_MODE_VALUES,NEXT_OUTPUT_VALUES,PLAN_SHOW_DEPTH_VALUES,PLAN_SUBCOMMANDS,PROFILE_SUBCOMMANDS,SCHEMA_SUBCOMMANDS,TELEMETRY_SUBCOMMANDS,assertHistoryRepairTarget,buildChildrenByParent,collectSubtreeIds,compareCriticalItems,formatProfileApplyHuman,formatProfileLintHuman,formatProfileListHuman,formatProfileShowHuman,formatSchemaAddFieldHuman,formatSchemaAddStatusHuman,formatSchemaAddTypeHuman,formatSchemaApplyPresetHuman,formatSchemaInferTypesHuman,formatSchemaListFieldsHuman,formatSchemaListHuman,formatSchemaRemoveFieldHuman,formatSchemaRemoveStatusHuman,formatSchemaRemoveTypeHuman,formatSchemaShowFieldHuman,formatSchemaShowHuman,formatSchemaShowStatusHuman,renderContextMarkdown,renderNextMarkdown,resolveContextOutputFormat,resolveNextOutputFormat,runActivity,runAggregate,runAppend,runClaim,runClaimNext,runClose,runCloseMany,runComments,runConfig,runContext,runContracts,runCopy,runCreate,runDelete,runDeps,runDocs,runDuplicates,runEval,runEvent,runExtension,runFiles,runFilesDiscover,runFocus,runGc,runGet,runGraph,runHealth,runHistory,runHistoryCompact,runHistoryRedact,runHistoryRepair,runHistoryRepairAll,runInit,runInitAgentGuidance,runLearnings,runList,runMeet,runNext,runNotes,runPlan,runProfileApply,runProfileLint,runProfileList,runProfileShow,runRelease,runRemind,runRestore,runSchemaAddField,runSchemaAddStatus,runSchemaAddType,runSchemaApplyPreset,runSchemaInferTypes,runSchemaList,runSchemaListFields,runSchemaRemoveField,runSchemaRemoveStatus,runSchemaRemoveType,runSchemaShow,runSchemaShowField,runSchemaShowStatus,runSearch,runStartBackgroundRun,runStats,runTelemetry,runTest,runTestAll,runTestRunsList,runTestRunsLogs,runTestRunsResume,runTestRunsStatus,runTestRunsStop,runTestRunsWorker,runUpdate,runUpdateMany,runUpgrade,runValidate,suggestNextLifecycleTransition,summarizeInitResult,toContextFocusItem};
2
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/init-agent-guidance
3
- *
4
- * Preserves the CLI compatibility import path for SDK-owned agent-guidance primitives.
5
- */
6
- export * from "../../sdk/init-agent-guidance.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="49eb39f1-1826-5e06-8825-569b8ec15926")}catch(e2){}})();export*from"../../sdk/init-agent-guidance.js";
2
- //# sourceMappingURL=init-agent-guidance.js.map
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a22921b3-d233-5bf8-aa95-ab98ae854502")}catch(e2){}})();export*from"../../sdk/init.js";
2
- //# sourceMappingURL=init.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/learnings Compatibility export for SDK-owned learning annotations. */
2
- export * from "../../sdk/learnings.js";
@@ -1,2 +0,0 @@
1
- /** Compatibility export for SDK-owned lifecycle transition guidance. */
2
- export * from "../../sdk/lifecycle/lifecycle-transitions.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8fb71ecd-e603-5d22-9d1f-e0dc069efcc2")}catch(e2){}})();export*from"../../sdk/lifecycle/lifecycle-transitions.js";
2
- //# sourceMappingURL=lifecycle-transitions.js.map
@@ -1,8 +0,0 @@
1
- /**
2
- * @module cli/commands/merge
3
- *
4
- * Presentation compatibility shim for the public SDK tracker merge
5
- * primitives. The SDK owns the three-way merge semantics, the git merge
6
- * driver runner, and the repository merge-configuration installer.
7
- */
8
- export { MERGE_DRIVER_ARTIFACT_VALUES, mergeHistoryStreams, mergeItemDocuments, mergeJsonDocuments, runMergeDriver, runMergeInstall, runMergeReceiptEvidenceReport, runMergeReceiptReport, runMergeReconcile, type MergeDriverArtifact, type MergeDriverOptions, type MergeDriverResult, type MergeInstallOptions, type MergeInstallResult, type MergeReceiptEvidenceReport, type MergeReceiptReport, type MergeReconcileOptions, type MergeReconcileResult, } from "../../sdk/merge/index.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5410ebac-fd70-5c99-bed6-5e70a0b7816d")}catch(e2){}})();import{MERGE_DRIVER_ARTIFACT_VALUES,mergeHistoryStreams,mergeItemDocuments,mergeJsonDocuments,runMergeDriver,runMergeInstall,runMergeReceiptEvidenceReport,runMergeReceiptReport,runMergeReconcile}from"../../sdk/merge/index.js";export{MERGE_DRIVER_ARTIFACT_VALUES,mergeHistoryStreams,mergeItemDocuments,mergeJsonDocuments,runMergeDriver,runMergeInstall,runMergeReceiptEvidenceReport,runMergeReceiptReport,runMergeReconcile};
2
- //# sourceMappingURL=merge.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/notes Compatibility export for SDK-owned private notes. */
2
- export * from "../../sdk/notes.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/plan
3
- *
4
- * Compatibility export for the SDK-owned planning lifecycle operation.
5
- */
6
- export * from "../../sdk/lifecycle/plan.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/restore
3
- *
4
- * Preserves the CLI import path while the restore transaction is owned by the SDK.
5
- */
6
- export { _testOnlyRestoreCommand, runRestore, type RestoreCommandOptions, type RestoreResult, } from "../../sdk/lifecycle/restore.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c44b53b6-4c4d-5830-a4b5-347f509e427f")}catch(e2){}})();import{_testOnlyRestoreCommand,runRestore}from"../../sdk/lifecycle/restore.js";export{_testOnlyRestoreCommand,runRestore};
2
- //# sourceMappingURL=restore.js.map
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/scheduling-shortcuts
3
- *
4
- * Compatibility export for SDK-owned scheduling shortcuts.
5
- */
6
- export * from "../../sdk/scheduling-shortcuts.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1cc6f14f-3fc2-59ff-a854-41c568e79252")}catch(e2){}})();export*from"../../sdk/scheduling-shortcuts.js";
2
- //# sourceMappingURL=scheduling-shortcuts.js.map
@@ -1,7 +0,0 @@
1
- /**
2
- * @module cli/commands/schema
3
- *
4
- * Preserves the CLI command-module contract while schema behavior, result
5
- * types, and rendering helpers are owned by the public SDK module.
6
- */
7
- export * from "../../sdk/schema.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="48020261-f87d-5417-b64f-f63461dd1f40")}catch(e2){}})();export*from"../../sdk/schema.js";
2
- //# sourceMappingURL=schema.js.map
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/search
3
- *
4
- * Compatibility export for the SDK-owned search implementation.
5
- */
6
- export * from "../../sdk/query/search.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/stats
3
- *
4
- * Compatibility export for SDK-owned tracker statistics.
5
- */
6
- export * from "../../sdk/stats.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/telemetry
3
- *
4
- * Compatibility export for SDK-owned telemetry diagnostics.
5
- */
6
- export * from "../../sdk/telemetry.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/update-many Compatibility export for the SDK-owned bulk update operation. */
2
- export * from "../../sdk/lifecycle/update-many.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/update
3
- *
4
- * Compatibility export for the SDK-owned update lifecycle operation.
5
- */
6
- export * from "../../sdk/lifecycle/update.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/upgrade Compatibility export for SDK-owned upgrade governance. */
2
- export * from "../../sdk/governance/upgrade.js";