@unbrained/pm-cli 2026.11.9 → 2026.11.11

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 (613) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +28 -0
  3. package/dist/cli/commander-usage.js +2 -2
  4. package/dist/cli/error-guidance.js +5 -5
  5. package/dist/cli/help-json-payload.js +1 -1
  6. package/dist/cli/main.js +4 -4
  7. package/dist/cli/public.d.ts +1 -1
  8. package/dist/cli/register-history-maintenance.js +2 -2
  9. package/dist/cli/register-setup.js +1 -1
  10. package/dist/cli/runtime/refusal-credential-redaction.js +2 -0
  11. package/dist/cli-bundle/bundle-manifest.json +1 -1
  12. package/dist/cli-bundle/chunks/{chunk-YV5ALMG2.js → chunk-4RHXGQMK.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-IGT252ES.js → chunk-5N3JMGXU.js} +2 -2
  14. package/dist/cli-bundle/chunks/{chunk-VATZTJE3.js → chunk-DIWTFDU7.js} +2 -2
  15. package/dist/cli-bundle/chunks/{chunk-MSJ7IHMJ.js → chunk-DV7WBAKQ.js} +2 -2
  16. package/dist/cli-bundle/chunks/{chunk-GZVOOHTO.js → chunk-EBAHNZJT.js} +2 -2
  17. package/dist/cli-bundle/chunks/chunk-FM375BHH.js +3 -0
  18. package/dist/cli-bundle/chunks/{chunk-O2M3TNFY.js → chunk-GOLQYO6M.js} +5 -5
  19. package/dist/cli-bundle/chunks/chunk-GZ52WAY2.js +124 -0
  20. package/dist/cli-bundle/chunks/{chunk-6V4PGJBZ.js → chunk-JESMEJTD.js} +2 -2
  21. package/dist/cli-bundle/chunks/{chunk-XKY4LUXN.js → chunk-JLQ7O6UV.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-YK5GAWOT.js → chunk-L3SA3354.js} +2 -2
  23. package/dist/cli-bundle/chunks/{chunk-GDQ2T2OR.js → chunk-NIOOJ3AG.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-GCPP37N6.js → chunk-PZI6CR24.js} +46 -46
  25. package/dist/cli-bundle/chunks/{chunk-Z3QEEOAM.js → chunk-QCTA2UFR.js} +2 -2
  26. package/dist/cli-bundle/chunks/{chunk-EZRLW4R6.js → chunk-SPERPX27.js} +2 -2
  27. package/dist/cli-bundle/chunks/{chunk-ELNWRSGZ.js → chunk-SVVFJPNW.js} +2 -2
  28. package/dist/cli-bundle/chunks/chunk-WEAF3OY4.js +3 -0
  29. package/dist/cli-bundle/chunks/{chunk-JK7O7MFO.js → chunk-WWW5WHHJ.js} +3 -3
  30. package/dist/cli-bundle/chunks/{chunk-5VRJPPUC.js → chunk-XJUYJXHZ.js} +2 -2
  31. package/dist/cli-bundle/chunks/chunk-XN2BRWDD.js +6 -0
  32. package/dist/cli-bundle/chunks/chunk-Z4YEH7VQ.js +2 -0
  33. package/dist/cli-bundle/chunks/{chunk-3BMIAI4P.js → chunk-ZJDYBXMC.js} +2 -2
  34. package/dist/cli-bundle/chunks/{chunk-G6Q4VQSI.js → chunk-ZSL6U53K.js} +2 -2
  35. package/dist/cli-bundle/chunks/{item-revision-Y5CE3EIN.js → item-revision-LNIHK36Q.js} +2 -2
  36. package/dist/cli-bundle/chunks/item-transaction-TMUYPSMR.js +2 -0
  37. package/dist/cli-bundle/chunks/{mutation-admission-TAQN2AKK.js → mutation-admission-WZY22LVH.js} +2 -2
  38. package/dist/cli-bundle/chunks/{register-list-query-XMQYFUFI.js → register-list-query-DYGPLVRL.js} +2 -2
  39. package/dist/cli-bundle/chunks/{register-mutation-OBVCFLDK.js → register-mutation-MP5JCBAJ.js} +2 -2
  40. package/dist/cli-bundle/chunks/{register-operations-CGNFZ6DR.js → register-operations-QEASK3EF.js} +2 -2
  41. package/dist/cli-bundle/chunks/{register-setup-LFB5ERXH.js → register-setup-G66U2WFV.js} +2 -2
  42. package/dist/cli-bundle/chunks/{stage-NQHF6JPC.js → stage-VIDXGF3T.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/{chunk-LDMBNTOG.js → chunk-2ZS3I5ZP.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-33EK522E.js +26 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-XLSTFUXM.js → chunk-3A6XMQZJ.js} +2 -2
  46. package/dist/cli-bundle/focused-chunks/{chunk-IS5FLEZW.js → chunk-3FN4ON2Z.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/{chunk-UIKLNSW3.js → chunk-3SH3L3DB.js} +2 -2
  48. package/dist/cli-bundle/focused-chunks/{chunk-ALLOWZSH.js → chunk-6ICHSVEY.js} +2 -2
  49. package/dist/cli-bundle/focused-chunks/chunk-6TJXTKZD.js +44 -0
  50. package/dist/cli-bundle/focused-chunks/{chunk-AH5IST3V.js → chunk-AXPRCCYM.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/chunk-DW5S67LO.js +2 -0
  52. package/dist/cli-bundle/focused-chunks/{chunk-C3DO4ZGZ.js → chunk-GBW2EAAG.js} +2 -2
  53. package/dist/cli-bundle/focused-chunks/chunk-HIKZYZ26.js +82 -0
  54. package/dist/cli-bundle/focused-chunks/{chunk-4FWMXQN3.js → chunk-JYWVRXLD.js} +2 -2
  55. package/dist/cli-bundle/focused-chunks/chunk-M5FZTPFA.js +2 -0
  56. package/dist/cli-bundle/focused-chunks/{chunk-2SQUWQP3.js → chunk-MK7UQEE5.js} +18 -18
  57. package/dist/cli-bundle/focused-chunks/{chunk-HNFY3XLC.js → chunk-NMU3QFAU.js} +2 -2
  58. package/dist/cli-bundle/focused-chunks/{chunk-QWUWNFQO.js → chunk-NP5C2TQM.js} +2 -2
  59. package/dist/cli-bundle/focused-chunks/{chunk-RNZUORGI.js → chunk-NSOXVVQX.js} +2 -2
  60. package/dist/cli-bundle/focused-chunks/{chunk-J7PWHKZK.js → chunk-NY65XTX7.js} +2 -2
  61. package/dist/cli-bundle/focused-chunks/{chunk-Q45LDP7P.js → chunk-P6KYUJD4.js} +2 -2
  62. package/dist/cli-bundle/focused-chunks/{chunk-LWMPQRJT.js → chunk-UCUESVFW.js} +2 -2
  63. package/dist/cli-bundle/focused-chunks/{chunk-NZQYHPUN.js → chunk-V27M5UQH.js} +2 -2
  64. package/dist/cli-bundle/focused-chunks/chunk-VVGXPF4W.js +26 -0
  65. package/dist/cli-bundle/focused-chunks/{item-revision-M6FOLME2.js → item-revision-B3BIG66B.js} +2 -2
  66. package/dist/cli-bundle/focused-chunks/{item-transaction-H6VA5JGB.js → item-transaction-4JDWOXNB.js} +2 -2
  67. package/dist/cli-bundle/focused-chunks/{mutation-admission-PRTQWQK6.js → mutation-admission-577MXOGD.js} +2 -2
  68. package/dist/cli-bundle/focused-chunks/{stage-7T77PSJD.js → stage-EKYWEU2Y.js} +2 -2
  69. package/dist/cli-bundle/main.js +32 -32
  70. package/dist/cli-bundle/sdk-authoring.js +1 -1
  71. package/dist/cli-bundle/sdk-contracts.js +1 -1
  72. package/dist/cli-bundle/sdk-core.js +1 -1
  73. package/dist/cli-bundle/sdk-governance.js +1 -1
  74. package/dist/cli-bundle/sdk-graph.js +1 -1
  75. package/dist/cli-bundle/sdk-merge.js +57 -57
  76. package/dist/cli-bundle/sdk-query.js +1 -1
  77. package/dist/cli-bundle/sdk-runtime.js +1 -1
  78. package/dist/cli-bundle/sdk-testing.js +1 -1
  79. package/dist/cli-bundle/sdk.js +11 -11
  80. package/dist/core/checkpoint/mutation-checkpoint.d.ts +12 -20
  81. package/dist/core/config/nested-settings.d.ts +14 -45
  82. package/dist/core/config/nested-settings.js +1 -1
  83. package/dist/core/config/positional-value.d.ts +11 -14
  84. package/dist/core/config/positional-value.js +1 -1
  85. package/dist/core/extensions/activation-summary-markdown.d.ts +4 -5
  86. package/dist/core/extensions/activation-summary.d.ts +7 -15
  87. package/dist/core/extensions/capability-usage.d.ts +7 -23
  88. package/dist/core/extensions/command-hook-context.d.ts +4 -7
  89. package/dist/core/extensions/command-metadata-contract.d.ts +2 -2
  90. package/dist/core/extensions/contribution-inventory.d.ts +3 -25
  91. package/dist/core/extensions/extension-capability-aliases.d.ts +7 -10
  92. package/dist/core/extensions/extension-hook-runtime.d.ts +2 -2
  93. package/dist/core/extensions/extension-policy.d.ts +12 -47
  94. package/dist/core/extensions/extension-registries.d.ts +2 -2
  95. package/dist/core/extensions/extension-types.d.ts +332 -545
  96. package/dist/core/extensions/flag-definition-validation.d.ts +11 -13
  97. package/dist/core/extensions/flag-value-types.d.ts +11 -13
  98. package/dist/core/extensions/index.d.ts +15 -20
  99. package/dist/core/extensions/item-field-types.d.ts +5 -5
  100. package/dist/core/extensions/item-fields.d.ts +4 -7
  101. package/dist/core/extensions/loader.d.ts +5 -69
  102. package/dist/core/extensions/manifest-parser.d.ts +3 -3
  103. package/dist/core/extensions/manifest-schema.d.ts +10 -13
  104. package/dist/core/extensions/registration-contracts.d.ts +2 -4
  105. package/dist/core/extensions/registration-validation.d.ts +1 -1
  106. package/dist/core/extensions/registration-values.d.ts +5 -7
  107. package/dist/core/extensions/runtime-registrations.d.ts +6 -6
  108. package/dist/core/extensions/version-compat.d.ts +9 -10
  109. package/dist/core/fs/fs-utils.d.ts +4 -6
  110. package/dist/core/fs/host-environment-errors.d.ts +8 -10
  111. package/dist/core/governance/content-fields.d.ts +10 -14
  112. package/dist/core/governance/issue-codes.d.ts +12 -18
  113. package/dist/core/governance/metadata-coverage.d.ts +24 -34
  114. package/dist/core/history/digest.d.ts +3 -3
  115. package/dist/core/history/event-classification.d.ts +5 -5
  116. package/dist/core/history/event-index.d.ts +14 -35
  117. package/dist/core/history/history-compact-bulk.d.ts +10 -13
  118. package/dist/core/history/history-diff.d.ts +6 -11
  119. package/dist/core/history/history-rewrite.d.ts +24 -40
  120. package/dist/core/history/history-storage-stats.d.ts +9 -17
  121. package/dist/core/history/history-stream-policy.d.ts +8 -11
  122. package/dist/core/history/history.d.ts +10 -44
  123. package/dist/core/history/identity.d.ts +4 -5
  124. package/dist/core/history/operation-contract.d.ts +5 -15
  125. package/dist/core/history/projection.d.ts +10 -14
  126. package/dist/core/history/read.d.ts +6 -7
  127. package/dist/core/history/replay.d.ts +16 -37
  128. package/dist/core/history/workspace-history.d.ts +27 -60
  129. package/dist/core/io/body-file.d.ts +2 -2
  130. package/dist/core/io/bulk-ids-input.d.ts +7 -8
  131. package/dist/core/item/actionability.d.ts +16 -22
  132. package/dist/core/item/dependency-reference.d.ts +2 -2
  133. package/dist/core/item/id.d.ts +5 -9
  134. package/dist/core/item/item-format-version.d.ts +11 -13
  135. package/dist/core/item/item-format.d.ts +11 -59
  136. package/dist/core/item/item-record.d.ts +2 -2
  137. package/dist/core/item/literal-mutation-input.d.ts +2 -2
  138. package/dist/core/item/parent-reference-policy.d.ts +4 -7
  139. package/dist/core/item/parse.d.ts +10 -26
  140. package/dist/core/item/plan-lifecycle.d.ts +3 -3
  141. package/dist/core/item/priority.d.ts +2 -2
  142. package/dist/core/item/sprint-release-format.d.ts +3 -7
  143. package/dist/core/item/status-filter.d.ts +5 -7
  144. package/dist/core/item/status.d.ts +3 -4
  145. package/dist/core/item/type-registry.d.ts +17 -24
  146. package/dist/core/item/type-synonyms.d.ts +1 -1
  147. package/dist/core/lock/lock-owner.d.ts +8 -10
  148. package/dist/core/lock/lock.d.ts +19 -67
  149. package/dist/core/output/output-control.d.ts +5 -6
  150. package/dist/core/output/output.d.ts +10 -19
  151. package/dist/core/output/tabular.d.ts +2 -2
  152. package/dist/core/packages/manifest.d.ts +13 -17
  153. package/dist/core/packages/root.d.ts +3 -3
  154. package/dist/core/policy/workflow-policy-schema.d.ts +2 -310
  155. package/dist/core/policy/workflow-policy-store.d.ts +5 -14
  156. package/dist/core/policy/workflow-policy.d.ts +25 -52
  157. package/dist/core/profile/profile-describe.d.ts +8 -11
  158. package/dist/core/profile/profile-lint.d.ts +11 -13
  159. package/dist/core/profile/profile-plan.d.ts +30 -49
  160. package/dist/core/profile/profile-presets.d.ts +25 -36
  161. package/dist/core/reproducibility/context.d.ts +6 -7
  162. package/dist/core/schema/fields-file.d.ts +14 -21
  163. package/dist/core/schema/item-types-file.d.ts +16 -22
  164. package/dist/core/schema/runtime-field-filters.d.ts +2 -2
  165. package/dist/core/schema/runtime-field-values.d.ts +6 -13
  166. package/dist/core/schema/runtime-schema.d.ts +19 -31
  167. package/dist/core/schema/status-defs-file.d.ts +15 -25
  168. package/dist/core/schema/status-token.d.ts +1 -1
  169. package/dist/core/schema/type-inference.d.ts +6 -8
  170. package/dist/core/schema/type-presets.d.ts +5 -5
  171. package/dist/core/schema/type-workflows.d.ts +11 -16
  172. package/dist/core/search/background-refresh.d.ts +6 -12
  173. package/dist/core/search/bm25.d.ts +11 -19
  174. package/dist/core/search/cache.d.ts +19 -41
  175. package/dist/core/search/corpus.d.ts +16 -19
  176. package/dist/core/search/embedding-batches.d.ts +12 -17
  177. package/dist/core/search/eval-thresholds.d.ts +3 -3
  178. package/dist/core/search/eval.d.ts +16 -34
  179. package/dist/core/search/http-client.d.ts +14 -18
  180. package/dist/core/search/providers.d.ts +22 -39
  181. package/dist/core/search/relevance.d.ts +14 -19
  182. package/dist/core/search/semantic-defaults.d.ts +4 -5
  183. package/dist/core/search/vector-stores.d.ts +35 -57
  184. package/dist/core/search/vectorization-metadata.d.ts +9 -11
  185. package/dist/core/sentry/helpers.d.ts +6 -31
  186. package/dist/core/sentry/instrument.d.ts +6 -59
  187. package/dist/core/sentry/instrument.js +1 -1
  188. package/dist/core/session/session-state.d.ts +12 -32
  189. package/dist/core/shared/agent-session-context.d.ts +10 -17
  190. package/dist/core/shared/author.d.ts +48 -69
  191. package/dist/core/shared/command-line.d.ts +3 -3
  192. package/dist/core/shared/command-types.d.ts +3 -4
  193. package/dist/core/shared/constants.d.ts +14 -32
  194. package/dist/core/shared/error-details.d.ts +5 -18
  195. package/dist/core/shared/errors.d.ts +42 -83
  196. package/dist/core/shared/html-entity-decode.d.ts +1 -1
  197. package/dist/core/shared/item-metadata-contract.d.ts +2 -2
  198. package/dist/core/shared/lazy-module.d.ts +1 -1
  199. package/dist/core/shared/levenshtein.d.ts +1 -1
  200. package/dist/core/shared/numeric-parsers.d.ts +1 -1
  201. package/dist/core/shared/option-alias-visibility.d.ts +2 -2
  202. package/dist/core/shared/output-unicode.d.ts +1 -1
  203. package/dist/core/shared/primitives.d.ts +10 -10
  204. package/dist/core/shared/secret-rules.d.ts +22 -92
  205. package/dist/core/shared/secret-rules.js +4 -2
  206. package/dist/core/shared/serial-queue.d.ts +7 -9
  207. package/dist/core/shared/serialization.d.ts +1 -1
  208. package/dist/core/shared/split-comma-list.d.ts +4 -5
  209. package/dist/core/shared/text-normalization.d.ts +1 -1
  210. package/dist/core/shared/time.d.ts +6 -20
  211. package/dist/core/shared/url-credentials.d.ts +37 -0
  212. package/dist/core/shared/url-credentials.js +2 -0
  213. package/dist/core/store/item-format-migration.d.ts +4 -5
  214. package/dist/core/store/item-metadata-cache.d.ts +22 -27
  215. package/dist/core/store/item-metadata-query-index.d.ts +20 -61
  216. package/dist/core/store/item-metadata-read-work.d.ts +3 -7
  217. package/dist/core/store/item-mutation-precondition.d.ts +19 -35
  218. package/dist/core/store/item-store.d.ts +18 -141
  219. package/dist/core/store/paths.d.ts +5 -10
  220. package/dist/core/store/settings-read-cache.d.ts +7 -9
  221. package/dist/core/store/settings-sections.d.ts +15 -19
  222. package/dist/core/store/settings-validator.d.ts +27 -143
  223. package/dist/core/store/settings-validator.js +1 -1
  224. package/dist/core/store/settings.d.ts +19 -94
  225. package/dist/core/store/sqlite-runtime.d.ts +3 -3
  226. package/dist/core/store/tracker-preflight.d.ts +2 -2
  227. package/dist/core/telemetry/consent.d.ts +2 -2
  228. package/dist/core/telemetry/observability.d.ts +8 -19
  229. package/dist/core/telemetry/policy.d.ts +8 -23
  230. package/dist/core/telemetry/runtime.d.ts +44 -254
  231. package/dist/core/telemetry/runtime.js +2 -2
  232. package/dist/core/test/background-runs.d.ts +35 -79
  233. package/dist/core/test/run-selectors.d.ts +10 -12
  234. package/dist/core/validate/fix-planning.d.ts +19 -28
  235. package/dist/core/validate/missing-by-type.d.ts +3 -4
  236. package/dist/core/validate/missing-link-owners.d.ts +12 -16
  237. package/dist/core/validate/stale-file-classification.d.ts +5 -6
  238. package/dist/mcp/tool-definitions.d.ts +7 -30
  239. package/dist/sdk/actionability.d.ts +1 -1
  240. package/dist/sdk/agent/closed-domain-contracts.d.ts +4 -5
  241. package/dist/sdk/agent/command-recovery.d.ts +9 -13
  242. package/dist/sdk/agent/command-suggestions.d.ts +2 -2
  243. package/dist/sdk/agent/create-option-policy.d.ts +2 -2
  244. package/dist/sdk/agent/identity-config.d.ts +13 -18
  245. package/dist/sdk/agent/item-addressing.d.ts +4 -5
  246. package/dist/sdk/agent/linked-resource-recovery.d.ts +3 -4
  247. package/dist/sdk/agent/refusal-closure-census.d.ts +13 -25
  248. package/dist/sdk/agent/refusal-closure.d.ts +8 -11
  249. package/dist/sdk/agent/refusal-corpus-contracts.d.ts +15 -21
  250. package/dist/sdk/agent/refusal-reachability.d.ts +38 -52
  251. package/dist/sdk/agent/subcommand-recovery.d.ts +7 -15
  252. package/dist/sdk/agent/task-transcript-contracts.d.ts +12 -15
  253. package/dist/sdk/agent/tracker-preflight-contracts.d.ts +13 -17
  254. package/dist/sdk/agent-capability-contracts.d.ts +19 -32
  255. package/dist/sdk/agent-session-context.d.ts +1 -1
  256. package/dist/sdk/annotations.d.ts +32 -68
  257. package/dist/sdk/author-attribution.d.ts +22 -33
  258. package/dist/sdk/authoring.d.ts +1 -19
  259. package/dist/sdk/cli-bootstrap.d.ts +22 -59
  260. package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +31 -57
  261. package/dist/sdk/cli-contracts/command-aliases.d.ts +7 -8
  262. package/dist/sdk/cli-contracts/command-exit-contracts.d.ts +19 -65
  263. package/dist/sdk/cli-contracts/commander-mutation-options.d.ts +2 -2
  264. package/dist/sdk/cli-contracts/commander-types.d.ts +6 -11
  265. package/dist/sdk/cli-contracts/completeness.d.ts +11 -15
  266. package/dist/sdk/cli-contracts/enum-contracts.d.ts +25 -37
  267. package/dist/sdk/cli-contracts/flag-contracts.d.ts +16 -20
  268. package/dist/sdk/cli-contracts/flag-lexicon-contracts.d.ts +14 -19
  269. package/dist/sdk/cli-contracts/grammar-contracts.d.ts +29 -47
  270. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +44 -265
  271. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +11 -564
  272. package/dist/sdk/cli-contracts/tool-schema.d.ts +18 -51
  273. package/dist/sdk/cli-contracts/typed-action-inputs.d.ts +18 -37
  274. package/dist/sdk/cli-contracts.d.ts +1 -16
  275. package/dist/sdk/cli-program.d.ts +2 -2
  276. package/dist/sdk/command-line.d.ts +3 -4
  277. package/dist/sdk/command-line.js +1 -1
  278. package/dist/sdk/comments.d.ts +6 -10
  279. package/dist/sdk/compile-cache.d.ts +4 -5
  280. package/dist/sdk/completion/bash.d.ts +2 -2
  281. package/dist/sdk/completion/fish.d.ts +2 -2
  282. package/dist/sdk/completion/shared.d.ts +10 -77
  283. package/dist/sdk/completion/shared.js +1 -1
  284. package/dist/sdk/completion/zsh.d.ts +2 -2
  285. package/dist/sdk/completion.d.ts +2 -6
  286. package/dist/sdk/compose.d.ts +49 -74
  287. package/dist/sdk/config.d.ts +18 -94
  288. package/dist/sdk/config.js +1 -1
  289. package/dist/sdk/context/recency.d.ts +2 -2
  290. package/dist/sdk/context/semantic-session-attribution.d.ts +6 -25
  291. package/dist/sdk/context/usage-ledger.d.ts +9 -21
  292. package/dist/sdk/context-intent-contracts.d.ts +24 -35
  293. package/dist/sdk/context-intent-runtime.d.ts +7 -9
  294. package/dist/sdk/context-packing.d.ts +16 -34
  295. package/dist/sdk/context-relevance.d.ts +58 -93
  296. package/dist/sdk/context-signal-store.d.ts +29 -60
  297. package/dist/sdk/context-usage.d.ts +22 -69
  298. package/dist/sdk/contracts.d.ts +1 -24
  299. package/dist/sdk/core-governance.d.ts +1 -5
  300. package/dist/sdk/core.d.ts +1 -27
  301. package/dist/sdk/corpus-shape.d.ts +16 -28
  302. package/dist/sdk/define.d.ts +10 -14
  303. package/dist/sdk/dependencies.d.ts +32 -50
  304. package/dist/sdk/dependency-provenance.d.ts +19 -23
  305. package/dist/sdk/docs.d.ts +6 -10
  306. package/dist/sdk/duplicates.d.ts +8 -15
  307. package/dist/sdk/environment/agent-environment.d.ts +60 -101
  308. package/dist/sdk/environment/host-environment-errors.d.ts +1 -1
  309. package/dist/sdk/environment/project-runtime-compatibility.d.ts +15 -29
  310. package/dist/sdk/environment/source-context.d.ts +6 -7
  311. package/dist/sdk/environment/tracker-preflight.d.ts +1 -1
  312. package/dist/sdk/error-code-catalog.d.ts +9 -26
  313. package/dist/sdk/error-runtime.d.ts +6 -8
  314. package/dist/sdk/errors.d.ts +10 -17
  315. package/dist/sdk/eval.d.ts +11 -21
  316. package/dist/sdk/extension/command-options.d.ts +14 -26
  317. package/dist/sdk/extension/describe.d.ts +14 -19
  318. package/dist/sdk/extension/doctor.d.ts +8 -48
  319. package/dist/sdk/extension/install-plan.d.ts +12 -26
  320. package/dist/sdk/extension/install-runtime.d.ts +10 -11
  321. package/dist/sdk/extension/install-sources.d.ts +22 -104
  322. package/dist/sdk/extension/managed-state.d.ts +13 -18
  323. package/dist/sdk/extension/migrations.d.ts +22 -37
  324. package/dist/sdk/extension/output-ownership.d.ts +3 -30
  325. package/dist/sdk/extension/shared.d.ts +9 -15
  326. package/dist/sdk/extension/source-resolution.d.ts +13 -18
  327. package/dist/sdk/extension/static-inventory.d.ts +17 -21
  328. package/dist/sdk/extension/update-check.d.ts +7 -11
  329. package/dist/sdk/extension-command-context.d.ts +2 -3
  330. package/dist/sdk/extension-contracts.d.ts +11 -14
  331. package/dist/sdk/extension.d.ts +31 -192
  332. package/dist/sdk/files.d.ts +27 -68
  333. package/dist/sdk/flag-invocation-contracts.d.ts +13 -17
  334. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  335. package/dist/sdk/generated-error-code-catalog.d.ts +1 -1
  336. package/dist/sdk/governance/artifact-ledgers.d.ts +9 -16
  337. package/dist/sdk/governance/assurance-action-contracts.d.ts +1 -1
  338. package/dist/sdk/governance/assurance-action.d.ts +13 -45
  339. package/dist/sdk/governance/assurance-mutation-error.d.ts +12 -17
  340. package/dist/sdk/governance/assurance-presets.d.ts +10 -21
  341. package/dist/sdk/governance/assurance-runtime.d.ts +5 -6
  342. package/dist/sdk/governance/assurance.d.ts +97 -154
  343. package/dist/sdk/governance/boundary-fixtures.d.ts +17 -23
  344. package/dist/sdk/governance/closure-timestamps.d.ts +5 -15
  345. package/dist/sdk/governance/coverage-assurance.d.ts +5 -6
  346. package/dist/sdk/governance/defect-recurrence-coverage.d.ts +13 -23
  347. package/dist/sdk/governance/defect-recurrence-graph.d.ts +9 -13
  348. package/dist/sdk/governance/defect-recurrence.d.ts +43 -67
  349. package/dist/sdk/governance/extension-host-version.d.ts +8 -10
  350. package/dist/sdk/governance/gc.d.ts +12 -20
  351. package/dist/sdk/governance/health/projection.d.ts +8 -23
  352. package/dist/sdk/governance/health.d.ts +23 -167
  353. package/dist/sdk/governance/hierarchy-validation.d.ts +2 -18
  354. package/dist/sdk/governance/linked-file-report.d.ts +6 -10
  355. package/dist/sdk/governance/merge-receipt-history.d.ts +12 -16
  356. package/dist/sdk/governance/provenance-health.d.ts +17 -23
  357. package/dist/sdk/governance/reindex.d.ts +13 -116
  358. package/dist/sdk/governance/reliability.d.ts +13 -17
  359. package/dist/sdk/governance/stale-work.d.ts +8 -11
  360. package/dist/sdk/governance/status-role-diagnostics.d.ts +4 -6
  361. package/dist/sdk/governance/storage-integrity.d.ts +16 -23
  362. package/dist/sdk/governance/upgrade.d.ts +17 -57
  363. package/dist/sdk/governance/validate-item-reader.d.ts +3 -11
  364. package/dist/sdk/governance/validate-normalization.d.ts +2 -2
  365. package/dist/sdk/governance/validate.d.ts +29 -175
  366. package/dist/sdk/governance/workflow-completeness.d.ts +5 -17
  367. package/dist/sdk/governance/workflow-policy.d.ts +8 -16
  368. package/dist/sdk/governance/workspace-position.d.ts +12 -43
  369. package/dist/sdk/governance.d.ts +1 -39
  370. package/dist/sdk/graph/adapter.d.ts +23 -41
  371. package/dist/sdk/graph/analytics.d.ts +20 -31
  372. package/dist/sdk/graph/assembly.d.ts +24 -35
  373. package/dist/sdk/graph/cache.d.ts +13 -25
  374. package/dist/sdk/graph/cardinality-integrity.d.ts +4 -6
  375. package/dist/sdk/graph/centrality.d.ts +14 -20
  376. package/dist/sdk/graph/conformance.d.ts +12 -19
  377. package/dist/sdk/graph/deadline-scheduling.d.ts +14 -20
  378. package/dist/sdk/graph/durable-cache.d.ts +11 -14
  379. package/dist/sdk/graph/governance-contracts.d.ts +2 -2
  380. package/dist/sdk/graph/governance.d.ts +22 -36
  381. package/dist/sdk/graph/hierarchy-integrity.d.ts +18 -26
  382. package/dist/sdk/graph/index.d.ts +1 -17
  383. package/dist/sdk/graph/lifecycle-coverage.d.ts +8 -12
  384. package/dist/sdk/graph/mutation-advisory.d.ts +5 -16
  385. package/dist/sdk/graph/query-contracts.d.ts +1 -2
  386. package/dist/sdk/graph/remediation.d.ts +11 -18
  387. package/dist/sdk/graph/run.d.ts +73 -115
  388. package/dist/sdk/graph/scheduling.d.ts +8 -15
  389. package/dist/sdk/graph/traversal.d.ts +9 -15
  390. package/dist/sdk/graph/workspace-relationship-kind-registry.d.ts +2 -2
  391. package/dist/sdk/graph.d.ts +1 -12
  392. package/dist/sdk/guide-topics.d.ts +7 -10
  393. package/dist/sdk/guide.d.ts +21 -43
  394. package/dist/sdk/history/attestation-command.d.ts +7 -10
  395. package/dist/sdk/history/attestation-contract.d.ts +19 -34
  396. package/dist/sdk/history/attestation.d.ts +2 -3
  397. package/dist/sdk/history/maintenance.d.ts +17 -27
  398. package/dist/sdk/history/salvage.d.ts +5 -22
  399. package/dist/sdk/history/subject.d.ts +5 -11
  400. package/dist/sdk/history-analytics.d.ts +28 -59
  401. package/dist/sdk/history-compact.d.ts +25 -66
  402. package/dist/sdk/history-provenance.d.ts +16 -33
  403. package/dist/sdk/history-read.d.ts +9 -16
  404. package/dist/sdk/history-redact.d.ts +19 -74
  405. package/dist/sdk/history-redact.js +1 -1
  406. package/dist/sdk/history-repair.d.ts +26 -71
  407. package/dist/sdk/improvement-ledger-validation.d.ts +2 -2
  408. package/dist/sdk/improvement-ledger.d.ts +20 -39
  409. package/dist/sdk/index.d.ts +1 -268
  410. package/dist/sdk/index.js +1 -1
  411. package/dist/sdk/init-agent-guidance.d.ts +13 -68
  412. package/dist/sdk/init.d.ts +24 -94
  413. package/dist/sdk/invocation-author.d.ts +1 -1
  414. package/dist/sdk/item-children.d.ts +10 -13
  415. package/dist/sdk/item-metadata-index.d.ts +1 -2
  416. package/dist/sdk/item-schedule.d.ts +8 -9
  417. package/dist/sdk/item-transaction.d.ts +46 -90
  418. package/dist/sdk/learnings.d.ts +6 -10
  419. package/dist/sdk/lifecycle/append.d.ts +7 -9
  420. package/dist/sdk/lifecycle/claim.d.ts +26 -42
  421. package/dist/sdk/lifecycle/cli-input.d.ts +1 -1
  422. package/dist/sdk/lifecycle/close-many.d.ts +14 -65
  423. package/dist/sdk/lifecycle/close.d.ts +10 -26
  424. package/dist/sdk/lifecycle/copy.d.ts +6 -10
  425. package/dist/sdk/lifecycle/create.d.ts +15 -83
  426. package/dist/sdk/lifecycle/delete.d.ts +7 -9
  427. package/dist/sdk/lifecycle/focus.d.ts +9 -11
  428. package/dist/sdk/lifecycle/item-revision.d.ts +25 -45
  429. package/dist/sdk/lifecycle/item-revision.js +1 -1
  430. package/dist/sdk/lifecycle/lifecycle-transitions.d.ts +4 -5
  431. package/dist/sdk/lifecycle/mutation-command-options.d.ts +6 -9
  432. package/dist/sdk/lifecycle/plan-mutation-receipt.d.ts +5 -13
  433. package/dist/sdk/lifecycle/plan.d.ts +34 -74
  434. package/dist/sdk/lifecycle/reopen.d.ts +8 -14
  435. package/dist/sdk/lifecycle/restore.d.ts +9 -38
  436. package/dist/sdk/lifecycle/shared-unset-fields.d.ts +23 -614
  437. package/dist/sdk/lifecycle/start-blockers.d.ts +7 -27
  438. package/dist/sdk/lifecycle/structured-mutation-plan.d.ts +8 -16
  439. package/dist/sdk/lifecycle/task-composition.d.ts +6 -14
  440. package/dist/sdk/lifecycle/update-many.d.ts +15 -65
  441. package/dist/sdk/lifecycle/update.d.ts +21 -104
  442. package/dist/sdk/lifecycle/workflow-transition.d.ts +2 -11
  443. package/dist/sdk/lifecycle-completion.d.ts +11 -14
  444. package/dist/sdk/lifecycle-policy.d.ts +23 -32
  445. package/dist/sdk/linked-artifacts.d.ts +31 -41
  446. package/dist/sdk/mcp/apps.d.ts +12 -27
  447. package/dist/sdk/mcp/authorization.d.ts +30 -63
  448. package/dist/sdk/mcp/discovery.d.ts +23 -52
  449. package/dist/sdk/mcp/executable.d.ts +3 -10
  450. package/dist/sdk/mcp/interactions.d.ts +25 -47
  451. package/dist/sdk/mcp/protocol.d.ts +32 -64
  452. package/dist/sdk/mcp/skills.d.ts +21 -71
  453. package/dist/sdk/mcp/subscriptions.d.ts +14 -28
  454. package/dist/sdk/mcp/tasks.d.ts +21 -55
  455. package/dist/sdk/mcp/transport.d.ts +7 -15
  456. package/dist/sdk/merge/driver.d.ts +13 -37
  457. package/dist/sdk/merge/index.d.ts +1 -6
  458. package/dist/sdk/merge/install.d.ts +27 -55
  459. package/dist/sdk/merge/receipt-operation.d.ts +5 -6
  460. package/dist/sdk/merge/receipt-schema.d.ts +6 -9
  461. package/dist/sdk/merge/receipts.d.ts +29 -79
  462. package/dist/sdk/merge/reconcile.d.ts +9 -18
  463. package/dist/sdk/merge/three-way.d.ts +21 -30
  464. package/dist/sdk/merge.d.ts +1 -5
  465. package/dist/sdk/mutation-events.d.ts +21 -53
  466. package/dist/sdk/mutation-guard.d.ts +15 -135
  467. package/dist/sdk/notes.d.ts +6 -10
  468. package/dist/sdk/output/fit-envelope.d.ts +21 -28
  469. package/dist/sdk/output/list-envelope.d.ts +1 -1
  470. package/dist/sdk/output/table-rows.d.ts +8 -12
  471. package/dist/sdk/output-contracts.d.ts +11 -14
  472. package/dist/sdk/output-projection.d.ts +18 -130
  473. package/dist/sdk/output-token-accounting.d.ts +8 -15
  474. package/dist/sdk/output.d.ts +10 -15
  475. package/dist/sdk/ownership-source.d.ts +4 -5
  476. package/dist/sdk/package-import-adapters.d.ts +27 -37
  477. package/dist/sdk/package-migrations.d.ts +2 -2
  478. package/dist/sdk/package-runtime-options.d.ts +3 -3
  479. package/dist/sdk/pagination.d.ts +12 -24
  480. package/dist/sdk/profile.d.ts +25 -42
  481. package/dist/sdk/provenance.d.ts +21 -32
  482. package/dist/sdk/public-surface.json +1 -1
  483. package/dist/sdk/query/activity.d.ts +24 -77
  484. package/dist/sdk/query/aggregate.d.ts +20 -95
  485. package/dist/sdk/query/calendar.d.ts +26 -74
  486. package/dist/sdk/query/complete-list.d.ts +19 -35
  487. package/dist/sdk/query/context.d.ts +69 -240
  488. package/dist/sdk/query/declared-blockers.d.ts +2 -9
  489. package/dist/sdk/query/duplicate-candidates.d.ts +3 -5
  490. package/dist/sdk/query/get.d.ts +13 -55
  491. package/dist/sdk/query/history.d.ts +18 -29
  492. package/dist/sdk/query/item-filter-options.d.ts +7 -12
  493. package/dist/sdk/query/list-filter-shared.d.ts +4 -8
  494. package/dist/sdk/query/list.d.ts +44 -168
  495. package/dist/sdk/query/multi-value-filters.d.ts +7 -9
  496. package/dist/sdk/query/next-ranking-policy.d.ts +4 -10
  497. package/dist/sdk/query/next-ready-budget.d.ts +4 -5
  498. package/dist/sdk/query/next.d.ts +27 -86
  499. package/dist/sdk/query/parsers.d.ts +4 -6
  500. package/dist/sdk/query/projection-contracts.d.ts +12 -21
  501. package/dist/sdk/query/search/corpus.d.ts +5 -20
  502. package/dist/sdk/query/search/filters.d.ts +5 -17
  503. package/dist/sdk/query/search/input.d.ts +4 -9
  504. package/dist/sdk/query/search/lexical.d.ts +5 -9
  505. package/dist/sdk/query/search/response.d.ts +5 -22
  506. package/dist/sdk/query/search/semantic.d.ts +24 -170
  507. package/dist/sdk/query/search/types.d.ts +19 -73
  508. package/dist/sdk/query/search-contracts.d.ts +24 -34
  509. package/dist/sdk/query/search-pagination.d.ts +5 -24
  510. package/dist/sdk/query/search-rendering.d.ts +8 -32
  511. package/dist/sdk/query/search.d.ts +3 -63
  512. package/dist/sdk/query/workspace-contracts.d.ts +2 -2
  513. package/dist/sdk/query.d.ts +1 -43
  514. package/dist/sdk/read-output/continuation.d.ts +5 -6
  515. package/dist/sdk/read-output/options.d.ts +3 -8
  516. package/dist/sdk/read-output/session-result.d.ts +2 -33
  517. package/dist/sdk/read-output/tail-retention.d.ts +6 -8
  518. package/dist/sdk/read-output-budget.d.ts +14 -16
  519. package/dist/sdk/read-output-contracts.d.ts +59 -103
  520. package/dist/sdk/read-output-rows.d.ts +5 -9
  521. package/dist/sdk/read-output-session.d.ts +11 -14
  522. package/dist/sdk/relationship-analytics.d.ts +17 -37
  523. package/dist/sdk/relationship-context.d.ts +15 -33
  524. package/dist/sdk/relationship-history.d.ts +29 -50
  525. package/dist/sdk/relationship-kinds/contract.d.ts +11 -12
  526. package/dist/sdk/relationship-migration.d.ts +6 -10
  527. package/dist/sdk/relationships.d.ts +22 -34
  528. package/dist/sdk/reproducibility/process.d.ts +7 -11
  529. package/dist/sdk/runtime/context.d.ts +6 -22
  530. package/dist/sdk/runtime/schema-preview.d.ts +1 -1
  531. package/dist/sdk/runtime-input.d.ts +9 -20
  532. package/dist/sdk/runtime-primitives.d.ts +3 -82
  533. package/dist/sdk/runtime-public-contracts.d.ts +30 -50
  534. package/dist/sdk/runtime.d.ts +77 -302
  535. package/dist/sdk/scheduling-shortcuts.d.ts +8 -12
  536. package/dist/sdk/schema-migration.d.ts +18 -80
  537. package/dist/sdk/schema.d.ts +89 -192
  538. package/dist/sdk/search-refresh-worker.d.ts +1 -1
  539. package/dist/sdk/similarity-scoring.d.ts +6 -8
  540. package/dist/sdk/similarity.d.ts +33 -64
  541. package/dist/sdk/start-task-status.d.ts +2 -2
  542. package/dist/sdk/stats.d.ts +13 -48
  543. package/dist/sdk/structured-mutations.d.ts +18 -26
  544. package/dist/sdk/telemetry-flush.d.ts +1 -1
  545. package/dist/sdk/telemetry.d.ts +14 -20
  546. package/dist/sdk/templates.d.ts +14 -35
  547. package/dist/sdk/test/batch.d.ts +10 -25
  548. package/dist/sdk/test/execution.d.ts +44 -209
  549. package/dist/sdk/test/json-path.d.ts +2 -5
  550. package/dist/sdk/test/linked-command-detection.d.ts +10 -25
  551. package/dist/sdk/test/measurements.d.ts +10 -13
  552. package/dist/sdk/test/parsers.d.ts +16 -20
  553. package/dist/sdk/test/prerequisites.d.ts +2 -3
  554. package/dist/sdk/test/runs.d.ts +19 -52
  555. package/dist/sdk/test/trust.d.ts +8 -12
  556. package/dist/sdk/test/update.d.ts +9 -25
  557. package/dist/sdk/testing.d.ts +97 -206
  558. package/dist/sdk/traceability/source-traceability.d.ts +25 -56
  559. package/dist/sdk/tracker-root-discovery.d.ts +1 -1
  560. package/dist/sdk/workspace-contracts-cache.d.ts +2 -2
  561. package/dist/sdk/workspace-contracts.d.ts +8 -14
  562. package/dist/sdk/workspace-memory.d.ts +24 -42
  563. package/dist/sdk/workspace-recipe.d.ts +10 -14
  564. package/dist/sdk/workspace-snapshot.d.ts +26 -53
  565. package/dist/sdk/workspace-transaction-gc.d.ts +12 -16
  566. package/dist/sdk/workspace-transaction.d.ts +26 -40
  567. package/dist/sdk/workspace.d.ts +8 -10
  568. package/dist/types/index.d.ts +1 -1
  569. package/dist/types.d.ts +210 -353
  570. package/docs/CODEX_PLUGIN.md +2 -1
  571. package/docs/COMMANDS.md +8 -0
  572. package/docs/CONFIGURATION.md +33 -0
  573. package/docs/DIAGNOSTIC_OUTPUT_CONTRACTS.md +28 -9
  574. package/docs/MUTATION_INTEGRITY.md +65 -0
  575. package/docs/README.md +2 -2
  576. package/docs/RELEASING.md +25 -0
  577. package/docs/SDK.md +33 -2
  578. package/docs/TESTING.md +11 -0
  579. package/marketplace.json +1 -1
  580. package/package.json +2 -1
  581. package/packages/pm-beads/package.json +1 -1
  582. package/packages/pm-calendar/package.json +1 -1
  583. package/packages/pm-command-kit/package.json +1 -1
  584. package/packages/pm-digital-twin/package.json +1 -1
  585. package/packages/pm-governance-audit/package.json +1 -1
  586. package/packages/pm-guide-shell/package.json +1 -1
  587. package/packages/pm-kanban/package.json +1 -1
  588. package/packages/pm-lifecycle-hooks/package.json +1 -1
  589. package/packages/pm-linked-test-adapters/package.json +1 -1
  590. package/packages/pm-search-advanced/package.json +1 -1
  591. package/packages/pm-templates/package.json +1 -1
  592. package/packages/pm-todos/package.json +1 -1
  593. package/packages/pm-vcs/package.json +1 -1
  594. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  595. package/plugins/pm-claude/package.json +1 -1
  596. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  597. package/plugins/pm-codex/package.json +1 -1
  598. package/plugins/pm-codex/plugin.json +1 -1
  599. package/runtime-dependencies.json +1 -1
  600. package/scripts/finalize-build.mjs +41 -4
  601. package/dist/cli-bundle/chunks/chunk-ASJZMYKM.js +0 -122
  602. package/dist/cli-bundle/chunks/chunk-BLUCQ4T4.js +0 -2
  603. package/dist/cli-bundle/chunks/chunk-JYQXIC6C.js +0 -3
  604. package/dist/cli-bundle/chunks/chunk-LVDFPGD7.js +0 -3
  605. package/dist/cli-bundle/chunks/chunk-UFIM5ZC5.js +0 -6
  606. package/dist/cli-bundle/chunks/item-transaction-XBIN4KYM.js +0 -2
  607. package/dist/cli-bundle/focused-chunks/chunk-CUGJ2DY2.js +0 -24
  608. package/dist/cli-bundle/focused-chunks/chunk-HLQOGAWG.js +0 -26
  609. package/dist/cli-bundle/focused-chunks/chunk-IB6TCE7N.js +0 -2
  610. package/dist/cli-bundle/focused-chunks/chunk-JU62TKJP.js +0 -82
  611. package/dist/cli-bundle/focused-chunks/chunk-MYBKRV5R.js +0 -2
  612. package/dist/cli-bundle/focused-chunks/chunk-NUFO3OR6.js +0 -44
  613. package/docs/CHATGPT_CODEX_PLUGIN_IMPLEMENTATION.md +0 -776
package/dist/types.d.ts CHANGED
@@ -4,115 +4,115 @@
4
4
  * Defines the shared project-management data model used by CLI, SDK, MCP, and packages.
5
5
  */
6
6
  /** Supported values accepted by the builtin item type contract. */
7
- export declare const BUILTIN_ITEM_TYPE_VALUES:readonly ["Epic","Feature","Task","Chore","Issue","Decision","Event","Reminder","Milestone","Meeting","Plan"];
7
+ export declare const BUILTIN_ITEM_TYPE_VALUES:readonly["Epic","Feature","Task","Chore","Issue","Decision","Event","Reminder","Milestone","Meeting","Plan"];
8
8
  /** Supported values accepted by the item type contract. */
9
- export declare const ITEM_TYPE_VALUES:readonly ["Epic","Feature","Task","Chore","Issue","Decision","Event","Reminder","Milestone","Meeting","Plan"];
9
+ export declare const ITEM_TYPE_VALUES:readonly["Epic","Feature","Task","Chore","Issue","Decision","Event","Reminder","Milestone","Meeting","Plan"];
10
10
  /** Restricts builtin item type values accepted by command, SDK, and storage contracts. */
11
- export type BuiltinItemType = (typeof BUILTIN_ITEM_TYPE_VALUES)[number];
11
+ export type BuiltinItemType=(typeof BUILTIN_ITEM_TYPE_VALUES)[number];
12
12
  /** Restricts item type values accepted by command, SDK, and storage contracts. */
13
- export type ItemType = string;
13
+ export type ItemType=string;
14
14
  /** Supported values accepted by the status contract. */
15
- export declare const STATUS_VALUES:readonly ["draft","open","in_progress","blocked","closed","canceled"];
15
+ export declare const STATUS_VALUES:readonly["draft","open","in_progress","blocked","closed","canceled"];
16
16
  /** Restricts item status values accepted by command, SDK, and storage contracts. */
17
- export type ItemStatus = string;
17
+ export type ItemStatus=string;
18
18
  /** Supported values accepted by the runtime status role contract. */
19
- export declare const RUNTIME_STATUS_ROLE_VALUES:readonly ["draft","active","blocked","terminal","terminal_done","terminal_canceled","default_open","default_close","default_cancel"];
19
+ export declare const RUNTIME_STATUS_ROLE_VALUES:readonly["draft","active","blocked","terminal","terminal_done","terminal_canceled","default_open","default_close","default_cancel"];
20
20
  /** Restricts runtime status role values accepted by command, SDK, and storage contracts. */
21
- export type RuntimeStatusRole = (typeof RUNTIME_STATUS_ROLE_VALUES)[number];
21
+ export type RuntimeStatusRole=(typeof RUNTIME_STATUS_ROLE_VALUES)[number];
22
22
  /** Supported values accepted by the runtime field type contract. */
23
- export declare const RUNTIME_FIELD_TYPE_VALUES:readonly ["string","number","boolean","string_array","array","object"];
23
+ export declare const RUNTIME_FIELD_TYPE_VALUES:readonly["string","number","boolean","string_array","array","object"];
24
24
  /** Restricts runtime field type values accepted by command, SDK, and storage contracts. */
25
- export type RuntimeFieldType = (typeof RUNTIME_FIELD_TYPE_VALUES)[number];
25
+ export type RuntimeFieldType=(typeof RUNTIME_FIELD_TYPE_VALUES)[number];
26
26
  /** Supported values accepted by the runtime field command contract. */
27
- export declare const RUNTIME_FIELD_COMMAND_VALUES:readonly ["create","update","update_many","list","search","calendar","context"];
27
+ export declare const RUNTIME_FIELD_COMMAND_VALUES:readonly["create","update","update_many","list","search","calendar","context"];
28
28
  /** Restricts runtime field command values accepted by command, SDK, and storage contracts. */
29
- export type RuntimeFieldCommand = (typeof RUNTIME_FIELD_COMMAND_VALUES)[number];
29
+ export type RuntimeFieldCommand=(typeof RUNTIME_FIELD_COMMAND_VALUES)[number];
30
30
  /** Supported values accepted by the runtime unknown field policy contract. */
31
- export declare const RUNTIME_UNKNOWN_FIELD_POLICY_VALUES:readonly ["allow","warn","reject"];
31
+ export declare const RUNTIME_UNKNOWN_FIELD_POLICY_VALUES:readonly["allow","warn","reject"];
32
32
  /** Restricts runtime unknown field policy values accepted by command, SDK, and storage contracts. */
33
- export type RuntimeUnknownFieldPolicy = (typeof RUNTIME_UNKNOWN_FIELD_POLICY_VALUES)[number];
33
+ export type RuntimeUnknownFieldPolicy=(typeof RUNTIME_UNKNOWN_FIELD_POLICY_VALUES)[number];
34
34
  /** Built-in dependency spellings; active extensions may register additional kinds and aliases. */
35
- export declare const DEPENDENCY_KIND_VALUES:readonly ["blocks","parent","child","parent_child","child_of","related","related_to","discovered_from","blocked_by","incident_from","epic","implements","recurs_from","supersedes","task","verifies"];
35
+ export declare const DEPENDENCY_KIND_VALUES:readonly["blocks","parent","child","parent_child","child_of","related","related_to","discovered_from","blocked_by","incident_from","epic","implements","recurs_from","supersedes","task","verifies"];
36
36
  /** Relationship identifier admitted by the active built-in and extension registry. */
37
- export type DependencyKind = string;
37
+ export type DependencyKind=string;
38
38
  /** Supported values accepted by the scope contract. */
39
- export declare const SCOPE_VALUES:readonly ["project","global"];
39
+ export declare const SCOPE_VALUES:readonly["project","global"];
40
40
  /** Restricts link scope values accepted by command, SDK, and storage contracts. */
41
- export type LinkScope = (typeof SCOPE_VALUES)[number];
41
+ export type LinkScope=(typeof SCOPE_VALUES)[number];
42
42
  /** Supported values accepted by the risk contract. */
43
- export declare const RISK_VALUES:readonly ["low","medium","high","critical"];
43
+ export declare const RISK_VALUES:readonly["low","medium","high","critical"];
44
44
  /** Restricts risk level values accepted by command, SDK, and storage contracts. */
45
- export type RiskLevel = (typeof RISK_VALUES)[number];
45
+ export type RiskLevel=(typeof RISK_VALUES)[number];
46
46
  /** Supported values accepted by the issue severity contract. */
47
- export declare const ISSUE_SEVERITY_VALUES:readonly ["low","medium","high","critical"];
47
+ export declare const ISSUE_SEVERITY_VALUES:readonly["low","medium","high","critical"];
48
48
  /** Restricts issue severity values accepted by command, SDK, and storage contracts. */
49
- export type IssueSeverity = (typeof ISSUE_SEVERITY_VALUES)[number];
49
+ export type IssueSeverity=(typeof ISSUE_SEVERITY_VALUES)[number];
50
50
  /** Supported values accepted by the confidence text contract. */
51
- export declare const CONFIDENCE_TEXT_VALUES:readonly ["low","medium","high"];
51
+ export declare const CONFIDENCE_TEXT_VALUES:readonly["low","medium","high"];
52
52
  /** Restricts confidence text level values accepted by command, SDK, and storage contracts. */
53
- export type ConfidenceTextLevel = (typeof CONFIDENCE_TEXT_VALUES)[number];
53
+ export type ConfidenceTextLevel=(typeof CONFIDENCE_TEXT_VALUES)[number];
54
54
  /** Restricts confidence value values accepted by command, SDK, and storage contracts. */
55
- export type ConfidenceValue = number | ConfidenceTextLevel;
55
+ export type ConfidenceValue=number|ConfidenceTextLevel;
56
56
  /** Supported values accepted by the item format contract. */
57
- export declare const ITEM_FORMAT_VALUES:readonly ["toon","json_markdown"];
57
+ export declare const ITEM_FORMAT_VALUES:readonly["toon","json_markdown"];
58
58
  /** Restricts item format values accepted by command, SDK, and storage contracts. */
59
- export type ItemFormat = (typeof ITEM_FORMAT_VALUES)[number];
59
+ export type ItemFormat=(typeof ITEM_FORMAT_VALUES)[number];
60
60
  /** Supported values accepted by the sprint release format policy contract. */
61
- export declare const SPRINT_RELEASE_FORMAT_POLICY_VALUES:readonly ["warn","strict_error"];
61
+ export declare const SPRINT_RELEASE_FORMAT_POLICY_VALUES:readonly["warn","strict_error"];
62
62
  /** Restricts sprint release format policy values accepted by command, SDK, and storage contracts. */
63
- export type SprintReleaseFormatPolicy = (typeof SPRINT_RELEASE_FORMAT_POLICY_VALUES)[number];
63
+ export type SprintReleaseFormatPolicy=(typeof SPRINT_RELEASE_FORMAT_POLICY_VALUES)[number];
64
64
  /** Supported values accepted by the parent reference policy contract. */
65
- export declare const PARENT_REFERENCE_POLICY_VALUES:readonly ["warn","strict_error"];
65
+ export declare const PARENT_REFERENCE_POLICY_VALUES:readonly["warn","strict_error"];
66
66
  /** Restricts parent reference policy values accepted by command, SDK, and storage contracts. */
67
- export type ParentReferencePolicy = (typeof PARENT_REFERENCE_POLICY_VALUES)[number];
67
+ export type ParentReferencePolicy=(typeof PARENT_REFERENCE_POLICY_VALUES)[number];
68
68
  /** Supported values accepted by the validate metadata profile contract. */
69
- export declare const VALIDATE_METADATA_PROFILE_VALUES:readonly ["core","strict","custom"];
69
+ export declare const VALIDATE_METADATA_PROFILE_VALUES:readonly["core","strict","custom"];
70
70
  /** Restricts validate metadata profile values accepted by command, SDK, and storage contracts. */
71
- export type ValidateMetadataProfile = (typeof VALIDATE_METADATA_PROFILE_VALUES)[number];
71
+ export type ValidateMetadataProfile=(typeof VALIDATE_METADATA_PROFILE_VALUES)[number];
72
72
  /** Supported values accepted by the governance preset contract. */
73
- export declare const GOVERNANCE_PRESET_VALUES:readonly ["minimal","default","strict","custom"];
73
+ export declare const GOVERNANCE_PRESET_VALUES:readonly["minimal","default","strict","custom"];
74
74
  /** Restricts governance preset values accepted by command, SDK, and storage contracts. */
75
- export type GovernancePreset = (typeof GOVERNANCE_PRESET_VALUES)[number];
75
+ export type GovernancePreset=(typeof GOVERNANCE_PRESET_VALUES)[number];
76
76
  /** Supported values accepted by the governance ownership enforcement contract. */
77
- export declare const GOVERNANCE_OWNERSHIP_ENFORCEMENT_VALUES:readonly ["none","warn","strict"];
77
+ export declare const GOVERNANCE_OWNERSHIP_ENFORCEMENT_VALUES:readonly["none","warn","strict"];
78
78
  /** Restricts governance ownership enforcement values accepted by command, SDK, and storage contracts. */
79
- export type GovernanceOwnershipEnforcement = (typeof GOVERNANCE_OWNERSHIP_ENFORCEMENT_VALUES)[number];
79
+ export type GovernanceOwnershipEnforcement=(typeof GOVERNANCE_OWNERSHIP_ENFORCEMENT_VALUES)[number];
80
80
  /** Supported values accepted by the governance create mode default contract. */
81
- export declare const GOVERNANCE_CREATE_MODE_DEFAULT_VALUES:readonly ["progressive","strict"];
81
+ export declare const GOVERNANCE_CREATE_MODE_DEFAULT_VALUES:readonly["progressive","strict"];
82
82
  /** Restricts governance create mode default values accepted by command, SDK, and storage contracts. */
83
- export type GovernanceCreateModeDefault = (typeof GOVERNANCE_CREATE_MODE_DEFAULT_VALUES)[number];
83
+ export type GovernanceCreateModeDefault=(typeof GOVERNANCE_CREATE_MODE_DEFAULT_VALUES)[number];
84
84
  /** Supported values accepted by the governance close validation default contract. */
85
- export declare const GOVERNANCE_CLOSE_VALIDATION_DEFAULT_VALUES:readonly ["off","warn","strict"];
85
+ export declare const GOVERNANCE_CLOSE_VALIDATION_DEFAULT_VALUES:readonly["off","warn","strict"];
86
86
  /** Restricts governance close validation default values accepted by command, SDK, and storage contracts. */
87
- export type GovernanceCloseValidationDefault = (typeof GOVERNANCE_CLOSE_VALIDATION_DEFAULT_VALUES)[number];
87
+ export type GovernanceCloseValidationDefault=(typeof GOVERNANCE_CLOSE_VALIDATION_DEFAULT_VALUES)[number];
88
88
  /** Supported values accepted by the governance workflow enforcement contract. */
89
- export declare const GOVERNANCE_WORKFLOW_ENFORCEMENT_VALUES:readonly ["off","warn","strict"];
89
+ export declare const GOVERNANCE_WORKFLOW_ENFORCEMENT_VALUES:readonly["off","warn","strict"];
90
90
  /** Restricts governance workflow enforcement values accepted by command, SDK, and storage contracts. */
91
- export type GovernanceWorkflowEnforcement = (typeof GOVERNANCE_WORKFLOW_ENFORCEMENT_VALUES)[number];
91
+ export type GovernanceWorkflowEnforcement=(typeof GOVERNANCE_WORKFLOW_ENFORCEMENT_VALUES)[number];
92
92
  /** Supported values for starting an item whose declared blocker is still open. */
93
- export declare const GOVERNANCE_START_BLOCKER_ENFORCEMENT_VALUES:readonly ["off","warn","strict"];
93
+ export declare const GOVERNANCE_START_BLOCKER_ENFORCEMENT_VALUES:readonly["off","warn","strict"];
94
94
  /** Start-with-open-blockers admission mode: refuse (`strict`, default), warn, or ignore. */
95
- export type GovernanceStartBlockerEnforcement = (typeof GOVERNANCE_START_BLOCKER_ENFORCEMENT_VALUES)[number];
95
+ export type GovernanceStartBlockerEnforcement=(typeof GOVERNANCE_START_BLOCKER_ENFORCEMENT_VALUES)[number];
96
96
  /** Supported create/copy near-duplicate governance modes. */
97
- export declare const GOVERNANCE_DUPLICATE_DETECTION_MODE_VALUES:readonly ["off","advisory","strict"];
97
+ export declare const GOVERNANCE_DUPLICATE_DETECTION_MODE_VALUES:readonly["off","advisory","strict"];
98
98
  /** Restricts create/copy near-duplicate governance behavior. */
99
- export type GovernanceDuplicateDetectionMode = (typeof GOVERNANCE_DUPLICATE_DETECTION_MODE_VALUES)[number];
99
+ export type GovernanceDuplicateDetectionMode=(typeof GOVERNANCE_DUPLICATE_DETECTION_MODE_VALUES)[number];
100
100
  /** Supported values accepted by the validate metadata required field contract. */
101
- export declare const VALIDATE_METADATA_REQUIRED_FIELD_VALUES:readonly ["author","acceptance_criteria","estimated_minutes","close_reason","reviewer","risk","confidence","sprint","release"];
101
+ export declare const VALIDATE_METADATA_REQUIRED_FIELD_VALUES:readonly["author","acceptance_criteria","estimated_minutes","close_reason","reviewer","risk","confidence","sprint","release"];
102
102
  /** Restricts validate metadata required field values accepted by command, SDK, and storage contracts. */
103
- export type ValidateMetadataRequiredField = (typeof VALIDATE_METADATA_REQUIRED_FIELD_VALUES)[number];
103
+ export type ValidateMetadataRequiredField=(typeof VALIDATE_METADATA_REQUIRED_FIELD_VALUES)[number];
104
104
  /** Supported values accepted by the recurrence frequency contract. */
105
- export declare const RECURRENCE_FREQUENCY_VALUES:readonly ["daily","weekly","monthly","yearly"];
105
+ export declare const RECURRENCE_FREQUENCY_VALUES:readonly["daily","weekly","monthly","yearly"];
106
106
  /** Restricts recurrence frequency values accepted by command, SDK, and storage contracts. */
107
- export type RecurrenceFrequency = (typeof RECURRENCE_FREQUENCY_VALUES)[number];
107
+ export type RecurrenceFrequency=(typeof RECURRENCE_FREQUENCY_VALUES)[number];
108
108
  /** Supported values accepted by the recurrence weekday contract. */
109
- export declare const RECURRENCE_WEEKDAY_VALUES:readonly ["mon","tue","wed","thu","fri","sat","sun"];
109
+ export declare const RECURRENCE_WEEKDAY_VALUES:readonly["mon","tue","wed","thu","fri","sat","sun"];
110
110
  /** Restricts recurrence weekday values accepted by command, SDK, and storage contracts. */
111
- export type RecurrenceWeekday = (typeof RECURRENCE_WEEKDAY_VALUES)[number];
111
+ export type RecurrenceWeekday=(typeof RECURRENCE_WEEKDAY_VALUES)[number];
112
112
  /** Canonical week-order index for a recurrence weekday (mon=0 .. sun=6). Shared by item serialization, create/update parsing, and calendar expansion so weekday ordering cannot drift between those modules. */
113
113
  export declare function weekdayOrderIndex(value:RecurrenceWeekday):number;
114
114
  /** Documents the dependency payload exchanged by command, SDK, and package integrations. */
115
- export interface Dependency {
115
+ export interface Dependency{
116
116
  /** Stable identifier used to reference this record across commands and storage. */
117
117
  id:string;
118
118
  /** Value that configures or reports kind for this contract. */
@@ -124,19 +124,17 @@ author?:string;
124
124
  /** Value that configures or reports source kind for this contract. */
125
125
  source_kind?:string;
126
126
  /** Whether the recorded edge author was explicitly asserted or automatically detected. */
127
- author_source?:"asserted" | "detected" | "legacy";
128
- }
127
+ author_source?:"asserted"|"detected"|"legacy";}
129
128
  /** Documents the comment payload exchanged by command, SDK, and package integrations. */
130
- export interface Comment {
129
+ export interface Comment{
131
130
  /** ISO 8601 timestamp recording when created occurred. */
132
131
  created_at:string;
133
132
  /** Value that configures or reports author for this contract. */
134
133
  author:string;
135
134
  /** Value that configures or reports text for this contract. */
136
- text:string;
137
- }
135
+ text:string;}
138
136
  /** Documents the log note payload exchanged by command, SDK, and package integrations. */
139
- export interface LogNote {
137
+ export interface LogNote{
140
138
  /** ISO 8601 timestamp recording when created occurred. */
141
139
  created_at:string;
142
140
  /** Value that configures or reports author for this contract. */
@@ -148,41 +146,35 @@ format?:"json";
148
146
  /** Validated JSON payload for merge-safe machine-authored context events. */
149
147
  data?:StructuredJsonValue;
150
148
  /** Optional event discriminator projected from a top-level `type` property. */
151
- event_type?:string;
152
- }
149
+ event_type?:string;}
153
150
  /** JSON value accepted by structured context-event annotations. */
154
- export type StructuredJsonValue = null | boolean | number | string | StructuredJsonValue[] | {
155
- [key:string]:StructuredJsonValue;
156
- };
151
+ export type StructuredJsonValue=null|boolean|number|string|StructuredJsonValue[]|{[key:string]:StructuredJsonValue;};
157
152
  /** Machine-readable, append-only context event stored in the union-merged notes collection. */
158
- export interface StructuredLogEvent extends LogNote {
153
+ export interface StructuredLogEvent extends LogNote{
159
154
  /** Discriminates structured events from free-text notes. */
160
155
  format:"json";
161
156
  /** Validated JSON payload. */
162
- data:StructuredJsonValue;
163
- }
157
+ data:StructuredJsonValue;}
164
158
  /** Documents the linked file payload exchanged by command, SDK, and package integrations. */
165
- export interface LinkedFile {
159
+ export interface LinkedFile{
166
160
  /** Filesystem path used for path resolution. */
167
161
  path:string;
168
162
  /** Value that configures or reports scope for this contract. */
169
163
  scope:LinkScope;
170
164
  /** Value that configures or reports note for this contract. */
171
- note?:string;
172
- }
165
+ note?:string;}
173
166
  /** Valid immutable provenance captured when a linked command enters tracker data. */
174
- export interface LinkedTestProvenance {
167
+ export interface LinkedTestProvenance{
175
168
  /** Author identity recorded by the originating mutation. */
176
169
  author:string;
177
170
  /** ISO 8601 time at which the command entered tracker data. */
178
171
  created_at:string;
179
172
  /** Mutation path that introduced the command. */
180
- source_kind:"local_mutation" | "merge_union";
173
+ source_kind:"local_mutation"|"merge_union";
181
174
  /** Best-effort Git branch or hosted head ref of the originating mutation. */
182
- source_ref?:string;
183
- }
175
+ source_ref?:string;}
184
176
  /** Documents the linked test payload exchanged by command, SDK, and package integrations. */
185
- export interface LinkedTest {
177
+ export interface LinkedTest{
186
178
  /** Value that configures or reports command for this contract. */
187
179
  command?:string;
188
180
  /** Filesystem path used for path resolution. */
@@ -192,9 +184,9 @@ scope:LinkScope;
192
184
  /** Value that configures or reports timeout seconds for this contract. */
193
185
  timeout_seconds?:number;
194
186
  /** Strategy used to control pm context behavior. */
195
- pm_context_mode?:"schema" | "tracker" | "auto" | "none";
187
+ pm_context_mode?:"schema"|"tracker"|"auto"|"none";
196
188
  /** Strategy used for source-workspace visibility and command working directory. */
197
- workspace_context_mode?:"source" | "isolated" | "snapshot";
189
+ workspace_context_mode?:"source"|"isolated"|"snapshot";
198
190
  /** Immutable provenance captured when the linked command enters tracker data. */
199
191
  provenance?:LinkedTestProvenance;
200
192
  /** Explicit fail-closed marker retained when stored provenance is malformed. */
@@ -224,26 +216,23 @@ assert_json_field_equals?:Record<string,string>;
224
216
  /** Value that configures or reports assert json field gte for this contract. */
225
217
  assert_json_field_gte?:Record<string,number>;
226
218
  /** Value that configures or reports note for this contract. */
227
- note?:string;
228
- }
219
+ note?:string;}
229
220
  /** Documents the linked doc payload exchanged by command, SDK, and package integrations. */
230
- export interface LinkedDoc {
221
+ export interface LinkedDoc{
231
222
  /** Filesystem path used for path resolution. */
232
223
  path:string;
233
224
  /** Value that configures or reports scope for this contract. */
234
225
  scope:LinkScope;
235
226
  /** Value that configures or reports note for this contract. */
236
- note?:string;
237
- }
227
+ note?:string;}
238
228
  /** Documents the reminder payload exchanged by command, SDK, and package integrations. */
239
- export interface Reminder {
229
+ export interface Reminder{
240
230
  /** Value that configures or reports at for this contract. */
241
231
  at:string;
242
232
  /** Value that configures or reports text for this contract. */
243
- text:string;
244
- }
233
+ text:string;}
245
234
  /** Documents the recurrence rule payload exchanged by command, SDK, and package integrations. */
246
- export interface RecurrenceRule {
235
+ export interface RecurrenceRule{
247
236
  /** Value that configures or reports freq for this contract. */
248
237
  freq:RecurrenceFrequency;
249
238
  /** Value that configures or reports interval for this contract. */
@@ -257,10 +246,9 @@ by_weekday?:RecurrenceWeekday[];
257
246
  /** Value that configures or reports by month day for this contract. */
258
247
  by_month_day?:number[];
259
248
  /** Value that configures or reports exdates for this contract. */
260
- exdates?:string[];
261
- }
249
+ exdates?:string[];}
262
250
  /** Documents the calendar event payload exchanged by command, SDK, and package integrations. */
263
- export interface CalendarEvent {
251
+ export interface CalendarEvent{
264
252
  /** ISO 8601 timestamp recording when start occurred. */
265
253
  start_at:string;
266
254
  /** ISO 8601 timestamp recording when end occurred. */
@@ -276,26 +264,25 @@ all_day?:boolean;
276
264
  /** Value that configures or reports timezone for this contract. */
277
265
  timezone?:string;
278
266
  /** Value that configures or reports recurrence for this contract. */
279
- recurrence?:RecurrenceRule;
280
- }
267
+ recurrence?:RecurrenceRule;}
281
268
  /** Supported values accepted by the plan mode contract. */
282
- export declare const PLAN_MODE_VALUES:readonly ["draft","research","review","approved","executing","paused","completed","superseded"];
269
+ export declare const PLAN_MODE_VALUES:readonly["draft","research","review","approved","executing","paused","completed","superseded"];
283
270
  /** Restricts plan mode values accepted by command, SDK, and storage contracts. */
284
- export type PlanMode = (typeof PLAN_MODE_VALUES)[number];
271
+ export type PlanMode=(typeof PLAN_MODE_VALUES)[number];
285
272
  /** Supported values accepted by the plan step status contract. */
286
- export declare const PLAN_STEP_STATUS_VALUES:readonly ["pending","in_progress","completed","blocked","skipped","superseded"];
273
+ export declare const PLAN_STEP_STATUS_VALUES:readonly["pending","in_progress","completed","blocked","skipped","superseded"];
287
274
  /** Restricts plan step status values accepted by command, SDK, and storage contracts. */
288
- export type PlanStepStatus = (typeof PLAN_STEP_STATUS_VALUES)[number];
275
+ export type PlanStepStatus=(typeof PLAN_STEP_STATUS_VALUES)[number];
289
276
  /** Supported values accepted by the plan harness contract. */
290
- export declare const PLAN_HARNESS_VALUES:readonly ["codex","claude-code","cursor","generic"];
277
+ export declare const PLAN_HARNESS_VALUES:readonly["codex","claude-code","cursor","generic"];
291
278
  /** Restricts plan harness values accepted by command, SDK, and storage contracts. */
292
- export type PlanHarness = (typeof PLAN_HARNESS_VALUES)[number];
279
+ export type PlanHarness=(typeof PLAN_HARNESS_VALUES)[number];
293
280
  /** Supported values accepted by the plan step link kind contract. */
294
- export declare const PLAN_STEP_LINK_KIND_VALUES:readonly ["related","blocks","blocked_by","depends_on","discovered_from","implements","recurs_from","verifies","supersedes"];
281
+ export declare const PLAN_STEP_LINK_KIND_VALUES:readonly["related","blocks","blocked_by","depends_on","discovered_from","implements","recurs_from","verifies","supersedes"];
295
282
  /** Restricts plan step link kind values accepted by command, SDK, and storage contracts. */
296
- export type PlanStepLinkKind = (typeof PLAN_STEP_LINK_KIND_VALUES)[number];
283
+ export type PlanStepLinkKind=(typeof PLAN_STEP_LINK_KIND_VALUES)[number];
297
284
  /** Documents the plan step link payload exchanged by command, SDK, and package integrations. */
298
- export interface PlanStepLink {
285
+ export interface PlanStepLink{
299
286
  /** Stable identifier used to reference this record across commands and storage. */
300
287
  id:string;
301
288
  /** Value that configures or reports kind for this contract. */
@@ -303,37 +290,33 @@ kind:PlanStepLinkKind;
303
290
  /** Value that configures or reports note for this contract. */
304
291
  note?:string;
305
292
  /** Value that configures or reports required before step for this contract. */
306
- required_before_step?:boolean;
307
- }
293
+ required_before_step?:boolean;}
308
294
  /** Documents the plan step file payload exchanged by command, SDK, and package integrations. */
309
- export interface PlanStepFile {
295
+ export interface PlanStepFile{
310
296
  /** Filesystem path used for path resolution. */
311
297
  path:string;
312
298
  /** Value that configures or reports scope for this contract. */
313
299
  scope?:LinkScope;
314
300
  /** Value that configures or reports note for this contract. */
315
- note?:string;
316
- }
301
+ note?:string;}
317
302
  /** Documents the plan step test payload exchanged by command, SDK, and package integrations. */
318
- export interface PlanStepTest {
303
+ export interface PlanStepTest{
319
304
  /** Value that configures or reports command for this contract. */
320
305
  command?:string;
321
306
  /** Filesystem path used for path resolution. */
322
307
  path?:string;
323
308
  /** Value that configures or reports note for this contract. */
324
- note?:string;
325
- }
309
+ note?:string;}
326
310
  /** Documents the plan step doc payload exchanged by command, SDK, and package integrations. */
327
- export interface PlanStepDoc {
311
+ export interface PlanStepDoc{
328
312
  /** Filesystem path used for path resolution. */
329
313
  path:string;
330
314
  /** Value that configures or reports scope for this contract. */
331
315
  scope?:LinkScope;
332
316
  /** Value that configures or reports note for this contract. */
333
- note?:string;
334
- }
317
+ note?:string;}
335
318
  /** Documents the plan step payload exchanged by command, SDK, and package integrations. */
336
- export interface PlanStep {
319
+ export interface PlanStep{
337
320
  /** Stable identifier used to reference this record across commands and storage. */
338
321
  id:string;
339
322
  /** Value that configures or reports order for this contract. */
@@ -365,10 +348,9 @@ created_at:string;
365
348
  /** ISO 8601 timestamp recording when updated occurred. */
366
349
  updated_at:string;
367
350
  /** ISO 8601 timestamp recording when completed occurred. */
368
- completed_at?:string;
369
- }
351
+ completed_at?:string;}
370
352
  /** Documents the plan decision payload exchanged by command, SDK, and package integrations. */
371
- export interface PlanDecision {
353
+ export interface PlanDecision{
372
354
  /** Value that configures or reports ts for this contract. */
373
355
  ts:string;
374
356
  /** Value that configures or reports author for this contract. */
@@ -380,10 +362,9 @@ rationale?:string;
380
362
  /** Value that configures or reports evidence for this contract. */
381
363
  evidence?:string;
382
364
  /** Value that configures or reports step id for this contract. */
383
- step_id?:string;
384
- }
365
+ step_id?:string;}
385
366
  /** Documents the plan discovery payload exchanged by command, SDK, and package integrations. */
386
- export interface PlanDiscovery {
367
+ export interface PlanDiscovery{
387
368
  /** Value that configures or reports ts for this contract. */
388
369
  ts:string;
389
370
  /** Value that configures or reports author for this contract. */
@@ -391,19 +372,17 @@ author:string;
391
372
  /** Value that configures or reports text for this contract. */
392
373
  text:string;
393
374
  /** Value that configures or reports step id for this contract. */
394
- step_id?:string;
395
- }
375
+ step_id?:string;}
396
376
  /** Documents the plan validation check payload exchanged by command, SDK, and package integrations. */
397
- export interface PlanValidationCheck {
377
+ export interface PlanValidationCheck{
398
378
  /** Value that configures or reports text for this contract. */
399
379
  text:string;
400
380
  /** Value that configures or reports command for this contract. */
401
381
  command?:string;
402
382
  /** Value that configures or reports expected for this contract. */
403
- expected?:string;
404
- }
383
+ expected?:string;}
405
384
  /** Documents the item type option definition payload exchanged by command, SDK, and package integrations. */
406
- export interface ItemTypeOptionDefinition {
385
+ export interface ItemTypeOptionDefinition{
407
386
  /** Value that configures or reports key for this contract. */
408
387
  key:string;
409
388
  /** Value that configures or reports values for this contract. */
@@ -413,12 +392,11 @@ required?:boolean;
413
392
  /** Value that configures or reports aliases for this contract. */
414
393
  aliases?:string[];
415
394
  /** Value that configures or reports description for this contract. */
416
- description?:string;
417
- }
395
+ description?:string;}
418
396
  /** Documents the item type command option policy payload exchanged by command, SDK, and package integrations. */
419
- export interface ItemTypeCommandOptionPolicy {
397
+ export interface ItemTypeCommandOptionPolicy{
420
398
  /** Value that configures or reports command for this contract. */
421
- command:"create" | "update";
399
+ command:"create"|"update";
422
400
  /** Value that configures or reports option for this contract. */
423
401
  option:string;
424
402
  /** Value that configures or reports required for this contract. */
@@ -426,10 +404,9 @@ required?:boolean;
426
404
  /** Value that configures or reports visible for this contract. */
427
405
  visible?:boolean;
428
406
  /** Whether enabled applies to this operation. */
429
- enabled?:boolean;
430
- }
407
+ enabled?:boolean;}
431
408
  /** Documents the item type definition payload exchanged by command, SDK, and package integrations. */
432
- export interface ItemTypeDefinition {
409
+ export interface ItemTypeDefinition{
433
410
  /** Value that configures or reports name for this contract. */
434
411
  name:string;
435
412
  /** Value that configures or reports description for this contract. */
@@ -437,7 +414,7 @@ description?:string;
437
414
  /** Status assigned to newly created items of this type when `--status` is not provided. Falls back to the workflow's open status when unset or invalid. */
438
415
  default_status?:string;
439
416
  /** Agent work can be dispatched automatically; human work needs a decision, and gates track outcomes. Omission inherits the built-in role or defaults custom types to agent work. */
440
- execution_role?:"agent" | "human" | "gate";
417
+ execution_role?:"agent"|"human"|"gate";
441
418
  /** Value that configures or reports folder for this contract. */
442
419
  folder?:string;
443
420
  /** Value that configures or reports aliases for this contract. */
@@ -449,10 +426,9 @@ required_create_repeatables?:string[];
449
426
  /** Value that configures or reports options for this contract. */
450
427
  options?:ItemTypeOptionDefinition[];
451
428
  /** Value that configures or reports command option policies for this contract. */
452
- command_option_policies?:ItemTypeCommandOptionPolicy[];
453
- }
429
+ command_option_policies?:ItemTypeCommandOptionPolicy[];}
454
430
  /** Documents the runtime status definition payload exchanged by command, SDK, and package integrations. */
455
- export interface RuntimeStatusDefinition {
431
+ export interface RuntimeStatusDefinition{
456
432
  /** Stable identifier used to reference this record across commands and storage. */
457
433
  id:string;
458
434
  /** Value that configures or reports aliases for this contract. */
@@ -462,12 +438,11 @@ roles?:RuntimeStatusRole[];
462
438
  /** Value that configures or reports description for this contract. */
463
439
  description?:string;
464
440
  /** Value that configures or reports order for this contract. */
465
- order?:number;
466
- }
441
+ order?:number;}
467
442
  /** Declarative JSON-value constraints enforced before custom-field persistence. */
468
- export interface RuntimeFieldValueSchema {
443
+ export interface RuntimeFieldValueSchema{
469
444
  /** Optional JSON value type constraint. */
470
- type?:"string" | "number" | "boolean" | "array" | "object";
445
+ type?:"string"|"number"|"boolean"|"array"|"object";
471
446
  /** Exact JSON value required by this schema branch. */
472
447
  const?:StructuredJsonValue;
473
448
  /** Complete allowed JSON value set. */
@@ -487,10 +462,9 @@ additional_properties?:boolean;
487
462
  /** Schema applied to every array element. */
488
463
  items?:RuntimeFieldValueSchema;
489
464
  /** Alternative schemas of which exactly one must match. */
490
- one_of?:RuntimeFieldValueSchema[];
491
- }
465
+ one_of?:RuntimeFieldValueSchema[];}
492
466
  /** Documents the runtime field definition payload exchanged by command, SDK, and package integrations. */
493
- export interface RuntimeFieldDefinition {
467
+ export interface RuntimeFieldDefinition{
494
468
  /** Value that configures or reports key for this contract. */
495
469
  key:string;
496
470
  /** Value that configures or reports metadata key for this contract. */
@@ -520,10 +494,9 @@ required_types?:string[];
520
494
  /** Value that configures or reports allow unset for this contract. */
521
495
  allow_unset?:boolean;
522
496
  /** Optional semantic JSON-value constraints enforced on create and update. */
523
- value_schema?:RuntimeFieldValueSchema;
524
- }
497
+ value_schema?:RuntimeFieldValueSchema;}
525
498
  /** Documents the runtime workflow definition payload exchanged by command, SDK, and package integrations. */
526
- export interface RuntimeWorkflowDefinition {
499
+ export interface RuntimeWorkflowDefinition{
527
500
  /** Configured status id representing the draft lifecycle state. */
528
501
  draft_status?:string;
529
502
  /** Configured status id representing the open lifecycle state. */
@@ -535,10 +508,9 @@ blocked_status?:string;
535
508
  /** Configured status id representing the closed lifecycle state. */
536
509
  close_status?:string;
537
510
  /** Configured status id representing the canceled lifecycle state. */
538
- canceled_status?:string;
539
- }
511
+ canceled_status?:string;}
540
512
  /** Documents the runtime schema file config payload exchanged by command, SDK, and package integrations. */
541
- export interface RuntimeSchemaFileConfig {
513
+ export interface RuntimeSchemaFileConfig{
542
514
  /** Value that configures or reports types for this contract. */
543
515
  types?:string;
544
516
  /** Value that configures or reports statuses for this contract. */
@@ -546,17 +518,15 @@ statuses?:string;
546
518
  /** Value that configures or reports fields for this contract. */
547
519
  fields?:string;
548
520
  /** Value that configures or reports workflows for this contract. */
549
- workflows?:string;
550
- }
521
+ workflows?:string;}
551
522
  /** Per-type allowed-transition rule. A type with no matching entry is unrestricted; a type with an entry allows only the listed [from, to] status pairs (status tokens are resolved case-insensitively through the status registry alias map; a same-status no-op is always allowed). */
552
- export interface TypeWorkflowDefinition {
523
+ export interface TypeWorkflowDefinition{
553
524
  /** Schema type that determines the shape and validation rules for this value. */
554
525
  type:string;
555
526
  /** Value that configures or reports allowed transitions for this contract. */
556
- allowed_transitions:[string,string][];
557
- }
527
+ allowed_transitions:[string,string][];}
558
528
  /** Documents the runtime schema settings payload exchanged by command, SDK, and package integrations. */
559
- export interface RuntimeSchemaSettings {
529
+ export interface RuntimeSchemaSettings{
560
530
  /** Value that configures or reports version for this contract. */
561
531
  version:number;
562
532
  /** Value that configures or reports files for this contract. */
@@ -570,10 +540,9 @@ workflow:RuntimeWorkflowDefinition;
570
540
  /** Value that configures or reports type workflows for this contract. */
571
541
  type_workflows?:TypeWorkflowDefinition[];
572
542
  /** Value that configures or reports unknown field policy for this contract. */
573
- unknown_field_policy:RuntimeUnknownFieldPolicy;
574
- }
543
+ unknown_field_policy:RuntimeUnknownFieldPolicy;}
575
544
  /** Documents the item test run summary payload exchanged by command, SDK, and package integrations. */
576
- export interface TestRunMeasurement {
545
+ export interface TestRunMeasurement{
577
546
  /** Stable metric name, such as coverage or p95_latency. */
578
547
  name:string;
579
548
  /** Numeric value recorded by the producing verification run. */
@@ -583,29 +552,27 @@ unit?:string;
583
552
  /** Optional pass/fail or budget threshold associated with the measurement. */
584
553
  threshold?:number;
585
554
  /** ISO 8601 timestamp binding the measurement to its producing run. */
586
- recorded_at:string;
587
- }
555
+ recorded_at:string;}
588
556
  /** Bounded command and tracker-context provenance for one linked-test execution. */
589
- export interface ItemTestRunExecution {
557
+ export interface ItemTestRunExecution{
590
558
  /** Exact linked command selected for execution. */
591
559
  command:string;
592
560
  /** Context mode requested before linked-test overrides or auto-remediation. */
593
- requested_pm_context_mode?:"schema" | "tracker" | "auto" | "none";
561
+ requested_pm_context_mode?:"schema"|"tracker"|"auto"|"none";
594
562
  /** Effective context mode used by the linked command. */
595
- pm_context_mode?:"schema" | "tracker" | "auto" | "none";
563
+ pm_context_mode?:"schema"|"tracker"|"auto"|"none";
596
564
  /** Effective source-workspace mode used by the linked command. */
597
- workspace_context_mode?:"source" | "isolated" | "snapshot";
565
+ workspace_context_mode?:"source"|"isolated"|"snapshot";
598
566
  /** Trust classification applied before execution. */
599
- trust_reason?:"legacy" | "local_mutation" | "local_source_ref" | "acknowledged" | "invalid_provenance" | "foreign_source_ref";
600
- }
567
+ trust_reason?:"legacy"|"local_mutation"|"local_source_ref"|"acknowledged"|"invalid_provenance"|"foreign_source_ref";}
601
568
  /** Documents the item test run summary payload exchanged by command, SDK, and package integrations. */
602
- export interface ItemTestRunSummary {
569
+ export interface ItemTestRunSummary{
603
570
  /** Executes the id operation through the package runtime. */
604
571
  run_id:string;
605
572
  /** Value that configures or reports kind for this contract. */
606
- kind:"test" | "test-all";
573
+ kind:"test"|"test-all";
607
574
  /** Lifecycle state reported for status. */
608
- status:"passed" | "failed" | "stopped" | "canceled";
575
+ status:"passed"|"failed"|"stopped"|"canceled";
609
576
  /** ISO 8601 timestamp recording when started occurred. */
610
577
  started_at:string;
611
578
  /** ISO 8601 timestamp recording when finished occurred. */
@@ -631,10 +598,9 @@ fail_on_skipped_triggered?:boolean;
631
598
  /** Bounded, deterministic quantitative evidence produced by this run. */
632
599
  measurements?:TestRunMeasurement[];
633
600
  /** Commands and effective tracker contexts bound to this recorded run. */
634
- executions?:ItemTestRunExecution[];
635
- }
601
+ executions?:ItemTestRunExecution[];}
636
602
  /** Documents the item metadata payload exchanged by command, SDK, and package integrations. */
637
- export interface ItemMetadata {
603
+ export interface ItemMetadata{
638
604
  /** Stable identifier used to reference this record across commands and storage. */
639
605
  id:string;
640
606
  /** Value that configures or reports title for this contract. */
@@ -652,7 +618,7 @@ type_options?:Record<string,string>;
652
618
  /** Lifecycle state reported for status. */
653
619
  status:ItemStatus;
654
620
  /** Value that configures or reports priority for this contract. */
655
- priority:0 | 1 | 2 | 3 | 4;
621
+ priority:0|1|2|3|4;
656
622
  /** Value that configures or reports tags for this contract. */
657
623
  tags:string[];
658
624
  /** ISO 8601 timestamp recording when created occurred. */
@@ -778,29 +744,25 @@ plan_discoveries?:PlanDiscovery[];
778
744
  /** Value that configures or reports plan validation for this contract. */
779
745
  plan_validation?:PlanValidationCheck[];
780
746
  /** Value that configures or reports plan resume context for this contract. */
781
- plan_resume_context?:string;
782
- [key:string]:unknown;
783
- }
747
+ plan_resume_context?:string;[key:string]:unknown;}
784
748
  /** Documents the item document payload exchanged by command, SDK, and package integrations. */
785
- export interface ItemDocument {
749
+ export interface ItemDocument{
786
750
  /** Value that configures or reports metadata for this contract. */
787
751
  metadata:ItemMetadata;
788
752
  /** Value that configures or reports body for this contract. */
789
- body:string;
790
- }
753
+ body:string;}
791
754
  /** Documents the history patch op payload exchanged by command, SDK, and package integrations. */
792
- export interface HistoryPatchOp {
755
+ export interface HistoryPatchOp{
793
756
  /** Value that configures or reports op for this contract. */
794
- op:"add" | "remove" | "replace" | "move" | "copy" | "test";
757
+ op:"add"|"remove"|"replace"|"move"|"copy"|"test";
795
758
  /** Filesystem path used for path resolution. */
796
759
  path:string;
797
760
  /** Value that configures or reports from for this contract. */
798
761
  from?:string;
799
762
  /** Value that configures or reports value for this contract. */
800
- value?:unknown;
801
- }
763
+ value?:unknown;}
802
764
  /** Immutable evidence retained whenever history maintenance replaces anchors or patch operations. */
803
- export interface HistoryReanchorEvidence {
765
+ export interface HistoryReanchorEvidence{
804
766
  /** Algorithm of the retained item and record anchors; absent means SHA-256. */
805
767
  hash_algorithm?:string;
806
768
  /** Before-state anchor present on the record before re-anchoring. */
@@ -818,10 +780,9 @@ record_hash_version?:number;
818
780
  /** Record hash protecting the pre-re-anchor attribution and operation metadata. */
819
781
  record_hash?:string;
820
782
  /** Exact prior sealed record when maintenance can retain its non-sensitive payload. */
821
- record?:HistoryEntry;
822
- }
783
+ record?:HistoryEntry;}
823
784
  /** Documents the history entry payload exchanged by command, SDK, and package integrations. */
824
- export interface HistoryEntry {
785
+ export interface HistoryEntry{
825
786
  /** Algorithm for before_hash, after_hash and record_hash; absent means legacy SHA-256. */
826
787
  hash_algorithm?:string;
827
788
  /** Value that configures or reports ts for this contract. */
@@ -829,13 +790,13 @@ ts:string;
829
790
  /** Value that configures or reports author for this contract. */
830
791
  author:string;
831
792
  /** Provenance of the author selected for this event. Absent only on legacy entries. */
832
- author_source?:"asserted" | "configured" | "detected" | "unknown";
793
+ author_source?:"asserted"|"configured"|"detected"|"unknown";
833
794
  /** Observed agent harness, independent from the effective author precedence. */
834
795
  agent_harness?:string;
835
796
  /** Observed agent model identifier, retained in local history. */
836
797
  agent_model?:string;
837
798
  /** Bounded signal class that supplied `agent_model`. */
838
- agent_model_source?:"override" | "environment" | "mcp_client" | "argv" | "host" | "session" | "probe" | "inferred";
799
+ agent_model_source?:"override"|"environment"|"mcp_client"|"argv"|"host"|"session"|"probe"|"inferred";
839
800
  /** Privacy-safe fingerprint distinguishing concurrent harness invocations. */
840
801
  agent_instance?:string;
841
802
  /** Extensible local-only descriptive agent provenance; null means declared but unavailable. */
@@ -843,14 +804,13 @@ agent_provenance?:Readonly<Record<string,{
843
804
  /** Bounded descriptive value observed for this dimension. */
844
805
  value:string;
845
806
  /** Bounded signal class that supplied the value. */
846
- source:"override" | "environment" | "mcp_client" | "argv" | "host" | "session" | "probe" | "inferred";
807
+ source:"override"|"environment"|"mcp_client"|"argv"|"host"|"session"|"probe"|"inferred";
847
808
  /** Confidence attached to a semantic inference. */
848
- confidence?:"high" | "medium" | "low";
809
+ confidence?:"high"|"medium"|"low";
849
810
  /** Versioned semantic inference rule. */
850
811
  rule_version?:"v2";
851
812
  /** Bounded item and lineage references supporting the inference. */
852
- evidence?:readonly string[];
853
- } | null>>;
813
+ evidence?:readonly string[];}|null>>;
854
814
  /** Stable declared episode identity; absent on legacy or undeclared events. */
855
815
  agent_episode?:{
856
816
  /** Stable caller-declared episode join key. */
@@ -858,12 +818,11 @@ id:string;
858
818
  /** Human-readable episode purpose retained in local history. */
859
819
  label?:string;
860
820
  /** Parent episode key for delegated or nested work. */
861
- parent_id?:string;
862
- };
821
+ parent_id?:string;};
863
822
  /** Value that configures or reports op for this contract. */
864
823
  op:string;
865
824
  /** Declared semantic effect used by recency consumers. Absent on legacy entries. */
866
- event_class?:"substantive" | "maintenance";
825
+ event_class?:"substantive"|"maintenance";
867
826
  /** Value that configures or reports patch for this contract. */
868
827
  patch:HistoryPatchOp[];
869
828
  /** Value that configures or reports before hash for this contract. */
@@ -881,18 +840,17 @@ reanchor_evidence?:HistoryReanchorEvidence[];
881
840
  /** Human-readable explanation suitable for logs and agent-facing output. */
882
841
  message?:string;
883
842
  /** Structured audit metadata that does not alter replayed item state. */
884
- context?:Record<string,unknown>;
885
- }
843
+ context?:Record<string,unknown>;}
886
844
  /** Supported values accepted by the context depth contract. */
887
- export declare const CONTEXT_DEPTH_VALUES:readonly ["brief","standard","deep","full"];
845
+ export declare const CONTEXT_DEPTH_VALUES:readonly["brief","standard","deep","full"];
888
846
  /** Restricts context depth values accepted by command, SDK, and storage contracts. */
889
- export type ContextDepth = (typeof CONTEXT_DEPTH_VALUES)[number];
847
+ export type ContextDepth=(typeof CONTEXT_DEPTH_VALUES)[number];
890
848
  /** Supported values accepted by the context section contract. */
891
- export declare const CONTEXT_SECTION_VALUES:readonly ["hierarchy","activity","progress","recently_created","unparented","blockers","files","workload","staleness","tests"];
849
+ export declare const CONTEXT_SECTION_VALUES:readonly["hierarchy","activity","progress","recently_created","unparented","blockers","files","workload","staleness","tests"];
892
850
  /** Restricts context section name values accepted by command, SDK, and storage contracts. */
893
- export type ContextSectionName = (typeof CONTEXT_SECTION_VALUES)[number];
851
+ export type ContextSectionName=(typeof CONTEXT_SECTION_VALUES)[number];
894
852
  /** Documents the context section settings payload exchanged by command, SDK, and package integrations. */
895
- export interface ContextSectionSettings {
853
+ export interface ContextSectionSettings{
896
854
  /** Value that configures or reports hierarchy for this contract. */
897
855
  hierarchy:boolean;
898
856
  /** Value that configures or reports activity for this contract. */
@@ -912,10 +870,9 @@ workload:boolean;
912
870
  /** Value that configures or reports staleness for this contract. */
913
871
  staleness:boolean;
914
872
  /** Value that configures or reports tests for this contract. */
915
- tests:boolean;
916
- }
873
+ tests:boolean;}
917
874
  /** Documents the context settings payload exchanged by command, SDK, and package integrations. */
918
- export interface ContextSettings {
875
+ export interface ContextSettings{
919
876
  /** Fallback depth used when callers do not provide an override. */
920
877
  default_depth:ContextDepth;
921
878
  /** Value that configures or reports activity limit for this contract. */
@@ -923,12 +880,11 @@ activity_limit:number;
923
880
  /** Value that configures or reports stale threshold days for this contract. */
924
881
  stale_threshold_days:number;
925
882
  /** Ready-queue ordering policy for `pm next`: `priority_floor` (default) or `weighted` (GH-1618). */
926
- next_ranking_policy:"priority_floor" | "weighted";
883
+ next_ranking_policy:"priority_floor"|"weighted";
927
884
  /** Value that configures or reports sections for this contract. */
928
- sections:ContextSectionSettings;
929
- }
885
+ sections:ContextSectionSettings;}
930
886
  /** Documents the governance settings payload exchanged by command, SDK, and package integrations. */
931
- export interface GovernanceSettings {
887
+ export interface GovernanceSettings{
932
888
  /** Value that configures or reports preset for this contract. */
933
889
  preset:GovernancePreset;
934
890
  /** Value that configures or reports ownership enforcement for this contract. */
@@ -956,16 +912,15 @@ duplicate_detection_mode:GovernanceDuplicateDetectionMode;
956
912
  /** Inclusive similarity floor on the zero-to-one scale. */
957
913
  duplicate_detection_threshold:number;
958
914
  /** Maximum advisory candidates attached to a mutation result. */
959
- duplicate_detection_limit:number;
960
- }
915
+ duplicate_detection_limit:number;}
961
916
  /** Restricts extension policy mode values accepted by command, SDK, and storage contracts. */
962
- export type ExtensionPolicyMode = "off" | "warn" | "enforce";
917
+ export type ExtensionPolicyMode="off"|"warn"|"enforce";
963
918
  /** Restricts extension trust mode values accepted by command, SDK, and storage contracts. */
964
- export type ExtensionTrustMode = "off" | "warn" | "enforce";
919
+ export type ExtensionTrustMode="off"|"warn"|"enforce";
965
920
  /** Restricts extension sandbox profile values accepted by command, SDK, and storage contracts. */
966
- export type ExtensionSandboxProfile = "none" | "restricted" | "strict";
921
+ export type ExtensionSandboxProfile="none"|"restricted"|"strict";
967
922
  /** Documents the extension policy override settings payload exchanged by command, SDK, and package integrations. */
968
- export interface ExtensionPolicyOverrideSettings {
923
+ export interface ExtensionPolicyOverrideSettings{
969
924
  /** Value that configures or reports name for this contract. */
970
925
  name:string;
971
926
  /** Whether disabled applies to this operation. */
@@ -995,10 +950,9 @@ blocked_actions?:string[];
995
950
  /** Value that configures or reports allowed services for this contract. */
996
951
  allowed_services?:string[];
997
952
  /** Value that configures or reports blocked services for this contract. */
998
- blocked_services?:string[];
999
- }
953
+ blocked_services?:string[];}
1000
954
  /** Documents the extension policy settings payload exchanged by command, SDK, and package integrations. */
1001
- export interface ExtensionPolicySettings {
955
+ export interface ExtensionPolicySettings{
1002
956
  /** Value that configures or reports mode for this contract. */
1003
957
  mode:ExtensionPolicyMode;
1004
958
  /** Strategy used to control trust behavior. */
@@ -1034,10 +988,9 @@ allowed_services:string[];
1034
988
  /** Value that configures or reports blocked services for this contract. */
1035
989
  blocked_services:string[];
1036
990
  /** Value that configures or reports extension overrides for this contract. */
1037
- extension_overrides:ExtensionPolicyOverrideSettings[];
1038
- }
991
+ extension_overrides:ExtensionPolicyOverrideSettings[];}
1039
992
  /** Documents the agent guidance settings payload exchanged by command, SDK, and package integrations. */
1040
- export interface AgentGuidanceSettings {
993
+ export interface AgentGuidanceSettings{
1041
994
  /** Value that configures or reports prompt completed for this contract. */
1042
995
  prompt_completed:boolean;
1043
996
  /** Value that configures or reports declined for this contract. */
@@ -1047,28 +1000,25 @@ declined_at:string;
1047
1000
  /** Value that configures or reports template version for this contract. */
1048
1001
  template_version:number;
1049
1002
  /** Value that configures or reports last checked files for this contract. */
1050
- last_checked_files:string[];
1051
- }
1003
+ last_checked_files:string[];}
1052
1004
  /** Restricts search mutation refresh policy values accepted by command, SDK, and storage contracts. */
1053
- export type SearchMutationRefreshPolicy = "cache_only" | "semantic_configured" | "semantic_auto";
1005
+ export type SearchMutationRefreshPolicy="cache_only"|"semantic_configured"|"semantic_auto";
1054
1006
  /** Restricts the declared default search mode: `auto` derives hybrid-or-keyword from workspace state, a concrete mode pins it. */
1055
- export type SearchDefaultMode = "auto" | "keyword" | "semantic" | "hybrid";
1007
+ export type SearchDefaultMode="auto"|"keyword"|"semantic"|"hybrid";
1056
1008
  /** Documents the search query expansion settings payload exchanged by command, SDK, and package integrations. */
1057
- export interface SearchQueryExpansionSettings {
1009
+ export interface SearchQueryExpansionSettings{
1058
1010
  /** Whether enabled applies to this operation. */
1059
1011
  enabled:boolean;
1060
1012
  /** Value that configures or reports provider for this contract. */
1061
- provider:string;
1062
- }
1013
+ provider:string;}
1063
1014
  /** Documents the search rerank settings payload exchanged by command, SDK, and package integrations. */
1064
- export interface SearchRerankSettings {
1015
+ export interface SearchRerankSettings{
1065
1016
  /** Whether enabled applies to this operation. */
1066
1017
  enabled:boolean;
1067
1018
  /** Value that configures or reports model for this contract. */
1068
1019
  model:string;
1069
1020
  /** Value that configures or reports top k for this contract. */
1070
- top_k:number;
1071
- }
1021
+ top_k:number;}
1072
1022
  /**
1073
1023
  * Config-driven policy for automatic history-stream compaction triage.
1074
1024
  *
@@ -1079,24 +1029,21 @@ top_k:number;
1079
1029
  * records operator intent — both values raise the health advisory; `auto`
1080
1030
  * additionally signals that scheduled/automatic sweeps are expected.
1081
1031
  */
1082
- export interface HistoryCompactPolicy {
1032
+ export interface HistoryCompactPolicy{
1083
1033
  /** Whether enabled applies to this operation. */
1084
1034
  enabled:boolean;
1085
1035
  /** Value that configures or reports max entries for this contract. */
1086
1036
  max_entries:number;
1087
1037
  /** Value that configures or reports trigger for this contract. */
1088
- trigger:"health_warn" | "auto";
1089
- }
1038
+ trigger:"health_warn"|"auto";}
1090
1039
  /** Documents the pm settings payload exchanged by command, SDK, and package integrations. */
1091
- export interface PmSettings {
1040
+ export interface PmSettings{
1092
1041
  /** Value that configures or reports version for this contract. */
1093
1042
  version:number;
1094
1043
  /** Value that configures or reports id prefix for this contract. */
1095
1044
  id_prefix:string;
1096
1045
  /** Item id allocation policy: `token_length` is the number of random base36 characters appended to `id_prefix` when minting ids (4–12). Longer tokens shrink cross-branch collision odds for concurrent multi-agent workflows: 4 chars ≈ 1.68M ids (~1% birthday-collision at ~184 items), 6 chars ≈ 2.18B (~1% at ~6.6k items), 8 chars ≈ 2.8T (~1% at ~238k items). */
1097
- ids:{
1098
- token_length:number;
1099
- };
1046
+ ids:{token_length:number;};
1100
1047
  /** Value that configures or reports author default for this contract. */
1101
1048
  author_default:string;
1102
1049
  /** Declarative workspace additions to the built-in agent identity registry. */
@@ -1108,8 +1055,7 @@ identity_vocabulary?:{
1108
1055
  /** Reproducible vocabulary revision recorded in read projections. */
1109
1056
  version:number;
1110
1057
  /** Exact literal author spellings mapped to canonical harness namespaces. */
1111
- aliases:Record<string,string>;
1112
- };
1058
+ aliases:Record<string,string>;};
1113
1059
  /** Pure, bounded harness signal descriptors evaluated after built-ins. */
1114
1060
  harness_signals:Array<{
1115
1061
  /** Stable lowercase harness namespace. */
@@ -1123,159 +1069,70 @@ session_environment_keys?:string[];
1123
1069
  /** Extensible provenance dimensions mapped to ordered environment keys. */
1124
1070
  provenance_environment_keys?:Record<string,string[]>;
1125
1071
  /** Provenance dimensions mapped to audited built-in local resolvers. */
1126
- provenance_resolvers?:Record<string,"ai_agent_version" | "claude_session_file">;
1072
+ provenance_resolvers?:Record<string,"ai_agent_version"|"claude_session_file">;
1127
1073
  /** Dimensions intentionally unavailable from this harness environment. */
1128
1074
  provenance_unavailable_dimensions?:string[];
1129
1075
  /** Literal executable or argument markers. */
1130
1076
  argv_markers?:string[];
1131
1077
  /** Literal MCP client-name markers. */
1132
- client_names?:string[];
1133
- }>;
1134
- };
1078
+ client_names?:string[];}>;};
1135
1079
  /** Shared pre-write provenance, secret, and stale-work policy. */
