@unbrained/pm-cli 2026.8.23 → 2026.8.25

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 (172) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +27 -1
  3. package/dist/cli/description-stdin.js +5 -4
  4. package/dist/cli/extension-command-help.d.ts +5 -0
  5. package/dist/cli/extension-command-help.js +6 -2
  6. package/dist/cli/help-content.d.ts +5 -0
  7. package/dist/cli/help-content.js +56 -3
  8. package/dist/cli/help-json-payload.d.ts +5 -2
  9. package/dist/cli/help-json-payload.js +57 -17
  10. package/dist/cli/main.d.ts +3 -0
  11. package/dist/cli/main.js +28 -3
  12. package/dist/cli/register-annotations.js +5 -5
  13. package/dist/cli/register-mutation.js +73 -27
  14. package/dist/cli-bundle/bundle-manifest.json +152 -152
  15. package/dist/cli-bundle/chunks/{chunk-HWZ6CELB.js → chunk-244MI4GS.js} +3 -3
  16. package/dist/cli-bundle/chunks/{chunk-QDVHNHAQ.js → chunk-2F3LUFMW.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-EG6CLDZT.js → chunk-5I5RWIJC.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-KPH73XXJ.js → chunk-65MHLHAA.js} +2 -2
  19. package/dist/cli-bundle/chunks/chunk-6C7GIMIL.js +13 -0
  20. package/dist/cli-bundle/chunks/chunk-OWHNAR2B.js +2 -0
  21. package/dist/cli-bundle/chunks/chunk-QKGMHGEI.js +202 -0
  22. package/dist/cli-bundle/chunks/chunk-QLUORNIB.js +2092 -0
  23. package/dist/cli-bundle/chunks/{chunk-JB4KZWBF.js → chunk-T2ENPRXF.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-F3AI2JFL.js → chunk-TPQIBSL2.js} +2 -2
  25. package/dist/cli-bundle/chunks/chunk-YQMYF3YD.js +35 -0
  26. package/dist/cli-bundle/chunks/{register-list-query-UJB5FMV2.js → register-list-query-XVN2ZLI7.js} +2 -2
  27. package/dist/cli-bundle/chunks/register-mutation-QCKAEGIJ.js +20 -0
  28. package/dist/cli-bundle/chunks/{register-operations-RXIJIYXC.js → register-operations-SDEAXE7E.js} +2 -2
  29. package/dist/cli-bundle/chunks/{register-setup-GFUZEKRE.js → register-setup-LXVBRCJ3.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-QGFNI65N.js → chunk-2UIWOP3O.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/chunk-42S3GGZ7.js +50 -0
  32. package/dist/cli-bundle/focused-chunks/{chunk-OGLQBL46.js → chunk-7I23XGWO.js} +2 -2
  33. package/dist/cli-bundle/focused-chunks/chunk-7YCDTCBC.js +2 -0
  34. package/dist/cli-bundle/focused-chunks/{chunk-OFVUGTLJ.js → chunk-A644DUFQ.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/{chunk-AUFH5H35.js → chunk-GQR3WH3F.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-3UPTYG44.js → chunk-H5JZEIQV.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/chunk-IBZZZGK3.js +2 -0
  38. package/dist/cli-bundle/focused-chunks/chunk-LMKG3DFE.js +5 -0
  39. package/dist/cli-bundle/focused-chunks/{chunk-LYVSW5VM.js → chunk-N7W67YIG.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/{chunk-37Z4OEAP.js → chunk-NOOZGIXP.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/{chunk-FZS4H32O.js → chunk-OHIHZ7HS.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/chunk-ONYQCALA.js +19 -0
  43. package/dist/cli-bundle/focused-chunks/chunk-OVJL6NZE.js +4 -0
  44. package/dist/cli-bundle/focused-chunks/chunk-RAFKLNZX.js +16 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-IFLWKY2R.js → chunk-VXWATRFL.js} +2 -2
  46. package/dist/cli-bundle/focused-chunks/{chunk-R27IDGHD.js → chunk-XUQPEKRN.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/{chunk-JOWDB2MH.js → chunk-YO3ZF3FI.js} +2 -2
  48. package/dist/cli-bundle/main.js +18 -17
  49. package/dist/cli-bundle/sdk-authoring.js +1 -1
  50. package/dist/cli-bundle/sdk-contracts.js +2 -2
  51. package/dist/cli-bundle/sdk-core.js +32 -32
  52. package/dist/cli-bundle/sdk-governance.js +1 -1
  53. package/dist/cli-bundle/sdk-graph.js +1 -1
  54. package/dist/cli-bundle/sdk-merge.js +32 -33
  55. package/dist/cli-bundle/sdk-query.js +1 -1
  56. package/dist/cli-bundle/sdk-runtime.js +1 -1
  57. package/dist/cli-bundle/sdk-testing.js +1 -1
  58. package/dist/cli-bundle/sdk.js +6 -5
  59. package/dist/core/diagnostics/remediation.js +17 -2
  60. package/dist/core/extensions/command-metadata-contract.d.ts +10 -0
  61. package/dist/core/extensions/command-metadata-contract.js +23 -0
  62. package/dist/core/extensions/command-visibility-tier.js +12 -2
  63. package/dist/core/extensions/extension-types.d.ts +6 -0
  64. package/dist/core/extensions/extension-types.js +2 -2
  65. package/dist/core/extensions/loader.js +4 -3
  66. package/dist/core/io/body-file.js +7 -2
  67. package/dist/core/io/bulk-ids-input.d.ts +24 -0
  68. package/dist/core/io/bulk-ids-input.js +113 -0
  69. package/dist/core/item/parse.d.ts +22 -2
  70. package/dist/core/item/parse.js +97 -4
  71. package/dist/mcp/server.d.ts +3 -2
  72. package/dist/mcp/server.js +16 -9
  73. package/dist/sdk/agent/refusal-closure-census.d.ts +66 -0
  74. package/dist/sdk/agent/refusal-closure-census.js +144 -0
  75. package/dist/sdk/agent-capability-contracts.d.ts +34 -1
  76. package/dist/sdk/agent-capability-contracts.js +104 -6
  77. package/dist/sdk/annotations.d.ts +2 -0
  78. package/dist/sdk/annotations.js +25 -7
  79. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +10 -0
  80. package/dist/sdk/cli-contracts/runtime-contracts.js +20 -3
  81. package/dist/sdk/cli-contracts/tool-parameter-tables.js +38 -2
  82. package/dist/sdk/cli-contracts/typed-action-inputs.d.ts +4 -1
  83. package/dist/sdk/cli-contracts/typed-action-inputs.js +2 -2
  84. package/dist/sdk/comments.js +15 -7
  85. package/dist/sdk/flag-invocation-contracts.d.ts +2 -0
  86. package/dist/sdk/flag-invocation-contracts.js +28 -3
  87. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +109 -52
  88. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +62 -2
  89. package/dist/sdk/governance/health.js +98 -11
  90. package/dist/sdk/governance/validate.js +15 -9
  91. package/dist/sdk/guide-topics.d.ts +0 -5
  92. package/dist/sdk/guide-topics.js +28 -2
  93. package/dist/sdk/history-compact.d.ts +2 -1
  94. package/dist/sdk/history-compact.js +24 -5
  95. package/dist/sdk/history-mcp.js +11 -10
  96. package/dist/sdk/history-repair.d.ts +24 -0
  97. package/dist/sdk/history-repair.js +145 -4
  98. package/dist/sdk/index.d.ts +1 -0
  99. package/dist/sdk/index.js +3 -2
  100. package/dist/sdk/item-transaction.js +19 -12
  101. package/dist/sdk/lifecycle/append.js +4 -4
  102. package/dist/sdk/lifecycle/close-many.js +16 -7
  103. package/dist/sdk/lifecycle/create.js +29 -21
  104. package/dist/sdk/lifecycle/plan.js +24 -6
  105. package/dist/sdk/lifecycle/update-many.js +15 -8
  106. package/dist/sdk/lifecycle/update.d.ts +2 -0
  107. package/dist/sdk/lifecycle/update.js +34 -24
  108. package/dist/sdk/merge/driver.js +25 -4
  109. package/dist/sdk/merge/receipt-file-boundary.d.ts +21 -0
  110. package/dist/sdk/merge/receipt-file-boundary.js +47 -0
  111. package/dist/sdk/merge/receipts.d.ts +24 -1
  112. package/dist/sdk/merge/receipts.js +342 -36
  113. package/dist/sdk/merge/reconcile.js +117 -47
  114. package/dist/sdk/read-output/continuation.d.ts +15 -2
  115. package/dist/sdk/read-output/continuation.js +86 -6
  116. package/dist/sdk/read-output-contracts.d.ts +4 -1
  117. package/dist/sdk/read-output-contracts.js +9 -6
  118. package/dist/sdk/runtime-extended-actions.js +5 -3
  119. package/dist/sdk/runtime-input.d.ts +4 -0
  120. package/dist/sdk/runtime-input.js +98 -23
  121. package/dist/sdk/runtime-primitives.d.ts +2 -1
  122. package/dist/sdk/runtime-primitives.js +4 -3
  123. package/dist/sdk/runtime.js +7 -20
  124. package/dist/sdk/scheduling-shortcuts.js +5 -3
  125. package/dist/sdk/structured-mutations.js +10 -3
  126. package/dist/sdk/workspace-contracts.d.ts +3 -0
  127. package/dist/sdk/workspace-contracts.js +3 -2
  128. package/docs/MERGE_SAFETY.md +34 -5
  129. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +13 -1
  130. package/docs/README.md +2 -0
  131. package/docs/READ_OUTPUT_CONTRACTS.md +25 -2
  132. package/docs/RELEASING.md +40 -21
  133. package/docs/SCRIPTING.md +62 -3
  134. package/docs/SDK.md +8 -0
  135. package/docs/generated/AGENT_CAPABILITY_ROUTING.md +17 -0
  136. package/docs/generated/AGENT_COMMAND_SURFACE.md +1 -1
  137. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +359 -0
  138. package/marketplace.json +2 -2
  139. package/package.json +1 -1
  140. package/packages/pm-beads/package.json +1 -1
  141. package/packages/pm-calendar/package.json +1 -1
  142. package/packages/pm-command-kit/README.md +9 -11
  143. package/packages/pm-command-kit/extensions/command-kit/index.ts +3 -1
  144. package/packages/pm-command-kit/package.json +1 -1
  145. package/packages/pm-digital-twin/package.json +1 -1
  146. package/packages/pm-governance-audit/package.json +1 -1
  147. package/packages/pm-guide-shell/extensions/guide-shell/index.ts +10 -0
  148. package/packages/pm-guide-shell/package.json +1 -1
  149. package/packages/pm-kanban/package.json +1 -1
  150. package/packages/pm-lifecycle-hooks/package.json +1 -1
  151. package/packages/pm-linked-test-adapters/package.json +1 -1
  152. package/packages/pm-search-advanced/package.json +1 -1
  153. package/packages/pm-templates/package.json +1 -1
  154. package/packages/pm-todos/package.json +1 -1
  155. package/packages/pm-vcs/package.json +1 -1
  156. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  157. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  158. package/scripts/generate-agent-capability-surfaces.mjs +27 -1
  159. package/sdk/public-surface.json +351 -26
  160. package/dist/cli-bundle/chunks/chunk-3ENVHX6C.js +0 -36
  161. package/dist/cli-bundle/chunks/chunk-DW2CGEMU.js +0 -2
  162. package/dist/cli-bundle/chunks/chunk-HZBMLSZI.js +0 -201
  163. package/dist/cli-bundle/chunks/chunk-KXPMB2YL.js +0 -2092
  164. package/dist/cli-bundle/chunks/chunk-TFI5V5N2.js +0 -13
  165. package/dist/cli-bundle/chunks/register-mutation-NX5XE4VX.js +0 -20
  166. package/dist/cli-bundle/focused-chunks/chunk-5S7E72FY.js +0 -16
  167. package/dist/cli-bundle/focused-chunks/chunk-E7X25GC3.js +0 -2
  168. package/dist/cli-bundle/focused-chunks/chunk-FQCSTBWE.js +0 -4
  169. package/dist/cli-bundle/focused-chunks/chunk-MRCNF3U6.js +0 -2
  170. package/dist/cli-bundle/focused-chunks/chunk-OY7QAV4Y.js +0 -51
  171. package/dist/cli-bundle/focused-chunks/chunk-UYRFYCDQ.js +0 -5
  172. package/dist/cli-bundle/focused-chunks/chunk-ZHVA42R5.js +0 -18
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "aggregate_completeness": {
3
- "covered_symbols": 1793,
3
+ "covered_symbols": 1796,
4
4
  "excluded": [
5
5
  {
6
6
  "name": "_testOnlyCliContracts",
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ],
10
10
  "missing": [],
11
- "required_symbols": 1794
11
+ "required_symbols": 1797
12
12
  },
13
13
  "breaking_acknowledgements": [
14
14
  {
@@ -1108,6 +1108,154 @@
1108
1108
  ],
1109
1109
  "package_version": "2026.8.22",
1110
1110
  "reason": "Additive optional provenance_invalid marker preserves fail-closed storage state without widening the existing provenance source_kind union; two trust helpers are newly exported for CLI-consumer parity."
1111
+ },
1112
+ {
1113
+ "changes": [
1114
+ "signature ./sdk:CommandDefinition",
1115
+ "signature ./sdk:RegisteredExtensionCommandDefinition",
1116
+ "signature ./sdk/authoring:CommandDefinition"
1117
+ ],
1118
+ "package_version": "2026.8.23",
1119
+ "reason": "Add optional tier and family metadata to extension command definitions while preserving existing producer call shapes; expose additive explicit-registry projections and refusal-census contracts."
1120
+ },
1121
+ {
1122
+ "changes": [
1123
+ "signature ./sdk:WorkspaceExtensionCommandContract",
1124
+ "signature ./sdk/runtime:WorkspaceExtensionCommandContract"
1125
+ ],
1126
+ "package_version": "2026.8.23",
1127
+ "reason": "Require tier and family metadata on projected workspace extension command contracts so every consumer receives explicit visibility and capability routing."
1128
+ },
1129
+ {
1130
+ "changes": [
1131
+ "signature ./sdk:PmCommandCapabilityFamily"
1132
+ ],
1133
+ "package_version": "2026.8.23",
1134
+ "reason": "Capability-family literals are unchanged; the public alias now derives from the canonical extension metadata contract to prevent type drift."
1135
+ },
1136
+ {
1137
+ "changes": [
1138
+ "signature ./sdk:PmBulkMutationFilterOptions",
1139
+ "signature ./sdk/contracts:PmBulkMutationFilterOptions"
1140
+ ],
1141
+ "package_version": "2026.8.23",
1142
+ "reason": "Bulk mutation ids now also accept source-compatible readonly string arrays."
1143
+ },
1144
+ {
1145
+ "changes": [
1146
+ "signature ./sdk:PM_REFUSAL_CLOSURE_EXECUTABLE_CANONICAL_CODE_BASELINE",
1147
+ "signature ./sdk:PM_REFUSAL_CLOSURE_EXECUTABLE_CODE_BASELINE"
1148
+ ],
1149
+ "package_version": "2026.8.23",
1150
+ "reason": "Refusal closure ratchets now include three executable bulk ID input states."
1151
+ },
1152
+ {
1153
+ "changes": [
1154
+ "signature ./sdk:CliFlagInvocationContract",
1155
+ "signature ./sdk/contracts:CliFlagInvocationContract"
1156
+ ],
1157
+ "package_version": "2026.8.23",
1158
+ "reason": "Expose the optional file_token_prefix metadata field for @path CLI inputs; existing consumers remain source-compatible"
1159
+ },
1160
+ {
1161
+ "changes": [
1162
+ "signature ./sdk:normalizeBulkIdsValue",
1163
+ "signature ./sdk:PmBulkMutationFilterOptions",
1164
+ "signature ./sdk/contracts:PmBulkMutationFilterOptions"
1165
+ ],
1166
+ "package_version": "2026.8.23",
1167
+ "reason": "Restore source-compatible numeric scalar IDs while retaining transport-native ID arrays"
1168
+ },
1169
+ {
1170
+ "changes": [
1171
+ "signature ./sdk:normalizeBulkIdsValue",
1172
+ "signature ./sdk:PmBulkMutationFilterOptions",
1173
+ "signature ./sdk/contracts:PmBulkMutationFilterOptions"
1174
+ ],
1175
+ "package_version": "2026.8.23",
1176
+ "reason": "Expand bulk ID contracts to finite numeric array members and fail closed on unsupported explicit selectors"
1177
+ },
1178
+ {
1179
+ "changes": [
1180
+ "signature ./sdk:HistoryCompactBulkCommandOptions"
1181
+ ],
1182
+ "package_version": "2026.8.23",
1183
+ "reason": "Align history-compaction SDK ID inputs with bulk transport contracts and fail closed on invalid explicit selectors"
1184
+ },
1185
+ {
1186
+ "changes": [
1187
+ "signature ./sdk:ContractsResult",
1188
+ "signature ./sdk:PmReadOutputSurfaceContract",
1189
+ "signature ./sdk/contracts:PmReadOutputSurfaceContract",
1190
+ "signature ./sdk/core:PmReadOutputSurfaceContract",
1191
+ "signature ./sdk/runtime:ContractsResult",
1192
+ "signature ./sdk/runtime:PmReadOutputSurfaceContract"
1193
+ ],
1194
+ "package_version": "2026.8.24",
1195
+ "reason": "Additive optional runtime metadata and public helpers; no accepted input, export, or behavior was removed"
1196
+ },
1197
+ {
1198
+ "changes": [
1199
+ "signature ./sdk:PmReadOutputContinuationFingerprintPolicy",
1200
+ "signature ./sdk/contracts:PmReadOutputContinuationFingerprintPolicy"
1201
+ ],
1202
+ "package_version": "2026.8.24",
1203
+ "reason": "Pre-release continuation policy correction binds nonvolatile checks and dynamic telemetry row identity; no accepted input, export, or runtime command was removed"
1204
+ },
1205
+ {
1206
+ "changes": [
1207
+ "signature ./sdk:PmReadOutputContinuationFingerprintPolicy",
1208
+ "signature ./sdk/contracts:PmReadOutputContinuationFingerprintPolicy"
1209
+ ],
1210
+ "package_version": "2026.8.24",
1211
+ "reason": "Replace unreleased broad telemetry-detail exclusion with fail-closed field-scoped continuation policy v3 after security review"
1212
+ },
1213
+ {
1214
+ "changes": [
1215
+ "signature ./sdk:MergeDecisionReceipt",
1216
+ "signature ./sdk/merge:MergeDecisionReceipt"
1217
+ ],
1218
+ "package_version": "2026.8.24",
1219
+ "reason": "Add optional merged-field hash proofs to the unreleased receipt-attribution contract so health fails closed on stale or forged evidence."
1220
+ },
1221
+ {
1222
+ "changes": [
1223
+ "signature ./sdk:HistoryRepairCommandOptions",
1224
+ "signature ./sdk:HistoryRepairResult",
1225
+ "signature ./sdk:MergeDecisionReceipt",
1226
+ "signature ./sdk/merge:MergeDecisionReceipt"
1227
+ ],
1228
+ "package_version": "2026.8.24",
1229
+ "reason": "Add fail-closed clone-local receipt proof metadata and apply-boundary validation to the unreleased merge-reconciliation contract."
1230
+ },
1231
+ {
1232
+ "changes": [
1233
+ "signature ./sdk:HistoryRepairAllStreamResult"
1234
+ ],
1235
+ "package_version": "2026.8.24",
1236
+ "reason": "Expose receipt-scoped merge reconciliation proof in history repair stream contracts"
1237
+ },
1238
+ {
1239
+ "changes": [
1240
+ "signature ./sdk:HistoryRepairCommandOptions"
1241
+ ],
1242
+ "package_version": "2026.8.24",
1243
+ "reason": "Expose bounded per-item receipt proof indexing and receipt-scoped reconciliation results"
1244
+ },
1245
+ {
1246
+ "changes": [
1247
+ "signature ./sdk:MergeReceiptProofResult"
1248
+ ],
1249
+ "package_version": "2026.8.24",
1250
+ "reason": "Expose exact receipt-id sets for bounded multi-receipt reconciliation proof"
1251
+ },
1252
+ {
1253
+ "changes": [
1254
+ "signature ./sdk:markMergeReceiptReconciled",
1255
+ "signature ./sdk/merge:markMergeReceiptReconciled"
1256
+ ],
1257
+ "package_version": "2026.8.24",
1258
+ "reason": "Add strict requireExisting settlement mode while preserving default idempotency"
1111
1259
  }
1112
1260
  ],
1113
1261
  "entrypoints": {
@@ -2788,6 +2936,12 @@
2788
2936
  "name": "buildPmActionToolInputSchema",
2789
2937
  "signature": "(action: PmToolAction, options?: PmActionToolInputSchemaOptions) => Record<string, unknown> | calls: (action: PmToolAction, options?: PmActionToolInputSchemaOptions) => Record<string, unknown>"
2790
2938
  },
2939
+ {
2940
+ "classification": "advanced_export",
2941
+ "kind": "function",
2942
+ "name": "buildPmRefusalClosureCensus",
2943
+ "signature": "(catalog: readonly PmErrorCodeContract[], closedDomains: readonly PmClosedDomainContract[], grammar: readonly PmGrammarRefusalContract[]) => PmRefusalClosureCensusReport | calls: (catalog: readonly PmErrorCodeContract[], closedDomains: readonly PmClosedDomainContract[], grammar: readonly PmGrammarRefusalContract[]) => PmRefusalClosureCensusReport"
2944
+ },
2791
2945
  {
2792
2946
  "classification": "supported",
2793
2947
  "kind": "function",
@@ -2878,6 +3032,30 @@
2878
3032
  "name": "BuiltinCorpusShapeName",
2879
3033
  "signature": "export type BuiltinCorpusShapeName = \"scratch\" | \"representative\" | \"deep-graph\" | \"multi-decade\" | \"disconnected-archive\";"
2880
3034
  },
3035
+ {
3036
+ "classification": "advanced_export",
3037
+ "kind": "type",
3038
+ "name": "BulkIdsFileReader",
3039
+ "signature": "export type BulkIdsFileReader = (path: string) => Promise<string>;"
3040
+ },
3041
+ {
3042
+ "classification": "advanced_export",
3043
+ "kind": "interface",
3044
+ "name": "BulkIdsInputReaders",
3045
+ "signature": "export interface BulkIdsInputReaders { readFile?: BulkIdsFileReader; readStdin?: BulkIdsStdinReader; }"
3046
+ },
3047
+ {
3048
+ "classification": "advanced_export",
3049
+ "kind": "type",
3050
+ "name": "BulkIdsStdinReader",
3051
+ "signature": "export type BulkIdsStdinReader = (optionName: string) => Promise<string>;"
3052
+ },
3053
+ {
3054
+ "classification": "advanced_export",
3055
+ "kind": "type",
3056
+ "name": "BulkIdsValue",
3057
+ "signature": "export type BulkIdsValue = string | number | readonly (string | number)[] | undefined;"
3058
+ },
2881
3059
  {
2882
3060
  "classification": "advanced_export",
2883
3061
  "kind": "interface",
@@ -3128,7 +3306,7 @@
3128
3306
  "classification": "contract_data",
3129
3307
  "kind": "interface",
3130
3308
  "name": "CliFlagInvocationContract",
3131
- "signature": "export interface CliFlagInvocationContract extends CliFlagContract { description: string; takes_value: boolean; value_required: boolean; value_type: \"string\" | \"number\" | \"boolean\"; required: boolean; repeatable: boolean; input_sources: CliFlagInputSource[]; stdin_token?: \"-\"; }"
3309
+ "signature": "export interface CliFlagInvocationContract extends CliFlagContract { description: string; takes_value: boolean; value_required: boolean; value_type: \"string\" | \"number\" | \"boolean\"; required: boolean; repeatable: boolean; input_sources: CliFlagInputSource[]; stdin_token?: \"-\"; file_token_prefix?: \"@\"; }"
3132
3310
  },
3133
3311
  {
3134
3312
  "classification": "contract_data",
@@ -3356,7 +3534,7 @@
3356
3534
  "classification": "supported",
3357
3535
  "kind": "interface",
3358
3536
  "name": "CommandDefinition",
3359
- "signature": "export interface CommandDefinition { name: string; run?: CommandHandler; handler?: CommandHandler; action?: string; description?: string; intent?: string; examples?: string[]; failure_hints?: string[]; arguments?: ExtensionCommandArgumentDefinition[]; flags?: FlagDefinition[]; tier?: \"core\" | \"standard\" | \"full\" | \"internal\"; }"
3537
+ "signature": "export interface CommandDefinition { name: string; run?: CommandHandler; handler?: CommandHandler; action?: string; description?: string; intent?: string; examples?: string[]; failure_hints?: string[]; arguments?: ExtensionCommandArgumentDefinition[]; flags?: FlagDefinition[]; tier?: \"core\" | \"standard\" | \"full\" | \"internal\"; family?: ExtensionCommandCapabilityFamily; }"
3360
3538
  },
3361
3539
  {
3362
3540
  "classification": "contract_data",
@@ -4028,7 +4206,7 @@
4028
4206
  "classification": "advanced_export",
4029
4207
  "kind": "interface",
4030
4208
  "name": "ContractsResult",
4031
- "signature": "export interface ContractsResult { schema_version: string | null; schema_id: string | null; selected: { action: string | null; command: string | null; summary: boolean; schema_only: boolean; flags_only: boolean; availability_only: boolean; runtime_only: boolean; command_scoped: boolean; }; actions?: string[]; action_availability?: ContractsActionAvailability[]; commands: string[]; schema?: Record<string, unknown>; schema_omitted_reason?: string; command_flags_omitted_reason?: string; commander_aliases_omitted_reason?: string; command_flags?: CommandFlagSurface[]; list_projections?: ListCommandProjectionSurface[]; command_aliases?: CommandAliasSurface[]; grammar_contracts?: { nouns: readonly string[]; shared_verbs: readonly string[]; scope_before_verb: boolean; visible_top_level_ceiling: number; ceiling_raise_requires_pm_item: boolean; positional_shape_budget: number; positional_shape_count: number; positional_action_count: number; positional_action_parents: readonly string[]; positional_signatures?: readonly PmCommandPositionalContract[]; destinations?: readonly PmCommandDestinationContract[]; }; commander_aliases?: Record<string, CommanderOptionAliasContract[]>; extension_commands?: ExtensionCommandContract[]; command_summaries?: CommandSummarySurface[]; output_policy?: { token_estimate: \"ceil(utf8_bytes / 4)\"; degradation_ladder: string[]; allows_unbounded_opt_out: boolean; }; runtime_schema?: { statuses: string[]; open_status: string; close_status: string; canceled_status: string; types: string[]; fields_by_command: Record<string, string[]>; }; relationship_kind_contracts?: Array<{ canonical: string; aliases: string[]; inverse?: string; ordering: boolean; hierarchy: boolean; }>; extension_contracts?: { capabilities: string[]; services: string[]; policy_modes: string[]; policy_mode_scope: \"extensions.policy.mode\"; policy_surfaces: string[]; trust_modes: string[]; trust_mode_scope: \"extensions.policy.trust_mode\"; sandbox_profiles: string[]; manifest_versions: number[]; compatibility: { current: string; previous: string[]; breaking_strategy: string; }; }; governance_contracts?: { ownership_enforcement_modes: string[]; create_modes: string[]; close_validation_modes: string[]; workflow_enforcement_modes: string[]; }; assurance_contracts?: { measurement_source_kinds: readonly string[]; gate_triggers: readonly string[]; }; mcp_tools?: McpToolContract[]; context_intents?: readonly PmContextIntentContract[]; read_output_dimensions?: readonly PmReadOutputSurfaceContract[]; error_codes?: readonly PmErrorCodeContract[]; command_output_contracts?: Array<{ budget: PmCommandOutputBudgetContract; envelope: PmCommandOutputEnvelopeContract; }>; diagnostic_output_contracts?: readonly PmDiagnosticOutputBudgetContract[]; command_exit_contracts?: { vocabulary: readonly PmCommandExitOutcomeContract[]; command_sets: Array<{ commands: string[]; exit_codes: PmCommandExitContract[\"exit_codes\"]; }>; }; }"
4209
+ "signature": "export interface ContractsResult { schema_version: string | null; schema_id: string | null; selected: { action: string | null; command: string | null; summary: boolean; schema_only: boolean; flags_only: boolean; availability_only: boolean; runtime_only: boolean; command_scoped: boolean; }; actions?: string[]; action_availability?: ContractsActionAvailability[]; commands: string[]; schema?: Record<string, unknown>; schema_omitted_reason?: string; command_flags_omitted_reason?: string; commander_aliases_omitted_reason?: string; command_flags?: CommandFlagSurface[]; list_projections?: ListCommandProjectionSurface[]; command_aliases?: CommandAliasSurface[]; grammar_contracts?: { nouns: readonly string[]; shared_verbs: readonly string[]; scope_before_verb: boolean; visible_top_level_ceiling: number; ceiling_raise_requires_pm_item: boolean; positional_shape_budget: number; positional_shape_count: number; positional_action_count: number; positional_action_parents: readonly string[]; positional_signatures?: readonly PmCommandPositionalContract[]; destinations?: readonly PmCommandDestinationContract[]; }; commander_aliases?: Record<string, CommanderOptionAliasContract[]>; extension_commands?: ExtensionCommandContract[]; command_summaries?: CommandSummarySurface[]; output_policy?: { token_estimate: \"ceil(utf8_bytes / 4)\"; degradation_ladder: string[]; allows_unbounded_opt_out: boolean; }; output_projection_contracts?: { global_ladder_field: \"output_policy.degradation_ladder\"; global_ladder_scope: \"union_not_per_command\"; discovery: \"pm contracts --command <command> --summary\"; commands?: Array<{ command: string; modes: string[]; }>; }; runtime_schema?: { statuses: string[]; open_status: string; close_status: string; canceled_status: string; types: string[]; fields_by_command: Record<string, string[]>; }; relationship_kind_contracts?: Array<{ canonical: string; aliases: string[]; inverse?: string; ordering: boolean; hierarchy: boolean; }>; extension_contracts?: { capabilities: string[]; services: string[]; policy_modes: string[]; policy_mode_scope: \"extensions.policy.mode\"; policy_surfaces: string[]; trust_modes: string[]; trust_mode_scope: \"extensions.policy.trust_mode\"; sandbox_profiles: string[]; manifest_versions: number[]; compatibility: { current: string; previous: string[]; breaking_strategy: string; }; }; governance_contracts?: { ownership_enforcement_modes: string[]; create_modes: string[]; close_validation_modes: string[]; workflow_enforcement_modes: string[]; }; assurance_contracts?: { measurement_source_kinds: readonly string[]; gate_triggers: readonly string[]; }; mcp_tools?: McpToolContract[]; context_intents?: readonly PmContextIntentContract[]; read_output_dimensions?: readonly PmReadOutputSurfaceContract[]; error_codes?: readonly PmErrorCodeContract[]; command_output_contracts?: Array<{ budget: PmCommandOutputBudgetContract; envelope: PmCommandOutputEnvelopeContract; }>; diagnostic_output_contracts?: readonly PmDiagnosticOutputBudgetContract[]; command_exit_contracts?: { vocabulary: readonly PmCommandExitOutcomeContract[]; command_sets: Array<{ commands: string[]; exit_codes: PmCommandExitContract[\"exit_codes\"]; }>; }; }"
4032
4210
  },
4033
4211
  {
4034
4212
  "classification": "supported",
@@ -7124,7 +7302,7 @@
7124
7302
  "classification": "advanced_export",
7125
7303
  "kind": "interface",
7126
7304
  "name": "HistoryCompactBulkCommandOptions",
7127
- "signature": "export interface HistoryCompactBulkCommandOptions { ids?: string[]; scope?: HistoryCompactScope; allOver?: number; minEntries?: number; dryRun?: boolean; author?: string; message?: string; force?: boolean; }"
7305
+ "signature": "export interface HistoryCompactBulkCommandOptions { ids?: BulkIdsValue; scope?: HistoryCompactScope; allOver?: number; minEntries?: number; dryRun?: boolean; author?: string; message?: string; force?: boolean; }"
7128
7306
  },
7129
7307
  {
7130
7308
  "classification": "advanced_export",
@@ -7244,13 +7422,13 @@
7244
7422
  "classification": "advanced_export",
7245
7423
  "kind": "interface",
7246
7424
  "name": "HistoryRepairAllStreamResult",
7247
- "signature": "export interface HistoryRepairAllStreamResult { id: string; outcome: \"repaired\" | \"skipped_clean\" | \"failed\"; entries_rehashed?: number; entries_patch_repaired?: number; reconciled_with_item?: boolean; reconciliation?: HistoryRepairReconciliationReport; warnings?: string[]; error?: string; }"
7425
+ "signature": "export interface HistoryRepairAllStreamResult { id: string; outcome: \"repaired\" | \"skipped_clean\" | \"failed\"; entries_rehashed?: number; entries_patch_repaired?: number; reconciled_with_item?: boolean; reconciliation?: HistoryRepairReconciliationReport; merge_receipt_proof?: MergeReceiptProofResult; warnings?: string[]; error?: string; }"
7248
7426
  },
7249
7427
  {
7250
7428
  "classification": "advanced_export",
7251
7429
  "kind": "interface",
7252
7430
  "name": "HistoryRepairCommandOptions",
7253
- "signature": "export interface HistoryRepairCommandOptions { dryRun?: boolean; author?: string; message?: string; force?: boolean; auditOperation?: string; auditContext?: Record<string, unknown>; auditContextById?: Record<string, Record<string, unknown>>; forceAuditEntry?: boolean; normalizeProvenance?: boolean; }"
7431
+ "signature": "export interface HistoryRepairCommandOptions { dryRun?: boolean; author?: string; message?: string; force?: boolean; auditOperation?: string; auditContext?: Record<string, unknown>; auditContextById?: Record<string, Record<string, unknown>>; forceAuditEntry?: boolean; normalizeProvenance?: boolean; mergeReceiptProof?: { gitWorkspaceRoot: string | null; receipts: MergeDecisionReceipt[]; }; mergeReceiptProofById?: Record<string, { gitWorkspaceRoot: string | null; receipts: MergeDecisionReceipt[]; }>; }"
7254
7432
  },
7255
7433
  {
7256
7434
  "classification": "advanced_export",
@@ -7268,7 +7446,7 @@
7268
7446
  "classification": "advanced_export",
7269
7447
  "kind": "interface",
7270
7448
  "name": "HistoryRepairResult",
7271
- "signature": "export interface HistoryRepairResult { id: string; dry_run: boolean; changed: boolean; history: { path: string; entries_scanned: number; chain_drift_before: boolean; entries_rehashed: number; entries_patch_repaired: number; converted_replace_to_add: number; skipped_ops: number; reconciled_with_item: boolean; audit_entry_added: boolean; verify_ok: boolean; verify_errors: string[]; item_hash_version_before: number | null; item_hash_version_after: number; version_disposition: \"preserved\" | \"selected_for_ambiguous_stream\"; }; item: { exists: boolean; path: string | null; matched_chain_before: boolean | null; }; provenance_normalization: ProvenanceNormalizationReceipt & { requested: boolean; }; reconciliation?: HistoryRepairReconciliationReport; warnings: string[]; generated_at: string; }"
7449
+ "signature": "export interface HistoryRepairResult { id: string; dry_run: boolean; changed: boolean; history: { path: string; entries_scanned: number; chain_drift_before: boolean; entries_rehashed: number; entries_patch_repaired: number; converted_replace_to_add: number; skipped_ops: number; reconciled_with_item: boolean; audit_entry_added: boolean; verify_ok: boolean; verify_errors: string[]; item_hash_version_before: number | null; item_hash_version_after: number; version_disposition: \"preserved\" | \"selected_for_ambiguous_stream\"; }; item: { exists: boolean; path: string | null; matched_chain_before: boolean | null; }; provenance_normalization: ProvenanceNormalizationReceipt & { requested: boolean; }; reconciliation?: HistoryRepairReconciliationReport; merge_receipt_proof?: MergeReceiptProofResult; warnings: string[]; generated_at: string; }"
7272
7450
  },
7273
7451
  {
7274
7452
  "classification": "supported",
@@ -8432,7 +8610,7 @@
8432
8610
  "classification": "supported",
8433
8611
  "kind": "function",
8434
8612
  "name": "markMergeReceiptReconciled",
8435
- "signature": "(cwd: string, receipt: MergeDecisionReceipt) => Promise<void> | calls: (cwd: string, receipt: MergeDecisionReceipt) => Promise<void>"
8613
+ "signature": "(cwd: string, receipt: MergeDecisionReceipt, options?: { requireExisting?: boolean; }) => Promise<void> | calls: (cwd: string, receipt: MergeDecisionReceipt, options?: { requireExisting?: boolean; }) => Promise<void>"
8436
8614
  },
8437
8615
  {
8438
8616
  "classification": "advanced_export",
@@ -8504,7 +8682,7 @@
8504
8682
  "classification": "supported",
8505
8683
  "kind": "interface",
8506
8684
  "name": "MergeDecisionReceipt",
8507
- "signature": "export interface MergeDecisionReceipt { version: 1; id: string; item_path: string; item_id: string; requested_preference?: MergePreferredSide; preferred?: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; fields_from_theirs: string[]; union_fields: string[]; decisions: ItemMergeConflictDecision[]; state: \"pending\" | \"reconciled\"; created_at: string; reconciled_at?: string; value_availability?: \"clone_local\" | \"hash_only\"; }"
8685
+ "signature": "export interface MergeDecisionReceipt { version: 1; id: string; item_path: string; item_id: string; requested_preference?: MergePreferredSide; preferred?: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; fields_from_theirs: string[]; union_fields: string[]; merged_field_hashes?: Record<string, string>; decisions: ItemMergeConflictDecision[]; state: \"pending\" | \"reconciled\"; created_at: string; reconciled_at?: string; value_availability?: \"clone_local\" | \"hash_only\"; evidence_source?: \"clone_local\" | \"durable\"; }"
8508
8686
  },
8509
8687
  {
8510
8688
  "classification": "supported",
@@ -8602,6 +8780,12 @@
8602
8780
  "name": "MergePreferredSide",
8603
8781
  "signature": "export type MergePreferredSide = \"ours\" | \"theirs\";"
8604
8782
  },
8783
+ {
8784
+ "classification": "advanced_export",
8785
+ "kind": "interface",
8786
+ "name": "MergeReceiptProofResult",
8787
+ "signature": "export interface MergeReceiptProofResult { trusted: boolean; reason: \"trusted_clone_local_driver_evidence\" | \"git_workspace_unavailable\" | \"item_path_unavailable\" | \"no_item_receipts\" | \"no_receipt_set_proves_snapshot\"; receipt_ids: string[]; }"
8788
+ },
8605
8789
  {
8606
8790
  "classification": "supported",
8607
8791
  "kind": "interface",
@@ -8818,6 +9002,12 @@
8818
9002
  "name": "normalizeBootstrapInvocation",
8819
9003
  "signature": "(argv: string[]) => BootstrapInvocationNormalizationResult | calls: (argv: string[]) => BootstrapInvocationNormalizationResult"
8820
9004
  },
9005
+ {
9006
+ "classification": "advanced_export",
9007
+ "kind": "function",
9008
+ "name": "normalizeBulkIdsValue",
9009
+ "signature": "(value: BulkIdsValue) => string | undefined | calls: (value: BulkIdsValue) => string | undefined"
9010
+ },
8821
9011
  {
8822
9012
  "classification": "supported",
8823
9013
  "kind": "interface",
@@ -9274,6 +9464,12 @@
9274
9464
  "name": "parseBootstrapTypeValue",
9275
9465
  "signature": "(argv: string[]) => string | undefined | calls: (argv: string[]) => string | undefined"
9276
9466
  },
9467
+ {
9468
+ "classification": "advanced_export",
9469
+ "kind": "function",
9470
+ "name": "parseBulkIdsText",
9471
+ "signature": "(raw: string) => string[] | calls: (raw: string) => string[]"
9472
+ },
9277
9473
  {
9278
9474
  "classification": "supported",
9279
9475
  "kind": "function",
@@ -10084,6 +10280,12 @@
10084
10280
  "name": "PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
10085
10281
  "signature": "readonly [\"--output-session\", \"--output-cursor\", \"--output-row-contract\"]"
10086
10282
  },
10283
+ {
10284
+ "classification": "contract_data",
10285
+ "kind": "value",
10286
+ "name": "PM_READ_OUTPUT_CONTINUATION_FINGERPRINT_POLICIES",
10287
+ "signature": "Readonly<Partial<Record<\"activity\" | \"aggregate\" | \"assurance\" | \"comments-audit\" | \"comments\" | \"context\" | \"contracts\" | \"deps\" | \"docs\" | \"duplicates\" | \"events\" | \"files\" | \"get\" | \"graph\" | \"health\" | \"history\" | \"list\" | \"next\" | \"notes\" | \"package-catalog\" | \"package-manage\" | \"search\" | \"stats\" | \"validate\", PmReadOutputContinuationFingerprintPolicy>>>"
10288
+ },
10087
10289
  {
10088
10290
  "classification": "supported",
10089
10291
  "kind": "value",
@@ -10144,6 +10346,18 @@
10144
10346
  "name": "PM_RECOVERY_REFERENCE_KINDS",
10145
10347
  "signature": "readonly [\"suggested_retry\", \"candidate_command\", \"example\", \"next_step\", \"migration_hint\", \"restore_with\"]"
10146
10348
  },
10349
+ {
10350
+ "classification": "advanced_export",
10351
+ "kind": "value",
10352
+ "name": "PM_REFUSAL_CLOSURE_EXECUTABLE_CANONICAL_CODE_BASELINE",
10353
+ "signature": "readonly [\"bulk_ids_input_empty\", \"bulk_ids_input_missing_path\", \"bulk_ids_input_unreadable\", \"invalid_argument_value\", \"missing_lifecycle_target\", \"missing_required_argument\", \"projection_options_mutually_exclusive\", \"tracker_not_initialized\", \"tracker_root_missing\", \"tracker_root_not_directory\", \"tracker_root_unreadable\", \"unknown_context_intent\", \"unknown_field_projection\", \"unknown_option\", \"unknown_subcommand\"]"
10354
+ },
10355
+ {
10356
+ "classification": "advanced_export",
10357
+ "kind": "value",
10358
+ "name": "PM_REFUSAL_CLOSURE_EXECUTABLE_CODE_BASELINE",
10359
+ "signature": "16"
10360
+ },
10147
10361
  {
10148
10362
  "classification": "advanced_export",
10149
10363
  "kind": "value",
@@ -10244,7 +10458,7 @@
10244
10458
  "classification": "contract_data",
10245
10459
  "kind": "type",
10246
10460
  "name": "PmBulkMutationFilterOptions",
10247
- "signature": "export type PmBulkMutationFilterOptions = OptionsFromContracts<typeof TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE>;"
10461
+ "signature": "export type PmBulkMutationFilterOptions = Omit<OptionsFromContracts<typeof TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE>, \"ids\"> & { ids?: string | number | readonly (string | number)[]; };"
10248
10462
  },
10249
10463
  {
10250
10464
  "classification": "supported",
@@ -10370,7 +10584,7 @@
10370
10584
  "classification": "advanced_export",
10371
10585
  "kind": "type",
10372
10586
  "name": "PmCommandCapabilityFamily",
10373
- "signature": "export type PmCommandCapabilityFamily = \"workspace\" | \"intake\" | \"context\" | \"lifecycle\" | \"evidence\" | \"graph\" | \"quality\" | \"automation\" | \"extensions\" | \"internal\";"
10587
+ "signature": "export type PmCommandCapabilityFamily = ExtensionCommandCapabilityFamily;"
10374
10588
  },
10375
10589
  {
10376
10590
  "classification": "contract_data",
@@ -10894,6 +11108,12 @@
10894
11108
  "name": "PmReadOutputContinuation",
10895
11109
  "signature": "export interface PmReadOutputContinuation { path: string; cursor: string; retained_rows: number; remaining_rows: number; total_rows: number; }"
10896
11110
  },
11111
+ {
11112
+ "classification": "contract_data",
11113
+ "kind": "interface",
11114
+ "name": "PmReadOutputContinuationFingerprintPolicy",
11115
+ "signature": "export interface PmReadOutputContinuationFingerprintPolicy { version: 3; paths: readonly string[]; ignored_detail_field_names_by_row: Readonly<Record<string, readonly string[]>>; guarantee: \"nonvolatile_snapshot_and_stable_configuration\"; }"
11116
+ },
10897
11117
  {
10898
11118
  "classification": "supported",
10899
11119
  "kind": "interface",
@@ -10994,7 +11214,7 @@
10994
11214
  "classification": "supported",
10995
11215
  "kind": "interface",
10996
11216
  "name": "PmReadOutputSurfaceContract",
10997
- "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; }"
11217
+ "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; projection_modes?: readonly string[]; }"
10998
11218
  },
10999
11219
  {
11000
11220
  "classification": "contract_data",
@@ -11080,6 +11300,18 @@
11080
11300
  "name": "PmRecoveryReferenceSemantics",
11081
11301
  "signature": "export type PmRecoveryReferenceSemantics = \"recovery\" | \"replacement\" | \"behavior_preserving\";"
11082
11302
  },
11303
+ {
11304
+ "classification": "advanced_export",
11305
+ "kind": "interface",
11306
+ "name": "PmRefusalClosureCensusReport",
11307
+ "signature": "export interface PmRefusalClosureCensusReport { ok: boolean; catalog_error_code_count: number; executable_error_code_count: number; uncovered_error_code_count: number; coverage_fraction: number; closed_domain_probe_count: number; grammar_probe_count: number; uncovered_error_codes: string[]; rows: PmRefusalClosureCensusRow[]; }"
11308
+ },
11309
+ {
11310
+ "classification": "advanced_export",
11311
+ "kind": "interface",
11312
+ "name": "PmRefusalClosureCensusRow",
11313
+ "signature": "export interface PmRefusalClosureCensusRow { code: string; canonical_code: string; disposition: \"executable\" | \"uncovered\"; evidence_kinds: PmRefusalEvidenceKind[]; probe_ids: string[]; }"
11314
+ },
11083
11315
  {
11084
11316
  "classification": "contract_data",
11085
11317
  "kind": "interface",
@@ -11098,6 +11330,12 @@
11098
11330
  "name": "PmRefusalClosureReport",
11099
11331
  "signature": "export interface PmRefusalClosureReport { ok: boolean; probe_count: number; closed_probe_count: number; closure_fraction: number; findings: readonly PmRefusalClosureFinding[]; }"
11100
11332
  },
11333
+ {
11334
+ "classification": "advanced_export",
11335
+ "kind": "type",
11336
+ "name": "PmRefusalEvidenceKind",
11337
+ "signature": "export type PmRefusalEvidenceKind = \"owned_state\" | \"closed_domain\" | \"grammar\";"
11338
+ },
11101
11339
  {
11102
11340
  "classification": "advanced_export",
11103
11341
  "kind": "interface",
@@ -11278,6 +11516,18 @@
11278
11516
  "name": "prepareSimilarityText",
11279
11517
  "signature": "(value: string) => PreparedSimilarityText | calls: (value: string) => PreparedSimilarityText"
11280
11518
  },
11519
+ {
11520
+ "classification": "advanced_export",
11521
+ "kind": "function",
11522
+ "name": "preserveMutationStdinTokenFields",
11523
+ "signature": "<T extends object>(options: T, fields: readonly PropertyKey[]) => T | calls: <T extends object>(options: T, fields: readonly PropertyKey[]) => T"
11524
+ },
11525
+ {
11526
+ "classification": "advanced_export",
11527
+ "kind": "function",
11528
+ "name": "preserveMutationStdinTokenLiterals",
11529
+ "signature": "<T extends object>(options: T) => T | calls: <T extends object>(options: T) => T"
11530
+ },
11281
11531
  {
11282
11532
  "classification": "supported",
11283
11533
  "kind": "interface",
@@ -11878,6 +12128,12 @@
11878
12128
  "name": "readOutputBudgetCollections",
11879
12129
  "signature": "(result: Record<string, unknown>) => PmReadOutputRowCollection[] | calls: (result: Record<string, unknown>) => PmReadOutputRowCollection[]"
11880
12130
  },
12131
+ {
12132
+ "classification": "contract_data",
12133
+ "kind": "function",
12134
+ "name": "readOutputCollectionFingerprint",
12135
+ "signature": "(path: string, value: unknown[] | Record<string, unknown>, command?: PmReadOutputSurface) => string | calls: (path: string, value: unknown[] | Record<string, unknown>, command?: PmReadOutputSurface) => string"
12136
+ },
11881
12137
  {
11882
12138
  "classification": "advanced_export",
11883
12139
  "kind": "function",
@@ -12146,7 +12402,7 @@
12146
12402
  "classification": "advanced_export",
12147
12403
  "kind": "interface",
12148
12404
  "name": "RegisteredExtensionCommandDefinition",
12149
- "signature": "export interface RegisteredExtensionCommandDefinition { layer: ExtensionLayer; name: string; source_package?: string; command: string; action: string; description?: string; intent?: string; examples: string[]; failure_hints: string[]; arguments: ExtensionCommandArgumentDefinition[]; tier?: \"core\" | \"standard\" | \"full\" | \"internal\"; }"
12405
+ "signature": "export interface RegisteredExtensionCommandDefinition { layer: ExtensionLayer; name: string; source_package?: string; command: string; action: string; description?: string; intent?: string; examples: string[]; failure_hints: string[]; arguments: ExtensionCommandArgumentDefinition[]; tier?: \"core\" | \"standard\" | \"full\" | \"internal\"; family?: ExtensionCommandCapabilityFamily; }"
12150
12406
  },
12151
12407
  {
12152
12408
  "classification": "supported",
@@ -13006,6 +13262,12 @@
13006
13262
  "name": "renderPmFlagLexiconMarkdown",
13007
13263
  "signature": "() => string | calls: () => string"
13008
13264
  },
13265
+ {
13266
+ "classification": "advanced_export",
13267
+ "kind": "function",
13268
+ "name": "renderPmRefusalClosureCensusMarkdown",
13269
+ "signature": "(report: PmRefusalClosureCensusReport) => string | calls: (report: PmRefusalClosureCensusReport) => string"
13270
+ },
13009
13271
  {
13010
13272
  "classification": "advanced_export",
13011
13273
  "kind": "function",
@@ -13168,6 +13430,12 @@
13168
13430
  "name": "resolveClaimPrincipal",
13169
13431
  "signature": "(author: string) => string | calls: (author: string) => string"
13170
13432
  },
13433
+ {
13434
+ "classification": "advanced_export",
13435
+ "kind": "function",
13436
+ "name": "resolveCliBulkIdsInput",
13437
+ "signature": "(value: string | undefined, optionName?: string, readers?: BulkIdsInputReaders) => Promise<string | undefined> | calls: (value: string | undefined, optionName?: string, readers?: BulkIdsInputReaders) => Promise<string | undefined>"
13438
+ },
13171
13439
  {
13172
13440
  "classification": "advanced_export",
13173
13441
  "kind": "function",
@@ -15496,6 +15764,18 @@
15496
15764
  "name": "shouldPersistDurableGraphCache",
15497
15765
  "signature": "(itemCount: number, envelopeExists: boolean) => boolean | calls: (itemCount: number, envelopeExists: boolean) => boolean"
15498
15766
  },
15767
+ {
15768
+ "classification": "advanced_export",
15769
+ "kind": "function",
15770
+ "name": "shouldResolveMutationStdinTokenField",
15771
+ "signature": "(options: object, field: PropertyKey) => boolean | calls: (options: object, field: PropertyKey) => boolean"
15772
+ },
15773
+ {
15774
+ "classification": "advanced_export",
15775
+ "kind": "function",
15776
+ "name": "shouldResolveMutationStdinTokens",
15777
+ "signature": "(options: object) => boolean | calls: (options: object) => boolean"
15778
+ },
15499
15779
  {
15500
15780
  "classification": "advanced_export",
15501
15781
  "kind": "function",
@@ -16402,6 +16682,12 @@
16402
16682
  "name": "toReplayDocument",
16403
16683
  "signature": "(document: ItemDocument) => ReplayDocument | calls: (document: ItemDocument) => ReplayDocument"
16404
16684
  },
16685
+ {
16686
+ "classification": "advanced_export",
16687
+ "kind": "function",
16688
+ "name": "transferMutationStdinTokenPolicy",
16689
+ "signature": "<T extends object>(source: object, target: T) => T | calls: <T extends object>(source: object, target: T) => T"
16690
+ },
16405
16691
  {
16406
16692
  "classification": "advanced_export",
16407
16693
  "kind": "function",
@@ -16816,6 +17102,18 @@
16816
17102
  "name": "verifyPmRecoveryReferences",
16817
17103
  "signature": "(obligations: readonly PmRecoveryReferenceObligation[], observations: readonly PmRecoveryReferenceObservation[]) => PmRecoveryReferenceReport | calls: (obligations: readonly PmRecoveryReferenceObligation[], observations: readonly PmRecoveryReferenceObservation[]) => PmRecoveryReferenceReport"
16818
17104
  },
17105
+ {
17106
+ "classification": "advanced_export",
17107
+ "kind": "function",
17108
+ "name": "verifyPmRefusalClosureIdentityRatchet",
17109
+ "signature": "(report: PmRefusalClosureCensusReport, requiredCanonicalCodes?: readonly string[]) => { ok: boolean; required_canonical_codes: string[]; missing_required_canonical_codes: string[]; } | calls: (report: PmRefusalClosureCensusReport, requiredCanonicalCodes?: readonly string[]) => { ok: boolean; required_canonical_codes: string[]; missing_required_canonical_codes: string[]; }"
17110
+ },
17111
+ {
17112
+ "classification": "advanced_export",
17113
+ "kind": "function",
17114
+ "name": "verifyPmRefusalClosureRatchet",
17115
+ "signature": "(report: PmRefusalClosureCensusReport, baseline?: number) => { ok: boolean; baseline: number; actual: number; } | calls: (report: PmRefusalClosureCensusReport, baseline?: number) => { ok: boolean; baseline: number; actual: number; }"
17116
+ },
16819
17117
  {
16820
17118
  "classification": "advanced_export",
16821
17119
  "kind": "function",
@@ -16892,7 +17190,7 @@
16892
17190
  "classification": "advanced_export",
16893
17191
  "kind": "interface",
16894
17192
  "name": "WorkspaceExtensionCommandContract",
16895
- "signature": "export interface WorkspaceExtensionCommandContract { command: string; action: string; arguments: Array<{ name: string; required: boolean; variadic: boolean; description?: string; }>; description?: string; tier: \"core\" | \"standard\" | \"full\" | \"internal\"; }"
17193
+ "signature": "export interface WorkspaceExtensionCommandContract { command: string; action: string; arguments: Array<{ name: string; required: boolean; variadic: boolean; description?: string; }>; description?: string; tier: \"core\" | \"standard\" | \"full\" | \"internal\"; family: PmCommandCapabilityFamily; }"
16896
17194
  },
16897
17195
  {
16898
17196
  "classification": "advanced_export",
@@ -17276,7 +17574,7 @@
17276
17574
  "classification": "supported",
17277
17575
  "kind": "interface",
17278
17576
  "name": "CommandDefinition",
17279
- "signature": "export interface CommandDefinition { name: string; run?: CommandHandler; handler?: CommandHandler; action?: string; description?: string; intent?: string; examples?: string[]; failure_hints?: string[]; arguments?: ExtensionCommandArgumentDefinition[]; flags?: FlagDefinition[]; tier?: \"core\" | \"standard\" | \"full\" | \"internal\"; }"
17577
+ "signature": "export interface CommandDefinition { name: string; run?: CommandHandler; handler?: CommandHandler; action?: string; description?: string; intent?: string; examples?: string[]; failure_hints?: string[]; arguments?: ExtensionCommandArgumentDefinition[]; flags?: FlagDefinition[]; tier?: \"core\" | \"standard\" | \"full\" | \"internal\"; family?: ExtensionCommandCapabilityFamily; }"
17280
17578
  },
17281
17579
  {
17282
17580
  "classification": "supported",
@@ -18710,7 +19008,7 @@
18710
19008
  "classification": "contract_data",
18711
19009
  "kind": "interface",
18712
19010
  "name": "CliFlagInvocationContract",
18713
- "signature": "export interface CliFlagInvocationContract extends CliFlagContract { description: string; takes_value: boolean; value_required: boolean; value_type: \"string\" | \"number\" | \"boolean\"; required: boolean; repeatable: boolean; input_sources: CliFlagInputSource[]; stdin_token?: \"-\"; }"
19011
+ "signature": "export interface CliFlagInvocationContract extends CliFlagContract { description: string; takes_value: boolean; value_required: boolean; value_type: \"string\" | \"number\" | \"boolean\"; required: boolean; repeatable: boolean; input_sources: CliFlagInputSource[]; stdin_token?: \"-\"; file_token_prefix?: \"@\"; }"
18714
19012
  },
18715
19013
  {
18716
19014
  "classification": "contract_data",
@@ -19588,6 +19886,12 @@
19588
19886
  "name": "PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
19589
19887
  "signature": "readonly [\"--output-session\", \"--output-cursor\", \"--output-row-contract\"]"
19590
19888
  },
19889
+ {
19890
+ "classification": "contract_data",
19891
+ "kind": "value",
19892
+ "name": "PM_READ_OUTPUT_CONTINUATION_FINGERPRINT_POLICIES",
19893
+ "signature": "Readonly<Partial<Record<\"activity\" | \"aggregate\" | \"assurance\" | \"comments-audit\" | \"comments\" | \"context\" | \"contracts\" | \"deps\" | \"docs\" | \"duplicates\" | \"events\" | \"files\" | \"get\" | \"graph\" | \"health\" | \"history\" | \"list\" | \"next\" | \"notes\" | \"package-catalog\" | \"package-manage\" | \"search\" | \"stats\" | \"validate\", PmReadOutputContinuationFingerprintPolicy>>>"
19894
+ },
19591
19895
  {
19592
19896
  "classification": "contract_data",
19593
19897
  "kind": "value",
@@ -19682,7 +19986,7 @@
19682
19986
  "classification": "contract_data",
19683
19987
  "kind": "type",
19684
19988
  "name": "PmBulkMutationFilterOptions",
19685
- "signature": "export type PmBulkMutationFilterOptions = OptionsFromContracts<typeof TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE>;"
19989
+ "signature": "export type PmBulkMutationFilterOptions = Omit<OptionsFromContracts<typeof TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE>, \"ids\"> & { ids?: string | number | readonly (string | number)[]; };"
19686
19990
  },
19687
19991
  {
19688
19992
  "classification": "contract_data",
@@ -20074,6 +20378,12 @@
20074
20378
  "name": "PmReadOutputContinuation",
20075
20379
  "signature": "export interface PmReadOutputContinuation { path: string; cursor: string; retained_rows: number; remaining_rows: number; total_rows: number; }"
20076
20380
  },
20381
+ {
20382
+ "classification": "contract_data",
20383
+ "kind": "interface",
20384
+ "name": "PmReadOutputContinuationFingerprintPolicy",
20385
+ "signature": "export interface PmReadOutputContinuationFingerprintPolicy { version: 3; paths: readonly string[]; ignored_detail_field_names_by_row: Readonly<Record<string, readonly string[]>>; guarantee: \"nonvolatile_snapshot_and_stable_configuration\"; }"
20386
+ },
20077
20387
  {
20078
20388
  "classification": "contract_data",
20079
20389
  "kind": "interface",
@@ -20162,7 +20472,7 @@
20162
20472
  "classification": "contract_data",
20163
20473
  "kind": "interface",
20164
20474
  "name": "PmReadOutputSurfaceContract",
20165
- "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; }"
20475
+ "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; projection_modes?: readonly string[]; }"
20166
20476
  },
20167
20477
  {
20168
20478
  "classification": "contract_data",
@@ -20314,6 +20624,12 @@
20314
20624
  "name": "readFirstValueFromCommanderOptions",
20315
20625
  "signature": "(options: Record<string, unknown>, contract: CommanderOptionAliasContract) => unknown | calls: (options: Record<string, unknown>, contract: CommanderOptionAliasContract) => unknown"
20316
20626
  },
20627
+ {
20628
+ "classification": "contract_data",
20629
+ "kind": "function",
20630
+ "name": "readOutputCollectionFingerprint",
20631
+ "signature": "(path: string, value: unknown[] | Record<string, unknown>, command?: PmReadOutputSurface) => string | calls: (path: string, value: unknown[] | Record<string, unknown>, command?: PmReadOutputSurface) => string"
20632
+ },
20317
20633
  {
20318
20634
  "classification": "contract_data",
20319
20635
  "kind": "function",
@@ -21746,7 +22062,7 @@
21746
22062
  "classification": "supported",
21747
22063
  "kind": "interface",
21748
22064
  "name": "PmReadOutputSurfaceContract",
21749
- "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; }"
22065
+ "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; projection_modes?: readonly string[]; }"
21750
22066
  },
21751
22067
  {
21752
22068
  "classification": "supported",
@@ -24932,7 +25248,7 @@
24932
25248
  "classification": "supported",
24933
25249
  "kind": "function",
24934
25250
  "name": "markMergeReceiptReconciled",
24935
- "signature": "(cwd: string, receipt: MergeDecisionReceipt) => Promise<void> | calls: (cwd: string, receipt: MergeDecisionReceipt) => Promise<void>"
25251
+ "signature": "(cwd: string, receipt: MergeDecisionReceipt, options?: { requireExisting?: boolean; }) => Promise<void> | calls: (cwd: string, receipt: MergeDecisionReceipt, options?: { requireExisting?: boolean; }) => Promise<void>"
24936
25252
  },
24937
25253
  {
24938
25254
  "classification": "supported",
@@ -24944,7 +25260,7 @@
24944
25260
  "classification": "supported",
24945
25261
  "kind": "interface",
24946
25262
  "name": "MergeDecisionReceipt",
24947
- "signature": "export interface MergeDecisionReceipt { version: 1; id: string; item_path: string; item_id: string; requested_preference?: MergePreferredSide; preferred?: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; fields_from_theirs: string[]; union_fields: string[]; decisions: ItemMergeConflictDecision[]; state: \"pending\" | \"reconciled\"; created_at: string; reconciled_at?: string; value_availability?: \"clone_local\" | \"hash_only\"; }"
25263
+ "signature": "export interface MergeDecisionReceipt { version: 1; id: string; item_path: string; item_id: string; requested_preference?: MergePreferredSide; preferred?: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; fields_from_theirs: string[]; union_fields: string[]; merged_field_hashes?: Record<string, string>; decisions: ItemMergeConflictDecision[]; state: \"pending\" | \"reconciled\"; created_at: string; reconciled_at?: string; value_availability?: \"clone_local\" | \"hash_only\"; evidence_source?: \"clone_local\" | \"durable\"; }"
24948
25264
  },
24949
25265
  {
24950
25266
  "classification": "supported",
@@ -27134,7 +27450,7 @@
27134
27450
  "classification": "advanced_export",
27135
27451
  "kind": "interface",
27136
27452
  "name": "ContractsResult",
27137
- "signature": "export interface ContractsResult { schema_version: string | null; schema_id: string | null; selected: { action: string | null; command: string | null; summary: boolean; schema_only: boolean; flags_only: boolean; availability_only: boolean; runtime_only: boolean; command_scoped: boolean; }; actions?: string[]; action_availability?: ContractsActionAvailability[]; commands: string[]; schema?: Record<string, unknown>; schema_omitted_reason?: string; command_flags_omitted_reason?: string; commander_aliases_omitted_reason?: string; command_flags?: CommandFlagSurface[]; list_projections?: ListCommandProjectionSurface[]; command_aliases?: CommandAliasSurface[]; grammar_contracts?: { nouns: readonly string[]; shared_verbs: readonly string[]; scope_before_verb: boolean; visible_top_level_ceiling: number; ceiling_raise_requires_pm_item: boolean; positional_shape_budget: number; positional_shape_count: number; positional_action_count: number; positional_action_parents: readonly string[]; positional_signatures?: readonly PmCommandPositionalContract[]; destinations?: readonly PmCommandDestinationContract[]; }; commander_aliases?: Record<string, CommanderOptionAliasContract[]>; extension_commands?: ExtensionCommandContract[]; command_summaries?: CommandSummarySurface[]; output_policy?: { token_estimate: \"ceil(utf8_bytes / 4)\"; degradation_ladder: string[]; allows_unbounded_opt_out: boolean; }; runtime_schema?: { statuses: string[]; open_status: string; close_status: string; canceled_status: string; types: string[]; fields_by_command: Record<string, string[]>; }; relationship_kind_contracts?: Array<{ canonical: string; aliases: string[]; inverse?: string; ordering: boolean; hierarchy: boolean; }>; extension_contracts?: { capabilities: string[]; services: string[]; policy_modes: string[]; policy_mode_scope: \"extensions.policy.mode\"; policy_surfaces: string[]; trust_modes: string[]; trust_mode_scope: \"extensions.policy.trust_mode\"; sandbox_profiles: string[]; manifest_versions: number[]; compatibility: { current: string; previous: string[]; breaking_strategy: string; }; }; governance_contracts?: { ownership_enforcement_modes: string[]; create_modes: string[]; close_validation_modes: string[]; workflow_enforcement_modes: string[]; }; assurance_contracts?: { measurement_source_kinds: readonly string[]; gate_triggers: readonly string[]; }; mcp_tools?: McpToolContract[]; context_intents?: readonly PmContextIntentContract[]; read_output_dimensions?: readonly PmReadOutputSurfaceContract[]; error_codes?: readonly PmErrorCodeContract[]; command_output_contracts?: Array<{ budget: PmCommandOutputBudgetContract; envelope: PmCommandOutputEnvelopeContract; }>; diagnostic_output_contracts?: readonly PmDiagnosticOutputBudgetContract[]; command_exit_contracts?: { vocabulary: readonly PmCommandExitOutcomeContract[]; command_sets: Array<{ commands: string[]; exit_codes: PmCommandExitContract[\"exit_codes\"]; }>; }; }"
27453
+ "signature": "export interface ContractsResult { schema_version: string | null; schema_id: string | null; selected: { action: string | null; command: string | null; summary: boolean; schema_only: boolean; flags_only: boolean; availability_only: boolean; runtime_only: boolean; command_scoped: boolean; }; actions?: string[]; action_availability?: ContractsActionAvailability[]; commands: string[]; schema?: Record<string, unknown>; schema_omitted_reason?: string; command_flags_omitted_reason?: string; commander_aliases_omitted_reason?: string; command_flags?: CommandFlagSurface[]; list_projections?: ListCommandProjectionSurface[]; command_aliases?: CommandAliasSurface[]; grammar_contracts?: { nouns: readonly string[]; shared_verbs: readonly string[]; scope_before_verb: boolean; visible_top_level_ceiling: number; ceiling_raise_requires_pm_item: boolean; positional_shape_budget: number; positional_shape_count: number; positional_action_count: number; positional_action_parents: readonly string[]; positional_signatures?: readonly PmCommandPositionalContract[]; destinations?: readonly PmCommandDestinationContract[]; }; commander_aliases?: Record<string, CommanderOptionAliasContract[]>; extension_commands?: ExtensionCommandContract[]; command_summaries?: CommandSummarySurface[]; output_policy?: { token_estimate: \"ceil(utf8_bytes / 4)\"; degradation_ladder: string[]; allows_unbounded_opt_out: boolean; }; output_projection_contracts?: { global_ladder_field: \"output_policy.degradation_ladder\"; global_ladder_scope: \"union_not_per_command\"; discovery: \"pm contracts --command <command> --summary\"; commands?: Array<{ command: string; modes: string[]; }>; }; runtime_schema?: { statuses: string[]; open_status: string; close_status: string; canceled_status: string; types: string[]; fields_by_command: Record<string, string[]>; }; relationship_kind_contracts?: Array<{ canonical: string; aliases: string[]; inverse?: string; ordering: boolean; hierarchy: boolean; }>; extension_contracts?: { capabilities: string[]; services: string[]; policy_modes: string[]; policy_mode_scope: \"extensions.policy.mode\"; policy_surfaces: string[]; trust_modes: string[]; trust_mode_scope: \"extensions.policy.trust_mode\"; sandbox_profiles: string[]; manifest_versions: number[]; compatibility: { current: string; previous: string[]; breaking_strategy: string; }; }; governance_contracts?: { ownership_enforcement_modes: string[]; create_modes: string[]; close_validation_modes: string[]; workflow_enforcement_modes: string[]; }; assurance_contracts?: { measurement_source_kinds: readonly string[]; gate_triggers: readonly string[]; }; mcp_tools?: McpToolContract[]; context_intents?: readonly PmContextIntentContract[]; read_output_dimensions?: readonly PmReadOutputSurfaceContract[]; error_codes?: readonly PmErrorCodeContract[]; command_output_contracts?: Array<{ budget: PmCommandOutputBudgetContract; envelope: PmCommandOutputEnvelopeContract; }>; diagnostic_output_contracts?: readonly PmDiagnosticOutputBudgetContract[]; command_exit_contracts?: { vocabulary: readonly PmCommandExitOutcomeContract[]; command_sets: Array<{ commands: string[]; exit_codes: PmCommandExitContract[\"exit_codes\"]; }>; }; }"
27138
27454
  },
27139
27455
  {
27140
27456
  "classification": "supported",
@@ -28412,7 +28728,7 @@
28412
28728
  "classification": "supported",
28413
28729
  "kind": "interface",
28414
28730
  "name": "PmReadOutputSurfaceContract",
28415
- "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; }"
28731
+ "signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; budget_retention_policy: \"ordered_prefix\" | \"verdict_priority\"; projection_modes?: readonly string[]; }"
28416
28732
  },
28417
28733
  {
28418
28734
  "classification": "supported",
@@ -29600,7 +29916,7 @@
29600
29916
  "classification": "advanced_export",
29601
29917
  "kind": "interface",
29602
29918
  "name": "WorkspaceExtensionCommandContract",
29603
- "signature": "export interface WorkspaceExtensionCommandContract { command: string; action: string; arguments: Array<{ name: string; required: boolean; variadic: boolean; description?: string; }>; description?: string; tier: \"core\" | \"standard\" | \"full\" | \"internal\"; }"
29919
+ "signature": "export interface WorkspaceExtensionCommandContract { command: string; action: string; arguments: Array<{ name: string; required: boolean; variadic: boolean; description?: string; }>; description?: string; tier: \"core\" | \"standard\" | \"full\" | \"internal\"; family: PmCommandCapabilityFamily; }"
29604
29920
  },
29605
29921
  {
29606
29922
  "classification": "advanced_export",
@@ -30225,6 +30541,9 @@
30225
30541
  "body_file_missing_path",
30226
30542
  "body_file_unreadable",
30227
30543
  "budget_exceeded",
30544
+ "bulk_ids_input_empty",
30545
+ "bulk_ids_input_missing_path",
30546
+ "bulk_ids_input_unreadable",
30228
30547
  "bundle_integrity_torn_install",
30229
30548
  "capability_undeclared",
30230
30549
  "capability_unused",
@@ -30300,6 +30619,7 @@
30300
30619
  "history_author_acknowledge_target_unreadable",
30301
30620
  "history_drift_chain_mismatch",
30302
30621
  "history_drift_hash_mismatch",
30622
+ "history_drift_merge_receipt",
30303
30623
  "history_drift_missing_stream",
30304
30624
  "history_drift_unreadable_stream",
30305
30625
  "history_merge_conflict_markers_detected",
@@ -30364,10 +30684,15 @@
30364
30684
  "malformed_plan_step_evidence",
30365
30685
  "manifest_capabilities_absent",
30366
30686
  "manifest_unknown_key",
30687
+ "mcp_annotation_file_unavailable",
30688
+ "mcp_stdin_unavailable",
30367
30689
  "merge_conflict_markers_detected",
30368
30690
  "merge_decisions_unreviewed",
30369
30691
  "merge_git_config_unwritable",
30692
+ "merge_receipt_evidence_invalid",
30693
+ "merge_receipts_pending",
30370
30694
  "merge_reconcile_discards_require_acceptance",
30695
+ "merge_reconcile_receipt_evidence_untrusted",
30371
30696
  "merge_root_not_found",
30372
30697
  "missing_allowed_values",
30373
30698
  "missing_budget",