@unbrained/pm-cli 2026.8.11 → 2026.8.12

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 (184) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +52 -21
  3. package/dist/cli/commander-usage.js +37 -11
  4. package/dist/cli/error-guidance.d.ts +2 -0
  5. package/dist/cli/error-guidance.js +80 -13
  6. package/dist/cli/main.js +34 -19
  7. package/dist/cli/register-annotations.js +56 -3
  8. package/dist/cli/register-list-query.js +10 -7
  9. package/dist/cli/register-operations.js +16 -6
  10. package/dist/cli-bundle/bundle-manifest.json +157 -157
  11. package/dist/cli-bundle/chunks/{chunk-2OOU2AFH.js → chunk-3PS7X6GS.js} +2 -2
  12. package/dist/cli-bundle/chunks/chunk-7KL6KMWF.js +13 -0
  13. package/dist/cli-bundle/chunks/{chunk-WMEZHCFI.js → chunk-BM5YJ2UW.js} +51 -43
  14. package/dist/cli-bundle/chunks/chunk-D55A5AEN.js +33 -0
  15. package/dist/cli-bundle/chunks/chunk-KIKDWECH.js +196 -0
  16. package/dist/cli-bundle/chunks/{chunk-ZU34C3LH.js → chunk-KOQMGCTA.js} +2 -2
  17. package/dist/cli-bundle/chunks/chunk-R76342NV.js +2 -0
  18. package/dist/cli-bundle/chunks/chunk-RBTK5EZV.js +5 -0
  19. package/dist/cli-bundle/chunks/{chunk-IUNRVDAI.js → chunk-VLUQOIDT.js} +2 -2
  20. package/dist/cli-bundle/chunks/{chunk-A2SJGHSI.js → chunk-WLAHPSOX.js} +2 -2
  21. package/dist/cli-bundle/chunks/register-list-query-XPCJRUUD.js +10 -0
  22. package/dist/cli-bundle/chunks/register-mutation-4RJCBKRS.js +20 -0
  23. package/dist/cli-bundle/chunks/register-operations-2OGISOVR.js +2 -0
  24. package/dist/cli-bundle/chunks/{register-setup-NOCOOWQY.js → register-setup-LLHAKP2V.js} +2 -2
  25. package/dist/cli-bundle/focused-chunks/chunk-2DALMVF7.js +5 -0
  26. package/dist/cli-bundle/focused-chunks/chunk-5OQIMELN.js +155 -0
  27. package/dist/cli-bundle/focused-chunks/chunk-5TAGTDRE.js +2 -0
  28. package/dist/cli-bundle/focused-chunks/{chunk-FPSYO5ZG.js → chunk-ECADZMVC.js} +11 -11
  29. package/dist/cli-bundle/focused-chunks/chunk-EJGXRA6B.js +2 -0
  30. package/dist/cli-bundle/focused-chunks/chunk-FFGSZCPK.js +16 -0
  31. package/dist/cli-bundle/focused-chunks/{chunk-BKPIY34S.js → chunk-GQW4BPUT.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/chunk-ISKOBJCM.js +2 -0
  33. package/dist/cli-bundle/focused-chunks/{chunk-UDAZWT25.js → chunk-JAFRIWVF.js} +2 -2
  34. package/dist/cli-bundle/focused-chunks/{chunk-2DL3MRTD.js → chunk-KHM2CS2C.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/{chunk-J5EKAIVD.js → chunk-KPSXVBDV.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-23FTGO3W.js → chunk-KTLOKKCQ.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/chunk-LGYK3NUF.js +8 -0
  38. package/dist/cli-bundle/focused-chunks/{chunk-KDH5OX3D.js → chunk-NBLUKITQ.js} +2 -2
  39. package/dist/cli-bundle/focused-chunks/{chunk-55BIB6DV.js → chunk-NYLOUPOB.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/{chunk-DPO7TEFX.js → chunk-Q4T463SD.js} +28 -28
  41. package/dist/cli-bundle/focused-chunks/chunk-QVZVY53N.js +2 -0
  42. package/dist/cli-bundle/focused-chunks/{chunk-TL5M2PAY.js → chunk-RWPAWUOT.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/chunk-UTEWXDEQ.js +17 -0
  44. package/dist/cli-bundle/focused-chunks/{chunk-4H5IA6AV.js → chunk-YIAXMC3T.js} +2 -2
  45. package/dist/cli-bundle/focused-chunks/chunk-ZMGWAYH7.js +2 -0
  46. package/dist/cli-bundle/main.js +13 -13
  47. package/dist/cli-bundle/sdk-authoring.js +1 -1
  48. package/dist/cli-bundle/sdk-contracts.js +1 -1
  49. package/dist/cli-bundle/sdk-core.js +40 -40
  50. package/dist/cli-bundle/sdk-governance.js +1 -1
  51. package/dist/cli-bundle/sdk-graph.js +1 -1
  52. package/dist/cli-bundle/sdk-merge.js +1 -1
  53. package/dist/cli-bundle/sdk-query.js +1 -1
  54. package/dist/cli-bundle/sdk-runtime.js +1 -1
  55. package/dist/cli-bundle/sdk-testing.js +1 -1
  56. package/dist/cli-bundle/sdk.js +2 -2
  57. package/dist/core/extensions/reserved-host-flags.js +3 -2
  58. package/dist/core/history/drift-scan.js +13 -8
  59. package/dist/core/history/history.d.ts +8 -0
  60. package/dist/core/history/history.js +57 -7
  61. package/dist/core/history/replay.d.ts +9 -1
  62. package/dist/core/history/replay.js +48 -13
  63. package/dist/core/output/output.d.ts +2 -0
  64. package/dist/core/output/output.js +46 -14
  65. package/dist/core/shared/command-types.d.ts +2 -0
  66. package/dist/core/shared/command-types.js +2 -2
  67. package/dist/core/shared/errors.d.ts +5 -0
  68. package/dist/core/shared/errors.js +2 -2
  69. package/dist/core/store/item-metadata-cache.d.ts +1 -1
  70. package/dist/core/store/item-metadata-cache.js +14 -7
  71. package/dist/sdk/cli-bootstrap.d.ts +2 -0
  72. package/dist/sdk/cli-bootstrap.js +6 -2
  73. package/dist/sdk/cli-contracts/completeness.js +3 -2
  74. package/dist/sdk/cli-contracts/flag-contracts.js +5 -2
  75. package/dist/sdk/cli-contracts/registration-helpers.d.ts +20 -3
  76. package/dist/sdk/cli-contracts/registration-helpers.js +18 -12
  77. package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +8 -6
  78. package/dist/sdk/cli-contracts/schemas/assurance-definition.js +4 -3
  79. package/dist/sdk/cli-contracts/tool-option-contracts.js +3 -2
  80. package/dist/sdk/cli-contracts/tool-parameter-tables.js +22 -2
  81. package/dist/sdk/cli-contracts/tool-schema.d.ts +2 -2
  82. package/dist/sdk/cli-contracts/tool-schema.js +7 -4
  83. package/dist/sdk/cli-program.js +3 -2
  84. package/dist/sdk/completion.js +16 -7
  85. package/dist/sdk/context-intent-contracts.js +45 -4
  86. package/dist/sdk/core.d.ts +1 -0
  87. package/dist/sdk/core.js +3 -2
  88. package/dist/sdk/generated/generated-error-code-catalog-part-1.d.ts +8 -0
  89. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1585 -0
  90. package/dist/sdk/generated/generated-error-code-catalog-part-2.d.ts +8 -0
  91. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1608 -0
  92. package/dist/sdk/generated-error-code-catalog.js +6 -3140
  93. package/dist/sdk/governance/assurance-action.js +9 -7
  94. package/dist/sdk/governance/assurance-mutation-error.d.ts +7 -0
  95. package/dist/sdk/governance/assurance-mutation-error.js +35 -0
  96. package/dist/sdk/governance/assurance-runtime.js +11 -8
  97. package/dist/sdk/governance/assurance.d.ts +12 -6
  98. package/dist/sdk/governance/assurance.js +181 -66
  99. package/dist/sdk/governance/health.d.ts +3 -1
  100. package/dist/sdk/governance/health.js +21 -4
  101. package/dist/sdk/governance/validate-item-reader.js +3 -3
  102. package/dist/sdk/governance/validate.d.ts +2 -0
  103. package/dist/sdk/governance/validate.js +13 -3
  104. package/dist/sdk/graph/durable-cache.d.ts +1 -1
  105. package/dist/sdk/graph/durable-cache.js +98 -29
  106. package/dist/sdk/graph/governance.d.ts +14 -0
  107. package/dist/sdk/graph/governance.js +34 -9
  108. package/dist/sdk/index.d.ts +1 -1
  109. package/dist/sdk/index.js +3 -3
  110. package/dist/sdk/lifecycle/claim.js +10 -3
  111. package/dist/sdk/merge/driver.d.ts +2 -2
  112. package/dist/sdk/merge/driver.js +3 -3
  113. package/dist/sdk/merge/receipts.d.ts +6 -4
  114. package/dist/sdk/merge/receipts.js +7 -5
  115. package/dist/sdk/merge/three-way.d.ts +2 -2
  116. package/dist/sdk/merge/three-way.js +3 -3
  117. package/dist/sdk/output-projection.d.ts +9 -1
  118. package/dist/sdk/output-projection.js +45 -9
  119. package/dist/sdk/query/activity.d.ts +49 -2
  120. package/dist/sdk/query/activity.js +183 -37
  121. package/dist/sdk/query/get.js +19 -2
  122. package/dist/sdk/read-output-contracts.d.ts +5 -1
  123. package/dist/sdk/read-output-contracts.js +17 -2
  124. package/dist/sdk/read-output-session.d.ts +2 -0
  125. package/dist/sdk/read-output-session.js +12 -5
  126. package/dist/sdk/runtime-primitives.d.ts +3 -3
  127. package/dist/sdk/runtime-primitives.js +5 -5
  128. package/dist/sdk/runtime-stats-options.js +3 -2
  129. package/dist/sdk/runtime.js +5 -9
  130. package/dist/sdk/stats.d.ts +36 -3
  131. package/dist/sdk/stats.js +55 -15
  132. package/dist/sdk/test/execution.d.ts +4 -0
  133. package/dist/sdk/test/execution.js +86 -21
  134. package/dist/types.d.ts +2 -0
  135. package/dist/types.js +2 -2
  136. package/docs/ASSURANCE.md +17 -12
  137. package/docs/COMMANDS.md +29 -8
  138. package/docs/CONFIGURATION.md +7 -0
  139. package/docs/DEPENDENCY_KIND_CONTRACT.md +10 -8
  140. package/docs/MERGE_SAFETY.md +3 -1
  141. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +26 -13
  142. package/docs/README.md +2 -0
  143. package/docs/READ_OUTPUT_CONTRACTS.md +17 -2
  144. package/docs/SDK_AGENT_SESSION_CONTEXT.md +12 -1
  145. package/docs/SDK_CONTEXT_EVIDENCE_CONTRACTS.md +53 -0
  146. package/docs/SDK_CONTEXT_INTEGRITY.md +28 -1
  147. package/docs/TRUSTWORTHY_CONTEXT_EVIDENCE.md +106 -0
  148. package/docs/performance/sdk-entrypoint-import-costs.md +6 -2
  149. package/marketplace.json +2 -2
  150. package/package.json +5 -5
  151. package/packages/pm-beads/package.json +1 -1
  152. package/packages/pm-calendar/package.json +1 -1
  153. package/packages/pm-command-kit/package.json +1 -1
  154. package/packages/pm-digital-twin/package.json +1 -1
  155. package/packages/pm-governance-audit/package.json +1 -1
  156. package/packages/pm-guide-shell/package.json +1 -1
  157. package/packages/pm-kanban/package.json +1 -1
  158. package/packages/pm-lifecycle-hooks/package.json +1 -1
  159. package/packages/pm-linked-test-adapters/package.json +1 -1
  160. package/packages/pm-search-advanced/package.json +1 -1
  161. package/packages/pm-templates/package.json +1 -1
  162. package/packages/pm-todos/package.json +1 -1
  163. package/packages/pm-vcs/package.json +1 -1
  164. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  165. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  166. package/sdk/public-surface.json +203 -52
  167. package/dist/cli-bundle/chunks/chunk-2RA2YTHJ.js +0 -33
  168. package/dist/cli-bundle/chunks/chunk-DSKYD4LG.js +0 -13
  169. package/dist/cli-bundle/chunks/chunk-HC3GM6YY.js +0 -194
  170. package/dist/cli-bundle/chunks/chunk-W7CPZGSB.js +0 -2
  171. package/dist/cli-bundle/chunks/chunk-ZXOC6HG5.js +0 -5
  172. package/dist/cli-bundle/chunks/register-list-query-HAUXVUPY.js +0 -10
  173. package/dist/cli-bundle/chunks/register-mutation-7Y5U7ABT.js +0 -20
  174. package/dist/cli-bundle/chunks/register-operations-EQX3DLAZ.js +0 -2
  175. package/dist/cli-bundle/focused-chunks/chunk-3AYKXMYX.js +0 -2
  176. package/dist/cli-bundle/focused-chunks/chunk-4AHEC74N.js +0 -2
  177. package/dist/cli-bundle/focused-chunks/chunk-4SV3ZKG3.js +0 -16
  178. package/dist/cli-bundle/focused-chunks/chunk-6JW6Z2P5.js +0 -8
  179. package/dist/cli-bundle/focused-chunks/chunk-D4PIWE6D.js +0 -2
  180. package/dist/cli-bundle/focused-chunks/chunk-E3KCL7AY.js +0 -5
  181. package/dist/cli-bundle/focused-chunks/chunk-ERAAFLPS.js +0 -153
  182. package/dist/cli-bundle/focused-chunks/chunk-F6E4JZKG.js +0 -2
  183. package/dist/cli-bundle/focused-chunks/chunk-OJ3LVVIS.js +0 -2
  184. package/dist/cli-bundle/focused-chunks/chunk-VABB4L5Y.js +0 -17
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "aggregate_completeness": {
3
- "covered_symbols": 1504,
3
+ "covered_symbols": 1506,
4
4
  "excluded": [
5
5
  {
6
6
  "name": "_testOnlyCliContracts",
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ],
10
10
  "missing": [],
11
- "required_symbols": 1505
11
+ "required_symbols": 1507
12
12
  },
13
13
  "breaking_acknowledgements": [
14
14
  {
@@ -302,6 +302,93 @@
302
302
  ],
303
303
  "package_version": "2026.8.10",
304
304
  "reason": "Expose public assurance action transport types while preserving the PmClient method contract"
305
+ },
306
+ {
307
+ "changes": [
308
+ "signature ./sdk:ActivityCommandOptions",
309
+ "signature ./sdk:ActivityResult",
310
+ "signature ./sdk:BootstrapGlobalOptions",
311
+ "signature ./sdk:GlobalOptions",
312
+ "signature ./sdk:PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS",
313
+ "signature ./sdk:PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
314
+ "signature ./sdk:PM_READ_ROW_CONTRACTS",
315
+ "signature ./sdk:PmReadOutputOptions",
316
+ "signature ./sdk:ReadRowContract",
317
+ "signature ./sdk:StatsCommandOptions",
318
+ "signature ./sdk:StatsResult",
319
+ "signature ./sdk/contracts:PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
320
+ "signature ./sdk/contracts:PmReadOutputOptions",
321
+ "signature ./sdk/core:PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
322
+ "signature ./sdk/core:PmReadOutputOptions",
323
+ "signature ./sdk/query:ActivityCommandOptions",
324
+ "signature ./sdk/query:ActivityResult",
325
+ "signature ./sdk/runtime:GlobalOptions",
326
+ "signature ./sdk/runtime:PmReadOutputOptions",
327
+ "signature ./sdk/runtime:StatsCommandOptions",
328
+ "signature ./sdk/runtime:StatsResult"
329
+ ],
330
+ "package_version": "2026.8.11",
331
+ "reason": "stats now returns compact lifecycle rows by default; activity defaults to item digests; row contracts are explicit opt-in"
332
+ },
333
+ {
334
+ "changes": [
335
+ "signature ./sdk:ItemDocumentMergeResult",
336
+ "signature ./sdk:MergeDecisionReceipt",
337
+ "signature ./sdk:MergeDecisionReceiptSummary",
338
+ "signature ./sdk:MergeDriverResult",
339
+ "signature ./sdk/merge:ItemDocumentMergeResult",
340
+ "signature ./sdk/merge:MergeDecisionReceipt",
341
+ "signature ./sdk/merge:MergeDecisionReceiptSummary",
342
+ "signature ./sdk/merge:MergeDriverResult"
343
+ ],
344
+ "package_version": "2026.8.11",
345
+ "reason": "GH-974 corrects misleading merge preferred fields to requested_preference; retained decision evidence is authoritative and legacy stored receipts remain readable"
346
+ },
347
+ {
348
+ "changes": [
349
+ "signature ./sdk:AssuranceAssertionVerdict",
350
+ "signature ./sdk:AssuranceItemRecord",
351
+ "signature ./sdk:AssuranceItemsSource",
352
+ "signature ./sdk:AssuranceMeasurementResult",
353
+ "signature ./sdk:HealthCheck",
354
+ "signature ./sdk:PM_TOOL_PARAMETERS_SCHEMA_VERSION",
355
+ "signature ./sdk:PmCliErrorRecoveryPayload",
356
+ "signature ./sdk:RelationshipAuditDelta",
357
+ "signature ./sdk:RelationshipCoverageProfile",
358
+ "signature ./sdk:TestCommandOptions",
359
+ "signature ./sdk:TestResult",
360
+ "signature ./sdk/contracts:PM_TOOL_PARAMETERS_SCHEMA_VERSION",
361
+ "signature ./sdk/governance:HealthCheck",
362
+ "signature ./sdk/graph:RelationshipAuditDelta",
363
+ "signature ./sdk/graph:RelationshipCoverageProfile"
364
+ ],
365
+ "package_version": "2026.8.11",
366
+ "reason": "pm-py7qv2 pm-33mjrw pm-q6n8sj pm-h97qxd pm-rncuf7 pm-m0b7h8: explicit truthful context and evidence contract tranche"
367
+ },
368
+ {
369
+ "changes": [
370
+ "signature ./sdk:TestResult"
371
+ ],
372
+ "package_version": "2026.8.11",
373
+ "reason": "pm-m0b7h8: removed count is present only for successful linked-test removals"
374
+ },
375
+ {
376
+ "changes": [
377
+ "signature ./sdk:ValidateCheck",
378
+ "signature ./sdk/governance:ValidateCheck"
379
+ ],
380
+ "package_version": "2026.8.11",
381
+ "reason": "ValidateCheck now exposes the same required machine-readable ok predicate as HealthCheck, preventing consumers from re-deriving status semantics; review-hardened before release."
382
+ },
383
+ {
384
+ "changes": [
385
+ "signature ./sdk:PmReadOutputSessionReceipt",
386
+ "signature ./sdk/contracts:PmReadOutputSessionReceipt",
387
+ "signature ./sdk/core:PmReadOutputSessionReceipt",
388
+ "signature ./sdk/runtime:PmReadOutputSessionReceipt"
389
+ ],
390
+ "package_version": "2026.8.11",
391
+ "reason": "Add optional seen_item_overflow_count receipt while preserving every existing SDK input and below-capacity output"
305
392
  }
306
393
  ],
307
394
  "entrypoints": {
@@ -498,7 +585,7 @@
498
585
  "classification": "supported",
499
586
  "kind": "interface",
500
587
  "name": "ActivityCommandOptions",
501
- "signature": "export interface ActivityCommandOptions { id?: string; op?: string; author?: string; from?: string; to?: string; limit?: string; compact?: boolean; unbounded?: boolean; provenance?: boolean; provenanceSummary?: boolean; harness?: string | readonly string[]; agentInstance?: string | readonly string[]; provenanceFilter?: string | readonly string[]; }"
588
+ "signature": "export interface ActivityCommandOptions { id?: string; op?: string; author?: string; from?: string; to?: string; limit?: string; compact?: boolean; raw?: boolean; unbounded?: boolean; provenance?: boolean; provenanceSummary?: boolean; harness?: string | readonly string[]; agentInstance?: string | readonly string[]; provenanceFilter?: string | readonly string[]; }"
502
589
  },
503
590
  {
504
591
  "classification": "supported",
@@ -510,7 +597,7 @@
510
597
  "classification": "supported",
511
598
  "kind": "interface",
512
599
  "name": "ActivityResult",
513
- "signature": "export interface ActivityResult { activity?: ActivityEntry[]; compact_activity?: CompactActivityEntry[]; provenance_activity?: HistoryProvenanceRow[]; compact: boolean; projection: { mode: \"compact\" | \"provenance\" | \"full\"; row_key: \"compact_activity\" | \"provenance_activity\" | \"activity\"; }; omission_receipt: OutputOmissionReceipt; count: number; total_count: number; limit: number | null; omitted_count: number; has_more: boolean; applied_bound: { kind: \"limit\" | \"unbounded\"; source: \"default\" | \"explicit\"; value: number | null; }; provenance_summary?: HistoryProvenanceSummary; }"
600
+ "signature": "export interface ActivityResult { activity_digest?: ActivityDigestEntry[]; activity?: ActivityEntry[]; compact_activity?: CompactActivityEntry[]; provenance_activity?: HistoryProvenanceRow[]; compact: boolean; projection: { mode: \"digest\" | \"compact\" | \"provenance\" | \"full\"; row_key: \"activity_digest\" | \"compact_activity\" | \"provenance_activity\" | \"activity\"; }; omission_receipt: OutputOmissionReceipt; count: number; total_count: number; limit: number | null; omitted_count: number; has_more: boolean; applied_bound: { kind: \"limit\" | \"unbounded\"; source: \"default\" | \"explicit\"; value: number | null; }; activity_summary?: { window: { from: string | null; to: string | null; }; event_count: number; item_count: number; author_count: number; operation_counts: Record<string, number>; }; provenance_summary?: HistoryProvenanceSummary; }"
514
601
  },
515
602
  {
516
603
  "classification": "advanced_export",
@@ -1212,7 +1299,7 @@
1212
1299
  "classification": "advanced_export",
1213
1300
  "kind": "interface",
1214
1301
  "name": "AssuranceAssertionVerdict",
1215
- "signature": "export interface AssuranceAssertionVerdict { assertion_id: string; measurement_id: string; scope: AssuranceScope; population_size: number; observed: AssuranceValue; bound: AssuranceBound; distance: number | null; verdict: \"pass\" | \"fail\" | \"retired\"; enforcement: AssuranceEnforcement; negative_control_proven: boolean; cost: AssuranceMeasurementCost; contributors: string[]; }"
1302
+ "signature": "export interface AssuranceAssertionVerdict { assertion_id: string; measurement_id: string; measurement_definition_fingerprint: string; scope: AssuranceScope; population_size: number; observed: AssuranceValue; bound: AssuranceBound; distance: number | null; verdict: \"pass\" | \"fail\" | \"retired\"; enforcement: AssuranceEnforcement; negative_control_proven: boolean; cost: AssuranceMeasurementCost; contributors: string[]; }"
1216
1303
  },
1217
1304
  {
1218
1305
  "classification": "advanced_export",
@@ -1326,13 +1413,13 @@
1326
1413
  "classification": "advanced_export",
1327
1414
  "kind": "interface",
1328
1415
  "name": "AssuranceItemRecord",
1329
- "signature": "export interface AssuranceItemRecord { id: string; status: string; type: string; tags?: string[]; priority?: string | number; dependencies?: AssuranceDependencyRecord[]; files?: Array<Record<string, unknown>>; tests?: Array<Record<string, unknown>>; docs?: Array<Record<string, unknown>>; [key: string]: unknown; }"
1416
+ "signature": "export interface AssuranceItemRecord { id: string; status: string; type: string; tags?: string[]; priority?: string | number; dependencies?: AssuranceDependencyRecord[]; files?: object[]; tests?: object[]; docs?: object[]; [key: string]: unknown; }"
1330
1417
  },
1331
1418
  {
1332
1419
  "classification": "advanced_export",
1333
1420
  "kind": "interface",
1334
1421
  "name": "AssuranceItemsSource",
1335
- "signature": "export interface AssuranceItemsSource { kind: \"items\"; statuses?: string[]; types?: string[]; tags?: string[]; field?: string; equals?: string | number | boolean | null; }"
1422
+ "signature": "export interface AssuranceItemsSource { kind: \"items\"; statuses?: string[]; types?: string[]; tags?: string[]; field?: string; equals?: string | number | boolean | null; state?: \"present\" | \"missing\"; }"
1336
1423
  },
1337
1424
  {
1338
1425
  "classification": "advanced_export",
@@ -1374,7 +1461,7 @@
1374
1461
  "classification": "advanced_export",
1375
1462
  "kind": "interface",
1376
1463
  "name": "AssuranceMeasurementResult",
1377
- "signature": "export interface AssuranceMeasurementResult { id: string; value: AssuranceValue; population_size: number; cost: AssuranceMeasurementCost; contributors: string[]; }"
1464
+ "signature": "export interface AssuranceMeasurementResult { id: string; definition_fingerprint: string; value: AssuranceValue; population_size: number; cost: AssuranceMeasurementCost; contributors: string[]; }"
1378
1465
  },
1379
1466
  {
1380
1467
  "classification": "advanced_export",
@@ -1548,7 +1635,7 @@
1548
1635
  "classification": "advanced_export",
1549
1636
  "kind": "interface",
1550
1637
  "name": "BootstrapGlobalOptions",
1551
- "signature": "export interface BootstrapGlobalOptions { path?: string; noExtensions: boolean; noPager: boolean; json: boolean; quiet: boolean; lean: boolean; tokenAccounting: boolean; outputInclude?: string; outputLimit?: string; outputBudget?: string; outputFormat?: \"toon\" | \"json\"; outputSession?: string; author?: string; authorMissingValue?: true; }"
1638
+ "signature": "export interface BootstrapGlobalOptions { path?: string; noExtensions: boolean; noPager: boolean; json: boolean; quiet: boolean; lean: boolean; tokenAccounting: boolean; outputInclude?: string; outputLimit?: string; outputBudget?: string; outputFormat?: \"toon\" | \"json\"; outputSession?: string; outputRowContract?: boolean; author?: string; authorMissingValue?: true; }"
1552
1639
  },
1553
1640
  {
1554
1641
  "classification": "advanced_export",
@@ -3158,6 +3245,12 @@
3158
3245
  "name": "CreateWorkspaceSnapshotResult",
3159
3246
  "signature": "export interface CreateWorkspaceSnapshotResult { manifest: WorkspaceSnapshotManifest; name?: string; deduplicated: boolean; }"
3160
3247
  },
3248
+ {
3249
+ "classification": "advanced_export",
3250
+ "kind": "value",
3251
+ "name": "CURRENT_HISTORY_ITEM_HASH_VERSION",
3252
+ "signature": "2"
3253
+ },
3161
3254
  {
3162
3255
  "classification": "supported",
3163
3256
  "kind": "value",
@@ -5184,7 +5277,7 @@
5184
5277
  "classification": "advanced_export",
5185
5278
  "kind": "interface",
5186
5279
  "name": "GlobalOptions",
5187
- "signature": "export interface GlobalOptions { json?: boolean; quiet?: boolean; noChangedFields?: boolean; fullChangedFields?: boolean; idOnly?: boolean; lean?: boolean; tokenAccounting?: boolean; outputInclude?: string; outputLimit?: string; outputBudget?: string; outputFormat?: \"toon\" | \"json\"; outputSession?: string; path?: string; noExtensions?: boolean; noPager?: boolean; profile?: boolean; author?: string; defaultOutputFormat?: \"toon\" | \"json\"; }"
5280
+ "signature": "export interface GlobalOptions { json?: boolean; quiet?: boolean; noChangedFields?: boolean; fullChangedFields?: boolean; idOnly?: boolean; lean?: boolean; tokenAccounting?: boolean; outputInclude?: string; outputLimit?: string; outputBudget?: string; outputFormat?: \"toon\" | \"json\"; outputSession?: string; outputRowContract?: boolean; path?: string; noExtensions?: boolean; noPager?: boolean; profile?: boolean; author?: string; defaultOutputFormat?: \"toon\" | \"json\"; }"
5188
5281
  },
5189
5282
  {
5190
5283
  "classification": "supported",
@@ -5498,6 +5591,12 @@
5498
5591
  "name": "hashDocument",
5499
5592
  "signature": "(document: ItemDocument) => string | calls: (document: ItemDocument) => string"
5500
5593
  },
5594
+ {
5595
+ "classification": "advanced_export",
5596
+ "kind": "function",
5597
+ "name": "hashDocumentForVersion",
5598
+ "signature": "(document: ItemDocument, version: HistoryItemHashVersion) => string | calls: (document: ItemDocument, version: HistoryItemHashVersion) => string"
5599
+ },
5501
5600
  {
5502
5601
  "classification": "advanced_export",
5503
5602
  "kind": "function",
@@ -5538,7 +5637,7 @@
5538
5637
  "classification": "supported",
5539
5638
  "kind": "interface",
5540
5639
  "name": "HealthCheck",
5541
- "signature": "export interface HealthCheck { name: \"settings\" | \"directories\" | \"settings_values\" | \"telemetry\" | \"extensions\" | \"storage\" | \"locks\" | \"integrity\" | \"history_drift\" | \"vectorization\"; status: HealthStatus; details: Record<string, unknown>; }"
5640
+ "signature": "export interface HealthCheck { name: \"settings\" | \"directories\" | \"settings_values\" | \"telemetry\" | \"extensions\" | \"storage\" | \"locks\" | \"integrity\" | \"history_drift\" | \"vectorization\"; status: HealthStatus; ok: boolean; details: Record<string, unknown>; }"
5542
5641
  },
5543
5642
  {
5544
5643
  "classification": "supported",
@@ -5708,6 +5807,12 @@
5708
5807
  "name": "historyEntryMatchesProvenance",
5709
5808
  "signature": "(entry: HistoryEntry, filters: HistoryProvenanceFilters, vocabulary?: AuthorIdentityVocabulary, dimensions?: readonly string[]) => boolean | calls: (entry: HistoryEntry, filters: HistoryProvenanceFilters, vocabulary?: AuthorIdentityVocabulary, dimensions?: readonly string[]) => boolean"
5710
5809
  },
5810
+ {
5811
+ "classification": "advanced_export",
5812
+ "kind": "type",
5813
+ "name": "HistoryItemHashVersion",
5814
+ "signature": "export type HistoryItemHashVersion = (typeof SUPPORTED_HISTORY_ITEM_HASH_VERSIONS)[number];"
5815
+ },
5711
5816
  {
5712
5817
  "classification": "supported",
5713
5818
  "kind": "interface",
@@ -6062,6 +6167,12 @@
6062
6167
  "name": "InstallSource",
6063
6168
  "signature": "export type InstallSource = LocalInstallSource | GithubInstallSource | NpmInstallSource;"
6064
6169
  },
6170
+ {
6171
+ "classification": "supported",
6172
+ "kind": "function",
6173
+ "name": "isAlreadyClaimedError",
6174
+ "signature": "(error: unknown) => boolean | calls: (error: unknown) => boolean"
6175
+ },
6065
6176
  {
6066
6177
  "classification": "advanced_export",
6067
6178
  "kind": "function",
@@ -6270,7 +6381,7 @@
6270
6381
  "classification": "supported",
6271
6382
  "kind": "interface",
6272
6383
  "name": "ItemDocumentMergeResult",
6273
- "signature": "export interface ItemDocumentMergeResult { merged: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; conflict_decisions: ItemMergeConflictDecision[]; preferred: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; }"
6384
+ "signature": "export interface ItemDocumentMergeResult { merged: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; conflict_decisions: ItemMergeConflictDecision[]; requested_preference: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; }"
6274
6385
  },
6275
6386
  {
6276
6387
  "classification": "advanced_export",
@@ -6900,13 +7011,13 @@
6900
7011
  "classification": "supported",
6901
7012
  "kind": "interface",
6902
7013
  "name": "MergeDecisionReceipt",
6903
- "signature": "export interface MergeDecisionReceipt { version: 1; id: string; item_path: string; item_id: string; 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\"; }"
7014
+ "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\"; }"
6904
7015
  },
6905
7016
  {
6906
7017
  "classification": "supported",
6907
7018
  "kind": "interface",
6908
7019
  "name": "MergeDecisionReceiptSummary",
6909
- "signature": "export interface MergeDecisionReceiptSummary { receipt_id: string; item_id: string; item_path: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; preferred: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; decisions: Array<{ field: string; retained_hash: string; discarded_hash: string; }>; }"
7020
+ "signature": "export interface MergeDecisionReceiptSummary { receipt_id: string; item_id: string; item_path: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; requested_preference: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; decisions: Array<{ field: string; retained_hash: string; discarded_hash: string; }>; }"
6910
7021
  },
6911
7022
  {
6912
7023
  "classification": "supported",
@@ -6930,7 +7041,7 @@
6930
7041
  "classification": "supported",
6931
7042
  "kind": "interface",
6932
7043
  "name": "MergeDriverResult",
6933
- "signature": "export interface MergeDriverResult { ok: boolean; artifact: MergeDriverArtifact; output_path: string; preferred: MergePreferredSide; conflicts: string[]; history?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; relationship?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; item?: { fields_from_theirs: string[]; union_fields: string[]; conflict_resolution: \"stable_value_order\"; }; json?: { paths_from_theirs: string[]; }; receipt?: MergeDecisionReceiptSummary; guidance: string[]; generated_at: string; }"
7044
+ "signature": "export interface MergeDriverResult { ok: boolean; artifact: MergeDriverArtifact; output_path: string; requested_preference: MergePreferredSide; conflicts: string[]; history?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; relationship?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; item?: { fields_from_theirs: string[]; union_fields: string[]; conflict_resolution: \"stable_value_order\"; }; json?: { paths_from_theirs: string[]; }; receipt?: MergeDecisionReceiptSummary; guidance: string[]; generated_at: string; }"
6934
7045
  },
6935
7046
  {
6936
7047
  "classification": "supported",
@@ -8238,7 +8349,7 @@
8238
8349
  "classification": "advanced_export",
8239
8350
  "kind": "value",
8240
8351
  "name": "PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS",
8241
- "signature": "readonly [{ readonly command: \"activity\"; readonly complete_mode: \"full\"; readonly omissions_by_mode: { readonly compact: readonly [{ readonly name: \"provenance\"; readonly restore_with: \"--full\"; }]; readonly provenance: readonly [{ readonly name: \"patch_and_hashes\"; readonly restore_with: \"--full\"; }]; }; }, { readonly command: \"history\"; readonly complete_mode: \"full\"; readonly omissions_by_mode: { readonly compact: readonly [{ readonly name: \"raw_history\"; readonly restore_with: \"--full\"; }]; readonly provenance: readonly [{ readonly name: \"patch_and_hashes\"; readonly restore_with: \"--full\"; }]; }; }]"
8352
+ "signature": "readonly [{ readonly command: \"activity\"; readonly complete_mode: \"full\"; readonly omissions_by_mode: { readonly digest: readonly [{ readonly name: \"event_rows\"; readonly restore_with: \"--raw\"; }]; readonly compact: readonly [{ readonly name: \"provenance\"; readonly restore_with: \"--full\"; }]; readonly provenance: readonly [{ readonly name: \"patch_and_hashes\"; readonly restore_with: \"--full\"; }]; }; }, { readonly command: \"history\"; readonly complete_mode: \"full\"; readonly omissions_by_mode: { readonly compact: readonly [{ readonly name: \"raw_history\"; readonly restore_with: \"--full\"; }]; readonly provenance: readonly [{ readonly name: \"patch_and_hashes\"; readonly restore_with: \"--full\"; }]; }; }]"
8242
8353
  },
8243
8354
  {
8244
8355
  "classification": "supported",
@@ -8292,7 +8403,7 @@
8292
8403
  "classification": "supported",
8293
8404
  "kind": "value",
8294
8405
  "name": "PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
8295
- "signature": "readonly [\"--output-session\"]"
8406
+ "signature": "readonly [\"--output-session\", \"--output-row-contract\"]"
8296
8407
  },
8297
8408
  {
8298
8409
  "classification": "supported",
@@ -8334,7 +8445,7 @@
8334
8445
  "classification": "advanced_export",
8335
8446
  "kind": "value",
8336
8447
  "name": "PM_READ_ROW_CONTRACTS",
8337
- "signature": "{ readonly context: { readonly row_keys: readonly [\"high_level\", \"low_level\"]; readonly fields: \"supported\"; }; readonly get: { readonly row_keys: readonly [\"children\"]; readonly fields: \"supported\"; }; readonly list: { readonly row_keys: readonly [\"items\"]; readonly fields: \"supported\"; }; readonly next: { readonly row_keys: readonly [\"recommended\", \"ready\", \"decision_needed\", \"blocked\", \"held_by_others\"]; readonly fields: \"unsupported\"; }; readonly search: { readonly row_keys: readonly [\"items\"]; readonly fields: \"supported\"; }; readonly activity: { readonly row_keys: readonly [\"compact_activity\", \"provenance_activity\", \"activity\"]; readonly fields: \"unsupported\"; }; readonly history: { readonly row_keys: readonly [\"compact_history\", \"provenance_history\", \"history\"]; readonly fields: \"unsupported\"; }; readonly deps: { readonly row_keys: readonly [\"graph.nodes\", \"graph.edges\", \"context.nodes\", \"context.edges\"]; readonly fields: \"unsupported\"; }; readonly health: { readonly row_keys: readonly [\"checks\"]; readonly fields: \"unsupported\"; }; readonly aggregate: { readonly row_keys: readonly [\"groups\"]; readonly fields: \"unsupported\"; }; readonly duplicates: { readonly row_keys: readonly [\"clusters\"]; readonly fields: \"unsupported\"; }; readonly stats: { readonly row_keys: readonly [\"by_type\", \"by_status\"]; readonly fields: \"unsupported\"; }; readonly comments: { readonly row_keys: readonly [\"comments\"]; readonly fields: \"unsupported\"; }; readonly notes: { readonly row_keys: readonly [\"notes\"]; readonly fields: \"unsupported\"; }; readonly learnings: { readonly row_keys: readonly [\"learnings\"]; readonly fields: \"unsupported\"; }; readonly files: { readonly row_keys: readonly [\"files\"]; readonly fields: \"unsupported\"; }; readonly docs: { readonly row_keys: readonly [\"docs\"]; readonly fields: \"unsupported\"; }; readonly validate: { readonly row_keys: readonly [\"checks\", \"warnings\"]; readonly fields: \"unsupported\"; }; readonly contracts: { readonly row_keys: readonly [\"command_summaries\", \"commands\"]; readonly fields: \"unsupported\"; }; }"
8448
+ "signature": "{ readonly context: { readonly row_keys: readonly [\"high_level\", \"low_level\"]; readonly fields: \"supported\"; }; readonly get: { readonly row_keys: readonly [\"children\"]; readonly fields: \"supported\"; }; readonly list: { readonly row_keys: readonly [\"items\"]; readonly fields: \"supported\"; }; readonly next: { readonly row_keys: readonly [\"recommended\", \"ready\", \"decision_needed\", \"blocked\", \"held_by_others\"]; readonly fields: \"unsupported\"; }; readonly search: { readonly row_keys: readonly [\"items\"]; readonly fields: \"supported\"; }; readonly activity: { readonly row_keys: readonly [\"activity_digest\", \"compact_activity\", \"provenance_activity\", \"activity\"]; readonly fields: \"unsupported\"; }; readonly history: { readonly row_keys: readonly [\"compact_history\", \"provenance_history\", \"history\"]; readonly fields: \"unsupported\"; }; readonly deps: { readonly row_keys: readonly [\"graph.nodes\", \"graph.edges\", \"context.nodes\", \"context.edges\"]; readonly fields: \"unsupported\"; }; readonly health: { readonly row_keys: readonly [\"checks\"]; readonly fields: \"unsupported\"; }; readonly aggregate: { readonly row_keys: readonly [\"groups\"]; readonly fields: \"unsupported\"; }; readonly duplicates: { readonly row_keys: readonly [\"clusters\"]; readonly fields: \"unsupported\"; }; readonly stats: { readonly row_keys: readonly [\"by_type\", \"by_status\"]; readonly fields: \"unsupported\"; }; readonly comments: { readonly row_keys: readonly [\"comments\"]; readonly fields: \"unsupported\"; }; readonly notes: { readonly row_keys: readonly [\"notes\"]; readonly fields: \"unsupported\"; }; readonly learnings: { readonly row_keys: readonly [\"learnings\"]; readonly fields: \"unsupported\"; }; readonly files: { readonly row_keys: readonly [\"files\"]; readonly fields: \"unsupported\"; }; readonly docs: { readonly row_keys: readonly [\"docs\"]; readonly fields: \"unsupported\"; }; readonly validate: { readonly row_keys: readonly [\"checks\", \"warnings\"]; readonly fields: \"unsupported\"; }; readonly contracts: { readonly row_keys: readonly [\"command_summaries\", \"commands\"]; readonly fields: \"unsupported\"; }; }"
8338
8449
  },
8339
8450
  {
8340
8451
  "classification": "advanced_export",
@@ -8376,7 +8487,7 @@
8376
8487
  "classification": "contract_data",
8377
8488
  "kind": "value",
8378
8489
  "name": "PM_TOOL_PARAMETERS_SCHEMA_VERSION",
8379
- "signature": "\"4.6.0\""
8490
+ "signature": "\"4.7.0\""
8380
8491
  },
8381
8492
  {
8382
8493
  "classification": "contract_data",
@@ -8490,7 +8601,7 @@
8490
8601
  "classification": "advanced_export",
8491
8602
  "kind": "interface",
8492
8603
  "name": "PmCliErrorRecoveryPayload",
8493
- "signature": "export interface PmCliErrorRecoveryPayload { recovery_mode?: \"compact\"; attempted_command?: string; normalized_args?: string[]; provided_fields?: string[]; missing?: string[]; missing_required_fields?: string[]; suggested_flags?: string[]; allowed_values?: string[]; candidate_commands?: string[]; candidate_commands_total?: number; candidate_commands_truncated?: boolean; suggested_retry?: string; retry_after_ms?: number; fallback_candidates?: Array<{ source: string; command: string; reason: string; }>; next_best_command?: string; }"
8604
+ "signature": "export interface PmCliErrorRecoveryPayload { recovery_mode?: \"compact\"; attempted_command?: string; normalized_args?: string[]; parsed_positionals?: Array<{ role: string; value: string; }>; provided_fields?: string[]; missing?: string[]; missing_required_fields?: string[]; suggested_flags?: string[]; allowed_values?: string[]; candidate_commands?: string[]; candidate_commands_total?: number; candidate_commands_truncated?: boolean; suggested_retry?: string; retry_after_ms?: number; fallback_candidates?: Array<{ source: string; command: string; reason: string; }>; next_best_command?: string; }"
8494
8605
  },
8495
8606
  {
8496
8607
  "classification": "advanced_export",
@@ -8838,7 +8949,7 @@
8838
8949
  "classification": "supported",
8839
8950
  "kind": "interface",
8840
8951
  "name": "PmReadOutputOptions",
8841
- "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; }"
8952
+ "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
8842
8953
  },
8843
8954
  {
8844
8955
  "classification": "supported",
@@ -8868,7 +8979,7 @@
8868
8979
  "classification": "supported",
8869
8980
  "kind": "interface",
8870
8981
  "name": "PmReadOutputSessionReceipt",
8871
- "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
8982
+ "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; seen_item_overflow_count?: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
8872
8983
  },
8873
8984
  {
8874
8985
  "classification": "supported",
@@ -9594,7 +9705,7 @@
9594
9705
  "classification": "advanced_export",
9595
9706
  "kind": "interface",
9596
9707
  "name": "ReadRowContract",
9597
- "signature": "export interface ReadRowContract { command: string; row_kind: \"collection\" | \"none\"; row_keys: string[]; fields: \"supported\" | \"unsupported\"; jq_selector?: string; }"
9708
+ "signature": "export interface ReadRowContract { command: string; row_kind: \"collection\" | \"none\"; row_keys: string[]; fields: \"supported\" | \"unsupported\"; jq_selector?: string; toon_encoding?: \"tabular_when_uniform\"; }"
9598
9709
  },
9599
9710
  {
9600
9711
  "classification": "advanced_export",
@@ -9950,6 +10061,12 @@
9950
10061
  "name": "registerHarnessSignalDescriptors",
9951
10062
  "signature": "(descriptors: readonly HarnessSignalDescriptor[]) => () => void | calls: (descriptors: readonly HarnessSignalDescriptor[]) => () => void"
9952
10063
  },
10064
+ {
10065
+ "classification": "advanced_export",
10066
+ "kind": "function",
10067
+ "name": "registerOutputMaterialFieldGroups",
10068
+ "signature": "(result: object, fieldGroups: readonly string[]) => void | calls: (result: object, fieldGroups: readonly string[]) => void"
10069
+ },
9953
10070
  {
9954
10071
  "classification": "contract_data",
9955
10072
  "kind": "value",
@@ -9990,7 +10107,7 @@
9990
10107
  "classification": "supported",
9991
10108
  "kind": "interface",
9992
10109
  "name": "RelationshipAuditDelta",
9993
- "signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; edges: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
10110
+ "signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; edges: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
9994
10111
  },
9995
10112
  {
9996
10113
  "classification": "supported",
@@ -10110,7 +10227,7 @@
10110
10227
  "classification": "supported",
10111
10228
  "kind": "interface",
10112
10229
  "name": "RelationshipCoverageProfile",
10113
- "signature": "export interface RelationshipCoverageProfile { nodes: number; edges: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }"
10230
+ "signature": "export interface RelationshipCoverageProfile { nodes: number; edges: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }"
10114
10231
  },
10115
10232
  {
10116
10233
  "classification": "supported",
@@ -13034,6 +13151,12 @@
13034
13151
  "name": "splitFrontMatter",
13035
13152
  "signature": "(content: string) => { frontMatter: string; body: string; } | calls: (content: string) => { frontMatter: string; body: string; }"
13036
13153
  },
13154
+ {
13155
+ "classification": "contract_data",
13156
+ "kind": "function",
13157
+ "name": "stabilizeReadOutputReceiptEstimates",
13158
+ "signature": "(result: Record<string, unknown>, options: Record<string, unknown>) => Record<string, unknown> | calls: (result: Record<string, unknown>, options: Record<string, unknown>) => Record<string, unknown>"
13159
+ },
13037
13160
  {
13038
13161
  "classification": "advanced_export",
13039
13162
  "kind": "function",
@@ -13116,13 +13239,13 @@
13116
13239
  "classification": "advanced_export",
13117
13240
  "kind": "interface",
13118
13241
  "name": "StatsCommandOptions",
13119
- "signature": "export interface StatsCommandOptions { storage?: boolean; metadataCoverage?: boolean; byAssignee?: boolean; byTag?: boolean; byPriority?: boolean; tagPrefix?: string; fieldUtilization?: boolean; measurements?: boolean; metric?: string; measurementLimit?: number; observe?: string[]; direction?: ImprovementDirection; measurementSource?: string; measurementItem?: string; measurementRevision?: string; author?: string; message?: string; provenanceCoverage?: boolean; fleetAttribution?: boolean; since?: string; eventLimit?: number; minimumSample?: number; }"
13242
+ "signature": "export interface StatsCommandOptions { includeEmpty?: boolean; storage?: boolean; metadataCoverage?: boolean; byAssignee?: boolean; byTag?: boolean; byPriority?: boolean; tagPrefix?: string; fieldUtilization?: boolean; measurements?: boolean; metric?: string; measurementLimit?: number; observe?: string[]; direction?: ImprovementDirection; measurementSource?: string; measurementItem?: string; measurementRevision?: string; author?: string; message?: string; provenanceCoverage?: boolean; fleetAttribution?: boolean; since?: string; eventLimit?: number; minimumSample?: number; }"
13120
13243
  },
13121
13244
  {
13122
13245
  "classification": "advanced_export",
13123
13246
  "kind": "interface",
13124
13247
  "name": "StatsResult",
13125
- "signature": "export interface StatsResult { totals: { items: number; history_streams: number; history_entries: number; }; by_type: Record<ItemType, number>; by_status: Record<ItemStatus, number>; metadata_coverage?: MetadataCoverageReport; breakdowns?: { assignee?: GroupedBreakdown; tag?: GroupedBreakdown; priority?: GroupedBreakdown; }; storage?: HistoryStorageStats; field_utilization?: ContentFieldUtilizationReport; improvement_ledger?: ImprovementLedgerResult; recorded_observations?: RecordImprovementObservationResult[]; provenance_coverage?: ProvenanceCoverageAnalytics; fleet_attribution?: FleetAttributionAnalytics; generated_at: string; }"
13248
+ "signature": "export interface StatsResult { totals: { items: number; history_streams: number; history_entries: number; }; by_type: StatsTypeBreakdown; by_status: Partial<Record<ItemStatus, number>>; omitted_zero_buckets: number; metadata_coverage?: MetadataCoverageReport; breakdowns?: { assignee?: GroupedBreakdown; tag?: GroupedBreakdown; priority?: GroupedBreakdown; }; storage?: HistoryStorageStats; field_utilization?: ContentFieldUtilizationReport; improvement_ledger?: ImprovementLedgerResult; recorded_observations?: RecordImprovementObservationResult[]; provenance_coverage?: ProvenanceCoverageAnalytics; fleet_attribution?: FleetAttributionAnalytics; generated_at: string; }"
13126
13249
  },
13127
13250
  {
13128
13251
  "classification": "supported",
@@ -13214,6 +13337,12 @@
13214
13337
  "name": "summarizeMergeReceipt",
13215
13338
  "signature": "(receipt: MergeDecisionReceipt) => MergeDecisionReceiptSummary | calls: (receipt: MergeDecisionReceipt) => MergeDecisionReceiptSummary"
13216
13339
  },
13340
+ {
13341
+ "classification": "advanced_export",
13342
+ "kind": "value",
13343
+ "name": "SUPPORTED_HISTORY_ITEM_HASH_VERSIONS",
13344
+ "signature": "readonly [1, 2]"
13345
+ },
13217
13346
  {
13218
13347
  "classification": "advanced_export",
13219
13348
  "kind": "function",
@@ -13428,7 +13557,7 @@
13428
13557
  "classification": "advanced_export",
13429
13558
  "kind": "interface",
13430
13559
  "name": "TestCommandOptions",
13431
- "signature": "export interface TestCommandOptions { add?: string[]; addJson?: string[]; remove?: string[]; list?: boolean; run?: boolean; match?: string; onlyIndex?: string | number; onlyLast?: boolean; timeout?: string; progress?: boolean; envSet?: string[]; envClear?: string[]; sharedHostSafe?: boolean; pmContext?: string; overrideLinkedPmContext?: boolean; failOnContextMismatch?: boolean; failOnSkipped?: boolean; failOnEmptyTestRun?: boolean; requireAssertionsForPm?: boolean; checkContext?: boolean; autoPmContext?: boolean; author?: string; message?: string; force?: boolean; measure?: string[]; metricBelow?: string; metricDiff?: string; }"
13560
+ "signature": "export interface TestCommandOptions { add?: string[]; addJson?: string[]; remove?: string[]; removeIndex?: Array<string | number>; list?: boolean; run?: boolean; match?: string; onlyIndex?: string | number; onlyLast?: boolean; timeout?: string; progress?: boolean; envSet?: string[]; envClear?: string[]; sharedHostSafe?: boolean; pmContext?: string; overrideLinkedPmContext?: boolean; failOnContextMismatch?: boolean; failOnSkipped?: boolean; failOnEmptyTestRun?: boolean; requireAssertionsForPm?: boolean; checkContext?: boolean; autoPmContext?: boolean; author?: string; message?: string; force?: boolean; measure?: string[]; metricBelow?: string; metricDiff?: string; }"
13432
13561
  },
13433
13562
  {
13434
13563
  "classification": "supported",
@@ -13440,7 +13569,7 @@
13440
13569
  "classification": "advanced_export",
13441
13570
  "kind": "interface",
13442
13571
  "name": "TestResult",
13443
- "signature": "export interface TestResult { ok: boolean; id: string; tests: LinkedTest[]; run_results: TestRunResult[]; failure_categories: Record<LinkedTestFailureCategory, number>; selection?: Omit<LinkedTestRunSelection, \"selected\">; fail_on_skipped_triggered?: boolean; warnings?: string[]; changed: boolean; count: number; measurements?: TestRunMeasurement[]; metric_below?: Array<TestRunMeasurement & { run_id: string; }>; metric_diff?: TestRunMeasurementDiff; }"
13572
+ "signature": "export interface TestResult { ok: boolean; id: string; tests: LinkedTest[]; run_results: TestRunResult[]; failure_categories: Record<LinkedTestFailureCategory, number>; selection?: Omit<LinkedTestRunSelection, \"selected\">; fail_on_skipped_triggered?: boolean; warnings?: string[]; changed: boolean; count: number; removed?: number; measurements?: TestRunMeasurement[]; metric_below?: Array<TestRunMeasurement & { run_id: string; }>; metric_diff?: TestRunMeasurementDiff; }"
13444
13573
  },
13445
13574
  {
13446
13575
  "classification": "advanced_export",
@@ -13944,7 +14073,7 @@
13944
14073
  "classification": "supported",
13945
14074
  "kind": "interface",
13946
14075
  "name": "ValidateCheck",
13947
- "signature": "export interface ValidateCheck { name: ValidateCheckName; status: ValidateStatus; details: Record<string, unknown>; }"
14076
+ "signature": "export interface ValidateCheck { name: ValidateCheckName; status: ValidateStatus; ok: boolean; details: Record<string, unknown>; }"
13948
14077
  },
13949
14078
  {
13950
14079
  "classification": "supported",
@@ -14096,6 +14225,12 @@
14096
14225
  "name": "verifyHistoryChain",
14097
14226
  "signature": "(entries: HistoryEntry[]) => { ok: boolean; errors: string[]; } | calls: (entries: HistoryEntry[]) => { ok: boolean; errors: string[]; }"
14098
14227
  },
14228
+ {
14229
+ "classification": "advanced_export",
14230
+ "kind": "function",
14231
+ "name": "verifyHistoryChainWithVersion",
14232
+ "signature": "(entries: HistoryEntry[]) => { ok: boolean; errors: string[]; item_hash_version?: HistoryItemHashVersion; } | calls: (entries: HistoryEntry[]) => { ok: boolean; errors: string[]; item_hash_version?: HistoryItemHashVersion; }"
14233
+ },
14099
14234
  {
14100
14235
  "classification": "advanced_export",
14101
14236
  "kind": "function",
@@ -16632,7 +16767,7 @@
16632
16767
  "classification": "contract_data",
16633
16768
  "kind": "value",
16634
16769
  "name": "PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
16635
- "signature": "readonly [\"--output-session\"]"
16770
+ "signature": "readonly [\"--output-session\", \"--output-row-contract\"]"
16636
16771
  },
16637
16772
  {
16638
16773
  "classification": "contract_data",
@@ -16692,7 +16827,7 @@
16692
16827
  "classification": "contract_data",
16693
16828
  "kind": "value",
16694
16829
  "name": "PM_TOOL_PARAMETERS_SCHEMA_VERSION",
16695
- "signature": "\"4.6.0\""
16830
+ "signature": "\"4.7.0\""
16696
16831
  },
16697
16832
  {
16698
16833
  "classification": "contract_data",
@@ -16986,7 +17121,7 @@
16986
17121
  "classification": "contract_data",
16987
17122
  "kind": "interface",
16988
17123
  "name": "PmReadOutputOptions",
16989
- "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; }"
17124
+ "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
16990
17125
  },
16991
17126
  {
16992
17127
  "classification": "contract_data",
@@ -17010,7 +17145,7 @@
17010
17145
  "classification": "contract_data",
17011
17146
  "kind": "interface",
17012
17147
  "name": "PmReadOutputSessionReceipt",
17013
- "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
17148
+ "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; seen_item_overflow_count?: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
17014
17149
  },
17015
17150
  {
17016
17151
  "classification": "contract_data",
@@ -17240,6 +17375,12 @@
17240
17375
  "name": "SEARCH_FLAG_CONTRACTS",
17241
17376
  "signature": "CliFlagContract[]"
17242
17377
  },
17378
+ {
17379
+ "classification": "contract_data",
17380
+ "kind": "function",
17381
+ "name": "stabilizeReadOutputReceiptEstimates",
17382
+ "signature": "(result: Record<string, unknown>, options: Record<string, unknown>) => Record<string, unknown> | calls: (result: Record<string, unknown>, options: Record<string, unknown>) => Record<string, unknown>"
17383
+ },
17243
17384
  {
17244
17385
  "classification": "contract_data",
17245
17386
  "kind": "value",
@@ -18008,6 +18149,12 @@
18008
18149
  "name": "HarnessSignalDescriptor",
18009
18150
  "signature": "export interface HarnessSignalDescriptor { harness: string; environment_keys?: readonly string[]; model_environment_keys?: readonly string[]; session_environment_keys?: readonly string[]; provenance_environment_keys?: Readonly<Record<string, readonly string[] | undefined>>; provenance_resolvers?: Readonly<Record<string, AgentProvenanceResolver | undefined>>; provenance_unavailable_dimensions?: readonly string[]; argv_markers?: readonly string[]; client_names?: readonly string[]; }"
18010
18151
  },
18152
+ {
18153
+ "classification": "supported",
18154
+ "kind": "function",
18155
+ "name": "isAlreadyClaimedError",
18156
+ "signature": "(error: unknown) => boolean | calls: (error: unknown) => boolean"
18157
+ },
18011
18158
  {
18012
18159
  "classification": "supported",
18013
18160
  "kind": "function",
@@ -18192,7 +18339,7 @@
18192
18339
  "classification": "supported",
18193
18340
  "kind": "value",
18194
18341
  "name": "PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS",
18195
- "signature": "readonly [\"--output-session\"]"
18342
+ "signature": "readonly [\"--output-session\", \"--output-row-contract\"]"
18196
18343
  },
18197
18344
  {
18198
18345
  "classification": "supported",
@@ -18270,7 +18417,7 @@
18270
18417
  "classification": "supported",
18271
18418
  "kind": "interface",
18272
18419
  "name": "PmReadOutputOptions",
18273
- "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; }"
18420
+ "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
18274
18421
  },
18275
18422
  {
18276
18423
  "classification": "supported",
@@ -18294,7 +18441,7 @@
18294
18441
  "classification": "supported",
18295
18442
  "kind": "interface",
18296
18443
  "name": "PmReadOutputSessionReceipt",
18297
- "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
18444
+ "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; seen_item_overflow_count?: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
18298
18445
  },
18299
18446
  {
18300
18447
  "classification": "supported",
@@ -18756,7 +18903,7 @@
18756
18903
  "classification": "supported",
18757
18904
  "kind": "interface",
18758
18905
  "name": "HealthCheck",
18759
- "signature": "export interface HealthCheck { name: \"settings\" | \"directories\" | \"settings_values\" | \"telemetry\" | \"extensions\" | \"storage\" | \"locks\" | \"integrity\" | \"history_drift\" | \"vectorization\"; status: HealthStatus; details: Record<string, unknown>; }"
18906
+ "signature": "export interface HealthCheck { name: \"settings\" | \"directories\" | \"settings_values\" | \"telemetry\" | \"extensions\" | \"storage\" | \"locks\" | \"integrity\" | \"history_drift\" | \"vectorization\"; status: HealthStatus; ok: boolean; details: Record<string, unknown>; }"
18760
18907
  },
18761
18908
  {
18762
18909
  "classification": "supported",
@@ -19134,7 +19281,7 @@
19134
19281
  "classification": "supported",
19135
19282
  "kind": "interface",
19136
19283
  "name": "ValidateCheck",
19137
- "signature": "export interface ValidateCheck { name: ValidateCheckName; status: ValidateStatus; details: Record<string, unknown>; }"
19284
+ "signature": "export interface ValidateCheck { name: ValidateCheckName; status: ValidateStatus; ok: boolean; details: Record<string, unknown>; }"
19138
19285
  },
19139
19286
  {
19140
19287
  "classification": "supported",
@@ -19860,7 +20007,7 @@
19860
20007
  "classification": "supported",
19861
20008
  "kind": "interface",
19862
20009
  "name": "RelationshipAuditDelta",
19863
- "signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; edges: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
20010
+ "signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; edges: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
19864
20011
  },
19865
20012
  {
19866
20013
  "classification": "supported",
@@ -19980,7 +20127,7 @@
19980
20127
  "classification": "supported",
19981
20128
  "kind": "interface",
19982
20129
  "name": "RelationshipCoverageProfile",
19983
- "signature": "export interface RelationshipCoverageProfile { nodes: number; edges: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }"
20130
+ "signature": "export interface RelationshipCoverageProfile { nodes: number; edges: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }"
19984
20131
  },
19985
20132
  {
19986
20133
  "classification": "supported",
@@ -20496,7 +20643,7 @@
20496
20643
  "classification": "supported",
20497
20644
  "kind": "interface",
20498
20645
  "name": "ItemDocumentMergeResult",
20499
- "signature": "export interface ItemDocumentMergeResult { merged: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; conflict_decisions: ItemMergeConflictDecision[]; preferred: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; }"
20646
+ "signature": "export interface ItemDocumentMergeResult { merged: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; conflict_decisions: ItemMergeConflictDecision[]; requested_preference: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; }"
20500
20647
  },
20501
20648
  {
20502
20649
  "classification": "supported",
@@ -20532,13 +20679,13 @@
20532
20679
  "classification": "supported",
20533
20680
  "kind": "interface",
20534
20681
  "name": "MergeDecisionReceipt",
20535
- "signature": "export interface MergeDecisionReceipt { version: 1; id: string; item_path: string; item_id: string; 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\"; }"
20682
+ "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\"; }"
20536
20683
  },
20537
20684
  {
20538
20685
  "classification": "supported",
20539
20686
  "kind": "interface",
20540
20687
  "name": "MergeDecisionReceiptSummary",
20541
- "signature": "export interface MergeDecisionReceiptSummary { receipt_id: string; item_id: string; item_path: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; preferred: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; decisions: Array<{ field: string; retained_hash: string; discarded_hash: string; }>; }"
20688
+ "signature": "export interface MergeDecisionReceiptSummary { receipt_id: string; item_id: string; item_path: string; conflict_fields: string[]; fields_from_theirs: string[]; union_fields: string[]; requested_preference: MergePreferredSide; conflict_resolution: \"preferred_side\" | \"stable_value_order\"; decisions: Array<{ field: string; retained_hash: string; discarded_hash: string; }>; }"
20542
20689
  },
20543
20690
  {
20544
20691
  "classification": "supported",
@@ -20562,7 +20709,7 @@
20562
20709
  "classification": "supported",
20563
20710
  "kind": "interface",
20564
20711
  "name": "MergeDriverResult",
20565
- "signature": "export interface MergeDriverResult { ok: boolean; artifact: MergeDriverArtifact; output_path: string; preferred: MergePreferredSide; conflicts: string[]; history?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; relationship?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; item?: { fields_from_theirs: string[]; union_fields: string[]; conflict_resolution: \"stable_value_order\"; }; json?: { paths_from_theirs: string[]; }; receipt?: MergeDecisionReceiptSummary; guidance: string[]; generated_at: string; }"
20712
+ "signature": "export interface MergeDriverResult { ok: boolean; artifact: MergeDriverArtifact; output_path: string; requested_preference: MergePreferredSide; conflicts: string[]; history?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; relationship?: { strategy: string; common_entries: number; entries_from_ours: number; entries_from_theirs: number; entries_total: number; reanchored: boolean; }; item?: { fields_from_theirs: string[]; union_fields: string[]; conflict_resolution: \"stable_value_order\"; }; json?: { paths_from_theirs: string[]; }; receipt?: MergeDecisionReceiptSummary; guidance: string[]; generated_at: string; }"
20566
20713
  },
20567
20714
  {
20568
20715
  "classification": "supported",
@@ -20772,7 +20919,7 @@
20772
20919
  "classification": "supported",
20773
20920
  "kind": "interface",
20774
20921
  "name": "ActivityCommandOptions",
20775
- "signature": "export interface ActivityCommandOptions { id?: string; op?: string; author?: string; from?: string; to?: string; limit?: string; compact?: boolean; unbounded?: boolean; provenance?: boolean; provenanceSummary?: boolean; harness?: string | readonly string[]; agentInstance?: string | readonly string[]; provenanceFilter?: string | readonly string[]; }"
20922
+ "signature": "export interface ActivityCommandOptions { id?: string; op?: string; author?: string; from?: string; to?: string; limit?: string; compact?: boolean; raw?: boolean; unbounded?: boolean; provenance?: boolean; provenanceSummary?: boolean; harness?: string | readonly string[]; agentInstance?: string | readonly string[]; provenanceFilter?: string | readonly string[]; }"
20776
20923
  },
20777
20924
  {
20778
20925
  "classification": "supported",
@@ -20784,7 +20931,7 @@
20784
20931
  "classification": "supported",
20785
20932
  "kind": "interface",
20786
20933
  "name": "ActivityResult",
20787
- "signature": "export interface ActivityResult { activity?: ActivityEntry[]; compact_activity?: CompactActivityEntry[]; provenance_activity?: HistoryProvenanceRow[]; compact: boolean; projection: { mode: \"compact\" | \"provenance\" | \"full\"; row_key: \"compact_activity\" | \"provenance_activity\" | \"activity\"; }; omission_receipt: OutputOmissionReceipt; count: number; total_count: number; limit: number | null; omitted_count: number; has_more: boolean; applied_bound: { kind: \"limit\" | \"unbounded\"; source: \"default\" | \"explicit\"; value: number | null; }; provenance_summary?: HistoryProvenanceSummary; }"
20934
+ "signature": "export interface ActivityResult { activity_digest?: ActivityDigestEntry[]; activity?: ActivityEntry[]; compact_activity?: CompactActivityEntry[]; provenance_activity?: HistoryProvenanceRow[]; compact: boolean; projection: { mode: \"digest\" | \"compact\" | \"provenance\" | \"full\"; row_key: \"activity_digest\" | \"compact_activity\" | \"provenance_activity\" | \"activity\"; }; omission_receipt: OutputOmissionReceipt; count: number; total_count: number; limit: number | null; omitted_count: number; has_more: boolean; applied_bound: { kind: \"limit\" | \"unbounded\"; source: \"default\" | \"explicit\"; value: number | null; }; activity_summary?: { window: { from: string | null; to: string | null; }; event_count: number; item_count: number; author_count: number; operation_counts: Record<string, number>; }; provenance_summary?: HistoryProvenanceSummary; }"
20788
20935
  },
20789
20936
  {
20790
20937
  "classification": "supported",
@@ -22986,7 +23133,7 @@
22986
23133
  "classification": "advanced_export",
22987
23134
  "kind": "interface",
22988
23135
  "name": "GlobalOptions",
22989
- "signature": "export interface GlobalOptions { json?: boolean; quiet?: boolean; noChangedFields?: boolean; fullChangedFields?: boolean; idOnly?: boolean; lean?: boolean; tokenAccounting?: boolean; outputInclude?: string; outputLimit?: string; outputBudget?: string; outputFormat?: \"toon\" | \"json\"; outputSession?: string; path?: string; noExtensions?: boolean; noPager?: boolean; profile?: boolean; author?: string; defaultOutputFormat?: \"toon\" | \"json\"; }"
23136
+ "signature": "export interface GlobalOptions { json?: boolean; quiet?: boolean; noChangedFields?: boolean; fullChangedFields?: boolean; idOnly?: boolean; lean?: boolean; tokenAccounting?: boolean; outputInclude?: string; outputLimit?: string; outputBudget?: string; outputFormat?: \"toon\" | \"json\"; outputSession?: string; outputRowContract?: boolean; path?: string; noExtensions?: boolean; noPager?: boolean; profile?: boolean; author?: string; defaultOutputFormat?: \"toon\" | \"json\"; }"
22990
23137
  },
22991
23138
  {
22992
23139
  "classification": "supported",
@@ -23658,7 +23805,7 @@
23658
23805
  "classification": "supported",
23659
23806
  "kind": "interface",
23660
23807
  "name": "PmReadOutputOptions",
23661
- "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; }"
23808
+ "signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
23662
23809
  },
23663
23810
  {
23664
23811
  "classification": "supported",
@@ -23676,7 +23823,7 @@
23676
23823
  "classification": "supported",
23677
23824
  "kind": "interface",
23678
23825
  "name": "PmReadOutputSessionReceipt",
23679
- "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
23826
+ "signature": "export interface PmReadOutputSessionReceipt { contract_version: 1; id: string; measurement_scope: \"complete_read_envelope\"; estimator: \"ceil(utf8_bytes / 4)\"; token_budget: number; spent_before_tokens: number; spent_this_call_tokens: number; charged_this_call_tokens: number; spent_total_tokens: number; remaining_tokens: number; exhausted: boolean; seen_before_count: number; new_item_count: number; seen_item_overflow_count?: number; suppressed_repeat_count: number; reference_format: \"session:<session-id>:<item-id>\"; restore_reference_with: \"pm get <item-id> --brief\"; next_state: PmReadOutputSessionState; }"
23680
23827
  },
23681
23828
  {
23682
23829
  "classification": "supported",
@@ -24522,13 +24669,13 @@
24522
24669
  "classification": "advanced_export",
24523
24670
  "kind": "interface",
24524
24671
  "name": "StatsCommandOptions",
24525
- "signature": "export interface StatsCommandOptions { storage?: boolean; metadataCoverage?: boolean; byAssignee?: boolean; byTag?: boolean; byPriority?: boolean; tagPrefix?: string; fieldUtilization?: boolean; measurements?: boolean; metric?: string; measurementLimit?: number; observe?: string[]; direction?: ImprovementDirection; measurementSource?: string; measurementItem?: string; measurementRevision?: string; author?: string; message?: string; provenanceCoverage?: boolean; fleetAttribution?: boolean; since?: string; eventLimit?: number; minimumSample?: number; }"
24672
+ "signature": "export interface StatsCommandOptions { includeEmpty?: boolean; storage?: boolean; metadataCoverage?: boolean; byAssignee?: boolean; byTag?: boolean; byPriority?: boolean; tagPrefix?: string; fieldUtilization?: boolean; measurements?: boolean; metric?: string; measurementLimit?: number; observe?: string[]; direction?: ImprovementDirection; measurementSource?: string; measurementItem?: string; measurementRevision?: string; author?: string; message?: string; provenanceCoverage?: boolean; fleetAttribution?: boolean; since?: string; eventLimit?: number; minimumSample?: number; }"
24526
24673
  },
24527
24674
  {
24528
24675
  "classification": "advanced_export",
24529
24676
  "kind": "interface",
24530
24677
  "name": "StatsResult",
24531
- "signature": "export interface StatsResult { totals: { items: number; history_streams: number; history_entries: number; }; by_type: Record<ItemType, number>; by_status: Record<ItemStatus, number>; metadata_coverage?: MetadataCoverageReport; breakdowns?: { assignee?: GroupedBreakdown; tag?: GroupedBreakdown; priority?: GroupedBreakdown; }; storage?: HistoryStorageStats; field_utilization?: ContentFieldUtilizationReport; improvement_ledger?: ImprovementLedgerResult; recorded_observations?: RecordImprovementObservationResult[]; provenance_coverage?: ProvenanceCoverageAnalytics; fleet_attribution?: FleetAttributionAnalytics; generated_at: string; }"
24678
+ "signature": "export interface StatsResult { totals: { items: number; history_streams: number; history_entries: number; }; by_type: StatsTypeBreakdown; by_status: Partial<Record<ItemStatus, number>>; omitted_zero_buckets: number; metadata_coverage?: MetadataCoverageReport; breakdowns?: { assignee?: GroupedBreakdown; tag?: GroupedBreakdown; priority?: GroupedBreakdown; }; storage?: HistoryStorageStats; field_utilization?: ContentFieldUtilizationReport; improvement_ledger?: ImprovementLedgerResult; recorded_observations?: RecordImprovementObservationResult[]; provenance_coverage?: ProvenanceCoverageAnalytics; fleet_attribution?: FleetAttributionAnalytics; generated_at: string; }"
24532
24679
  },
24533
24680
  {
24534
24681
  "classification": "supported",
@@ -25429,8 +25576,10 @@
25429
25576
  "already_claimed_by",
25430
25577
  "ambiguous_list_all",
25431
25578
  "ambiguous_option_combination",
25579
+ "annotation_alias_conflict",
25432
25580
  "annotation_flag_like_value",
25433
25581
  "annotation_message_without_text",
25582
+ "annotation_transposed_subcommand",
25434
25583
  "append_empty_body",
25435
25584
  "assurance_registry_invalid",
25436
25585
  "body_file_conflicts_with_body",
@@ -25444,6 +25593,7 @@
25444
25593
  "close_through_update",
25445
25594
  "close_validation_missing_fields",
25446
25595
  "collected_zero_items",
25596
+ "collection_transposed_subcommand",
25447
25597
  "command_failed",
25448
25598
  "command_namespace",
25449
25599
  "command_override_conflict",
@@ -25541,6 +25691,7 @@
25541
25691
  "item_id_collision",
25542
25692
  "item_not_found",
25543
25693
  "likely_duplicate",
25694
+ "linked_test_remove_no_match",
25544
25695
  "linked_test_value_not_quoted",
25545
25696
  "list_source_incomplete",
25546
25697
  "local_package_archive_unsafe",