1136
1080
  mutation_guard:{
1137
1081
  /** Reject mutations whose resolved author is `unknown`. */
1138
1082
  require_attributed_author:boolean;
1139
1083
  /** Credential-shaped content policy applied before CLI/MCP mutation dispatch. */
1140
- secret_guard:"off" | "advise" | "block";
1084
+ secret_guard:"off"|"advise"|"block";
1141
1085
  /** Age threshold for unclaimed in-progress work surfaced by health. */
1142
- stale_in_progress_hours:number;
1143
- };
1086
+ stale_in_progress_hours:number;};
1144
1087
  /** Value that configures or reports item format for this contract. */
1145
1088
  item_format:ItemFormat;
1146
1089
  /** Value that configures or reports locks for this contract. */
1147
- locks:{
1148
- ttl_seconds:number;
1090
+ locks:{ttl_seconds:number;
1149
1091
  /** Bounded wait budget (milliseconds) for acquiring a contended item lock before surfacing lock_conflict. 0 disables waiting (fail-fast). Overridable per invocation via PM_LOCK_WAIT_MS. */
1150
- wait_ms:number;
1151
- };
1092
+ wait_ms:number;};
1152
1093
  /** Retention policy for local crash-recovery receipts: bulk-mutation rollback checkpoints written by `update-many`/`close-many` AND terminal SDK workspace-transaction journals under `transactions/sdk/`. `pm gc --scope checkpoints` prunes checkpoint files older than `retention_days`; `pm gc --scope transactions` prunes committed/compensated journals older than the same window. Unparseable receipts and in-flight journals are always retained (safety-first, mirroring the stale-lock sweep). */
