@unbrained/pm-cli 2026.8.30 → 2026.9.1

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 (176) hide show
  1. package/.agents/skills/HARNESS_COMPATIBILITY.md +1 -1
  2. package/.agents/skills/README.md +1 -1
  3. package/.agents/skills/pm-developer/SKILL.md +1 -1
  4. package/.agents/skills/pm-developer/references/COMMAND_PLAYBOOK.md +2 -2
  5. package/.agents/skills/pm-developer/references/MULTI_AGENT_MERGE.md +1 -1
  6. package/.agents/skills/pm-developer/references/TOKEN_BUDGETS.md +1 -1
  7. package/.agents/skills/pm-extensions/SKILL.md +2 -2
  8. package/.agents/skills/pm-extensions/references/AUTHORING.md +1 -1
  9. package/.agents/skills/pm-extensions/references/LIFECYCLE.md +1 -1
  10. package/.agents/skills/pm-sdk/SKILL.md +1 -1
  11. package/.agents/skills/pm-user/SKILL.md +2 -2
  12. package/.agents/skills/pm-user/references/WORKFLOWS.md +2 -2
  13. package/.claude-plugin/marketplace.json +2 -2
  14. package/AGENTS.md +16 -14
  15. package/CHANGELOG.md +41 -6
  16. package/README.md +3 -3
  17. package/dist/cli/commands/merge.d.ts +1 -1
  18. package/dist/cli/commands/merge.js +3 -3
  19. package/dist/cli/register-list-query.js +32 -17
  20. package/dist/cli/register-mutation.js +8 -5
  21. package/dist/cli/register-operations.d.ts +2 -0
  22. package/dist/cli/register-operations.js +20 -9
  23. package/dist/cli-bundle/bundle-manifest.json +144 -144
  24. package/dist/cli-bundle/chunks/{chunk-CMIEDWAY.js → chunk-2MC2LCXZ.js} +41 -41
  25. package/dist/cli-bundle/chunks/{chunk-WS2GJQVG.js → chunk-3WICXLVT.js} +2 -2
  26. package/dist/cli-bundle/chunks/{chunk-7SKMLSMX.js → chunk-6XIIGE7U.js} +2 -2
  27. package/dist/cli-bundle/chunks/chunk-ALKKAUFN.js +35 -0
  28. package/dist/cli-bundle/chunks/{chunk-MTTKAUBX.js → chunk-DTGWEL23.js} +2 -2
  29. package/dist/cli-bundle/chunks/chunk-GOACULJW.js +13 -0
  30. package/dist/cli-bundle/chunks/chunk-NOPL37X4.js +205 -0
  31. package/dist/cli-bundle/chunks/{chunk-2UETTHY6.js → chunk-TAG4VC22.js} +30 -30
  32. package/dist/cli-bundle/chunks/{chunk-3TEF3HM5.js → chunk-U45JXJCC.js} +2 -2
  33. package/dist/cli-bundle/chunks/{chunk-TGNAA66W.js → chunk-X4RCGLTX.js} +2 -2
  34. package/dist/cli-bundle/chunks/{chunk-2MKLQL2E.js → chunk-Y7VOMSZT.js} +2 -2
  35. package/dist/cli-bundle/chunks/{register-list-query-OMKJ5ONN.js → register-list-query-XYNX4ASQ.js} +11 -11
  36. package/dist/cli-bundle/chunks/register-mutation-2MVLRS3J.js +20 -0
  37. package/dist/cli-bundle/chunks/register-operations-WCIDXBU3.js +2 -0
  38. package/dist/cli-bundle/chunks/{register-setup-GLQ5SYV3.js → register-setup-KVNC5KPL.js} +2 -2
  39. package/dist/cli-bundle/focused-chunks/{chunk-HVQ22RC4.js → chunk-2FEZ5SKM.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/{chunk-Y3JJXRVK.js → chunk-4O4CJAR6.js} +5 -5
  41. package/dist/cli-bundle/focused-chunks/chunk-7VATS5QY.js +16 -0
  42. package/dist/cli-bundle/focused-chunks/{chunk-LYFWQMVC.js → chunk-BEVHCEWG.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/{chunk-TDK3OCX3.js → chunk-FWPLDEXF.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-JEFKLWMM.js +2 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-JZYPPMXF.js → chunk-KB5OFSFD.js} +2 -2
  46. package/dist/cli-bundle/focused-chunks/{chunk-73EDXGYE.js → chunk-MKHG3T76.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/{chunk-3AVAWVZA.js → chunk-PF3E6Q36.js} +2 -2
  48. package/dist/cli-bundle/focused-chunks/{chunk-AD6ULRAF.js → chunk-QDFJIRKN.js} +4 -4
  49. package/dist/cli-bundle/focused-chunks/{chunk-RKOKG43G.js → chunk-RMRCQPWU.js} +2 -2
  50. package/dist/cli-bundle/focused-chunks/{chunk-XXOWRJZ5.js → chunk-S4U5CN5Q.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/{chunk-THEPQMLX.js → chunk-SVXJYD6G.js} +2 -2
  52. package/dist/cli-bundle/focused-chunks/chunk-T2LXXSOD.js +158 -0
  53. package/dist/cli-bundle/focused-chunks/chunk-Y6JJIX6I.js +51 -0
  54. package/dist/cli-bundle/main.js +2 -2
  55. package/dist/cli-bundle/sdk-authoring.js +1 -1
  56. package/dist/cli-bundle/sdk-contracts.js +1 -1
  57. package/dist/cli-bundle/sdk-core.js +27 -27
  58. package/dist/cli-bundle/sdk-governance.js +1 -1
  59. package/dist/cli-bundle/sdk-graph.js +1 -1
  60. package/dist/cli-bundle/sdk-merge.js +33 -33
  61. package/dist/cli-bundle/sdk-query.js +1 -1
  62. package/dist/cli-bundle/sdk-runtime.js +1 -1
  63. package/dist/cli-bundle/sdk-testing.js +1 -1
  64. package/dist/cli-bundle/sdk.js +10 -10
  65. package/dist/core/history/drift-scan.js +6 -6
  66. package/dist/core/history/history.d.ts +6 -0
  67. package/dist/core/history/history.js +47 -5
  68. package/dist/core/history/replay.d.ts +12 -1
  69. package/dist/core/history/replay.js +60 -39
  70. package/dist/core/schema/runtime-schema.d.ts +4 -0
  71. package/dist/core/schema/runtime-schema.js +60 -48
  72. package/dist/core/schema/status-defs-file.js +5 -2
  73. package/dist/mcp/legacy-adapter.d.ts +11 -2
  74. package/dist/mcp/legacy-adapter.js +26 -12
  75. package/dist/mcp/server.d.ts +2 -2
  76. package/dist/mcp/server.js +78 -15
  77. package/dist/mcp/tool-definitions.js +56 -2
  78. package/dist/sdk/agent-capability-contracts.js +4 -2
  79. package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
  80. package/dist/sdk/cli-contracts/flag-contracts.js +6 -2
  81. package/dist/sdk/cli-contracts/grammar-contracts.d.ts +1 -1
  82. package/dist/sdk/cli-contracts/grammar-contracts.js +12 -2
  83. package/dist/sdk/cli-contracts/runtime-contracts.js +3 -2
  84. package/dist/sdk/cli-contracts/tool-schema.js +11 -3
  85. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +14 -2
  86. package/dist/sdk/governance/health.js +17 -6
  87. package/dist/sdk/governance/status-role-diagnostics.d.ts +27 -0
  88. package/dist/sdk/governance/status-role-diagnostics.js +36 -0
  89. package/dist/sdk/governance/validate-normalization.d.ts +6 -0
  90. package/dist/sdk/governance/validate-normalization.js +37 -0
  91. package/dist/sdk/governance/validate.d.ts +1 -1
  92. package/dist/sdk/governance/validate.js +20 -35
  93. package/dist/sdk/governance/workspace-position.d.ts +69 -0
  94. package/dist/sdk/governance/workspace-position.js +164 -0
  95. package/dist/sdk/governance.d.ts +2 -0
  96. package/dist/sdk/governance.js +4 -2
  97. package/dist/sdk/history-read.js +14 -6
  98. package/dist/sdk/history-repair.js +17 -10
  99. package/dist/sdk/index.d.ts +2 -1
  100. package/dist/sdk/index.js +4 -3
  101. package/dist/sdk/init-agent-guidance.js +4 -4
  102. package/dist/sdk/lifecycle/update.js +23 -10
  103. package/dist/sdk/mcp/discovery.d.ts +152 -0
  104. package/dist/sdk/mcp/discovery.js +495 -0
  105. package/dist/sdk/mcp/protocol.d.ts +10 -2
  106. package/dist/sdk/mcp/protocol.js +15 -4
  107. package/dist/sdk/merge/index.d.ts +1 -1
  108. package/dist/sdk/merge/index.js +3 -3
  109. package/dist/sdk/merge/receipts.d.ts +27 -1
  110. package/dist/sdk/merge/receipts.js +27 -8
  111. package/dist/sdk/merge/three-way.d.ts +3 -1
  112. package/dist/sdk/merge/three-way.js +9 -7
  113. package/dist/sdk/query/context.js +11 -14
  114. package/dist/sdk/query/list.d.ts +2 -0
  115. package/dist/sdk/query/list.js +33 -12
  116. package/dist/sdk/runtime-extended-actions.js +10 -6
  117. package/dist/sdk/schema.js +12 -2
  118. package/dist/sdk/test/execution.d.ts +15 -0
  119. package/dist/sdk/test/execution.js +35 -27
  120. package/docs/AGENT_GUIDE.md +12 -4
  121. package/docs/AGENT_PROVENANCE_ADR.md +1 -1
  122. package/docs/AGENT_RUNTIME_PRIMITIVES.md +2 -2
  123. package/docs/ARCHITECTURE.md +5 -0
  124. package/docs/CLAUDE_CODE_PLUGIN.md +5 -5
  125. package/docs/COMMANDS.md +12 -12
  126. package/docs/CONFIGURATION.md +1 -1
  127. package/docs/CONTEXT_RECOVERY_PRIMITIVES.md +14 -5
  128. package/docs/DEFECT_RECURRENCE.md +2 -0
  129. package/docs/MCP_2026_07_28.md +33 -9
  130. package/docs/MCP_2026_07_28_CONFORMANCE.md +1 -0
  131. package/docs/MCP_CAPABILITY_SURFACES.md +7 -1
  132. package/docs/MCP_REMOTE_TRANSPORT_SECURITY.md +15 -3
  133. package/docs/MERGE_SAFETY.md +30 -2
  134. package/docs/ONBOARDING.md +1 -1
  135. package/docs/OUTPUT_TOKEN_ACCOUNTING.md +5 -3
  136. package/docs/PROGRESSIVE_TOOL_DISCOVERY.md +42 -0
  137. package/docs/README.md +3 -1
  138. package/docs/READ_OUTPUT_CONTRACTS.md +1 -1
  139. package/docs/RECURRENCE_RECOVERY_CONTRACTS.md +1 -1
  140. package/docs/SDK.md +3 -3
  141. package/docs/TESTING.md +23 -14
  142. package/docs/WORKSPACE_POSITION_AND_LIFECYCLE.md +113 -0
  143. package/docs/agent-task-token-baseline.json +157 -3
  144. package/docs/agent-task-transcripts.json +143 -0
  145. package/docs/examples/policy-restricted-extension/README.md +2 -2
  146. package/docs/examples/starter-extension/README.md +1 -1
  147. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +4 -3
  148. package/docs/performance/cli-transport-overhead.md +8 -6
  149. package/marketplace.json +2 -2
  150. package/package.json +4 -4
  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-claude/README.md +4 -3
  166. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  167. package/sdk/public-surface.json +314 -10
  168. package/dist/cli-bundle/chunks/chunk-7X6OZEIV.js +0 -34
  169. package/dist/cli-bundle/chunks/chunk-GNWPTEBW.js +0 -205
  170. package/dist/cli-bundle/chunks/chunk-N6OR6FAR.js +0 -13
  171. package/dist/cli-bundle/chunks/register-mutation-QBSNCOY3.js +0 -20
  172. package/dist/cli-bundle/chunks/register-operations-UC77FQZC.js +0 -2
  173. package/dist/cli-bundle/focused-chunks/chunk-3UMBF26I.js +0 -158
  174. package/dist/cli-bundle/focused-chunks/chunk-AXZ5AJAF.js +0 -50
  175. package/dist/cli-bundle/focused-chunks/chunk-G6PATS5E.js +0 -16
  176. package/dist/cli-bundle/focused-chunks/chunk-LLNTHF5X.js +0 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "aggregate_completeness": {
3
- "covered_symbols": 1811,
3
+ "covered_symbols": 1824,
4
4
  "excluded": [
5
5
  {
6
6
  "name": "_testOnlyCliContracts",
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ],
10
10
  "missing": [],
11
- "required_symbols": 1812
11
+ "required_symbols": 1825
12
12
  },
13
13
  "breaking_acknowledgements": [
14
14
  {
@@ -1406,6 +1406,63 @@
1406
1406
  ],
1407
1407
  "package_version": "2026.8.28",
1408
1408
  "reason": "Broaden resolveItemBlockers input to accept optional id and updated_at context already consumed by blocker projection"
1409
+ },
1410
+ {
1411
+ "changes": [
1412
+ "signature ./sdk:PM_MCP_LEGACY_PROTOCOL_VERSIONS"
1413
+ ],
1414
+ "package_version": "2026.8.30",
1415
+ "reason": "pm-edywqn: the legacy accept list widens to the full initialize-era set (2025-11-25 plus 2025-06-18) so every current MCP host can complete a handshake; the tuple literal type changes because the declared set is the contract, and no runtime behaviour is removed"
1416
+ },
1417
+ {
1418
+ "changes": [
1419
+ "signature ./sdk:ListOptions",
1420
+ "signature ./sdk:PmPositionalActionContract",
1421
+ "signature ./sdk:RuntimeStatusRegistry",
1422
+ "signature ./sdk/contracts:PmPositionalActionContract",
1423
+ "signature ./sdk/core:ListOptions",
1424
+ "signature ./sdk/query:ListOptions",
1425
+ "signature ./sdk/runtime:ListOptions"
1426
+ ],
1427
+ "package_version": "2026.8.30",
1428
+ "reason": "Add lifecycle-aware list selection, explicit workflow anchors, and workspace position contracts for SDK consumers."
1429
+ },
1430
+ {
1431
+ "changes": [
1432
+ "signature ./sdk:_testOnlyWorkspacePosition",
1433
+ "signature ./sdk/governance:_testOnlyWorkspacePosition"
1434
+ ],
1435
+ "package_version": "2026.8.30",
1436
+ "reason": "Add lifecycle-aware list selection, explicit workflow anchors, and workspace position contracts for SDK consumers."
1437
+ },
1438
+ {
1439
+ "changes": [
1440
+ "signature ./sdk:StatusRoleDiagnostics",
1441
+ "signature ./sdk:WorkspacePositionResult",
1442
+ "signature ./sdk:WorkspacePositionState",
1443
+ "signature ./sdk/governance:StatusRoleDiagnostics",
1444
+ "signature ./sdk/governance:WorkspacePositionResult",
1445
+ "signature ./sdk/governance:WorkspacePositionState"
1446
+ ],
1447
+ "package_version": "2026.8.30",
1448
+ "reason": "Fail closed on malformed history evidence and expose complete bounded lifecycle-role diagnostics"
1449
+ },
1450
+ {
1451
+ "changes": [
1452
+ "signature ./sdk:MergeReceiptEvidenceReport",
1453
+ "signature ./sdk:MergeReceiptEvidenceScan",
1454
+ "signature ./sdk/merge:MergeReceiptEvidenceReport",
1455
+ "signature ./sdk/merge:MergeReceiptEvidenceScan"
1456
+ ],
1457
+ "package_version": "2026.8.30",
1458
+ "reason": "Add optional clone-local resolution evidence to loss-aware receipt scans and reports so gates fail closed while existing structural consumers remain compatible."
1459
+ },
1460
+ {
1461
+ "changes": [
1462
+ "signature ./sdk:PmToolDiscoveryOptions"
1463
+ ],
1464
+ "package_version": "2026.8.31",
1465
+ "reason": "Add optional host-owned cursor integrity key for deployment-stable pagination; existing callers and process-local fallback remain compatible."
1409
1466
  }
1410
1467
  ],
1411
1468
  "entrypoints": {
@@ -1514,6 +1571,12 @@
1514
1571
  "name": "_testOnlyValidateCommand",
1515
1572
  "signature": "{ applyValidateFix: typeof applyValidateFix; applyValidateFixes: typeof applyValidateFixes; attachValidateFixHints: typeof attachValidateFixHints; buildCommandReferencesCheck: typeof buildCommandReferencesCheck; buildDependencyReferencesCheck: typeof buildDependencyReferencesCheck; buildCloseReasonBackfillRows: typeof buildCloseReasonBackfillRows; buildFilesCheck: typeof buildFilesCheck; buildLifecycleCheck: typeof buildLifecycleCheck; buildLifecycleDependencyGraph: typeof buildLifecycleDependencyGraph; buildLifecycleParentGraph: typeof buildLifecycleParentGraph; buildEstimateBackfillRows: typeof buildEstimateBackfillRows; buildMetadataCounts: typeof buildMetadataCounts; buildMissingFieldOccurrences: typeof buildMissingFieldOccurrences; buildOrphanedPathRows: typeof buildOrphanedPathRows; classifyOrphanedPath: typeof classifyOrphanedPath; collectDefaultProjectFileCandidates: typeof collectDefaultProjectFileCandidates; collectTrackedGitFileCandidates: typeof collectTrackedGitFileCandidates; detectLifecycleDependencyCycles: typeof detectLifecycleDependencyCycles; detectLifecycleParentCycles: typeof detectLifecycleParentCycles; escapeRegExp: typeof escapeRegExp; extractItemIds: typeof extractItemIds; findLifecycleDependencyCycleComponents: typeof findLifecycleDependencyCycleComponents; isMetadataFieldMissing: typeof isMetadataFieldMissing; linkedArtifactPathExceedsFilesystemLimits: typeof linkedArtifactPathExceedsFilesystemLimits; listFilesRecursive: typeof listFilesRecursive; resolveDependencyCycleSeverity: typeof resolveDependencyCycleSeverity; resolveParentCycleSeverity: typeof resolveParentCycleSeverity; resolveFileScanMode: typeof resolveFileScanMode; resolveLifecycleDependencyCycleSamplePath: typeof resolveLifecycleDependencyCycleSamplePath; resolveRequestedChecks: typeof resolveRequestedChecks; resolveValidateMetadataProfile: typeof resolveValidateMetadataProfile; resolveWorkspaceRoot: typeof resolveWorkspaceRoot; sharedDirectoryPrefixLength: typeof sharedDirectoryPrefixLength; summarizeOrphanedPathRows: typeof summarizeOrphanedPathRows; summarizeDuplicateIssueCodes: typeof summarizeDuplicateIssueCodes; toMeaningfulString: typeof toMeaningfulString; }"
1516
1573
  },
1574
+ {
1575
+ "classification": "supported",
1576
+ "kind": "value",
1577
+ "name": "_testOnlyWorkspacePosition",
1578
+ "signature": "{ commandForWorkspacePositionState: typeof commandForWorkspacePositionState; normalizeWorkspaceHistoryDrift: typeof normalizeWorkspaceHistoryDrift; selectWorkspacePositionState: typeof selectWorkspacePositionState; }"
1579
+ },
1517
1580
  {
1518
1581
  "classification": "supported",
1519
1582
  "kind": "function",
@@ -3182,6 +3245,12 @@
3182
3245
  "name": "buildSemanticCorpusInput",
3183
3246
  "signature": "(document: ItemDocument, options?: SemanticCorpusInputOptions) => string | calls: (document: ItemDocument, options?: SemanticCorpusInputOptions) => string"
3184
3247
  },
3248
+ {
3249
+ "classification": "supported",
3250
+ "kind": "function",
3251
+ "name": "buildStatusRoleWarnings",
3252
+ "signature": "(diagnostics: StatusRoleDiagnostics) => string[] | calls: (diagnostics: StatusRoleDiagnostics) => string[]"
3253
+ },
3185
3254
  {
3186
3255
  "classification": "advanced_export",
3187
3256
  "kind": "function",
@@ -3476,6 +3545,12 @@
3476
3545
  "name": "classifyItemFormatVersion",
3477
3546
  "signature": "(version: number, current?: number) => ItemFormatVersionStatus | calls: (version: number, current?: number) => ItemFormatVersionStatus"
3478
3547
  },
3548
+ {
3549
+ "classification": "advanced_export",
3550
+ "kind": "function",
3551
+ "name": "classifyLinkedTestCommandSafety",
3552
+ "signature": "(command: string) => LinkedTestCommandSafetyClassification | calls: (command: string) => LinkedTestCommandSafetyClassification"
3553
+ },
3479
3554
  {
3480
3555
  "classification": "advanced_export",
3481
3556
  "kind": "function",
@@ -5450,6 +5525,12 @@
5450
5525
  "name": "discoverNearbyPmRoot",
5451
5526
  "signature": "(cwd: string, excludedRoot?: string) => string | undefined | calls: (cwd: string, excludedRoot?: string) => string | undefined"
5452
5527
  },
5528
+ {
5529
+ "classification": "advanced_export",
5530
+ "kind": "function",
5531
+ "name": "discoverPmTools",
5532
+ "signature": "(candidates: readonly PmToolDiscoveryCandidate[], options?: PmToolDiscoveryOptions) => PmToolDiscoveryResult | calls: (candidates: readonly PmToolDiscoveryCandidate[], options?: PmToolDiscoveryOptions) => PmToolDiscoveryResult"
5533
+ },
5453
5534
  {
5454
5535
  "classification": "advanced_export",
5455
5536
  "kind": "function",
@@ -6890,6 +6971,12 @@
6890
6971
  "name": "formatVectorIndexRecoveryWarnings",
6891
6972
  "signature": "(staleCount: number, recovery: VectorIndexRecovery) => string[] | calls: (staleCount: number, recovery: VectorIndexRecovery) => string[]"
6892
6973
  },
6974
+ {
6975
+ "classification": "supported",
6976
+ "kind": "function",
6977
+ "name": "formatWorkspacePositionHuman",
6978
+ "signature": "(result: WorkspacePositionResult) => string | calls: (result: WorkspacePositionResult) => string"
6979
+ },
6893
6980
  {
6894
6981
  "classification": "advanced_export",
6895
6982
  "kind": "function",
@@ -8024,6 +8111,12 @@
8024
8111
  "name": "inspectHistoryAuthorStream",
8025
8112
  "signature": "(itemId: string, raw: string, sampleLimit?: number, acknowledgedEvents?: ReadonlySet<string>) => Pick<HistoryAuthorAttributionScan, \"acknowledged_actionable_event_count\" | \"actionable_events\" | \"actionable_unknown_event_count\" | \"checked_events\" | \"legacy_unknown_event_count\" | \"samples_truncated\" | \"samples\" | \"unknown_event_count\"> | calls: (itemId: string, raw: string, sampleLimit?: number, acknowledgedEvents?: ReadonlySet<string>) => Pick<HistoryAuthorAttributionScan, \"checked_events\" | \"unknown_event_count\" | \"legacy_unknown_event_count\" | \"actionable_unknown_event_count\" | \"acknowledged_actionable_event_count\" | \"samples\" | \"samples_truncated\" | \"actionable_events\">"
8026
8113
  },
8114
+ {
8115
+ "classification": "supported",
8116
+ "kind": "function",
8117
+ "name": "inspectMergeReceiptEvidence",
8118
+ "signature": "(cwd: string, options?: { includeReconciled?: boolean; includeLossless?: boolean; pmRoot?: string; }) => Promise<MergeReceiptEvidenceScan> | calls: (cwd: string, options?: { includeReconciled?: boolean; includeLossless?: boolean; pmRoot?: string; }) => Promise<MergeReceiptEvidenceScan>"
8119
+ },
8027
8120
  {
8028
8121
  "classification": "advanced_export",
8029
8122
  "kind": "function",
@@ -8042,6 +8135,12 @@
8042
8135
  "name": "InspectStaleInProgressOptions",
8043
8136
  "signature": "export interface InspectStaleInProgressOptions { in_progress_status?: string; threshold_hours: number; now?: Date; last_history_activity?: (item: ItemMetadata) => string | undefined; }"
8044
8137
  },
8138
+ {
8139
+ "classification": "supported",
8140
+ "kind": "function",
8141
+ "name": "inspectStatusRoleAssignments",
8142
+ "signature": "(statusRegistry: RuntimeStatusRegistry, items: readonly ItemMetadata[], itemLimit?: number) => StatusRoleDiagnostics | calls: (statusRegistry: RuntimeStatusRegistry, items: readonly ItemMetadata[], itemLimit?: number) => StatusRoleDiagnostics"
8143
+ },
8045
8144
  {
8046
8145
  "classification": "advanced_export",
8047
8146
  "kind": "function",
@@ -8558,6 +8657,12 @@
8558
8657
  "name": "LinkedTest",
8559
8658
  "signature": "export interface LinkedTest { command?: string; path?: string; scope: LinkScope; timeout_seconds?: number; pm_context_mode?: \"schema\" | \"tracker\" | \"auto\"; workspace_context_mode?: \"source\" | \"isolated\" | \"snapshot\"; provenance?: LinkedTestProvenance; provenance_invalid?: true; env_set?: Record<string, string>; env_clear?: string[]; shared_host_safe?: boolean; assert_stdout_contains?: string[]; assert_stdout_regex?: string[]; assert_stderr_contains?: string[]; assert_stderr_regex?: string[]; assert_stdout_min_lines?: number; assert_json_field_equals?: Record<string, string>; assert_json_field_gte?: Record<string, number>; note?: string; }"
8560
8659
  },
8660
+ {
8661
+ "classification": "advanced_export",
8662
+ "kind": "interface",
8663
+ "name": "LinkedTestCommandSafetyClassification",
8664
+ "signature": "export interface LinkedTestCommandSafetyClassification { accepted: true; command_kind: \"direct_runner\" | \"sandbox_runner\" | \"other\"; tracker_isolation: \"runtime_injected\"; trust_boundary: \"provenance\"; advisory: string; }"
8665
+ },
8561
8666
  {
8562
8667
  "classification": "advanced_export",
8563
8668
  "kind": "type",
@@ -8784,7 +8889,7 @@
8784
8889
  "classification": "supported",
8785
8890
  "kind": "interface",
8786
8891
  "name": "ListOptions",
8787
- "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
8892
+ "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; lifecycleBucket?: \"open\" | \"in_progress\"; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
8788
8893
  },
8789
8894
  {
8790
8895
  "classification": "contract_data",
@@ -9182,6 +9287,18 @@
9182
9287
  "name": "MergePreferredSide",
9183
9288
  "signature": "export type MergePreferredSide = \"ours\" | \"theirs\";"
9184
9289
  },
9290
+ {
9291
+ "classification": "supported",
9292
+ "kind": "interface",
9293
+ "name": "MergeReceiptEvidenceReport",
9294
+ "signature": "export interface MergeReceiptEvidenceReport { ok: boolean; complete: boolean; count: number; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; receipts: MergeDecisionReceipt[]; generated_at: string; }"
9295
+ },
9296
+ {
9297
+ "classification": "supported",
9298
+ "kind": "interface",
9299
+ "name": "MergeReceiptEvidenceScan",
9300
+ "signature": "export interface MergeReceiptEvidenceScan { receipts: MergeDecisionReceipt[]; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; }"
9301
+ },
9185
9302
  {
9186
9303
  "classification": "advanced_export",
9187
9304
  "kind": "interface",
@@ -10100,6 +10217,12 @@
10100
10217
  "name": "parsePmAgentTaskTranscriptCorpus",
10101
10218
  "signature": "(value: unknown) => PmAgentTaskTranscriptCorpus | calls: (value: unknown) => PmAgentTaskTranscriptCorpus"
10102
10219
  },
10220
+ {
10221
+ "classification": "advanced_export",
10222
+ "kind": "function",
10223
+ "name": "parsePmToolDiscoveryOptions",
10224
+ "signature": "(input: Record<string, unknown>) => PmToolDiscoveryOptions | calls: (input: Record<string, unknown>) => PmToolDiscoveryOptions"
10225
+ },
10103
10226
  {
10104
10227
  "classification": "supported",
10105
10228
  "kind": "function",
@@ -10682,6 +10805,12 @@
10682
10805
  "name": "PM_MCP_APPS_SPEC_VERSION",
10683
10806
  "signature": "\"2026-01-26\""
10684
10807
  },
10808
+ {
10809
+ "classification": "advanced_export",
10810
+ "kind": "value",
10811
+ "name": "PM_MCP_ENTRY_TOOL_NAMES",
10812
+ "signature": "readonly string[]"
10813
+ },
10685
10814
  {
10686
10815
  "classification": "advanced_export",
10687
10816
  "kind": "value",
@@ -10704,7 +10833,7 @@
10704
10833
  "classification": "advanced_export",
10705
10834
  "kind": "value",
10706
10835
  "name": "PM_MCP_LEGACY_PROTOCOL_VERSIONS",
10707
- "signature": "readonly [\"2025-06-18\"]"
10836
+ "signature": "readonly [\"2025-11-25\", \"2025-06-18\"]"
10708
10837
  },
10709
10838
  {
10710
10839
  "classification": "advanced_export",
@@ -10712,6 +10841,18 @@
10712
10841
  "name": "PM_MCP_META_KEYS",
10713
10842
  "signature": "{ readonly clientCapabilities: \"io.modelcontextprotocol/clientCapabilities\"; readonly clientInfo: \"io.modelcontextprotocol/clientInfo\"; readonly protocolVersion: \"io.modelcontextprotocol/protocolVersion\"; readonly serverInfo: \"io.modelcontextprotocol/serverInfo\"; }"
10714
10843
  },
10844
+ {
10845
+ "classification": "advanced_export",
10846
+ "kind": "value",
10847
+ "name": "PM_MCP_PROGRESSIVE_DISCOVERY_EXTENSION",
10848
+ "signature": "\"dev.unbrained.pm/progressive-tool-discovery\""
10849
+ },
10850
+ {
10851
+ "classification": "advanced_export",
10852
+ "kind": "value",
10853
+ "name": "PM_MCP_PROGRESSIVE_DISCOVERY_SERVER_CAPABILITY",
10854
+ "signature": "Readonly<{ version: 1; discoveryTool: \"pm_discover\"; canonicalResult: \"structuredContent.result\"; compatibilityText: \"pointer\"; }>"
10855
+ },
10715
10856
  {
10716
10857
  "classification": "advanced_export",
10717
10858
  "kind": "value",
@@ -11982,7 +12123,7 @@
11982
12123
  "classification": "contract_data",
11983
12124
  "kind": "interface",
11984
12125
  "name": "PmPositionalActionContract",
11985
- "signature": "export interface PmPositionalActionContract extends PmCommandPositionalContract { parent: \"assurance\" | \"plan\" | \"workspace snapshot\"; action: string; accepted_flags: readonly string[]; description: string; example: string; }"
12126
+ "signature": "export interface PmPositionalActionContract extends PmCommandPositionalContract { parent: \"assurance\" | \"plan\" | \"workspace\" | \"workspace snapshot\"; action: string; accepted_flags: readonly string[]; description: string; example: string; }"
11986
12127
  },
11987
12128
  {
11988
12129
  "classification": "contract_data",
@@ -12308,6 +12449,54 @@
12308
12449
  "name": "PmToolCustomFieldCollision",
12309
12450
  "signature": "export interface PmToolCustomFieldCollision { field: string; property: string; owner: \"mcp_tool_input\"; nested_path: string; }"
12310
12451
  },
12452
+ {
12453
+ "classification": "advanced_export",
12454
+ "kind": "interface",
12455
+ "name": "PmToolDiscoveryAppliedSignal",
12456
+ "signature": "export interface PmToolDiscoveryAppliedSignal { value: number; weight: number; available: boolean; source: \"computed\" | \"host\" | \"authorization\" | \"unavailable\"; }"
12457
+ },
12458
+ {
12459
+ "classification": "advanced_export",
12460
+ "kind": "interface",
12461
+ "name": "PmToolDiscoveryCandidate",
12462
+ "signature": "export interface PmToolDiscoveryCandidate { name: string; description: string; inputSchema: Record<string, unknown>; authorized?: boolean; signals?: PmToolDiscoverySignalInput; }"
12463
+ },
12464
+ {
12465
+ "classification": "advanced_export",
12466
+ "kind": "interface",
12467
+ "name": "PmToolDiscoveryOmissionReceipt",
12468
+ "signature": "export interface PmToolDiscoveryOmissionReceipt { has_omissions: boolean; omitted: Array<{ name: \"input_schema\" | \"tools\"; reason: \"compact_projection\" | \"limit\" | \"token_budget\"; restore_with: string; }>; }"
12469
+ },
12470
+ {
12471
+ "classification": "advanced_export",
12472
+ "kind": "interface",
12473
+ "name": "PmToolDiscoveryOptions",
12474
+ "signature": "export interface PmToolDiscoveryOptions { query?: string; family?: PmCommandCapabilityFamily; tier?: Exclude<PmCommandVisibilityTier, \"internal\">; limit?: number; cursor?: string; includeSchema?: boolean; outputBudget?: number | \"unbounded\"; profile?: PmMcpToolProfile; cursorIntegrityKey?: Uint8Array; }"
12475
+ },
12476
+ {
12477
+ "classification": "advanced_export",
12478
+ "kind": "interface",
12479
+ "name": "PmToolDiscoveryResult",
12480
+ "signature": "export interface PmToolDiscoveryResult { result_type: \"pm_tool_discovery\"; contract_version: 1; query: string; profile: PmMcpToolProfile; tools: PmToolDiscoveryResultRow[]; total: number; returned: number; has_more: boolean; next_cursor?: string; token_cost: { estimated_tokens: number; budget: number | \"unbounded\"; within_budget: boolean; }; ranking_policy: { version: 1; formula: \"weighted_sum_then_name\"; weights: Readonly<Record<PmToolDiscoverySignalName, number>>; }; cache: { key: string; ttl_ms: number; scope: \"private\"; invalidates_on: readonly string[]; }; omission_receipt: PmToolDiscoveryOmissionReceipt; }"
12481
+ },
12482
+ {
12483
+ "classification": "advanced_export",
12484
+ "kind": "interface",
12485
+ "name": "PmToolDiscoveryResultRow",
12486
+ "signature": "export interface PmToolDiscoveryResultRow { name: string; description: string; command: string; tier: PmCommandVisibilityTier; family: PmCommandCapabilityFamily; score: number; signals: Readonly<Record<PmToolDiscoverySignalName, PmToolDiscoveryAppliedSignal>>; input_schema?: Record<string, unknown>; }"
12487
+ },
12488
+ {
12489
+ "classification": "advanced_export",
12490
+ "kind": "interface",
12491
+ "name": "PmToolDiscoverySignalInput",
12492
+ "signature": "export interface PmToolDiscoverySignalInput { semantic?: number; graph?: number; freshness?: number; usage?: number; }"
12493
+ },
12494
+ {
12495
+ "classification": "advanced_export",
12496
+ "kind": "type",
12497
+ "name": "PmToolDiscoverySignalName",
12498
+ "signature": "export type PmToolDiscoverySignalName = \"lexical\" | \"semantic\" | \"graph\" | \"permission\" | \"freshness\" | \"usage\";"
12499
+ },
12311
12500
  {
12312
12501
  "classification": "contract_data",
12313
12502
  "kind": "type",
@@ -13160,6 +13349,12 @@
13160
13349
  "name": "readWorkspaceMemory",
13161
13350
  "signature": "(items: readonly ItemMetadata[], options: { pmRoot: string; statusRegistry: RuntimeStatusRegistry; now: string; minimumItems?: number; sourceCursor?: string; }) => Promise<WorkspaceMemoryReadResult> | calls: (items: readonly ItemMetadata[], options: { pmRoot: string; statusRegistry: RuntimeStatusRegistry; now: string; minimumItems?: number; sourceCursor?: string; }) => Promise<WorkspaceMemoryReadResult>"
13162
13351
  },
13352
+ {
13353
+ "classification": "supported",
13354
+ "kind": "function",
13355
+ "name": "readWorkspacePosition",
13356
+ "signature": "(global: GlobalOptions) => Promise<WorkspacePositionResult> | calls: (global: GlobalOptions) => Promise<WorkspacePositionResult>"
13357
+ },
13163
13358
  {
13164
13359
  "classification": "supported",
13165
13360
  "kind": "interface",
@@ -15446,6 +15641,12 @@
15446
15641
  "name": "runMergeInstall",
15447
15642
  "signature": "(options: MergeInstallOptions, global: GlobalOptions) => Promise<MergeInstallResult> | calls: (options: MergeInstallOptions, global: GlobalOptions) => Promise<MergeInstallResult>"
15448
15643
  },
15644
+ {
15645
+ "classification": "supported",
15646
+ "kind": "function",
15647
+ "name": "runMergeReceiptEvidenceReport",
15648
+ "signature": "(options: { includeReconciled?: boolean; cwd?: string; }) => Promise<MergeReceiptEvidenceReport> | calls: (options: { includeReconciled?: boolean; cwd?: string; }) => Promise<MergeReceiptEvidenceReport>"
15649
+ },
15449
15650
  {
15450
15651
  "classification": "supported",
15451
15652
  "kind": "function",
@@ -15798,7 +15999,7 @@
15798
15999
  "classification": "advanced_export",
15799
16000
  "kind": "interface",
15800
16001
  "name": "RuntimeStatusRegistry",
15801
- "signature": "export interface RuntimeStatusRegistry { definitions: RuntimeStatusDefinitionResolved[]; by_id: Map<string, RuntimeStatusDefinitionResolved>; alias_to_id: Map<string, string>; terminal_statuses: Set<string>; terminal_done_statuses: Set<string>; terminal_canceled_statuses: Set<string>; active_statuses: Set<string>; blocked_statuses: Set<string>; draft_statuses: Set<string>; open_status: string; close_status: string; canceled_status: string; }"
16002
+ "signature": "export interface RuntimeStatusRegistry { definitions: RuntimeStatusDefinitionResolved[]; by_id: Map<string, RuntimeStatusDefinitionResolved>; alias_to_id: Map<string, string>; terminal_statuses: Set<string>; terminal_done_statuses: Set<string>; terminal_canceled_statuses: Set<string>; active_statuses: Set<string>; blocked_statuses: Set<string>; draft_statuses: Set<string>; open_status: string; in_progress_status: string; blocked_status: string; close_status: string; canceled_status: string; }"
15802
16003
  },
15803
16004
  {
15804
16005
  "classification": "advanced_export",
@@ -16994,6 +17195,12 @@
16994
17195
  "name": "statusIsTerminal",
16995
17196
  "signature": "(status: string, registry: RuntimeStatusRegistry) => boolean | calls: (status: string, registry: RuntimeStatusRegistry) => boolean"
16996
17197
  },
17198
+ {
17199
+ "classification": "supported",
17200
+ "kind": "interface",
17201
+ "name": "StatusRoleDiagnostics",
17202
+ "signature": "export interface StatusRoleDiagnostics { roleless_status_count: number; roleless_statuses: string[]; roleless_statuses_truncated: boolean; affected_item_count: number; affected_item_ids: string[]; affected_item_ids_truncated: boolean; }"
17203
+ },
16997
17204
  {
16998
17205
  "classification": "supported",
16999
17206
  "kind": "interface",
@@ -18308,6 +18515,24 @@
18308
18515
  "name": "WorkspaceMemorySnapshot",
18309
18516
  "signature": "export interface WorkspaceMemorySnapshot { format_version: number; source_cursor: string; source_item_count: number; generated_at: string; completion_time_sources?: Record<CompletionTimestampSource, number>; rollups: WorkspaceMemoryRollup[]; }"
18310
18517
  },
18518
+ {
18519
+ "classification": "supported",
18520
+ "kind": "interface",
18521
+ "name": "WorkspacePositionNextAction",
18522
+ "signature": "export interface WorkspacePositionNextAction { command: string | null; reason: WorkspacePositionState; }"
18523
+ },
18524
+ {
18525
+ "classification": "supported",
18526
+ "kind": "interface",
18527
+ "name": "WorkspacePositionResult",
18528
+ "signature": "export interface WorkspacePositionResult { ok: boolean; state: WorkspacePositionState; merge_fence: { committed: MergeFenceAuditResult; clone_local_drivers: MergeDriverConfigurationAuditResult | null; }; merge_receipts: { pending_decision_count: number; pending_item_ids: string[]; pending_item_ids_truncated: boolean; lossless_count: number; invalid_evidence_count: number; }; history_drift: { evidence_valid: boolean; drifted_item_count: number; drifted_item_ids: string[]; drifted_item_ids_truncated: boolean; counts: Record<string, unknown>; }; next_action: WorkspacePositionNextAction; warnings: string[]; generated_at: string; }"
18529
+ },
18530
+ {
18531
+ "classification": "supported",
18532
+ "kind": "type",
18533
+ "name": "WorkspacePositionState",
18534
+ "signature": "export type WorkspacePositionState = \"ready\" | \"merge_evidence_invalid\" | \"history_evidence_invalid\" | \"merge_reconciliation_required\" | \"history_repair_required\" | \"merge_fence_unprepared\";"
18535
+ },
18311
18536
  {
18312
18537
  "classification": "advanced_export",
18313
18538
  "kind": "interface",
@@ -21450,7 +21675,7 @@
21450
21675
  "classification": "contract_data",
21451
21676
  "kind": "interface",
21452
21677
  "name": "PmPositionalActionContract",
21453
- "signature": "export interface PmPositionalActionContract extends PmCommandPositionalContract { parent: \"assurance\" | \"plan\" | \"workspace snapshot\"; action: string; accepted_flags: readonly string[]; description: string; example: string; }"
21678
+ "signature": "export interface PmPositionalActionContract extends PmCommandPositionalContract { parent: \"assurance\" | \"plan\" | \"workspace\" | \"workspace snapshot\"; action: string; accepted_flags: readonly string[]; description: string; example: string; }"
21454
21679
  },
21455
21680
  {
21456
21681
  "classification": "contract_data",
@@ -22908,7 +23133,7 @@
22908
23133
  "classification": "supported",
22909
23134
  "kind": "interface",
22910
23135
  "name": "ListOptions",
22911
- "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
23136
+ "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; lifecycleBucket?: \"open\" | \"in_progress\"; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
22912
23137
  },
22913
23138
  {
22914
23139
  "classification": "supported",
@@ -23504,6 +23729,12 @@
23504
23729
  "name": "_testOnlyValidateCommand",
23505
23730
  "signature": "{ applyValidateFix: typeof applyValidateFix; applyValidateFixes: typeof applyValidateFixes; attachValidateFixHints: typeof attachValidateFixHints; buildCommandReferencesCheck: typeof buildCommandReferencesCheck; buildDependencyReferencesCheck: typeof buildDependencyReferencesCheck; buildCloseReasonBackfillRows: typeof buildCloseReasonBackfillRows; buildFilesCheck: typeof buildFilesCheck; buildLifecycleCheck: typeof buildLifecycleCheck; buildLifecycleDependencyGraph: typeof buildLifecycleDependencyGraph; buildLifecycleParentGraph: typeof buildLifecycleParentGraph; buildEstimateBackfillRows: typeof buildEstimateBackfillRows; buildMetadataCounts: typeof buildMetadataCounts; buildMissingFieldOccurrences: typeof buildMissingFieldOccurrences; buildOrphanedPathRows: typeof buildOrphanedPathRows; classifyOrphanedPath: typeof classifyOrphanedPath; collectDefaultProjectFileCandidates: typeof collectDefaultProjectFileCandidates; collectTrackedGitFileCandidates: typeof collectTrackedGitFileCandidates; detectLifecycleDependencyCycles: typeof detectLifecycleDependencyCycles; detectLifecycleParentCycles: typeof detectLifecycleParentCycles; escapeRegExp: typeof escapeRegExp; extractItemIds: typeof extractItemIds; findLifecycleDependencyCycleComponents: typeof findLifecycleDependencyCycleComponents; isMetadataFieldMissing: typeof isMetadataFieldMissing; linkedArtifactPathExceedsFilesystemLimits: typeof linkedArtifactPathExceedsFilesystemLimits; listFilesRecursive: typeof listFilesRecursive; resolveDependencyCycleSeverity: typeof resolveDependencyCycleSeverity; resolveParentCycleSeverity: typeof resolveParentCycleSeverity; resolveFileScanMode: typeof resolveFileScanMode; resolveLifecycleDependencyCycleSamplePath: typeof resolveLifecycleDependencyCycleSamplePath; resolveRequestedChecks: typeof resolveRequestedChecks; resolveValidateMetadataProfile: typeof resolveValidateMetadataProfile; resolveWorkspaceRoot: typeof resolveWorkspaceRoot; sharedDirectoryPrefixLength: typeof sharedDirectoryPrefixLength; summarizeOrphanedPathRows: typeof summarizeOrphanedPathRows; summarizeDuplicateIssueCodes: typeof summarizeDuplicateIssueCodes; toMeaningfulString: typeof toMeaningfulString; }"
23506
23731
  },
23732
+ {
23733
+ "classification": "supported",
23734
+ "kind": "value",
23735
+ "name": "_testOnlyWorkspacePosition",
23736
+ "signature": "{ commandForWorkspacePositionState: typeof commandForWorkspacePositionState; normalizeWorkspaceHistoryDrift: typeof normalizeWorkspaceHistoryDrift; selectWorkspacePositionState: typeof selectWorkspacePositionState; }"
23737
+ },
23507
23738
  {
23508
23739
  "classification": "supported",
23509
23740
  "kind": "function",
@@ -23984,6 +24215,12 @@
23984
24215
  "name": "BuildDefectRecurrenceIndexOptions",
23985
24216
  "signature": "export interface BuildDefectRecurrenceIndexOptions { previous_index?: DefectRecurrenceIndex; changed_item_ids?: string[]; }"
23986
24217
  },
24218
+ {
24219
+ "classification": "supported",
24220
+ "kind": "function",
24221
+ "name": "buildStatusRoleWarnings",
24222
+ "signature": "(diagnostics: StatusRoleDiagnostics) => string[] | calls: (diagnostics: StatusRoleDiagnostics) => string[]"
24223
+ },
23987
24224
  {
23988
24225
  "classification": "supported",
23989
24226
  "kind": "interface",
@@ -24242,6 +24479,12 @@
24242
24479
  "name": "FindSimilarItemsOptions",
24243
24480
  "signature": "export interface FindSimilarItemsOptions { pmRoot?: string; cwd?: string; limit?: number; threshold?: number; }"
24244
24481
  },
24482
+ {
24483
+ "classification": "supported",
24484
+ "kind": "function",
24485
+ "name": "formatWorkspacePositionHuman",
24486
+ "signature": "(result: WorkspacePositionResult) => string | calls: (result: WorkspacePositionResult) => string"
24487
+ },
24245
24488
  {
24246
24489
  "classification": "supported",
24247
24490
  "kind": "interface",
@@ -24338,6 +24581,12 @@
24338
24581
  "name": "InspectStaleInProgressOptions",
24339
24582
  "signature": "export interface InspectStaleInProgressOptions { in_progress_status?: string; threshold_hours: number; now?: Date; last_history_activity?: (item: ItemMetadata) => string | undefined; }"
24340
24583
  },
24584
+ {
24585
+ "classification": "supported",
24586
+ "kind": "function",
24587
+ "name": "inspectStatusRoleAssignments",
24588
+ "signature": "(statusRegistry: RuntimeStatusRegistry, items: readonly ItemMetadata[], itemLimit?: number) => StatusRoleDiagnostics | calls: (statusRegistry: RuntimeStatusRegistry, items: readonly ItemMetadata[], itemLimit?: number) => StatusRoleDiagnostics"
24589
+ },
24341
24590
  {
24342
24591
  "classification": "supported",
24343
24592
  "kind": "function",
@@ -24524,6 +24773,12 @@
24524
24773
  "name": "putAssuranceDeclarationBundle",
24525
24774
  "signature": "(pmRoot: string, bundle: AssuranceDeclarationBundle, options?: AssuranceMutationOptions) => Promise<AssuranceBundleMutationReceipt> | calls: (pmRoot: string, bundle: AssuranceDeclarationBundle, options?: AssuranceMutationOptions) => Promise<AssuranceBundleMutationReceipt>"
24526
24775
  },
24776
+ {
24777
+ "classification": "supported",
24778
+ "kind": "function",
24779
+ "name": "readWorkspacePosition",
24780
+ "signature": "(global: GlobalOptions) => Promise<WorkspacePositionResult> | calls: (global: GlobalOptions) => Promise<WorkspacePositionResult>"
24781
+ },
24527
24782
  {
24528
24783
  "classification": "supported",
24529
24784
  "kind": "function",
@@ -24716,6 +24971,12 @@
24716
24971
  "name": "StaleInProgressScan",
24717
24972
  "signature": "export interface StaleInProgressScan { threshold_hours: number; count: number; items: StaleInProgressItem[]; remediation: string; }"
24718
24973
  },
24974
+ {
24975
+ "classification": "supported",
24976
+ "kind": "interface",
24977
+ "name": "StatusRoleDiagnostics",
24978
+ "signature": "export interface StatusRoleDiagnostics { roleless_status_count: number; roleless_statuses: string[]; roleless_statuses_truncated: boolean; affected_item_count: number; affected_item_ids: string[]; affected_item_ids_truncated: boolean; }"
24979
+ },
24719
24980
  {
24720
24981
  "classification": "supported",
24721
24982
  "kind": "interface",
@@ -24877,6 +25138,24 @@
24877
25138
  "kind": "interface",
24878
25139
  "name": "WaivedBoundaryRecord",
24879
25140
  "signature": "export interface WaivedBoundaryRecord { id: string; producer: string; consumer: string; format: string; waiver_reason: string; waiver_owner: string; waiver_expires_at: string; }"
25141
+ },
25142
+ {
25143
+ "classification": "supported",
25144
+ "kind": "interface",
25145
+ "name": "WorkspacePositionNextAction",
25146
+ "signature": "export interface WorkspacePositionNextAction { command: string | null; reason: WorkspacePositionState; }"
25147
+ },
25148
+ {
25149
+ "classification": "supported",
25150
+ "kind": "interface",
25151
+ "name": "WorkspacePositionResult",
25152
+ "signature": "export interface WorkspacePositionResult { ok: boolean; state: WorkspacePositionState; merge_fence: { committed: MergeFenceAuditResult; clone_local_drivers: MergeDriverConfigurationAuditResult | null; }; merge_receipts: { pending_decision_count: number; pending_item_ids: string[]; pending_item_ids_truncated: boolean; lossless_count: number; invalid_evidence_count: number; }; history_drift: { evidence_valid: boolean; drifted_item_count: number; drifted_item_ids: string[]; drifted_item_ids_truncated: boolean; counts: Record<string, unknown>; }; next_action: WorkspacePositionNextAction; warnings: string[]; generated_at: string; }"
25153
+ },
25154
+ {
25155
+ "classification": "supported",
25156
+ "kind": "type",
25157
+ "name": "WorkspacePositionState",
25158
+ "signature": "export type WorkspacePositionState = \"ready\" | \"merge_evidence_invalid\" | \"history_evidence_invalid\" | \"merge_reconciliation_required\" | \"history_repair_required\" | \"merge_fence_unprepared\";"
24880
25159
  }
24881
25160
  ],
24882
25161
  "types": "dist/sdk/governance.d.ts"
@@ -26300,6 +26579,12 @@
26300
26579
  "name": "HistoryMergeStrategy",
26301
26580
  "signature": "export type HistoryMergeStrategy = \"identical\" | \"fast_forward_ours\" | \"fast_forward_theirs\" | \"union_reanchor\";"
26302
26581
  },
26582
+ {
26583
+ "classification": "supported",
26584
+ "kind": "function",
26585
+ "name": "inspectMergeReceiptEvidence",
26586
+ "signature": "(cwd: string, options?: { includeReconciled?: boolean; includeLossless?: boolean; pmRoot?: string; }) => Promise<MergeReceiptEvidenceScan> | calls: (cwd: string, options?: { includeReconciled?: boolean; includeLossless?: boolean; pmRoot?: string; }) => Promise<MergeReceiptEvidenceScan>"
26587
+ },
26303
26588
  {
26304
26589
  "classification": "supported",
26305
26590
  "kind": "function",
@@ -26444,6 +26729,18 @@
26444
26729
  "name": "MergePreferredSide",
26445
26730
  "signature": "export type MergePreferredSide = \"ours\" | \"theirs\";"
26446
26731
  },
26732
+ {
26733
+ "classification": "supported",
26734
+ "kind": "interface",
26735
+ "name": "MergeReceiptEvidenceReport",
26736
+ "signature": "export interface MergeReceiptEvidenceReport { ok: boolean; complete: boolean; count: number; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; receipts: MergeDecisionReceipt[]; generated_at: string; }"
26737
+ },
26738
+ {
26739
+ "classification": "supported",
26740
+ "kind": "interface",
26741
+ "name": "MergeReceiptEvidenceScan",
26742
+ "signature": "export interface MergeReceiptEvidenceScan { receipts: MergeDecisionReceipt[]; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; }"
26743
+ },
26447
26744
  {
26448
26745
  "classification": "supported",
26449
26746
  "kind": "interface",
@@ -26528,6 +26825,12 @@
26528
26825
  "name": "runMergeInstall",
26529
26826
  "signature": "(options: MergeInstallOptions, global: GlobalOptions) => Promise<MergeInstallResult> | calls: (options: MergeInstallOptions, global: GlobalOptions) => Promise<MergeInstallResult>"
26530
26827
  },
26828
+ {
26829
+ "classification": "supported",
26830
+ "kind": "function",
26831
+ "name": "runMergeReceiptEvidenceReport",
26832
+ "signature": "(options: { includeReconciled?: boolean; cwd?: string; }) => Promise<MergeReceiptEvidenceReport> | calls: (options: { includeReconciled?: boolean; cwd?: string; }) => Promise<MergeReceiptEvidenceReport>"
26833
+ },
26531
26834
  {
26532
26835
  "classification": "supported",
26533
26836
  "kind": "function",
@@ -27402,7 +27705,7 @@
27402
27705
  "classification": "supported",
27403
27706
  "kind": "interface",
27404
27707
  "name": "ListOptions",
27405
- "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
27708
+ "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; lifecycleBucket?: \"open\" | \"in_progress\"; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
27406
27709
  },
27407
27710
  {
27408
27711
  "classification": "supported",
@@ -29268,7 +29571,7 @@
29268
29571
  "classification": "supported",
29269
29572
  "kind": "interface",
29270
29573
  "name": "ListOptions",
29271
- "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
29574
+ "signature": "export interface ListOptions extends SharedItemFilterOptions { ids?: string; assigneeFilter?: string; today?: boolean; recent?: boolean; limit?: string; offset?: string; after?: string; noTruncate?: boolean; includeBody?: boolean; compact?: boolean; brief?: boolean; full?: boolean; fields?: string; sort?: string; order?: string; tree?: boolean; treeDepth?: string; excludeTerminal?: boolean; strictRead?: boolean; dependencyBlocked?: boolean; lifecycleBucket?: \"open\" | \"in_progress\"; filterAcMissing?: boolean; filterEstimatesMissing?: boolean; filterResolutionMissing?: boolean; filterMetadataMissing?: boolean; }"
29272
29575
  },
29273
29576
  {
29274
29577
  "classification": "supported",
@@ -31873,6 +32176,7 @@
31873
32176
  "stale_observed_signature",
31874
32177
  "status_duplicate",
31875
32178
  "status_invalid",
32179
+ "status_lifecycle_role_required",
31876
32180
  "stdin_json_invalid",
31877
32181
  "stdin_json_unknown_key",
31878
32182
  "structured_event_immutable",