@unbrained/pm-cli 2026.8.22 → 2026.8.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +28 -0
  3. package/dist/cli/error-guidance.d.ts +13 -0
  4. package/dist/cli/error-guidance.js +62 -6
  5. package/dist/cli/main.js +13 -4
  6. package/dist/cli/register-mutation.js +6 -6
  7. package/dist/cli/register-operations.d.ts +73 -0
  8. package/dist/cli/register-operations.js +39 -14
  9. package/dist/cli/register-setup.js +3 -3
  10. package/dist/cli/schema-registration-helpers.d.ts +8 -1
  11. package/dist/cli/schema-registration-helpers.js +14 -5
  12. package/dist/cli-bundle/bundle-manifest.json +155 -155
  13. package/dist/cli-bundle/chunks/chunk-3ENVHX6C.js +36 -0
  14. package/dist/cli-bundle/chunks/{chunk-QI2CT3IX.js → chunk-DW2CGEMU.js} +2 -2
  15. package/dist/cli-bundle/chunks/{chunk-WG4STC36.js → chunk-EG6CLDZT.js} +2 -2
  16. package/dist/cli-bundle/chunks/{chunk-MYYI3ZOA.js → chunk-F3AI2JFL.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-U6GQ4VMV.js → chunk-HWZ6CELB.js} +4 -4
  18. package/dist/cli-bundle/chunks/chunk-HZBMLSZI.js +201 -0
  19. package/dist/cli-bundle/chunks/chunk-JB4KZWBF.js +3 -0
  20. package/dist/cli-bundle/chunks/chunk-KPH73XXJ.js +2 -0
  21. package/dist/cli-bundle/chunks/{chunk-BWX4SK46.js → chunk-KXPMB2YL.js} +58 -58
  22. package/dist/cli-bundle/chunks/{chunk-MZTZQTMS.js → chunk-QDVHNHAQ.js} +2 -2
  23. package/dist/cli-bundle/chunks/chunk-TFI5V5N2.js +13 -0
  24. package/dist/cli-bundle/chunks/{register-list-query-HZKBQNWW.js → register-list-query-UJB5FMV2.js} +2 -2
  25. package/dist/cli-bundle/chunks/register-mutation-NX5XE4VX.js +20 -0
  26. package/dist/cli-bundle/chunks/register-operations-RXIJIYXC.js +2 -0
  27. package/dist/cli-bundle/chunks/{register-setup-QK4OTOXN.js → register-setup-GFUZEKRE.js} +2 -2
  28. package/dist/cli-bundle/focused-chunks/{chunk-2POVTNLY.js → chunk-37Z4OEAP.js} +2 -2
  29. package/dist/cli-bundle/focused-chunks/chunk-3UPTYG44.js +8 -0
  30. package/dist/cli-bundle/focused-chunks/{chunk-E2EWYPY6.js → chunk-5S7E72FY.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-GMYPD4FX.js → chunk-AUFH5H35.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/chunk-E7X25GC3.js +2 -0
  33. package/dist/cli-bundle/focused-chunks/{chunk-3LKU6PTJ.js → chunk-FQCSTBWE.js} +2 -2
  34. package/dist/cli-bundle/focused-chunks/{chunk-6S2MO3Q3.js → chunk-FZS4H32O.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/chunk-IFLWKY2R.js +156 -0
  36. package/dist/cli-bundle/focused-chunks/{chunk-PMGJUFNQ.js → chunk-JOWDB2MH.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/chunk-LYVSW5VM.js +2 -0
  38. package/dist/cli-bundle/focused-chunks/chunk-MRCNF3U6.js +2 -0
  39. package/dist/cli-bundle/focused-chunks/{chunk-A2BC5PQL.js → chunk-OFVUGTLJ.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/{chunk-2ARQGDDW.js → chunk-OGLQBL46.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/{chunk-R6SR45XU.js → chunk-OY7QAV4Y.js} +48 -47
  42. package/dist/cli-bundle/focused-chunks/chunk-QGFNI65N.js +26 -0
  43. package/dist/cli-bundle/focused-chunks/{chunk-D6RBZEJJ.js → chunk-R27IDGHD.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-UYRFYCDQ.js +5 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-PH2OXXVZ.js → chunk-ZHVA42R5.js} +9 -9
  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 +2 -2
  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 +33 -32
  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 +5 -5
  57. package/dist/core/config/nested-settings.js +8 -2
  58. package/dist/core/config/positional-value.d.ts +1 -1
  59. package/dist/core/config/positional-value.js +5 -2
  60. package/dist/core/history/history.js +3 -3
  61. package/dist/core/item/item-format.js +66 -12
  62. package/dist/core/reproducibility/context.d.ts +4 -0
  63. package/dist/core/reproducibility/context.js +14 -8
  64. package/dist/core/shared/author.d.ts +55 -1
  65. package/dist/core/shared/author.js +333 -16
  66. package/dist/core/shared/constants.js +3 -2
  67. package/dist/core/store/settings-validator.d.ts +1 -0
  68. package/dist/core/store/settings-validator.js +6 -3
  69. package/dist/core/store/settings.js +5 -2
  70. package/dist/mcp/server.d.ts +1 -1
  71. package/dist/mcp/server.js +30 -9
  72. package/dist/sdk/agent/identity-config.d.ts +63 -0
  73. package/dist/sdk/agent/identity-config.js +107 -0
  74. package/dist/sdk/agent/refusal-corpus-contracts.d.ts +76 -0
  75. package/dist/sdk/agent/refusal-corpus-contracts.js +194 -0
  76. package/dist/sdk/cli-contracts/agent-output-contracts.js +6 -4
  77. package/dist/sdk/cli-contracts/enum-contracts.d.ts +4 -0
  78. package/dist/sdk/cli-contracts/enum-contracts.js +9 -2
  79. package/dist/sdk/cli-contracts/flag-contracts.js +9 -2
  80. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +4 -4
  81. package/dist/sdk/cli-contracts/registration-helpers.js +5 -2
  82. package/dist/sdk/cli-contracts/tool-parameter-tables.js +22 -2
  83. package/dist/sdk/cli-contracts/tool-schema.d.ts +1 -1
  84. package/dist/sdk/cli-contracts/tool-schema.js +14 -3
  85. package/dist/sdk/cli-contracts.d.ts +3 -3
  86. package/dist/sdk/cli-contracts.js +4 -4
  87. package/dist/sdk/config.d.ts +6 -1
  88. package/dist/sdk/config.js +119 -14
  89. package/dist/sdk/context-intent-contracts.js +4 -2
  90. package/dist/sdk/core-governance.d.ts +1 -1
  91. package/dist/sdk/core-governance.js +3 -3
  92. package/dist/sdk/extension/scaffold.js +11 -5
  93. package/dist/sdk/flag-invocation-contracts.js +4 -2
  94. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +50 -2
  95. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +87 -38
  96. package/dist/sdk/governance/assurance-action.js +30 -10
  97. package/dist/sdk/governance/validate.d.ts +2 -2
  98. package/dist/sdk/governance/validate.js +39 -14
  99. package/dist/sdk/index.d.ts +7 -2
  100. package/dist/sdk/index.js +8 -3
  101. package/dist/sdk/lifecycle/create.js +6 -3
  102. package/dist/sdk/lifecycle/update.js +5 -3
  103. package/dist/sdk/merge/three-way.js +105 -26
  104. package/dist/sdk/read-output-budget.d.ts +21 -0
  105. package/dist/sdk/read-output-budget.js +39 -2
  106. package/dist/sdk/read-output-contracts.d.ts +5 -3
  107. package/dist/sdk/read-output-contracts.js +20 -12
  108. package/dist/sdk/reproducibility/process.d.ts +19 -0
  109. package/dist/sdk/reproducibility/process.js +88 -0
  110. package/dist/sdk/runtime-primitives.d.ts +1 -1
  111. package/dist/sdk/runtime-primitives.js +3 -3
  112. package/dist/sdk/runtime.js +6 -5
  113. package/dist/sdk/test/batch.d.ts +6 -0
  114. package/dist/sdk/test/batch.js +15 -3
  115. package/dist/sdk/test/entry.d.ts +1 -1
  116. package/dist/sdk/test/entry.js +3 -2
  117. package/dist/sdk/test/execution.d.ts +28 -3
  118. package/dist/sdk/test/execution.js +193 -34
  119. package/dist/sdk/test/parsers.d.ts +6 -0
  120. package/dist/sdk/test/parsers.js +21 -2
  121. package/dist/sdk/test/trust.d.ts +33 -0
  122. package/dist/sdk/test/trust.js +207 -0
  123. package/dist/types.d.ts +23 -0
  124. package/dist/types.js +2 -2
  125. package/docs/AGENT_PROVENANCE_ADR.md +41 -5
  126. package/docs/CONFIGURATION.md +4 -0
  127. package/docs/DIAGNOSTIC_OUTPUT_CONTRACTS.md +19 -2
  128. package/docs/MERGE_SAFETY.md +15 -1
  129. package/docs/READ_OUTPUT_CONTRACTS.md +11 -1
  130. package/docs/REPRODUCIBLE_WORKSPACES.md +42 -8
  131. package/docs/SDK.md +9 -0
  132. package/docs/SDK_AGENT_SESSION_CONTEXT.md +6 -4
  133. package/docs/SDK_EVIDENCE_TRACEABILITY.md +1 -1
  134. package/docs/TESTING.md +75 -8
  135. package/docs/agent-task-token-baseline.json +2 -2
  136. package/docs/generated/FLAG_LEXICON_BUDGETS.md +2 -2
  137. package/marketplace.json +2 -2
  138. package/package.json +2 -2
  139. package/packages/pm-beads/package.json +1 -1
  140. package/packages/pm-calendar/package.json +1 -1
  141. package/packages/pm-command-kit/package.json +1 -1
  142. package/packages/pm-digital-twin/package.json +1 -1
  143. package/packages/pm-governance-audit/package.json +1 -1
  144. package/packages/pm-guide-shell/package.json +1 -1
  145. package/packages/pm-kanban/package.json +1 -1
  146. package/packages/pm-lifecycle-hooks/package.json +1 -1
  147. package/packages/pm-linked-test-adapters/package.json +1 -1
  148. package/packages/pm-search-advanced/package.json +1 -1
  149. package/packages/pm-templates/package.json +1 -1
  150. package/packages/pm-todos/package.json +1 -1
  151. package/packages/pm-vcs/package.json +1 -1
  152. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  153. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  154. package/sdk/public-surface.json +427 -17
  155. package/dist/cli-bundle/chunks/chunk-EMWDM5FI.js +0 -13
  156. package/dist/cli-bundle/chunks/chunk-HYG6LRL4.js +0 -200
  157. package/dist/cli-bundle/chunks/chunk-SMWXHMVB.js +0 -35
  158. package/dist/cli-bundle/chunks/chunk-VMMIL3SI.js +0 -2
  159. package/dist/cli-bundle/chunks/chunk-YBPJAOQQ.js +0 -3
  160. package/dist/cli-bundle/chunks/register-mutation-HTKEEGRD.js +0 -20
  161. package/dist/cli-bundle/chunks/register-operations-6EMRWJJY.js +0 -2
  162. package/dist/cli-bundle/focused-chunks/chunk-2AZT5WXZ.js +0 -2
  163. package/dist/cli-bundle/focused-chunks/chunk-5SHSBMX2.js +0 -2
  164. package/dist/cli-bundle/focused-chunks/chunk-C4S4A4JJ.js +0 -5
  165. package/dist/cli-bundle/focused-chunks/chunk-L5LDSRO2.js +0 -155
  166. package/dist/cli-bundle/focused-chunks/chunk-MB37AYN6.js +0 -26
  167. package/dist/cli-bundle/focused-chunks/chunk-MCOR37QK.js +0 -2
  168. package/dist/cli-bundle/focused-chunks/chunk-WZE4LIPW.js +0 -8
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "aggregate_completeness": {
3
- "covered_symbols": 1782,
3
+ "covered_symbols": 1793,
4
4
  "excluded": [
5
5
  {
6
6
  "name": "_testOnlyCliContracts",
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ],
10
10
  "missing": [],
11
- "required_symbols": 1783
11
+ "required_symbols": 1794
12
12
  },
13
13
  "breaking_acknowledgements": [
14
14
  {
@@ -1060,6 +1060,54 @@
1060
1060
  ],
1061
1061
  "package_version": "2026.8.21",
1062
1062
  "reason": "Correct projected diagnostic types to model deterministic field omission and disclose bounded omission overflow."
1063
+ },
1064
+ {
1065
+ "changes": [
1066
+ "signature ./sdk:ConfigResult",
1067
+ "signature ./sdk:PmReadOutputTruncationDisclosure",
1068
+ "signature ./sdk/contracts:PmReadOutputTruncationDisclosure",
1069
+ "signature ./sdk/runtime:ConfigResult"
1070
+ ],
1071
+ "package_version": "2026.8.22",
1072
+ "reason": "pm-c0lrdm pm-yds9dt pm-xam9bt: add adapter/config receipts and widen incorrect fixed recovery-budget literals to measured number or explicit null/unbounded"
1073
+ },
1074
+ {
1075
+ "changes": [
1076
+ "signature ./sdk:LinkedTest",
1077
+ "signature ./sdk:PmSettings",
1078
+ "signature ./sdk:TestAllCommandOptions",
1079
+ "signature ./sdk:TestCommandOptions",
1080
+ "signature ./sdk:TestRunResult",
1081
+ "signature ./sdk/core:PmSettings",
1082
+ "signature ./sdk/runtime:LinkedTest",
1083
+ "signature ./sdk/runtime:PmSettings"
1084
+ ],
1085
+ "package_version": "2026.8.22",
1086
+ "reason": "Extend linked-test trust and workspace-context contracts across SDK entrypoints"
1087
+ },
1088
+ {
1089
+ "changes": [
1090
+ "signature ./sdk:PM_TOOL_PARAMETERS_SCHEMA_VERSION",
1091
+ "signature ./sdk/contracts:PM_TOOL_PARAMETERS_SCHEMA_VERSION"
1092
+ ],
1093
+ "package_version": "2026.8.22",
1094
+ "reason": "Extend linked-test trust and workspace-context contracts across SDK entrypoints"
1095
+ },
1096
+ {
1097
+ "changes": [
1098
+ "signature ./sdk:LinkedTestFailureCategory",
1099
+ "signature ./sdk:LinkedTestTrustDecision"
1100
+ ],
1101
+ "package_version": "2026.8.22",
1102
+ "reason": "Add explicit trust-refusal and invalid-provenance classifications required by linked-test execution safety"
1103
+ },
1104
+ {
1105
+ "changes": [
1106
+ "signature ./sdk:LinkedTest",
1107
+ "signature ./sdk/runtime:LinkedTest"
1108
+ ],
1109
+ "package_version": "2026.8.22",
1110
+ "reason": "Additive optional provenance_invalid marker preserves fail-closed storage state without widening the existing provenance source_kind union; two trust helpers are newly exported for CLI-consumer parity."
1063
1111
  }
1064
1112
  ],
1065
1113
  "entrypoints": {
@@ -1174,6 +1222,12 @@
1174
1222
  "name": "acceptAssuranceProposals",
1175
1223
  "signature": "(pmRoot: string, proposals: readonly AssuranceDerivedProposal[], options?: { author?: string; message?: string; }) => Promise<AssuranceBundleMutationReceipt> | calls: (pmRoot: string, proposals: readonly AssuranceDerivedProposal[], options?: { author?: string; message?: string; }) => Promise<AssuranceBundleMutationReceipt>"
1176
1224
  },
1225
+ {
1226
+ "classification": "advanced_export",
1227
+ "kind": "function",
1228
+ "name": "acknowledgeLinkedTests",
1229
+ "signature": "(pmRoot: string, tests: LinkedTest[], acknowledgedAt: string) => Promise<{ acknowledged: number; fingerprints: string[]; }> | calls: (pmRoot: string, tests: LinkedTest[], acknowledgedAt: string) => Promise<{ acknowledged: number; fingerprints: string[]; }>"
1230
+ },
1177
1231
  {
1178
1232
  "classification": "supported",
1179
1233
  "kind": "interface",
@@ -1342,6 +1396,42 @@
1342
1396
  "name": "AgentEpisodeIdentity",
1343
1397
  "signature": "export interface AgentEpisodeIdentity { id: string; label?: string; parent_id?: string; }"
1344
1398
  },
1399
+ {
1400
+ "classification": "advanced_export",
1401
+ "kind": "interface",
1402
+ "name": "AgentIdentityVocabulary",
1403
+ "signature": "export interface AgentIdentityVocabulary { version: number; aliases: Record<string, string>; }"
1404
+ },
1405
+ {
1406
+ "classification": "advanced_export",
1407
+ "kind": "interface",
1408
+ "name": "AgentIdentityVocabularyMutationInput",
1409
+ "signature": "export interface AgentIdentityVocabularyMutationInput { operation: AgentIdentityVocabularyOperation; legacy_author?: string; canonical_harness?: string; observed_authors?: readonly string[]; }"
1410
+ },
1411
+ {
1412
+ "classification": "advanced_export",
1413
+ "kind": "interface",
1414
+ "name": "AgentIdentityVocabularyMutationPlan",
1415
+ "signature": "export interface AgentIdentityVocabularyMutationPlan { vocabulary: AgentIdentityVocabulary; preview: AgentIdentityVocabularyMutationPreview; }"
1416
+ },
1417
+ {
1418
+ "classification": "advanced_export",
1419
+ "kind": "interface",
1420
+ "name": "AgentIdentityVocabularyMutationPreview",
1421
+ "signature": "export interface AgentIdentityVocabularyMutationPreview { operation: AgentIdentityVocabularyOperation; changed: boolean; version_before: number; version_after: number; alias_count: number; residual_author_count: number; }"
1422
+ },
1423
+ {
1424
+ "classification": "advanced_export",
1425
+ "kind": "type",
1426
+ "name": "AgentIdentityVocabularyOperation",
1427
+ "signature": "export type AgentIdentityVocabularyOperation = \"add\" | \"remove\" | \"clear\";"
1428
+ },
1429
+ {
1430
+ "classification": "advanced_export",
1431
+ "kind": "interface",
1432
+ "name": "AgentIdentityVocabularySummary",
1433
+ "signature": "export interface AgentIdentityVocabularySummary { version: number; alias_count: number; }"
1434
+ },
1345
1435
  {
1346
1436
  "classification": "supported",
1347
1437
  "kind": "interface",
@@ -1366,6 +1456,12 @@
1366
1456
  "name": "AgentProvenanceAbsenceReason",
1367
1457
  "signature": "export type AgentProvenanceAbsenceReason = \"harness_unavailable\" | \"resolver_failed\" | \"resolver_not_configured\" | \"probes_disabled\" | \"invalid_value\";"
1368
1458
  },
1459
+ {
1460
+ "classification": "supported",
1461
+ "kind": "interface",
1462
+ "name": "AgentProvenanceAdapter",
1463
+ "signature": "export interface AgentProvenanceAdapter { contract_version: 1; adapter_version: string; priority: number; harness: string; descriptor: HarnessSignalDescriptor; supported_dimensions: readonly string[]; native_sources: readonly (\"environment\" | \"argv\" | \"mcp_client\" | \"session_file\")[]; probe_policy: { max_bytes: number; max_lines: number; network_access: false; subprocess_access: false; }; normalization: { model_family: \"v1\"; effort: \"v1\"; preserve_raw: true; }; confidence: \"high\" | \"medium\" | \"low\"; waivers?: Readonly<Record<string, string>>; }"
1464
+ },
1369
1465
  {
1370
1466
  "classification": "supported",
1371
1467
  "kind": "interface",
@@ -2386,6 +2482,18 @@
2386
2482
  "name": "attachContextIntentReceipt",
2387
2483
  "signature": "<Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => Result & { context_intent?: PmContextIntentReceipt; } | calls: <Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => Result & { context_intent?: PmContextIntentReceipt; }"
2388
2484
  },
2485
+ {
2486
+ "classification": "advanced_export",
2487
+ "kind": "function",
2488
+ "name": "attachLinkedTestMutationProvenance",
2489
+ "signature": "(tests: LinkedTest[] | undefined, author: string, createdAt: string) => Promise<LinkedTest[] | undefined> | calls: (tests: LinkedTest[] | undefined, author: string, createdAt: string) => Promise<LinkedTest[] | undefined>"
2490
+ },
2491
+ {
2492
+ "classification": "advanced_export",
2493
+ "kind": "function",
2494
+ "name": "attachLinkedTestProvenance",
2495
+ "signature": "(tests: LinkedTest[] | undefined, author: string, createdAt: string, sourceRef: string | undefined) => LinkedTest[] | undefined | calls: (tests: LinkedTest[] | undefined, author: string, createdAt: string, sourceRef: string | undefined) => LinkedTest[] | undefined"
2496
+ },
2389
2497
  {
2390
2498
  "classification": "advanced_export",
2391
2499
  "kind": "function",
@@ -2728,6 +2836,12 @@
2728
2836
  "name": "buildWorkspaceMemorySnapshot",
2729
2837
  "signature": "(items: readonly ItemMetadata[], options: { statusRegistry: RuntimeStatusRegistry; sourceCursor: string; now: string; }) => WorkspaceMemorySnapshot | calls: (items: readonly ItemMetadata[], options: { statusRegistry: RuntimeStatusRegistry; sourceCursor: string; now: string; }) => WorkspaceMemorySnapshot"
2730
2838
  },
2839
+ {
2840
+ "classification": "supported",
2841
+ "kind": "value",
2842
+ "name": "BUILTIN_AGENT_PROVENANCE_ADAPTERS",
2843
+ "signature": "readonly AgentProvenanceAdapter[]"
2844
+ },
2731
2845
  {
2732
2846
  "classification": "advanced_export",
2733
2847
  "kind": "value",
@@ -3542,7 +3656,7 @@
3542
3656
  "classification": "advanced_export",
3543
3657
  "kind": "interface",
3544
3658
  "name": "ConfigResult",
3545
- "signature": "export interface ConfigResult { scope: ConfigScope; key?: ConfigKey | string; criteria?: string[]; format?: ItemFormat; policy?: HistoryMissingStreamPolicy | SprintReleaseFormatPolicy | ParentReferencePolicy | ValidateMetadataProfile | GovernancePreset | GovernanceOwnershipEnforcement | GovernanceCreateModeDefault | GovernanceCloseValidationDefault | GovernanceRequireCloseReasonPolicy | GovernanceWorkflowEnforcement | GovernanceForceRequiredForStaleLockPolicy | TestResultTrackingPolicy | TelemetryTrackingPolicy | string; nested_setting?: NestedSettingResultValue; nested_settings?: NestedSettingResultValue[]; keys?: ConfigKeyDescriptor[]; values?: Record<ConfigKey, ConfigValue>; count?: number; context_settings?: ContextConfigValue; has_explicit_item_format?: boolean; migration?: { target_format: ItemFormat; scanned: number; migrated: string[]; removed: string[]; warnings: string[]; }; settings_path: string; changed: boolean; warnings?: string[]; }"
3659
+ "signature": "export interface ConfigResult { scope: ConfigScope; key?: ConfigKey | string; criteria?: string[]; format?: ItemFormat; policy?: HistoryMissingStreamPolicy | SprintReleaseFormatPolicy | ParentReferencePolicy | ValidateMetadataProfile | GovernancePreset | GovernanceOwnershipEnforcement | GovernanceCreateModeDefault | GovernanceCloseValidationDefault | GovernanceRequireCloseReasonPolicy | GovernanceWorkflowEnforcement | GovernanceForceRequiredForStaleLockPolicy | TestResultTrackingPolicy | TelemetryTrackingPolicy | string; nested_setting?: NestedSettingResultValue; nested_settings?: NestedSettingResultValue[]; keys?: ConfigKeyDescriptor[]; values?: Record<ConfigKey, ConfigValue>; count?: number; context_settings?: ContextConfigValue; identity_vocabulary?: AgentIdentityVocabularySummary; vocabulary_mutation?: AgentIdentityVocabularyMutationPreview; has_explicit_item_format?: boolean; migration?: { target_format: ItemFormat; scanned: number; migrated: string[]; removed: string[]; warnings: string[]; }; settings_path: string; changed: boolean; warnings?: string[]; }"
3546
3660
  },
3547
3661
  {
3548
3662
  "classification": "advanced_export",
@@ -4168,6 +4282,12 @@
4168
4282
  "name": "createRelationshipKindRegistry",
4169
4283
  "signature": "() => RelationshipKindRegistry | calls: () => RelationshipKindRegistry"
4170
4284
  },
4285
+ {
4286
+ "classification": "advanced_export",
4287
+ "kind": "function",
4288
+ "name": "createReproducibleProcessRunner",
4289
+ "signature": "(environment: ReproducibleProcessEnvironment) => ReproducibleProcessRunner | calls: (environment: ReproducibleProcessEnvironment) => ReproducibleProcessRunner"
4290
+ },
4171
4291
  {
4172
4292
  "classification": "supported",
4173
4293
  "kind": "interface",
@@ -7822,6 +7942,12 @@
7822
7942
  "name": "LINKED_TEST_PROTECTED_ENV_KEYS",
7823
7943
  "signature": "Set<string>"
7824
7944
  },
7945
+ {
7946
+ "classification": "advanced_export",
7947
+ "kind": "value",
7948
+ "name": "LINKED_TEST_WORKSPACE_CONTEXT_MODE_VALUES",
7949
+ "signature": "readonly [\"source\", \"isolated\", \"snapshot\"]"
7950
+ },
7825
7951
  {
7826
7952
  "classification": "advanced_export",
7827
7953
  "kind": "type",
@@ -7874,13 +8000,13 @@
7874
8000
  "classification": "advanced_export",
7875
8001
  "kind": "interface",
7876
8002
  "name": "LinkedTest",
7877
- "signature": "export interface LinkedTest { command?: string; path?: string; scope: LinkScope; timeout_seconds?: number; pm_context_mode?: \"schema\" | \"tracker\" | \"auto\"; 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; }"
8003
+ "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; }"
7878
8004
  },
7879
8005
  {
7880
8006
  "classification": "advanced_export",
7881
8007
  "kind": "type",
7882
8008
  "name": "LinkedTestFailureCategory",
7883
- "signature": "export type LinkedTestFailureCategory = \"infra_collision\" | \"assertion_failure\" | \"empty_run\" | \"timeout\" | \"max_buffer\" | \"spawn_error\" | \"signal\";"
8009
+ "signature": "export type LinkedTestFailureCategory = \"infra_collision\" | \"trust_refusal\" | \"assertion_failure\" | \"empty_run\" | \"timeout\" | \"max_buffer\" | \"spawn_error\" | \"signal\";"
7884
8010
  },
7885
8011
  {
7886
8012
  "classification": "advanced_export",
@@ -7888,6 +8014,24 @@
7888
8014
  "name": "LinkedTestPmContextMode",
7889
8015
  "signature": "export type LinkedTestPmContextMode = (typeof LINKED_TEST_PM_CONTEXT_MODE_VALUES)[number];"
7890
8016
  },
8017
+ {
8018
+ "classification": "advanced_export",
8019
+ "kind": "interface",
8020
+ "name": "LinkedTestTrustDecision",
8021
+ "signature": "export interface LinkedTestTrustDecision { fingerprint: string; trusted: boolean; reason: \"legacy\" | \"local_mutation\" | \"local_source_ref\" | \"acknowledged\" | \"invalid_provenance\" | \"foreign_source_ref\"; source_ref?: string; current_source_ref?: string; }"
8022
+ },
8023
+ {
8024
+ "classification": "advanced_export",
8025
+ "kind": "function",
8026
+ "name": "linkedTestTrustFingerprint",
8027
+ "signature": "(test: LinkedTest) => string | calls: (test: LinkedTest) => string"
8028
+ },
8029
+ {
8030
+ "classification": "advanced_export",
8031
+ "kind": "type",
8032
+ "name": "LinkedTestWorkspaceContextMode",
8033
+ "signature": "export type LinkedTestWorkspaceContextMode = (typeof LINKED_TEST_WORKSPACE_CONTEXT_MODE_VALUES)[number];"
8034
+ },
7891
8035
  {
7892
8036
  "classification": "supported",
7893
8037
  "kind": "function",
@@ -7948,6 +8092,12 @@
7948
8092
  "name": "LIST_SORT_ORDER_VALUES",
7949
8093
  "signature": "readonly [\"asc\", \"desc\"]"
7950
8094
  },
8095
+ {
8096
+ "classification": "supported",
8097
+ "kind": "function",
8098
+ "name": "listAgentProvenanceAdapters",
8099
+ "signature": "() => readonly AgentProvenanceAdapter[] | calls: () => readonly AgentProvenanceAdapter[]"
8100
+ },
7951
8101
  {
7952
8102
  "classification": "advanced_export",
7953
8103
  "kind": "function",
@@ -8110,6 +8260,18 @@
8110
8260
  "name": "listPmMcpToolsForProfile",
8111
8261
  "signature": "(availableTools: readonly string[], profile: Exclude<PmMcpToolProfile, \"custom\">) => string[] | calls: (availableTools: readonly string[], profile: Exclude<PmMcpToolProfile, \"custom\">) => string[]"
8112
8262
  },
8263
+ {
8264
+ "classification": "advanced_export",
8265
+ "kind": "function",
8266
+ "name": "listPmRequiredArgumentRefusalContracts",
8267
+ "signature": "(contracts?: readonly PmCommandPositionalContract[]) => PmRequiredArgumentRefusalContract[] | calls: (contracts?: readonly PmCommandPositionalContract[]) => PmRequiredArgumentRefusalContract[]"
8268
+ },
8269
+ {
8270
+ "classification": "advanced_export",
8271
+ "kind": "function",
8272
+ "name": "listPmSubcommandRefusalContracts",
8273
+ "signature": "(contracts?: readonly PmCommandPositionalContract[]) => PmSubcommandRefusalContract[] | calls: (contracts?: readonly PmCommandPositionalContract[]) => PmSubcommandRefusalContract[]"
8274
+ },
8113
8275
  {
8114
8276
  "classification": "supported",
8115
8277
  "kind": "function",
@@ -8326,6 +8488,12 @@
8326
8488
  "name": "MERGE_FLAG_CONTRACTS",
8327
8489
  "signature": "CliFlagContract[]"
8328
8490
  },
8491
+ {
8492
+ "classification": "contract_data",
8493
+ "kind": "value",
8494
+ "name": "MERGE_SUBCOMMAND_VALUES",
8495
+ "signature": "readonly [\"install\", \"reconcile\", \"report\", \"driver\"]"
8496
+ },
8329
8497
  {
8330
8498
  "classification": "advanced_export",
8331
8499
  "kind": "function",
@@ -8464,6 +8632,12 @@
8464
8632
  "name": "mergeSortedWarnings",
8465
8633
  "signature": "(...warningGroups: Array<string[] | undefined>) => string[] | calls: (...warningGroups: Array<string[] | undefined>) => string[]"
8466
8634
  },
8635
+ {
8636
+ "classification": "contract_data",
8637
+ "kind": "type",
8638
+ "name": "MergeSubcommand",
8639
+ "signature": "export type MergeSubcommand = (typeof MERGE_SUBCOMMAND_VALUES)[number];"
8640
+ },
8467
8641
  {
8468
8642
  "classification": "advanced_export",
8469
8643
  "kind": "function",
@@ -8614,6 +8788,12 @@
8614
8788
  "name": "NextResult",
8615
8789
  "signature": "export interface NextResult { output_default: \"toon\"; now: string; recommended: NextRecommendation | null; ready: NextActionableItem[]; decision_needed: NextActionableItem[]; blocked: NextActionableItem[]; held_by_others: Array<{ id: string; assignee: string; }>; summary: NextSummary; filters: { type: string | null; tag: string | null; priority: string | number | null; assignee: string | null; assignee_filter: string | null; sprint: string | null; release: string | null; parent: string | null; limit: number; blocked_limit: number; ready_only: boolean; include_decisions: boolean; token_budget: number; }; suggestions?: string[]; warnings?: string[]; ranking?: ContextRankingSummary; packing?: ContextPackingSummary; truncation?: { decision_needed_total?: number; held_by_others_total?: number; }; }"
8616
8790
  },
8791
+ {
8792
+ "classification": "supported",
8793
+ "kind": "function",
8794
+ "name": "normalizeAgentProvenanceAdapterValue",
8795
+ "signature": "(dimension: \"effort\" | \"model\", value: string) => NormalizedAgentProvenanceAdapterValue | calls: (dimension: \"model\" | \"effort\", value: string) => NormalizedAgentProvenanceAdapterValue"
8796
+ },
8617
8797
  {
8618
8798
  "classification": "advanced_export",
8619
8799
  "kind": "function",
@@ -8638,6 +8818,12 @@
8638
8818
  "name": "normalizeBootstrapInvocation",
8639
8819
  "signature": "(argv: string[]) => BootstrapInvocationNormalizationResult | calls: (argv: string[]) => BootstrapInvocationNormalizationResult"
8640
8820
  },
8821
+ {
8822
+ "classification": "supported",
8823
+ "kind": "interface",
8824
+ "name": "NormalizedAgentProvenanceAdapterValue",
8825
+ "signature": "export interface NormalizedAgentProvenanceAdapterValue { raw: string; normalized: string; vocabulary: \"v1\"; }"
8826
+ },
8641
8827
  {
8642
8828
  "classification": "supported",
8643
8829
  "kind": "function",
@@ -9238,6 +9424,12 @@
9238
9424
  "name": "parseLinkedTestStringList",
9239
9425
  "signature": "(raw: string | undefined) => string[] | undefined | calls: (raw: string | undefined) => string[] | undefined"
9240
9426
  },
9427
+ {
9428
+ "classification": "advanced_export",
9429
+ "kind": "function",
9430
+ "name": "parseLinkedTestWorkspaceContextMode",
9431
+ "signature": "(raw: string | undefined, optionName: string) => LinkedTest[\"workspace_context_mode\"] | undefined | calls: (raw: string | undefined, optionName: string) => LinkedTest[\"workspace_context_mode\"] | undefined"
9432
+ },
9241
9433
  {
9242
9434
  "classification": "advanced_export",
9243
9435
  "kind": "function",
@@ -9454,6 +9646,12 @@
9454
9646
  "name": "PLAN_TEMPLATE_NAMES",
9455
9647
  "signature": "readonly [\"bug-investigation\", \"feature-implementation\", \"refactoring-sprint\"]"
9456
9648
  },
9649
+ {
9650
+ "classification": "advanced_export",
9651
+ "kind": "function",
9652
+ "name": "planAgentIdentityVocabularyMutation",
9653
+ "signature": "(current: AgentIdentityVocabulary | undefined, input: AgentIdentityVocabularyMutationInput) => AgentIdentityVocabularyMutationPlan | calls: (current: AgentIdentityVocabulary | undefined, input: AgentIdentityVocabularyMutationInput) => AgentIdentityVocabularyMutationPlan"
9654
+ },
9457
9655
  {
9458
9656
  "classification": "advanced_export",
9459
9657
  "kind": "interface",
@@ -9946,6 +10144,12 @@
9946
10144
  "name": "PM_RECOVERY_REFERENCE_KINDS",
9947
10145
  "signature": "readonly [\"suggested_retry\", \"candidate_command\", \"example\", \"next_step\", \"migration_hint\", \"restore_with\"]"
9948
10146
  },
10147
+ {
10148
+ "classification": "advanced_export",
10149
+ "kind": "value",
10150
+ "name": "PM_REPRODUCIBLE_PROCESS_ENV",
10151
+ "signature": "Readonly<{ readonly clock: \"PM_CLOCK\"; readonly tickMs: \"PM_CLOCK_TICK_MS\"; readonly seed: \"PM_SEED\"; }>"
10152
+ },
9949
10153
  {
9950
10154
  "classification": "contract_data",
9951
10155
  "kind": "value",
@@ -9980,7 +10184,7 @@
9980
10184
  "classification": "contract_data",
9981
10185
  "kind": "value",
9982
10186
  "name": "PM_TOOL_PARAMETERS_SCHEMA_VERSION",
9983
- "signature": "\"4.8.0\""
10187
+ "signature": "\"4.9.0\""
9984
10188
  },
9985
10189
  {
9986
10190
  "classification": "contract_data",
@@ -10504,6 +10708,36 @@
10504
10708
  "name": "PmFlagValueKind",
10505
10709
  "signature": "export type PmFlagValueKind = \"boolean\" | \"string\" | \"number\" | \"list\";"
10506
10710
  },
10711
+ {
10712
+ "classification": "advanced_export",
10713
+ "kind": "interface",
10714
+ "name": "PmGrammarRefusalClosureReport",
10715
+ "signature": "export interface PmGrammarRefusalClosureReport { ok: boolean; probe_count: number; closed_probe_count: number; findings: PmGrammarRefusalFinding[]; }"
10716
+ },
10717
+ {
10718
+ "classification": "advanced_export",
10719
+ "kind": "interface",
10720
+ "name": "PmGrammarRefusalContract",
10721
+ "signature": "export interface PmGrammarRefusalContract { probe_id: string; command: string; refusal_args: readonly string[]; recovery_args: readonly string[]; error_code: \"invalid_argument_value\" | \"missing_lifecycle_target\" | \"missing_required_argument\" | \"unknown_subcommand\"; }"
10722
+ },
10723
+ {
10724
+ "classification": "advanced_export",
10725
+ "kind": "interface",
10726
+ "name": "PmGrammarRefusalFinding",
10727
+ "signature": "export interface PmGrammarRefusalFinding { code: PmGrammarRefusalFindingCode; probe_id: string; detail: string; }"
10728
+ },
10729
+ {
10730
+ "classification": "advanced_export",
10731
+ "kind": "type",
10732
+ "name": "PmGrammarRefusalFindingCode",
10733
+ "signature": "export type PmGrammarRefusalFindingCode = \"refusal_allowed_values_mismatch\" | \"refusal_error_code_mismatch\" | \"refusal_exit_code_mismatch\" | \"refusal_mutated_state\" | \"refusal_probe_missing\" | \"refusal_recovery_failed\" | \"unexpected_refusal_probe\";"
10734
+ },
10735
+ {
10736
+ "classification": "advanced_export",
10737
+ "kind": "interface",
10738
+ "name": "PmGrammarRefusalObservation",
10739
+ "signature": "export interface PmGrammarRefusalObservation { probe_id: string; error_code: string; exit_code: number; allowed_values: readonly string[]; recovery_succeeded: boolean; refusal_mutated_state: boolean; mutated_paths?: readonly string[]; }"
10740
+ },
10507
10741
  {
10508
10742
  "classification": "advanced_export",
10509
10743
  "kind": "interface",
@@ -10702,6 +10936,18 @@
10702
10936
  "name": "PmReadOutputReceipt",
10703
10937
  "signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; budget_source?: \"default\"; budget_tokens?: number; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; canonical_options_used?: string[]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; compacted_row_paths?: string[]; result_omitted: boolean; omitted_result_estimated_tokens?: number; }"
10704
10938
  },
10939
+ {
10940
+ "classification": "contract_data",
10941
+ "kind": "interface",
10942
+ "name": "PmReadOutputRecoveryBudget",
10943
+ "signature": "export interface PmReadOutputRecoveryBudget { output_budget: number | \"unbounded\"; recovery_budget_multiplier: number | null; rule_version: \"v1\"; }"
10944
+ },
10945
+ {
10946
+ "classification": "contract_data",
10947
+ "kind": "interface",
10948
+ "name": "PmReadOutputRecoveryBudgetInput",
10949
+ "signature": "export interface PmReadOutputRecoveryBudgetInput { effective_budget_tokens: number; measured_result_tokens: number; }"
10950
+ },
10705
10951
  {
10706
10952
  "classification": "supported",
10707
10953
  "kind": "type",
@@ -10754,7 +11000,7 @@
10754
11000
  "classification": "contract_data",
10755
11001
  "kind": "interface",
10756
11002
  "name": "PmReadOutputTruncationDisclosure",
10757
- "signature": "export interface PmReadOutputTruncationDisclosure { reason: \"output_budget_reached\"; budget_source: PmReadOutputDimensionSource | \"session\"; budget_tokens: number; overridden_dimensions: PmReadOutputDimension[]; compacted_row_paths: string[]; continuation_cursor_rebased: boolean; continuation_available: boolean; recovery_budget_multiplier: 1; continuations: PmReadOutputContinuation[]; restore_with: string; recovery: { cursor: string; cli: \"--output-cursor\"; sdk: \"outputCursor\"; mcp: \"outputCursor\"; } | { cli: string; sdk: { outputBudget: number; }; mcp: { outputBudget: number; }; }; }"
11003
+ "signature": "export interface PmReadOutputTruncationDisclosure { reason: \"output_budget_reached\"; budget_source: PmReadOutputDimensionSource | \"session\"; budget_tokens: number; overridden_dimensions: PmReadOutputDimension[]; compacted_row_paths: string[]; continuation_cursor_rebased: boolean; continuation_available: boolean; recovery_budget_multiplier: number | null; continuations: PmReadOutputContinuation[]; restore_with: string; recovery: { cursor: string; cli: \"--output-cursor\"; sdk: \"outputCursor\"; mcp: \"outputCursor\"; } | { cli: string; sdk: { outputBudget: number | \"unbounded\"; }; mcp: { outputBudget: number | \"unbounded\"; }; }; }"
10758
11004
  },
10759
11005
  {
10760
11006
  "classification": "advanced_export",
@@ -10876,6 +11122,12 @@
10876
11122
  "name": "PmRefusalStateContract",
10877
11123
  "signature": "export interface PmRefusalStateContract { state: string; probe_id: string; entrypoints: string[]; expected_exit_class: PmErrorCodeClass; }"
10878
11124
  },
11125
+ {
11126
+ "classification": "advanced_export",
11127
+ "kind": "interface",
11128
+ "name": "PmRequiredArgumentRefusalContract",
11129
+ "signature": "export interface PmRequiredArgumentRefusalContract extends PmGrammarRefusalContract { missing_argument: string; missing_argument_index: number; }"
11130
+ },
10879
11131
  {
10880
11132
  "classification": "contract_data",
10881
11133
  "kind": "interface",
@@ -10892,7 +11144,13 @@
10892
11144
  "classification": "supported",
10893
11145
  "kind": "interface",
10894
11146
  "name": "PmSettings",
10895
- "signature": "export interface PmSettings { version: number; id_prefix: string; ids: { token_length: number; }; author_default: string; agent_identity?: { probes_enabled?: boolean; identity_vocabulary?: { version: number; aliases: Record<string, string>; }; harness_signals: Array<{ harness: string; environment_keys?: string[]; model_environment_keys?: string[]; session_environment_keys?: string[]; provenance_environment_keys?: Record<string, string[]>; provenance_resolvers?: Record<string, \"ai_agent_version\" | \"claude_session_file\">; provenance_unavailable_dimensions?: string[]; argv_markers?: string[]; client_names?: string[]; }>; }; mutation_guard: { require_attributed_author: boolean; secret_guard: \"off\" | \"advise\" | \"block\"; stale_in_progress_hours: number; }; item_format: ItemFormat; locks: { ttl_seconds: number; wait_ms: number; }; checkpoints: { retention_days: number; }; output: { default_format: \"toon\" | \"json\"; }; ux?: { deprecation_hints?: boolean; }; history: { missing_stream: \"auto_create\" | \"strict_error\"; compact_policy: HistoryCompactPolicy; }; validation: { sprint_release_format: SprintReleaseFormatPolicy; parent_reference: ParentReferencePolicy; metadata_profile: ValidateMetadataProfile; metadata_required_fields: ValidateMetadataRequiredField[]; lifecycle_stale_blocker_reason_patterns: string[]; lifecycle_closure_like_blocked_reason_patterns: string[]; lifecycle_closure_like_resolution_patterns: string[]; lifecycle_closure_like_actual_result_patterns: string[]; estimate_defaults_by_type: Record<string, number>; }; governance: GovernanceSettings; workflow: { definition_of_done: string[]; }; testing: { record_results_to_items: boolean; }; telemetry: { enabled: boolean; first_run_prompt_completed: boolean; capture_level: \"minimal\" | \"redacted\" | \"max\"; endpoint: string; installation_id: string; retention_days: number; }; agent_guidance: AgentGuidanceSettings; item_types: { definitions: ItemTypeDefinition[]; }; schema: RuntimeSchemaSettings; extensions: { enabled: string[]; disabled: string[]; policy: ExtensionPolicySettings; }; search: { score_threshold: number; hybrid_semantic_weight: number; max_results: number; embedding_model: string; embedding_corpus_max_characters?: number; embedding_batch_size: number; embedding_timeout_ms: number; scanner_max_batch_retries: number; provider?: string; corpus_fields?: string[]; mutation_refresh_policy: SearchMutationRefreshPolicy; query_expansion: SearchQueryExpansionSettings; rerank: SearchRerankSettings; bm25?: { k1?: number; b?: number; }; tuning?: { title_exact_bonus?: number; title_weight?: number; description_weight?: number; tags_weight?: number; status_weight?: number; body_weight?: number; comments_weight?: number; notes_weight?: number; learnings_weight?: number; dependencies_weight?: number; linked_content_weight?: number; }; }; providers: { openai: { base_url: string; api_key: string; model: string; }; ollama: { base_url: string; model: string; }; }; context: ContextSettings; vector_store: { adapter?: string; collection_name: string; qdrant: { url: string; api_key: string; }; lancedb: { path: string; }; }; }"
11147
+ "signature": "export interface PmSettings { version: number; id_prefix: string; ids: { token_length: number; }; author_default: string; agent_identity?: { probes_enabled?: boolean; identity_vocabulary?: { version: number; aliases: Record<string, string>; }; harness_signals: Array<{ harness: string; environment_keys?: string[]; model_environment_keys?: string[]; session_environment_keys?: string[]; provenance_environment_keys?: Record<string, string[]>; provenance_resolvers?: Record<string, \"ai_agent_version\" | \"claude_session_file\">; provenance_unavailable_dimensions?: string[]; argv_markers?: string[]; client_names?: string[]; }>; }; mutation_guard: { require_attributed_author: boolean; secret_guard: \"off\" | \"advise\" | \"block\"; stale_in_progress_hours: number; }; item_format: ItemFormat; locks: { ttl_seconds: number; wait_ms: number; }; checkpoints: { retention_days: number; }; output: { default_format: \"toon\" | \"json\"; }; ux?: { deprecation_hints?: boolean; }; history: { missing_stream: \"auto_create\" | \"strict_error\"; compact_policy: HistoryCompactPolicy; }; validation: { sprint_release_format: SprintReleaseFormatPolicy; parent_reference: ParentReferencePolicy; metadata_profile: ValidateMetadataProfile; metadata_required_fields: ValidateMetadataRequiredField[]; lifecycle_stale_blocker_reason_patterns: string[]; lifecycle_closure_like_blocked_reason_patterns: string[]; lifecycle_closure_like_resolution_patterns: string[]; lifecycle_closure_like_actual_result_patterns: string[]; estimate_defaults_by_type: Record<string, number>; }; governance: GovernanceSettings; workflow: { definition_of_done: string[]; }; testing: { record_results_to_items: boolean; allow_untrusted_linked_tests: boolean; }; telemetry: { enabled: boolean; first_run_prompt_completed: boolean; capture_level: \"minimal\" | \"redacted\" | \"max\"; endpoint: string; installation_id: string; retention_days: number; }; agent_guidance: AgentGuidanceSettings; item_types: { definitions: ItemTypeDefinition[]; }; schema: RuntimeSchemaSettings; extensions: { enabled: string[]; disabled: string[]; policy: ExtensionPolicySettings; }; search: { score_threshold: number; hybrid_semantic_weight: number; max_results: number; embedding_model: string; embedding_corpus_max_characters?: number; embedding_batch_size: number; embedding_timeout_ms: number; scanner_max_batch_retries: number; provider?: string; corpus_fields?: string[]; mutation_refresh_policy: SearchMutationRefreshPolicy; query_expansion: SearchQueryExpansionSettings; rerank: SearchRerankSettings; bm25?: { k1?: number; b?: number; }; tuning?: { title_exact_bonus?: number; title_weight?: number; description_weight?: number; tags_weight?: number; status_weight?: number; body_weight?: number; comments_weight?: number; notes_weight?: number; learnings_weight?: number; dependencies_weight?: number; linked_content_weight?: number; }; }; providers: { openai: { base_url: string; api_key: string; model: string; }; ollama: { base_url: string; model: string; }; }; context: ContextSettings; vector_store: { adapter?: string; collection_name: string; qdrant: { url: string; api_key: string; }; lancedb: { path: string; }; }; }"
11148
+ },
11149
+ {
11150
+ "classification": "advanced_export",
11151
+ "kind": "interface",
11152
+ "name": "PmSubcommandRefusalContract",
11153
+ "signature": "export interface PmSubcommandRefusalContract extends PmGrammarRefusalContract { rejected_value: string; allowed_values: readonly string[]; }"
10896
11154
  },
10897
11155
  {
10898
11156
  "classification": "contract_data",
@@ -11848,6 +12106,12 @@
11848
12106
  "name": "refreshSearchArtifactsForMutation",
11849
12107
  "signature": "(pmRoot: string, itemIds: string[], options?: RefreshSearchArtifactsForMutationOptions) => Promise<SearchMutationArtifactRefreshResult> | calls: (pmRoot: string, itemIds: string[], options?: RefreshSearchArtifactsForMutationOptions) => Promise<SearchMutationArtifactRefreshResult>"
11850
12108
  },
12109
+ {
12110
+ "classification": "supported",
12111
+ "kind": "function",
12112
+ "name": "registerAgentProvenanceAdapters",
12113
+ "signature": "(adapters: readonly AgentProvenanceAdapter[]) => () => void | calls: (adapters: readonly AgentProvenanceAdapter[]) => () => void"
12114
+ },
11851
12115
  {
11852
12116
  "classification": "supported",
11853
12117
  "kind": "interface",
@@ -12790,6 +13054,24 @@
12790
13054
  "name": "replayToItemDocument",
12791
13055
  "signature": "(document: ReplayDocument) => ItemDocument | calls: (document: ReplayDocument) => ItemDocument"
12792
13056
  },
13057
+ {
13058
+ "classification": "advanced_export",
13059
+ "kind": "interface",
13060
+ "name": "ReproducibleExecutionSettings",
13061
+ "signature": "export interface ReproducibleExecutionSettings { seed: string; clock: string; tickMs: number; }"
13062
+ },
13063
+ {
13064
+ "classification": "advanced_export",
13065
+ "kind": "type",
13066
+ "name": "ReproducibleProcessEnvironment",
13067
+ "signature": "export type ReproducibleProcessEnvironment = Readonly<Record<string, string | undefined>>;"
13068
+ },
13069
+ {
13070
+ "classification": "advanced_export",
13071
+ "kind": "type",
13072
+ "name": "ReproducibleProcessRunner",
13073
+ "signature": "export type ReproducibleProcessRunner = ReproducibleExecutionRunner;"
13074
+ },
12793
13075
  {
12794
13076
  "classification": "advanced_export",
12795
13077
  "kind": "function",
@@ -13096,6 +13378,30 @@
13096
13378
  "name": "resolveLinkedTestFailureExitCode",
13097
13379
  "signature": "(execution: Pick<LinkedTestExecutionResult, \"exitCode\" | \"maxBufferExceeded\" | \"timedOut\">) => number | calls: (execution: Pick<LinkedTestExecutionResult, \"exitCode\" | \"timedOut\" | \"maxBufferExceeded\">) => number"
13098
13380
  },
13381
+ {
13382
+ "classification": "advanced_export",
13383
+ "kind": "function",
13384
+ "name": "resolveLinkedTestSourceRef",
13385
+ "signature": "(cwd?: string) => Promise<string | undefined> | calls: (cwd?: string) => Promise<string | undefined>"
13386
+ },
13387
+ {
13388
+ "classification": "advanced_export",
13389
+ "kind": "function",
13390
+ "name": "resolveLinkedTestSourceWorkspaceRoot",
13391
+ "signature": "(cwd?: string) => string | calls: (cwd?: string) => string"
13392
+ },
13393
+ {
13394
+ "classification": "advanced_export",
13395
+ "kind": "function",
13396
+ "name": "resolveLinkedTestTrust",
13397
+ "signature": "(pmRoot: string, test: LinkedTest, currentSourceRef?: string) => Promise<LinkedTestTrustDecision> | calls: (pmRoot: string, test: LinkedTest, currentSourceRef?: string) => Promise<LinkedTestTrustDecision>"
13398
+ },
13399
+ {
13400
+ "classification": "advanced_export",
13401
+ "kind": "function",
13402
+ "name": "resolveLinkedTestTrustBatch",
13403
+ "signature": "(pmRoot: string, tests: LinkedTest[], currentSourceRef?: string) => Promise<LinkedTestTrustDecision[]> | calls: (pmRoot: string, tests: LinkedTest[], currentSourceRef?: string) => Promise<LinkedTestTrustDecision[]>"
13404
+ },
13099
13405
  {
13100
13406
  "classification": "supported",
13101
13407
  "kind": "function",
@@ -13264,6 +13570,12 @@
13264
13570
  "name": "resolveReadOutputEncoding",
13265
13571
  "signature": "(command: string, options: Record<string, unknown>) => \"json\" | \"toon\" | undefined | calls: (command: string, options: Record<string, unknown>) => \"json\" | \"toon\" | undefined"
13266
13572
  },
13573
+ {
13574
+ "classification": "contract_data",
13575
+ "kind": "function",
13576
+ "name": "resolveReadOutputRecoveryBudget",
13577
+ "signature": "(input: PmReadOutputRecoveryBudgetInput) => PmReadOutputRecoveryBudget | calls: (input: PmReadOutputRecoveryBudgetInput) => PmReadOutputRecoveryBudget"
13578
+ },
13267
13579
  {
13268
13580
  "classification": "supported",
13269
13581
  "kind": "function",
@@ -13294,6 +13606,12 @@
13294
13606
  "name": "resolveRegisteredVectorStoreAdapter",
13295
13607
  "signature": "(registrations: ExtensionRegistrationRegistry | null, configuredAdapter: string | undefined) => RegisteredExtensionVectorStoreAdapter | null | calls: (registrations: ExtensionRegistrationRegistry | null, configuredAdapter: string | undefined) => RegisteredExtensionVectorStoreAdapter | null"
13296
13608
  },
13609
+ {
13610
+ "classification": "advanced_export",
13611
+ "kind": "function",
13612
+ "name": "resolveReproducibleProcessEnvironment",
13613
+ "signature": "(environment: ReproducibleProcessEnvironment) => ReproducibleExecutionSettings | undefined | calls: (environment: ReproducibleProcessEnvironment) => ReproducibleExecutionSettings | undefined"
13614
+ },
13297
13615
  {
13298
13616
  "classification": "advanced_export",
13299
13617
  "kind": "function",
@@ -14320,6 +14638,12 @@
14320
14638
  "name": "runWithHarnessDetectionSignals",
14321
14639
  "signature": "<T>(signals: HarnessDetectionSignals, callback: () => T) => T | calls: <T>(signals: HarnessDetectionSignals, callback: () => T) => T"
14322
14640
  },
14641
+ {
14642
+ "classification": "advanced_export",
14643
+ "kind": "function",
14644
+ "name": "runWithReproducibleProcessEnvironment",
14645
+ "signature": "<T>(environment: ReproducibleProcessEnvironment, operation: () => Promise<T>) => Promise<T> | calls: <T>(environment: ReproducibleProcessEnvironment, operation: () => Promise<T>) => Promise<T>"
14646
+ },
14323
14647
  {
14324
14648
  "classification": "supported",
14325
14649
  "kind": "function",
@@ -14746,6 +15070,12 @@
14746
15070
  "name": "scoreItemSimilarity",
14747
15071
  "signature": "(leftTitle: string, rightTitle: string) => ItemSimilarityScore | calls: (leftTitle: string, rightTitle: string) => ItemSimilarityScore"
14748
15072
  },
15073
+ {
15074
+ "classification": "advanced_export",
15075
+ "kind": "function",
15076
+ "name": "scorePmGrammarRefusalClosure",
15077
+ "signature": "(contracts: readonly (PmRequiredArgumentRefusalContract | PmSubcommandRefusalContract)[], observations: readonly PmGrammarRefusalObservation[]) => PmGrammarRefusalClosureReport | calls: (contracts: readonly (PmRequiredArgumentRefusalContract | PmSubcommandRefusalContract)[], observations: readonly PmGrammarRefusalObservation[]) => PmGrammarRefusalClosureReport"
15078
+ },
14749
15079
  {
14750
15080
  "classification": "contract_data",
14751
15081
  "kind": "function",
@@ -15460,6 +15790,12 @@
15460
15790
  "name": "SubscribeMutationEventsOptions",
15461
15791
  "signature": "export interface SubscribeMutationEventsOptions extends ListMutationEventsOptions { intervalMs?: number; signal?: AbortSignal; }"
15462
15792
  },
15793
+ {
15794
+ "classification": "advanced_export",
15795
+ "kind": "function",
15796
+ "name": "summarizeAgentIdentityVocabulary",
15797
+ "signature": "(vocabulary: AgentIdentityVocabulary | undefined) => AgentIdentityVocabularySummary | calls: (vocabulary: AgentIdentityVocabulary | undefined) => AgentIdentityVocabularySummary"
15798
+ },
15463
15799
  {
15464
15800
  "classification": "supported",
15465
15801
  "kind": "function",
@@ -15704,7 +16040,7 @@
15704
16040
  "classification": "advanced_export",
15705
16041
  "kind": "interface",
15706
16042
  "name": "TestAllCommandOptions",
15707
- "signature": "export interface TestAllCommandOptions { author?: string; status?: string; limit?: string; offset?: string; 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; }"
16043
+ "signature": "export interface TestAllCommandOptions { author?: string; status?: string; limit?: string; offset?: string; timeout?: string; progress?: boolean; envSet?: string[]; envClear?: string[]; sharedHostSafe?: boolean; pmContext?: string; overrideLinkedPmContext?: boolean; workspaceContext?: string; overrideLinkedWorkspaceContext?: boolean; allowUntrustedLinkedTests?: boolean; failOnContextMismatch?: boolean; failOnSkipped?: boolean; failOnEmptyTestRun?: boolean; requireAssertionsForPm?: boolean; checkContext?: boolean; autoPmContext?: boolean; }"
15708
16044
  },
15709
16045
  {
15710
16046
  "classification": "advanced_export",
@@ -15722,7 +16058,7 @@
15722
16058
  "classification": "advanced_export",
15723
16059
  "kind": "interface",
15724
16060
  "name": "TestCommandOptions",
15725
- "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; }"
16061
+ "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; workspaceContext?: string; overrideLinkedWorkspaceContext?: boolean; allowUntrustedLinkedTests?: boolean; acknowledgeLinkedTests?: 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; }"
15726
16062
  },
15727
16063
  {
15728
16064
  "classification": "supported",
@@ -15746,7 +16082,7 @@
15746
16082
  "classification": "advanced_export",
15747
16083
  "kind": "interface",
15748
16084
  "name": "TestRunResult",
15749
- "signature": "export interface TestRunResult { command?: string; path?: string; status: \"passed\" | \"failed\" | \"skipped\"; exit_code?: number; failure_category?: LinkedTestFailureCategory; execution_context?: { requested_pm_context_mode: LinkedTestPmContextMode; pm_context_mode: LinkedTestPmContextMode; auto_pm_context_applied: boolean; is_pm_command: boolean; is_pm_tracker_read_command: boolean; source_project_pm_path: string; sandbox_project_pm_path: string; source_global_pm_path: string; sandbox_global_pm_path: string; source_project_item_count: number; sandbox_project_item_count: number; source_global_item_count: number; sandbox_global_item_count: number; mismatch_detected: boolean; project_extensions_seeded: boolean; global_extensions_seeded: boolean; }; stdout?: string; stderr?: string; error?: string; }"
16085
+ "signature": "export interface TestRunResult { command?: string; path?: string; status: \"passed\" | \"failed\" | \"skipped\"; exit_code?: number; failure_category?: LinkedTestFailureCategory; execution_context?: { requested_pm_context_mode: LinkedTestPmContextMode; pm_context_mode: LinkedTestPmContextMode; auto_pm_context_applied: boolean; is_pm_command: boolean; is_pm_tracker_read_command: boolean; source_project_pm_path: string; sandbox_project_pm_path: string; source_global_pm_path: string; sandbox_global_pm_path: string; source_project_item_count: number; sandbox_project_item_count: number; source_global_item_count: number; sandbox_global_item_count: number; mismatch_detected: boolean; project_extensions_seeded: boolean; global_extensions_seeded: boolean; requested_workspace_context_mode: LinkedTestWorkspaceContextMode; workspace_context_mode: LinkedTestWorkspaceContextMode; working_directory: string; source_workspace_root: string; trust: LinkedTestTrustDecision; }; stdout?: string; stderr?: string; error?: string; }"
15750
16086
  },
15751
16087
  {
15752
16088
  "classification": "advanced_export",
@@ -18964,6 +19300,18 @@
18964
19300
  "name": "MERGE_FLAG_CONTRACTS",
18965
19301
  "signature": "CliFlagContract[]"
18966
19302
  },
19303
+ {
19304
+ "classification": "contract_data",
19305
+ "kind": "value",
19306
+ "name": "MERGE_SUBCOMMAND_VALUES",
19307
+ "signature": "readonly [\"install\", \"reconcile\", \"report\", \"driver\"]"
19308
+ },
19309
+ {
19310
+ "classification": "contract_data",
19311
+ "kind": "type",
19312
+ "name": "MergeSubcommand",
19313
+ "signature": "export type MergeSubcommand = (typeof MERGE_SUBCOMMAND_VALUES)[number];"
19314
+ },
18967
19315
  {
18968
19316
  "classification": "contract_data",
18969
19317
  "kind": "value",
@@ -19298,7 +19646,7 @@
19298
19646
  "classification": "contract_data",
19299
19647
  "kind": "value",
19300
19648
  "name": "PM_TOOL_PARAMETERS_SCHEMA_VERSION",
19301
- "signature": "\"4.8.0\""
19649
+ "signature": "\"4.9.0\""
19302
19650
  },
19303
19651
  {
19304
19652
  "classification": "contract_data",
@@ -19768,6 +20116,18 @@
19768
20116
  "name": "PmReadOutputReceipt",
19769
20117
  "signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; budget_source?: \"default\"; budget_tokens?: number; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; canonical_options_used?: string[]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; compacted_row_paths?: string[]; result_omitted: boolean; omitted_result_estimated_tokens?: number; }"
19770
20118
  },
20119
+ {
20120
+ "classification": "contract_data",
20121
+ "kind": "interface",
20122
+ "name": "PmReadOutputRecoveryBudget",
20123
+ "signature": "export interface PmReadOutputRecoveryBudget { output_budget: number | \"unbounded\"; recovery_budget_multiplier: number | null; rule_version: \"v1\"; }"
20124
+ },
20125
+ {
20126
+ "classification": "contract_data",
20127
+ "kind": "interface",
20128
+ "name": "PmReadOutputRecoveryBudgetInput",
20129
+ "signature": "export interface PmReadOutputRecoveryBudgetInput { effective_budget_tokens: number; measured_result_tokens: number; }"
20130
+ },
19771
20131
  {
19772
20132
  "classification": "contract_data",
19773
20133
  "kind": "type",
@@ -19808,7 +20168,7 @@
19808
20168
  "classification": "contract_data",
19809
20169
  "kind": "interface",
19810
20170
  "name": "PmReadOutputTruncationDisclosure",
19811
- "signature": "export interface PmReadOutputTruncationDisclosure { reason: \"output_budget_reached\"; budget_source: PmReadOutputDimensionSource | \"session\"; budget_tokens: number; overridden_dimensions: PmReadOutputDimension[]; compacted_row_paths: string[]; continuation_cursor_rebased: boolean; continuation_available: boolean; recovery_budget_multiplier: 1; continuations: PmReadOutputContinuation[]; restore_with: string; recovery: { cursor: string; cli: \"--output-cursor\"; sdk: \"outputCursor\"; mcp: \"outputCursor\"; } | { cli: string; sdk: { outputBudget: number; }; mcp: { outputBudget: number; }; }; }"
20171
+ "signature": "export interface PmReadOutputTruncationDisclosure { reason: \"output_budget_reached\"; budget_source: PmReadOutputDimensionSource | \"session\"; budget_tokens: number; overridden_dimensions: PmReadOutputDimension[]; compacted_row_paths: string[]; continuation_cursor_rebased: boolean; continuation_available: boolean; recovery_budget_multiplier: number | null; continuations: PmReadOutputContinuation[]; restore_with: string; recovery: { cursor: string; cli: \"--output-cursor\"; sdk: \"outputCursor\"; mcp: \"outputCursor\"; } | { cli: string; sdk: { outputBudget: number | \"unbounded\"; }; mcp: { outputBudget: number | \"unbounded\"; }; }; }"
19812
20172
  },
19813
20173
  {
19814
20174
  "classification": "contract_data",
@@ -20092,6 +20452,12 @@
20092
20452
  "name": "resolveReadOutputEncoding",
20093
20453
  "signature": "(command: string, options: Record<string, unknown>) => \"json\" | \"toon\" | undefined | calls: (command: string, options: Record<string, unknown>) => \"json\" | \"toon\" | undefined"
20094
20454
  },
20455
+ {
20456
+ "classification": "contract_data",
20457
+ "kind": "function",
20458
+ "name": "resolveReadOutputRecoveryBudget",
20459
+ "signature": "(input: PmReadOutputRecoveryBudgetInput) => PmReadOutputRecoveryBudget | calls: (input: PmReadOutputRecoveryBudgetInput) => PmReadOutputRecoveryBudget"
20460
+ },
20095
20461
  {
20096
20462
  "classification": "contract_data",
20097
20463
  "kind": "function",
@@ -20494,6 +20860,12 @@
20494
20860
  "name": "AgentProvenanceAbsenceReason",
20495
20861
  "signature": "export type AgentProvenanceAbsenceReason = \"harness_unavailable\" | \"resolver_failed\" | \"resolver_not_configured\" | \"probes_disabled\" | \"invalid_value\";"
20496
20862
  },
20863
+ {
20864
+ "classification": "supported",
20865
+ "kind": "interface",
20866
+ "name": "AgentProvenanceAdapter",
20867
+ "signature": "export interface AgentProvenanceAdapter { contract_version: 1; adapter_version: string; priority: number; harness: string; descriptor: HarnessSignalDescriptor; supported_dimensions: readonly string[]; native_sources: readonly (\"environment\" | \"argv\" | \"mcp_client\" | \"session_file\")[]; probe_policy: { max_bytes: number; max_lines: number; network_access: false; subprocess_access: false; }; normalization: { model_family: \"v1\"; effort: \"v1\"; preserve_raw: true; }; confidence: \"high\" | \"medium\" | \"low\"; waivers?: Readonly<Record<string, string>>; }"
20868
+ },
20497
20869
  {
20498
20870
  "classification": "supported",
20499
20871
  "kind": "interface",
@@ -20644,6 +21016,12 @@
20644
21016
  "name": "boundAgentEpisodeIdentity",
20645
21017
  "signature": "(value: unknown, strict: boolean) => AgentEpisodeIdentity | undefined | calls: (value: unknown, strict: boolean) => AgentEpisodeIdentity | undefined"
20646
21018
  },
21019
+ {
21020
+ "classification": "supported",
21021
+ "kind": "value",
21022
+ "name": "BUILTIN_AGENT_PROVENANCE_ADAPTERS",
21023
+ "signature": "readonly AgentProvenanceAdapter[]"
21024
+ },
20647
21025
  {
20648
21026
  "classification": "supported",
20649
21027
  "kind": "value",
@@ -21100,6 +21478,12 @@
21100
21478
  "name": "list",
21101
21479
  "signature": "<Options extends ReadOptions<ListOptions> = ListOptions>(options?: Options, clientOptions?: PmClientOptions) => ReadPromise<ListResult, Options> | calls: <Options extends ReadOptions<ListOptions> = ListOptions>(options?: Options, clientOptions?: PmClientOptions) => ReadPromise<ListResult, Options>"
21102
21480
  },
21481
+ {
21482
+ "classification": "supported",
21483
+ "kind": "function",
21484
+ "name": "listAgentProvenanceAdapters",
21485
+ "signature": "() => readonly AgentProvenanceAdapter[] | calls: () => readonly AgentProvenanceAdapter[]"
21486
+ },
21103
21487
  {
21104
21488
  "classification": "supported",
21105
21489
  "kind": "function",
@@ -21136,6 +21520,18 @@
21136
21520
  "name": "NextResult",
21137
21521
  "signature": "export interface NextResult { output_default: \"toon\"; now: string; recommended: NextRecommendation | null; ready: NextActionableItem[]; decision_needed: NextActionableItem[]; blocked: NextActionableItem[]; held_by_others: Array<{ id: string; assignee: string; }>; summary: NextSummary; filters: { type: string | null; tag: string | null; priority: string | number | null; assignee: string | null; assignee_filter: string | null; sprint: string | null; release: string | null; parent: string | null; limit: number; blocked_limit: number; ready_only: boolean; include_decisions: boolean; token_budget: number; }; suggestions?: string[]; warnings?: string[]; ranking?: ContextRankingSummary; packing?: ContextPackingSummary; truncation?: { decision_needed_total?: number; held_by_others_total?: number; }; }"
21138
21522
  },
21523
+ {
21524
+ "classification": "supported",
21525
+ "kind": "function",
21526
+ "name": "normalizeAgentProvenanceAdapterValue",
21527
+ "signature": "(dimension: \"effort\" | \"model\", value: string) => NormalizedAgentProvenanceAdapterValue | calls: (dimension: \"model\" | \"effort\", value: string) => NormalizedAgentProvenanceAdapterValue"
21528
+ },
21529
+ {
21530
+ "classification": "supported",
21531
+ "kind": "interface",
21532
+ "name": "NormalizedAgentProvenanceAdapterValue",
21533
+ "signature": "export interface NormalizedAgentProvenanceAdapterValue { raw: string; normalized: string; vocabulary: \"v1\"; }"
21534
+ },
21139
21535
  {
21140
21536
  "classification": "supported",
21141
21537
  "kind": "function",
@@ -21356,7 +21752,7 @@
21356
21752
  "classification": "supported",
21357
21753
  "kind": "interface",
21358
21754
  "name": "PmSettings",
21359
- "signature": "export interface PmSettings { version: number; id_prefix: string; ids: { token_length: number; }; author_default: string; agent_identity?: { probes_enabled?: boolean; identity_vocabulary?: { version: number; aliases: Record<string, string>; }; harness_signals: Array<{ harness: string; environment_keys?: string[]; model_environment_keys?: string[]; session_environment_keys?: string[]; provenance_environment_keys?: Record<string, string[]>; provenance_resolvers?: Record<string, \"ai_agent_version\" | \"claude_session_file\">; provenance_unavailable_dimensions?: string[]; argv_markers?: string[]; client_names?: string[]; }>; }; mutation_guard: { require_attributed_author: boolean; secret_guard: \"off\" | \"advise\" | \"block\"; stale_in_progress_hours: number; }; item_format: ItemFormat; locks: { ttl_seconds: number; wait_ms: number; }; checkpoints: { retention_days: number; }; output: { default_format: \"toon\" | \"json\"; }; ux?: { deprecation_hints?: boolean; }; history: { missing_stream: \"auto_create\" | \"strict_error\"; compact_policy: HistoryCompactPolicy; }; validation: { sprint_release_format: SprintReleaseFormatPolicy; parent_reference: ParentReferencePolicy; metadata_profile: ValidateMetadataProfile; metadata_required_fields: ValidateMetadataRequiredField[]; lifecycle_stale_blocker_reason_patterns: string[]; lifecycle_closure_like_blocked_reason_patterns: string[]; lifecycle_closure_like_resolution_patterns: string[]; lifecycle_closure_like_actual_result_patterns: string[]; estimate_defaults_by_type: Record<string, number>; }; governance: GovernanceSettings; workflow: { definition_of_done: string[]; }; testing: { record_results_to_items: boolean; }; telemetry: { enabled: boolean; first_run_prompt_completed: boolean; capture_level: \"minimal\" | \"redacted\" | \"max\"; endpoint: string; installation_id: string; retention_days: number; }; agent_guidance: AgentGuidanceSettings; item_types: { definitions: ItemTypeDefinition[]; }; schema: RuntimeSchemaSettings; extensions: { enabled: string[]; disabled: string[]; policy: ExtensionPolicySettings; }; search: { score_threshold: number; hybrid_semantic_weight: number; max_results: number; embedding_model: string; embedding_corpus_max_characters?: number; embedding_batch_size: number; embedding_timeout_ms: number; scanner_max_batch_retries: number; provider?: string; corpus_fields?: string[]; mutation_refresh_policy: SearchMutationRefreshPolicy; query_expansion: SearchQueryExpansionSettings; rerank: SearchRerankSettings; bm25?: { k1?: number; b?: number; }; tuning?: { title_exact_bonus?: number; title_weight?: number; description_weight?: number; tags_weight?: number; status_weight?: number; body_weight?: number; comments_weight?: number; notes_weight?: number; learnings_weight?: number; dependencies_weight?: number; linked_content_weight?: number; }; }; providers: { openai: { base_url: string; api_key: string; model: string; }; ollama: { base_url: string; model: string; }; }; context: ContextSettings; vector_store: { adapter?: string; collection_name: string; qdrant: { url: string; api_key: string; }; lancedb: { path: string; }; }; }"
21755
+ "signature": "export interface PmSettings { version: number; id_prefix: string; ids: { token_length: number; }; author_default: string; agent_identity?: { probes_enabled?: boolean; identity_vocabulary?: { version: number; aliases: Record<string, string>; }; harness_signals: Array<{ harness: string; environment_keys?: string[]; model_environment_keys?: string[]; session_environment_keys?: string[]; provenance_environment_keys?: Record<string, string[]>; provenance_resolvers?: Record<string, \"ai_agent_version\" | \"claude_session_file\">; provenance_unavailable_dimensions?: string[]; argv_markers?: string[]; client_names?: string[]; }>; }; mutation_guard: { require_attributed_author: boolean; secret_guard: \"off\" | \"advise\" | \"block\"; stale_in_progress_hours: number; }; item_format: ItemFormat; locks: { ttl_seconds: number; wait_ms: number; }; checkpoints: { retention_days: number; }; output: { default_format: \"toon\" | \"json\"; }; ux?: { deprecation_hints?: boolean; }; history: { missing_stream: \"auto_create\" | \"strict_error\"; compact_policy: HistoryCompactPolicy; }; validation: { sprint_release_format: SprintReleaseFormatPolicy; parent_reference: ParentReferencePolicy; metadata_profile: ValidateMetadataProfile; metadata_required_fields: ValidateMetadataRequiredField[]; lifecycle_stale_blocker_reason_patterns: string[]; lifecycle_closure_like_blocked_reason_patterns: string[]; lifecycle_closure_like_resolution_patterns: string[]; lifecycle_closure_like_actual_result_patterns: string[]; estimate_defaults_by_type: Record<string, number>; }; governance: GovernanceSettings; workflow: { definition_of_done: string[]; }; testing: { record_results_to_items: boolean; allow_untrusted_linked_tests: boolean; }; telemetry: { enabled: boolean; first_run_prompt_completed: boolean; capture_level: \"minimal\" | \"redacted\" | \"max\"; endpoint: string; installation_id: string; retention_days: number; }; agent_guidance: AgentGuidanceSettings; item_types: { definitions: ItemTypeDefinition[]; }; schema: RuntimeSchemaSettings; extensions: { enabled: string[]; disabled: string[]; policy: ExtensionPolicySettings; }; search: { score_threshold: number; hybrid_semantic_weight: number; max_results: number; embedding_model: string; embedding_corpus_max_characters?: number; embedding_batch_size: number; embedding_timeout_ms: number; scanner_max_batch_retries: number; provider?: string; corpus_fields?: string[]; mutation_refresh_policy: SearchMutationRefreshPolicy; query_expansion: SearchQueryExpansionSettings; rerank: SearchRerankSettings; bm25?: { k1?: number; b?: number; }; tuning?: { title_exact_bonus?: number; title_weight?: number; description_weight?: number; tags_weight?: number; status_weight?: number; body_weight?: number; comments_weight?: number; notes_weight?: number; learnings_weight?: number; dependencies_weight?: number; linked_content_weight?: number; }; }; providers: { openai: { base_url: string; api_key: string; model: string; }; ollama: { base_url: string; model: string; }; }; context: ContextSettings; vector_store: { adapter?: string; collection_name: string; qdrant: { url: string; api_key: string; }; lancedb: { path: string; }; }; }"
21360
21756
  },
21361
21757
  {
21362
21758
  "classification": "supported",
@@ -21400,6 +21796,12 @@
21400
21796
  "name": "RecurrenceReceipt",
21401
21797
  "signature": "export interface RecurrenceReceipt { reason: string; from_status: string; to_status: string; previous_terminal: PreviousTerminalEvidence; }"
21402
21798
  },
21799
+ {
21800
+ "classification": "supported",
21801
+ "kind": "function",
21802
+ "name": "registerAgentProvenanceAdapters",
21803
+ "signature": "(adapters: readonly AgentProvenanceAdapter[]) => () => void | calls: (adapters: readonly AgentProvenanceAdapter[]) => () => void"
21804
+ },
21403
21805
  {
21404
21806
  "classification": "supported",
21405
21807
  "kind": "function",
@@ -26684,7 +27086,7 @@
26684
27086
  "classification": "advanced_export",
26685
27087
  "kind": "interface",
26686
27088
  "name": "ConfigResult",
26687
- "signature": "export interface ConfigResult { scope: ConfigScope; key?: ConfigKey | string; criteria?: string[]; format?: ItemFormat; policy?: HistoryMissingStreamPolicy | SprintReleaseFormatPolicy | ParentReferencePolicy | ValidateMetadataProfile | GovernancePreset | GovernanceOwnershipEnforcement | GovernanceCreateModeDefault | GovernanceCloseValidationDefault | GovernanceRequireCloseReasonPolicy | GovernanceWorkflowEnforcement | GovernanceForceRequiredForStaleLockPolicy | TestResultTrackingPolicy | TelemetryTrackingPolicy | string; nested_setting?: NestedSettingResultValue; nested_settings?: NestedSettingResultValue[]; keys?: ConfigKeyDescriptor[]; values?: Record<ConfigKey, ConfigValue>; count?: number; context_settings?: ContextConfigValue; has_explicit_item_format?: boolean; migration?: { target_format: ItemFormat; scanned: number; migrated: string[]; removed: string[]; warnings: string[]; }; settings_path: string; changed: boolean; warnings?: string[]; }"
27089
+ "signature": "export interface ConfigResult { scope: ConfigScope; key?: ConfigKey | string; criteria?: string[]; format?: ItemFormat; policy?: HistoryMissingStreamPolicy | SprintReleaseFormatPolicy | ParentReferencePolicy | ValidateMetadataProfile | GovernancePreset | GovernanceOwnershipEnforcement | GovernanceCreateModeDefault | GovernanceCloseValidationDefault | GovernanceRequireCloseReasonPolicy | GovernanceWorkflowEnforcement | GovernanceForceRequiredForStaleLockPolicy | TestResultTrackingPolicy | TelemetryTrackingPolicy | string; nested_setting?: NestedSettingResultValue; nested_settings?: NestedSettingResultValue[]; keys?: ConfigKeyDescriptor[]; values?: Record<ConfigKey, ConfigValue>; count?: number; context_settings?: ContextConfigValue; identity_vocabulary?: AgentIdentityVocabularySummary; vocabulary_mutation?: AgentIdentityVocabularyMutationPreview; has_explicit_item_format?: boolean; migration?: { target_format: ItemFormat; scanned: number; migrated: string[]; removed: string[]; warnings: string[]; }; settings_path: string; changed: boolean; warnings?: string[]; }"
26688
27090
  },
26689
27091
  {
26690
27092
  "classification": "supported",
@@ -27404,7 +27806,7 @@
27404
27806
  "classification": "advanced_export",
27405
27807
  "kind": "interface",
27406
27808
  "name": "LinkedTest",
27407
- "signature": "export interface LinkedTest { command?: string; path?: string; scope: LinkScope; timeout_seconds?: number; pm_context_mode?: \"schema\" | \"tracker\" | \"auto\"; 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; }"
27809
+ "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; }"
27408
27810
  },
27409
27811
  {
27410
27812
  "classification": "supported",
@@ -28016,7 +28418,7 @@
28016
28418
  "classification": "supported",
28017
28419
  "kind": "interface",
28018
28420
  "name": "PmSettings",
28019
- "signature": "export interface PmSettings { version: number; id_prefix: string; ids: { token_length: number; }; author_default: string; agent_identity?: { probes_enabled?: boolean; identity_vocabulary?: { version: number; aliases: Record<string, string>; }; harness_signals: Array<{ harness: string; environment_keys?: string[]; model_environment_keys?: string[]; session_environment_keys?: string[]; provenance_environment_keys?: Record<string, string[]>; provenance_resolvers?: Record<string, \"ai_agent_version\" | \"claude_session_file\">; provenance_unavailable_dimensions?: string[]; argv_markers?: string[]; client_names?: string[]; }>; }; mutation_guard: { require_attributed_author: boolean; secret_guard: \"off\" | \"advise\" | \"block\"; stale_in_progress_hours: number; }; item_format: ItemFormat; locks: { ttl_seconds: number; wait_ms: number; }; checkpoints: { retention_days: number; }; output: { default_format: \"toon\" | \"json\"; }; ux?: { deprecation_hints?: boolean; }; history: { missing_stream: \"auto_create\" | \"strict_error\"; compact_policy: HistoryCompactPolicy; }; validation: { sprint_release_format: SprintReleaseFormatPolicy; parent_reference: ParentReferencePolicy; metadata_profile: ValidateMetadataProfile; metadata_required_fields: ValidateMetadataRequiredField[]; lifecycle_stale_blocker_reason_patterns: string[]; lifecycle_closure_like_blocked_reason_patterns: string[]; lifecycle_closure_like_resolution_patterns: string[]; lifecycle_closure_like_actual_result_patterns: string[]; estimate_defaults_by_type: Record<string, number>; }; governance: GovernanceSettings; workflow: { definition_of_done: string[]; }; testing: { record_results_to_items: boolean; }; telemetry: { enabled: boolean; first_run_prompt_completed: boolean; capture_level: \"minimal\" | \"redacted\" | \"max\"; endpoint: string; installation_id: string; retention_days: number; }; agent_guidance: AgentGuidanceSettings; item_types: { definitions: ItemTypeDefinition[]; }; schema: RuntimeSchemaSettings; extensions: { enabled: string[]; disabled: string[]; policy: ExtensionPolicySettings; }; search: { score_threshold: number; hybrid_semantic_weight: number; max_results: number; embedding_model: string; embedding_corpus_max_characters?: number; embedding_batch_size: number; embedding_timeout_ms: number; scanner_max_batch_retries: number; provider?: string; corpus_fields?: string[]; mutation_refresh_policy: SearchMutationRefreshPolicy; query_expansion: SearchQueryExpansionSettings; rerank: SearchRerankSettings; bm25?: { k1?: number; b?: number; }; tuning?: { title_exact_bonus?: number; title_weight?: number; description_weight?: number; tags_weight?: number; status_weight?: number; body_weight?: number; comments_weight?: number; notes_weight?: number; learnings_weight?: number; dependencies_weight?: number; linked_content_weight?: number; }; }; providers: { openai: { base_url: string; api_key: string; model: string; }; ollama: { base_url: string; model: string; }; }; context: ContextSettings; vector_store: { adapter?: string; collection_name: string; qdrant: { url: string; api_key: string; }; lancedb: { path: string; }; }; }"
28421
+ "signature": "export interface PmSettings { version: number; id_prefix: string; ids: { token_length: number; }; author_default: string; agent_identity?: { probes_enabled?: boolean; identity_vocabulary?: { version: number; aliases: Record<string, string>; }; harness_signals: Array<{ harness: string; environment_keys?: string[]; model_environment_keys?: string[]; session_environment_keys?: string[]; provenance_environment_keys?: Record<string, string[]>; provenance_resolvers?: Record<string, \"ai_agent_version\" | \"claude_session_file\">; provenance_unavailable_dimensions?: string[]; argv_markers?: string[]; client_names?: string[]; }>; }; mutation_guard: { require_attributed_author: boolean; secret_guard: \"off\" | \"advise\" | \"block\"; stale_in_progress_hours: number; }; item_format: ItemFormat; locks: { ttl_seconds: number; wait_ms: number; }; checkpoints: { retention_days: number; }; output: { default_format: \"toon\" | \"json\"; }; ux?: { deprecation_hints?: boolean; }; history: { missing_stream: \"auto_create\" | \"strict_error\"; compact_policy: HistoryCompactPolicy; }; validation: { sprint_release_format: SprintReleaseFormatPolicy; parent_reference: ParentReferencePolicy; metadata_profile: ValidateMetadataProfile; metadata_required_fields: ValidateMetadataRequiredField[]; lifecycle_stale_blocker_reason_patterns: string[]; lifecycle_closure_like_blocked_reason_patterns: string[]; lifecycle_closure_like_resolution_patterns: string[]; lifecycle_closure_like_actual_result_patterns: string[]; estimate_defaults_by_type: Record<string, number>; }; governance: GovernanceSettings; workflow: { definition_of_done: string[]; }; testing: { record_results_to_items: boolean; allow_untrusted_linked_tests: boolean; }; telemetry: { enabled: boolean; first_run_prompt_completed: boolean; capture_level: \"minimal\" | \"redacted\" | \"max\"; endpoint: string; installation_id: string; retention_days: number; }; agent_guidance: AgentGuidanceSettings; item_types: { definitions: ItemTypeDefinition[]; }; schema: RuntimeSchemaSettings; extensions: { enabled: string[]; disabled: string[]; policy: ExtensionPolicySettings; }; search: { score_threshold: number; hybrid_semantic_weight: number; max_results: number; embedding_model: string; embedding_corpus_max_characters?: number; embedding_batch_size: number; embedding_timeout_ms: number; scanner_max_batch_retries: number; provider?: string; corpus_fields?: string[]; mutation_refresh_policy: SearchMutationRefreshPolicy; query_expansion: SearchQueryExpansionSettings; rerank: SearchRerankSettings; bm25?: { k1?: number; b?: number; }; tuning?: { title_exact_bonus?: number; title_weight?: number; description_weight?: number; tags_weight?: number; status_weight?: number; body_weight?: number; comments_weight?: number; notes_weight?: number; learnings_weight?: number; dependencies_weight?: number; linked_content_weight?: number; }; }; providers: { openai: { base_url: string; api_key: string; model: string; }; ollama: { base_url: string; model: string; }; }; context: ContextSettings; vector_store: { adapter?: string; collection_name: string; qdrant: { url: string; api_key: string; }; lancedb: { path: string; }; }; }"
28020
28422
  },
28021
28423
  {
28022
28424
  "classification": "supported",
@@ -29942,6 +30344,7 @@
29942
30344
  "invalid_provenance_predicate",
29943
30345
  "invalid_query_cursor",
29944
30346
  "invalid_read_output_session",
30347
+ "invalid_reproducible_process_environment",
29945
30348
  "invalid_workspace_snapshot_target",
29946
30349
  "item_already_active",
29947
30350
  "item_document_invalid",
@@ -30012,6 +30415,12 @@
30012
30415
  "read_output_cursor_stale",
30013
30416
  "recovery_kind_mismatch",
30014
30417
  "redundant_edge",
30418
+ "refusal_allowed_values_mismatch",
30419
+ "refusal_error_code_mismatch",
30420
+ "refusal_exit_code_mismatch",
30421
+ "refusal_mutated_state",
30422
+ "refusal_probe_missing",
30423
+ "refusal_recovery_failed",
30015
30424
  "reindex_already_running",
30016
30425
  "removed_canonical_spelling",
30017
30426
  "removed_compatibility_spelling",
@@ -30058,6 +30467,7 @@
30058
30467
  "type_duplicate",
30059
30468
  "type_invalid",
30060
30469
  "undeclared_observation",
30470
+ "unexpected_refusal_probe",
30061
30471
  "unknown_command",
30062
30472
  "unknown_context_intent",
30063
30473
  "unknown_error",