1153
- checkpoints:{
1154
- retention_days:number;
1155
- };
1094
+ checkpoints:{retention_days:number;};
1156
1095
  /** Value that configures or reports output for this contract. */
1157
- output:{
1158
- default_format:"toon" | "json";
1159
- };
1096
+ output:{default_format:"toon"|"json";};
1160
1097
  /** Agent and human interaction preferences that do not change command semantics. */
1161
1098
  ux?:{
1162
1099
  /** Emit one stderr migration hint when a deprecated command alias is invoked. */
1163
- deprecation_hints?:boolean;
1164
- };
1100
+ deprecation_hints?:boolean;};
1165
1101
  /** Value that configures or reports history for this contract. */
1166
- history:{
1167
- missing_stream:"auto_create" | "strict_error";
1168
- compact_policy:HistoryCompactPolicy;
1169
- };
1102
+ history:{missing_stream:"auto_create"|"strict_error";compact_policy:HistoryCompactPolicy;};
1170
1103
  /** Value that configures or reports validation for this contract. */
1171
- validation:{
1172
- sprint_release_format:SprintReleaseFormatPolicy;
1173
- parent_reference:ParentReferencePolicy;
1174
- metadata_profile:ValidateMetadataProfile;
1175
- metadata_required_fields:ValidateMetadataRequiredField[];
1176
- lifecycle_stale_blocker_reason_patterns:string[];
1177
- lifecycle_closure_like_blocked_reason_patterns:string[];
1178
- lifecycle_closure_like_resolution_patterns:string[];
1179
- lifecycle_closure_like_actual_result_patterns:string[];
1104
+ validation:{sprint_release_format:SprintReleaseFormatPolicy;parent_reference:ParentReferencePolicy;metadata_profile:ValidateMetadataProfile;metadata_required_fields:ValidateMetadataRequiredField[];lifecycle_stale_blocker_reason_patterns:string[];lifecycle_closure_like_blocked_reason_patterns:string[];lifecycle_closure_like_resolution_patterns:string[];lifecycle_closure_like_actual_result_patterns:string[];
1180
1105
  /** Per-type default estimates (minutes) used by `pm validate --auto-fix --fix-scope estimates` to backfill missing `estimated_minutes` (GH-212). Keys are item type names (case-insensitive); values are positive minutes that override the built-in defaults. Empty by default. */
1181
- estimate_defaults_by_type:Record<string,number>;
1182
- };
1106
+ estimate_defaults_by_type:Record<string,number>;};
1183
1107
  /** Value that configures or reports governance for this contract. */
1184
1108
  governance:GovernanceSettings;
1185
1109
  /** Value that configures or reports workflow for this contract. */
1186
- workflow:{
1187
- definition_of_done:string[];
1188
- };
1110
+ workflow:{definition_of_done:string[];};
1189
1111
  /** Value that configures or reports testing for this contract. */
1190
- testing:{
1191
- record_results_to_items:boolean;
1112
+ testing:{record_results_to_items:boolean;
1192
1113
  /** Permit explicit one-shot execution of commands not yet trusted by this clone. */
1193
- allow_untrusted_linked_tests:boolean;
1194
- };
1114
+ allow_untrusted_linked_tests:boolean;};
1195
1115
  /** Value that configures or reports telemetry for this contract. */
1196
- telemetry:{
1197
- enabled:boolean;
1198
- first_run_prompt_completed:boolean;
1199
- capture_level:"minimal" | "redacted" | "max";
1200
- endpoint:string;
1201
- installation_id:string;
1202
- retention_days:number;
1203
- };
1116
+ telemetry:{enabled:boolean;first_run_prompt_completed:boolean;capture_level:"minimal"|"redacted"|"max";endpoint:string;installation_id:string;retention_days:number;};
1204
1117
  /** Value that configures or reports agent guidance for this contract. */
1205
1118
  agent_guidance:AgentGuidanceSettings;
1206
1119
  /** Value that configures or reports item types for this contract. */
1207
- item_types:{
1208
- definitions:ItemTypeDefinition[];
1209
- };
1120
+ item_types:{definitions:ItemTypeDefinition[];};
1210
1121
  /** Value that configures or reports schema for this contract. */
1211
1122
  schema:RuntimeSchemaSettings;
1212
1123
  /** Value that configures or reports extensions for this contract. */
1213
- extensions:{
1214
- enabled:string[];
1215
- disabled:string[];
1216
- policy:ExtensionPolicySettings;
1217
- };
1124
+ extensions:{enabled:string[];disabled:string[];policy:ExtensionPolicySettings;};
1218
1125
  /** Value that configures or reports search for this contract. */
1219
- search:{
1220
- score_threshold:number;
1221
- hybrid_semantic_weight:number;
1222
- max_results:number;
1223
- embedding_model:string;
1224
- embedding_corpus_max_characters?:number;
1225
- embedding_batch_size:number;
1226
- embedding_timeout_ms:number;
1227
- scanner_max_batch_retries:number;
1228
- provider?:string;
1126
+ search:{score_threshold:number;hybrid_semantic_weight:number;max_results:number;embedding_model:string;embedding_corpus_max_characters?:number;embedding_batch_size:number;embedding_timeout_ms:number;scanner_max_batch_retries:number;provider?:string;
1229
1127
  /** Mode a search runs in when the caller passes none: `auto` (default) resolves to hybrid when semantic search is explicitly configured and runnable, keyword otherwise; a concrete mode pins it. Optional on the type so existing settings literals stay valid; readers always normalize it. */
1230
1128
  default_mode?:SearchDefaultMode;
1231
1129
  /** Optional allow-list of corpus field names embedded for semantic search (see DEFAULT_SEARCH_CORPUS_FIELDS in core/search/corpus.ts). When unset or empty, the full default field set is used (backward compatible). When set, only the named fields are embedded — letting teams opt structured signals (priority, assignee, risk, acceptance_criteria, etc.) in/out for token efficiency. Changing this re-flags items stale on the next refresh. */
1232
- corpus_fields?:string[];
1233
- mutation_refresh_policy:SearchMutationRefreshPolicy;
1234
- query_expansion:SearchQueryExpansionSettings;
1235
- rerank:SearchRerankSettings;
1130
+ corpus_fields?:string[];mutation_refresh_policy:SearchMutationRefreshPolicy;query_expansion:SearchQueryExpansionSettings;rerank:SearchRerankSettings;
1236
1131
  /** Offline BM25 lexical-ranking parameters (pm-75k9), applied when `search.provider` is `bm25` (or auto-selected as the offline fallback) for semantic/hybrid queries. `k1` controls term-frequency saturation, `b` controls document-length normalization. Unset → Lucene defaults (1.2/0.75). */
1237
- bm25?:{
1238
- k1?:number;
1239
- b?:number;
1240
- };
1241
- tuning?:{
1242
- title_exact_bonus?:number;
1243
- title_weight?:number;
1244
- description_weight?:number;
1245
- tags_weight?:number;
1246
- status_weight?:number;
1247
- body_weight?:number;
1248
- comments_weight?:number;
1249
- notes_weight?:number;
1250
- learnings_weight?:number;
1251
- dependencies_weight?:number;
1252
- linked_content_weight?:number;
1253
- };
1254
- };
1132
+ bm25?:{k1?:number;b?:number;};tuning?:{title_exact_bonus?:number;title_weight?:number;description_weight?:number;tags_weight?:number;status_weight?:number;body_weight?:number;comments_weight?:number;notes_weight?:number;learnings_weight?:number;dependencies_weight?:number;linked_content_weight?:number;};};
1255
1133
  /** Value that configures or reports providers for this contract. */
1256
- providers:{
1257
- openai:{
1258
- base_url:string;
1259
- api_key:string;
1260
- model:string;
1261
- };
1262
- ollama:{
1263
- base_url:string;
1264
- model:string;
1265
- };
1266
- };
1134
+ providers:{openai:{base_url:string;api_key:string;model:string;};ollama:{base_url:string;model:string;};};
1267
1135
  /** Value that configures or reports context for this contract. */
1268
1136
  context:ContextSettings;
1269
1137
  /** Value that configures or reports vector store for this contract. */
1270
- vector_store:{
1271
- adapter?:string;
1272
- collection_name:string;
1273
- qdrant:{
1274
- url:string;
1275
- api_key:string;
1276
- };
1277
- lancedb:{
1278
- path:string;
1279
- };
1280
- };
1281
- }
1138
+ vector_store:{adapter?:string;collection_name:string;qdrant:{url:string;api_key:string;};lancedb:{path:string;};};}