@unbrained/pm-cli 2026.9.7 → 2026.9.9

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 (746) hide show
  1. package/.agents/skills/pm-developer/SKILL.md +12 -4
  2. package/.agents/skills/pm-developer/references/MULTI_AGENT_MERGE.md +19 -10
  3. package/.agents/skills/pm-extensions/SKILL.md +6 -0
  4. package/.agents/skills/pm-sdk/SKILL.md +11 -2
  5. package/.agents/skills/pm-user/SKILL.md +7 -2
  6. package/.agents/skills/pm-user/references/ECOSYSTEM_PLANNING.md +95 -0
  7. package/.claude-plugin/marketplace.json +2 -2
  8. package/CHANGELOG.md +231 -182
  9. package/dist/cli/after-command-context-usage.js +1 -48
  10. package/dist/cli/argv-utils.js +1 -40
  11. package/dist/cli/bootstrap-args.js +1 -9
  12. package/dist/cli/bundle-integrity.js +2 -110
  13. package/dist/cli/commander-usage.js +11 -771
  14. package/dist/cli/commands/activity.js +1 -9
  15. package/dist/cli/commands/aggregate.js +1 -5
  16. package/dist/cli/commands/append.js +1 -5
  17. package/dist/cli/commands/claim.js +1 -5
  18. package/dist/cli/commands/close-many.js +1 -5
  19. package/dist/cli/commands/close.js +1 -9
  20. package/dist/cli/commands/comments.js +1 -5
  21. package/dist/cli/commands/config.js +1 -9
  22. package/dist/cli/commands/context.js +1 -9
  23. package/dist/cli/commands/contracts.js +1 -5
  24. package/dist/cli/commands/copy.js +1 -9
  25. package/dist/cli/commands/create.js +1 -9
  26. package/dist/cli/commands/delete.js +1 -9
  27. package/dist/cli/commands/deps.js +1 -9
  28. package/dist/cli/commands/docs.js +1 -9
  29. package/dist/cli/commands/duplicates.js +1 -9
  30. package/dist/cli/commands/eval.js +1 -9
  31. package/dist/cli/commands/extension/describe.js +1 -5
  32. package/dist/cli/commands/extension/scaffold.js +1 -5
  33. package/dist/cli/commands/extension/shared.js +1 -5
  34. package/dist/cli/commands/extension.js +1 -9
  35. package/dist/cli/commands/files.js +1 -9
  36. package/dist/cli/commands/focus.js +1 -9
  37. package/dist/cli/commands/gc.js +1 -9
  38. package/dist/cli/commands/get.js +1 -9
  39. package/dist/cli/commands/graph.js +1 -10
  40. package/dist/cli/commands/health.js +1 -9
  41. package/dist/cli/commands/history-compact.js +1 -10
  42. package/dist/cli/commands/history-redact.js +1 -11
  43. package/dist/cli/commands/history-repair.js +1 -10
  44. package/dist/cli/commands/history.js +1 -5
  45. package/dist/cli/commands/index.js +1 -58
  46. package/dist/cli/commands/init-agent-guidance.js +1 -9
  47. package/dist/cli/commands/init.js +1 -9
  48. package/dist/cli/commands/learnings.js +1 -5
  49. package/dist/cli/commands/lifecycle-transitions.js +1 -5
  50. package/dist/cli/commands/list.js +1 -9
  51. package/dist/cli/commands/merge.js +1 -11
  52. package/dist/cli/commands/next.js +1 -9
  53. package/dist/cli/commands/notes.js +1 -5
  54. package/dist/cli/commands/plan.js +1 -9
  55. package/dist/cli/commands/profile.js +1 -9
  56. package/dist/cli/commands/restore.js +1 -9
  57. package/dist/cli/commands/scheduling-shortcuts.js +1 -9
  58. package/dist/cli/commands/schema.js +1 -10
  59. package/dist/cli/commands/search.js +1 -9
  60. package/dist/cli/commands/stats.js +1 -9
  61. package/dist/cli/commands/telemetry.js +1 -9
  62. package/dist/cli/commands/test-all.js +1 -9
  63. package/dist/cli/commands/test-runs.js +1 -9
  64. package/dist/cli/commands/test.js +1 -9
  65. package/dist/cli/commands/update-many.js +1 -5
  66. package/dist/cli/commands/update.js +1 -9
  67. package/dist/cli/commands/upgrade.js +1 -5
  68. package/dist/cli/commands/validate.js +1 -15
  69. package/dist/cli/context-intent-invocation.js +1 -20
  70. package/dist/cli/description-stdin.js +1 -17
  71. package/dist/cli/error-guidance.js +1 -1353
  72. package/dist/cli/extension-command-help.js +5 -636
  73. package/dist/cli/extension-command-options.js +1 -427
  74. package/dist/cli/extension-recovery.js +1 -126
  75. package/dist/cli/help-content.js +2 -1001
  76. package/dist/cli/help-json-payload.js +4 -570
  77. package/dist/cli/main.d.ts +4 -0
  78. package/dist/cli/main.js +5 -2573
  79. package/dist/cli/migration-gates.js +1 -289
  80. package/dist/cli/public.js +1 -20
  81. package/dist/cli/register-annotations.js +1 -270
  82. package/dist/cli/register-assurance.js +1 -62
  83. package/dist/cli/register-files-lookup.js +1 -56
  84. package/dist/cli/register-history-activity.d.ts +8 -0
  85. package/dist/cli/register-history-activity.js +2 -0
  86. package/dist/cli/register-history-author.js +1 -38
  87. package/dist/cli/register-history-maintenance.d.ts +9 -0
  88. package/dist/cli/register-history-maintenance.js +2 -0
  89. package/dist/cli/register-list-query.js +10 -943
  90. package/dist/cli/register-mutation-options.js +1 -9
  91. package/dist/cli/register-mutation.d.ts +0 -5
  92. package/dist/cli/register-mutation.js +19 -1893
  93. package/dist/cli/register-operations.js +1 -920
  94. package/dist/cli/register-setup.js +1 -716
  95. package/dist/cli/register-structured-mutation.js +1 -196
  96. package/dist/cli/registration-helpers.js +1 -5
  97. package/dist/cli/runtime-compatibility-boundary.js +4 -42
  98. package/dist/cli/schema-registration-helpers.js +1 -73
  99. package/dist/cli/search-refresh.js +1 -13
  100. package/dist/cli/stats-analytics-json.js +1 -68
  101. package/dist/cli/telemetry-flush.js +1 -10
  102. package/dist/cli-bundle/bundle-manifest.json +164 -156
  103. package/dist/cli-bundle/chunks/{chunk-NPN5I67J.js → chunk-3IPRM75M.js} +3 -3
  104. package/dist/cli-bundle/chunks/chunk-4VL5P22L.js +2 -0
  105. package/dist/cli-bundle/chunks/chunk-AAFBV3U3.js +29 -0
  106. package/dist/cli-bundle/chunks/chunk-D3YVILJJ.js +20 -0
  107. package/dist/cli-bundle/chunks/{chunk-WYRZZ5ZE.js → chunk-DEZPZOQ7.js} +2 -2
  108. package/dist/cli-bundle/chunks/chunk-ECBLPN7B.js +3 -0
  109. package/dist/cli-bundle/chunks/chunk-J6ERHBV2.js +235 -0
  110. package/dist/cli-bundle/chunks/chunk-JUNJ5EKI.js +2 -0
  111. package/dist/cli-bundle/chunks/chunk-L5RCDKQ2.js +2 -0
  112. package/dist/cli-bundle/chunks/chunk-NSAPNEYH.js +2 -0
  113. package/dist/cli-bundle/chunks/chunk-OHNLSGGV.js +79 -0
  114. package/dist/cli-bundle/chunks/chunk-WQKMSFBV.js +5 -0
  115. package/dist/cli-bundle/chunks/{chunk-BAX2BYUW.js → chunk-XZ6T7YPP.js} +256 -150
  116. package/dist/cli-bundle/chunks/{chunk-JT6XF6GE.js → chunk-Z3XVXUVF.js} +4 -4
  117. package/dist/cli-bundle/chunks/register-list-query-UIHRCS6D.js +11 -0
  118. package/dist/cli-bundle/chunks/register-mutation-WHWMGRVX.js +20 -0
  119. package/dist/cli-bundle/chunks/register-operations-64YZYTC5.js +2 -0
  120. package/dist/cli-bundle/chunks/register-setup-PERI45EM.js +2 -0
  121. package/dist/cli-bundle/focused-chunks/chunk-2W4XIYOB.js +2 -0
  122. package/dist/cli-bundle/focused-chunks/chunk-2WSBXIGF.js +12 -0
  123. package/dist/cli-bundle/focused-chunks/chunk-5FHTCOHS.js +3 -0
  124. package/dist/cli-bundle/focused-chunks/chunk-7N6DOREF.js +26 -0
  125. package/dist/cli-bundle/focused-chunks/{chunk-3BZEOXLT.js → chunk-7PC4R5QB.js} +2 -2
  126. package/dist/cli-bundle/focused-chunks/chunk-BUCJUZVG.js +6 -0
  127. package/dist/cli-bundle/focused-chunks/chunk-FE3BABLJ.js +2 -0
  128. package/dist/cli-bundle/focused-chunks/chunk-IWITF53W.js +2 -0
  129. package/dist/cli-bundle/focused-chunks/chunk-OQUGRHKV.js +10 -0
  130. package/dist/cli-bundle/focused-chunks/{chunk-M6PBRFSH.js → chunk-PNKIANFZ.js} +2 -2
  131. package/dist/cli-bundle/focused-chunks/{chunk-LIJIA4TY.js → chunk-QQQ4SAUO.js} +3 -3
  132. package/dist/cli-bundle/focused-chunks/chunk-TTYXF5YD.js +177 -0
  133. package/dist/cli-bundle/focused-chunks/chunk-XNR3DM6J.js +2 -0
  134. package/dist/cli-bundle/focused-chunks/chunk-XSS3APUF.js +9 -0
  135. package/dist/cli-bundle/focused-chunks/chunk-YCDQ2N23.js +8 -0
  136. package/dist/cli-bundle/focused-chunks/chunk-YJUXGS57.js +20 -0
  137. package/dist/cli-bundle/focused-chunks/chunk-ZTCE4UO6.js +58 -0
  138. package/dist/cli-bundle/main.js +20 -20
  139. package/dist/cli-bundle/sdk-authoring.js +1 -1
  140. package/dist/cli-bundle/sdk-contracts.js +2 -2
  141. package/dist/cli-bundle/sdk-core.js +37 -37
  142. package/dist/cli-bundle/sdk-governance.js +1 -1
  143. package/dist/cli-bundle/sdk-graph.js +1 -1
  144. package/dist/cli-bundle/sdk-merge.js +42 -42
  145. package/dist/cli-bundle/sdk-query.js +1 -1
  146. package/dist/cli-bundle/sdk-runtime.js +1 -1
  147. package/dist/cli-bundle/sdk-testing.js +1 -1
  148. package/dist/cli-bundle/sdk.js +11 -11
  149. package/dist/cli.js +1 -104
  150. package/dist/core/checkpoint/checkpoint-gc.js +1 -169
  151. package/dist/core/checkpoint/mutation-checkpoint.js +2 -133
  152. package/dist/core/config/nested-settings.js +1 -534
  153. package/dist/core/config/positional-value.js +1 -109
  154. package/dist/core/diagnostics/remediation.js +1 -506
  155. package/dist/core/extensions/activation-summary-markdown.js +2 -145
  156. package/dist/core/extensions/activation-summary.js +1 -92
  157. package/dist/core/extensions/activation-transaction.js +1 -46
  158. package/dist/core/extensions/capability-usage.js +1 -173
  159. package/dist/core/extensions/command-hook-context.js +1 -13
  160. package/dist/core/extensions/command-metadata-contract.js +1 -22
  161. package/dist/core/extensions/command-visibility-tier.js +1 -29
  162. package/dist/core/extensions/contribution-inventory.js +1 -173
  163. package/dist/core/extensions/exporter-output-contract.js +1 -66
  164. package/dist/core/extensions/extension-candidate.js +1 -18
  165. package/dist/core/extensions/extension-capability-aliases.js +1 -158
  166. package/dist/core/extensions/extension-hook-runtime.js +1 -699
  167. package/dist/core/extensions/extension-policy.js +1 -599
  168. package/dist/core/extensions/extension-registries.js +1 -62
  169. package/dist/core/extensions/extension-runtime-helpers.js +1 -33
  170. package/dist/core/extensions/extension-types.js +1 -102
  171. package/dist/core/extensions/flag-definition-validation.js +1 -52
  172. package/dist/core/extensions/flag-value-types.js +1 -64
  173. package/dist/core/extensions/index.js +1 -526
  174. package/dist/core/extensions/item-field-types.js +1 -39
  175. package/dist/core/extensions/item-fields.js +1 -261
  176. package/dist/core/extensions/loader.js +1 -2223
  177. package/dist/core/extensions/manifest-schema.js +1 -69
  178. package/dist/core/extensions/module-graph-snapshot.js +1 -33
  179. package/dist/core/extensions/preflight-ownership.js +1 -41
  180. package/dist/core/extensions/registration-validation.js +1 -82
  181. package/dist/core/extensions/registration-values.js +1 -209
  182. package/dist/core/extensions/reserved-host-flags.js +1 -36
  183. package/dist/core/extensions/runtime-registrations.js +1 -67
  184. package/dist/core/extensions/service-ownership.js +1 -19
  185. package/dist/core/extensions/version-compat.js +1 -216
  186. package/dist/core/fs/fs-utils.js +2 -158
  187. package/dist/core/fs/host-environment-errors.js +1 -141
  188. package/dist/core/fs/index.js +1 -9
  189. package/dist/core/fs/path-utils.js +1 -17
  190. package/dist/core/governance/content-fields.js +1 -160
  191. package/dist/core/governance/issue-codes.js +1 -151
  192. package/dist/core/governance/metadata-coverage.js +1 -358
  193. package/dist/core/history/drift-cache.js +3 -72
  194. package/dist/core/history/drift-scan.js +1 -342
  195. package/dist/core/history/event-classification.js +1 -109
  196. package/dist/core/history/event-index.js +8 -784
  197. package/dist/core/history/history-compact-bulk.js +1 -104
  198. package/dist/core/history/history-diff.js +1 -158
  199. package/dist/core/history/history-rewrite.d.ts +6 -1
  200. package/dist/core/history/history-rewrite.js +1 -107
  201. package/dist/core/history/history-storage-stats.js +1 -102
  202. package/dist/core/history/history-stream-policy.js +1 -62
  203. package/dist/core/history/history.js +2 -617
  204. package/dist/core/history/identity.js +1 -30
  205. package/dist/core/history/index.js +1 -9
  206. package/dist/core/history/projection.js +1 -196
  207. package/dist/core/history/read.d.ts +9 -0
  208. package/dist/core/history/read.js +1 -57
  209. package/dist/core/history/replay.js +2 -439
  210. package/dist/core/history/version-address.js +1 -32
  211. package/dist/core/history/workspace-history.js +2 -433
  212. package/dist/core/io/body-file.js +1 -62
  213. package/dist/core/io/bulk-ids-input.js +1 -112
  214. package/dist/core/item/actionability.js +1 -327
  215. package/dist/core/item/dependency-reference.js +1 -20
  216. package/dist/core/item/id.js +1 -112
  217. package/dist/core/item/index.js +1 -12
  218. package/dist/core/item/item-format-version.js +1 -78
  219. package/dist/core/item/item-format.js +5 -1473
  220. package/dist/core/item/item-record.js +1 -23
  221. package/dist/core/item/item-type-definition.js +1 -133
  222. package/dist/core/item/parent-reference-policy.js +1 -57
  223. package/dist/core/item/parse.js +2 -603
  224. package/dist/core/item/plan-lifecycle.js +1 -19
  225. package/dist/core/item/priority.js +1 -61
  226. package/dist/core/item/sprint-release-format.js +1 -38
  227. package/dist/core/item/status-filter.js +1 -115
  228. package/dist/core/item/status.js +1 -43
  229. package/dist/core/item/toon-decode.js +1 -29
  230. package/dist/core/item/type-registry.js +1 -715
  231. package/dist/core/item/type-synonyms.js +1 -38
  232. package/dist/core/lock/index.js +1 -9
  233. package/dist/core/lock/lock-gc.js +1 -240
  234. package/dist/core/lock/lock.js +3 -590
  235. package/dist/core/output/mutation-projection.js +1 -217
  236. package/dist/core/output/output-control.js +1 -25
  237. package/dist/core/output/output.js +11 -494
  238. package/dist/core/output/query-summary.js +1 -58
  239. package/dist/core/output/tabular.js +1 -77
  240. package/dist/core/packages/manifest.js +1 -244
  241. package/dist/core/packages/root.js +1 -84
  242. package/dist/core/policy/workflow-policy-schema.d.ts +312 -0
  243. package/dist/core/policy/workflow-policy-schema.js +2 -0
  244. package/dist/core/policy/workflow-policy-store.d.ts +24 -0
  245. package/dist/core/policy/workflow-policy-store.js +2 -0
  246. package/dist/core/policy/workflow-policy.d.ts +139 -0
  247. package/dist/core/policy/workflow-policy.js +2 -0
  248. package/dist/core/profile/profile-describe.js +1 -83
  249. package/dist/core/profile/profile-lint.js +1 -415
  250. package/dist/core/profile/profile-plan.js +0 -0
  251. package/dist/core/profile/profile-presets.js +1 -370
  252. package/dist/core/reproducibility/context.js +1 -82
  253. package/dist/core/schema/fields-file.js +2 -288
  254. package/dist/core/schema/item-types-file.js +2 -296
  255. package/dist/core/schema/runtime-field-filters.js +1 -49
  256. package/dist/core/schema/runtime-field-values.js +1 -313
  257. package/dist/core/schema/runtime-schema.js +2 -826
  258. package/dist/core/schema/status-defs-file.js +2 -227
  259. package/dist/core/schema/status-token.js +1 -31
  260. package/dist/core/schema/type-inference.js +1 -95
  261. package/dist/core/schema/type-presets.js +1 -87
  262. package/dist/core/schema/type-workflows.js +1 -104
  263. package/dist/core/search/background-refresh.js +2 -286
  264. package/dist/core/search/bm25.js +1 -146
  265. package/dist/core/search/cache.js +2 -534
  266. package/dist/core/search/corpus.js +1 -311
  267. package/dist/core/search/embedding-batches.js +1 -163
  268. package/dist/core/search/eval.js +1 -225
  269. package/dist/core/search/http-client.js +1 -75
  270. package/dist/core/search/providers.js +1 -242
  271. package/dist/core/search/relevance.js +1 -244
  272. package/dist/core/search/semantic-defaults.js +1 -199
  273. package/dist/core/search/staleness.js +1 -30
  274. package/dist/core/search/vector-stores.js +2 -664
  275. package/dist/core/search/vectorization-metadata.js +1 -81
  276. package/dist/core/sentry/helpers.js +1 -272
  277. package/dist/core/sentry/instrument.js +1 -387
  278. package/dist/core/session/session-state.js +1 -260
  279. package/dist/core/shared/agent-session-context.js +1 -133
  280. package/dist/core/shared/author.js +1 -1172
  281. package/dist/core/shared/command-types.js +1 -4
  282. package/dist/core/shared/conflict-markers.js +1 -31
  283. package/dist/core/shared/constants.js +1 -405
  284. package/dist/core/shared/errors.js +1 -20
  285. package/dist/core/shared/html-entity-decode.js +1 -131
  286. package/dist/core/shared/index.js +1 -12
  287. package/dist/core/shared/item-metadata-contract.js +1 -89
  288. package/dist/core/shared/lazy-module.js +1 -16
  289. package/dist/core/shared/levenshtein.js +1 -61
  290. package/dist/core/shared/memo.js +1 -19
  291. package/dist/core/shared/numeric-parsers.js +1 -20
  292. package/dist/core/shared/option-alias-visibility.js +1 -67
  293. package/dist/core/shared/primitives.js +1 -127
  294. package/dist/core/shared/serial-queue.js +1 -79
  295. package/dist/core/shared/serialization.js +1 -210
  296. package/dist/core/shared/split-comma-list.js +1 -30
  297. package/dist/core/shared/text-normalization.js +1 -38
  298. package/dist/core/shared/time.js +1 -306
  299. package/dist/core/store/index.js +1 -12
  300. package/dist/core/store/item-format-migration.js +1 -125
  301. package/dist/core/store/item-metadata-cache.js +1 -1116
  302. package/dist/core/store/item-metadata-query-index.js +9 -394
  303. package/dist/core/store/item-metadata-read-work.js +1 -43
  304. package/dist/core/store/item-store.js +1 -693
  305. package/dist/core/store/paths.d.ts +1 -1
  306. package/dist/core/store/paths.js +1 -214
  307. package/dist/core/store/settings-read-cache.js +1 -85
  308. package/dist/core/store/settings-validator.d.ts +1 -0
  309. package/dist/core/store/settings-validator.js +1 -421
  310. package/dist/core/store/settings.js +3 -1309
  311. package/dist/core/store/tracker-preflight.js +1 -141
  312. package/dist/core/telemetry/consent.js +5 -108
  313. package/dist/core/telemetry/observability.js +1 -246
  314. package/dist/core/telemetry/runtime.js +4 -1988
  315. package/dist/core/test/background-runs.js +4 -945
  316. package/dist/core/test/item-test-run-tracking.js +1 -63
  317. package/dist/core/test/run-selectors.js +1 -120
  318. package/dist/core/validate/estimate-defaults.js +1 -89
  319. package/dist/core/validate/fix-planning.js +1 -189
  320. package/dist/core/validate/linked-artifact-reference.js +1 -36
  321. package/dist/core/validate/missing-by-type.js +1 -34
  322. package/dist/core/validate/missing-link-owners.js +1 -95
  323. package/dist/core/validate/stale-file-classification.js +1 -82
  324. package/dist/mcp/http-server.js +5 -448
  325. package/dist/mcp/legacy-adapter.js +1 -77
  326. package/dist/mcp/runtime-capabilities.js +1 -200
  327. package/dist/mcp/server.js +4 -1233
  328. package/dist/mcp/tool-definitions.js +1 -804
  329. package/dist/sdk/actionability.js +1 -13
  330. package/dist/sdk/agent/closed-domain-contracts.js +1 -161
  331. package/dist/sdk/agent/command-recovery.js +1 -59
  332. package/dist/sdk/agent/command-suggestions.js +1 -66
  333. package/dist/sdk/agent/create-option-policy.js +1 -31
  334. package/dist/sdk/agent/identity-config.js +1 -106
  335. package/dist/sdk/agent/item-addressing.js +1 -207
  336. package/dist/sdk/agent/refusal-closure-census.js +1 -151
  337. package/dist/sdk/agent/refusal-closure.js +1 -133
  338. package/dist/sdk/agent/refusal-corpus-contracts.js +1 -193
  339. package/dist/sdk/agent/refusal-reachability.js +1 -593
  340. package/dist/sdk/agent/subcommand-recovery.js +1 -83
  341. package/dist/sdk/agent/task-transcript-contracts.js +1 -197
  342. package/dist/sdk/agent/tracker-preflight-contracts.js +1 -126
  343. package/dist/sdk/agent-capability-contracts.js +1 -428
  344. package/dist/sdk/agent-session-context.js +1 -9
  345. package/dist/sdk/annotations.js +1 -448
  346. package/dist/sdk/author-attribution.js +1 -468
  347. package/dist/sdk/authoring.js +1 -20
  348. package/dist/sdk/cli-bootstrap.js +1 -838
  349. package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +1 -1
  350. package/dist/sdk/cli-contracts/agent-output-contracts.js +4 -476
  351. package/dist/sdk/cli-contracts/bootstrap-command-scanner.js +1 -79
  352. package/dist/sdk/cli-contracts/command-aliases.d.ts +4 -0
  353. package/dist/sdk/cli-contracts/command-aliases.js +1 -107
  354. package/dist/sdk/cli-contracts/command-exit-contracts.js +1 -151
  355. package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1081
  356. package/dist/sdk/cli-contracts/commander-types.js +1 -159
  357. package/dist/sdk/cli-contracts/completeness.js +1 -393
  358. package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
  359. package/dist/sdk/cli-contracts/enum-contracts.js +1 -222
  360. package/dist/sdk/cli-contracts/flag-contracts.js +1 -1947
  361. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +1 -347
  362. package/dist/sdk/cli-contracts/grammar-contracts.js +1 -986
  363. package/dist/sdk/cli-contracts/registration-helpers.js +7 -990
  364. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +5 -0
  365. package/dist/sdk/cli-contracts/runtime-contracts.js +1 -2090
  366. package/dist/sdk/cli-contracts/schemas/assurance-definition.js +1 -324
  367. package/dist/sdk/cli-contracts/string-lists.js +1 -16
  368. package/dist/sdk/cli-contracts/tool-option-contracts.js +1 -461
  369. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -2167
  370. package/dist/sdk/cli-contracts/tool-schema.d.ts +3 -1
  371. package/dist/sdk/cli-contracts/tool-schema.js +1 -1664
  372. package/dist/sdk/cli-contracts/typed-action-inputs.js +1 -4
  373. package/dist/sdk/cli-contracts.d.ts +1 -1
  374. package/dist/sdk/cli-contracts.js +1 -17
  375. package/dist/sdk/cli-program.js +1 -49
  376. package/dist/sdk/command-line.d.ts +2 -5
  377. package/dist/sdk/command-line.js +1 -78
  378. package/dist/sdk/comments.js +1 -133
  379. package/dist/sdk/compile-cache.js +1 -73
  380. package/dist/sdk/completion.js +174 -839
  381. package/dist/sdk/compose.js +1 -1090
  382. package/dist/sdk/config.js +1 -1204
  383. package/dist/sdk/context/recency.js +1 -33
  384. package/dist/sdk/context/semantic-session-attribution.js +1 -82
  385. package/dist/sdk/context/usage-egress.js +1 -29
  386. package/dist/sdk/context/usage-ledger.js +3 -185
  387. package/dist/sdk/context-intent-contracts.js +1 -709
  388. package/dist/sdk/context-intent-runtime.js +1 -115
  389. package/dist/sdk/context-packing.js +1 -218
  390. package/dist/sdk/context-relevance.js +1 -503
  391. package/dist/sdk/context-signal-store.js +2 -426
  392. package/dist/sdk/context-usage.js +1 -367
  393. package/dist/sdk/contracts.js +1 -23
  394. package/dist/sdk/core-governance.js +1 -14
  395. package/dist/sdk/core.js +1 -14
  396. package/dist/sdk/corpus-shape.js +1 -401
  397. package/dist/sdk/define.js +1 -220
  398. package/dist/sdk/dependencies.js +1 -718
  399. package/dist/sdk/dependency-flag-validation.js +1 -156
  400. package/dist/sdk/dependency-provenance.js +1 -135
  401. package/dist/sdk/docs.js +1 -14
  402. package/dist/sdk/duplicates.js +1 -40
  403. package/dist/sdk/environment/agent-environment.js +1 -466
  404. package/dist/sdk/environment/host-environment-errors.js +1 -8
  405. package/dist/sdk/environment/project-runtime-compatibility.js +1 -481
  406. package/dist/sdk/environment/source-context.js +1 -28
  407. package/dist/sdk/environment/tracker-preflight.js +1 -9
  408. package/dist/sdk/error-code-catalog.js +1 -153
  409. package/dist/sdk/error-runtime.js +1 -58
  410. package/dist/sdk/errors.js +1 -58
  411. package/dist/sdk/eval.js +1 -190
  412. package/dist/sdk/extension/author-manifest.js +1 -92
  413. package/dist/sdk/extension/bundled-catalog.js +1 -332
  414. package/dist/sdk/extension/concurrency.js +1 -25
  415. package/dist/sdk/extension/copy-scope.d.ts +2 -0
  416. package/dist/sdk/extension/copy-scope.js +2 -0
  417. package/dist/sdk/extension/custom-field-collisions.js +1 -30
  418. package/dist/sdk/extension/describe.js +3 -189
  419. package/dist/sdk/extension/doctor.js +1 -606
  420. package/dist/sdk/extension/install-plan.d.ts +69 -0
  421. package/dist/sdk/extension/install-plan.js +2 -0
  422. package/dist/sdk/extension/install-receipts.d.ts +7 -0
  423. package/dist/sdk/extension/install-receipts.js +2 -0
  424. package/dist/sdk/extension/install-runtime.js +3 -313
  425. package/dist/sdk/extension/install-snapshot.js +1 -66
  426. package/dist/sdk/extension/install-sources.js +5 -1057
  427. package/dist/sdk/extension/managed-state.js +2 -252
  428. package/dist/sdk/extension/migrations.js +2 -174
  429. package/dist/sdk/extension/output-ownership.js +1 -25
  430. package/dist/sdk/extension/runtime-summary.js +1 -18
  431. package/dist/sdk/extension/scaffold.js +4 -2308
  432. package/dist/sdk/extension/shared.js +1 -147
  433. package/dist/sdk/extension/source-resolution.js +1 -65
  434. package/dist/sdk/extension/update-check.js +1 -67
  435. package/dist/sdk/extension-command-context.js +1 -44
  436. package/dist/sdk/extension-contracts.js +1 -73
  437. package/dist/sdk/extension.d.ts +7 -2
  438. package/dist/sdk/extension.js +1 -2196
  439. package/dist/sdk/files.js +1 -535
  440. package/dist/sdk/flag-invocation-contracts.d.ts +0 -5
  441. package/dist/sdk/flag-invocation-contracts.js +1 -344
  442. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -2224
  443. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -2236
  444. package/dist/sdk/generated-error-code-catalog.js +1 -16
  445. package/dist/sdk/governance/assurance-action-contracts.js +1 -4
  446. package/dist/sdk/governance/assurance-action.js +1 -411
  447. package/dist/sdk/governance/assurance-limits.js +1 -10
  448. package/dist/sdk/governance/assurance-mutation-error.js +1 -81
  449. package/dist/sdk/governance/assurance-presets.js +1 -135
  450. package/dist/sdk/governance/assurance-runtime.js +1 -238
  451. package/dist/sdk/governance/assurance.js +4 -1182
  452. package/dist/sdk/governance/boundary-fixtures.js +1 -200
  453. package/dist/sdk/governance/coverage-assurance.js +1 -60
  454. package/dist/sdk/governance/defect-recurrence-coverage.js +1 -188
  455. package/dist/sdk/governance/defect-recurrence-graph.js +1 -120
  456. package/dist/sdk/governance/defect-recurrence-signals.js +1 -24
  457. package/dist/sdk/governance/defect-recurrence.js +1 -623
  458. package/dist/sdk/governance/extension-host-version.js +1 -115
  459. package/dist/sdk/governance/gc.js +1 -368
  460. package/dist/sdk/governance/health.js +1 -2367
  461. package/dist/sdk/governance/hierarchy-validation.js +1 -108
  462. package/dist/sdk/governance/linked-file-report.js +1 -71
  463. package/dist/sdk/governance/merge-receipt-history.js +1 -206
  464. package/dist/sdk/governance/provenance-health.js +1 -282
  465. package/dist/sdk/governance/reindex.js +4 -761
  466. package/dist/sdk/governance/stale-work.js +1 -82
  467. package/dist/sdk/governance/status-role-diagnostics.js +1 -35
  468. package/dist/sdk/governance/storage-integrity.js +1 -280
  469. package/dist/sdk/governance/tracked-runtime-cache.js +1 -106
  470. package/dist/sdk/governance/upgrade.js +2 -327
  471. package/dist/sdk/governance/validate-history-drift.js +1 -81
  472. package/dist/sdk/governance/validate-item-reader.js +1 -17
  473. package/dist/sdk/governance/validate-normalization.js +1 -36
  474. package/dist/sdk/governance/validate.d.ts +3 -1
  475. package/dist/sdk/governance/validate.js +1 -2261
  476. package/dist/sdk/governance/workflow-completeness.d.ts +32 -0
  477. package/dist/sdk/governance/workflow-completeness.js +2 -0
  478. package/dist/sdk/governance/workflow-policy.d.ts +47 -0
  479. package/dist/sdk/governance/workflow-policy.js +4 -0
  480. package/dist/sdk/governance/workspace-position.js +1 -163
  481. package/dist/sdk/governance.d.ts +2 -0
  482. package/dist/sdk/governance.js +1 -31
  483. package/dist/sdk/graph/adapter.js +1 -181
  484. package/dist/sdk/graph/analytics.js +1 -474
  485. package/dist/sdk/graph/assembly.js +1 -377
  486. package/dist/sdk/graph/cache.js +1 -160
  487. package/dist/sdk/graph/centrality.js +1 -258
  488. package/dist/sdk/graph/conformance.js +1 -130
  489. package/dist/sdk/graph/deadline-scheduling.d.ts +90 -0
  490. package/dist/sdk/graph/deadline-scheduling.js +2 -0
  491. package/dist/sdk/graph/durable-cache.d.ts +1 -1
  492. package/dist/sdk/graph/durable-cache.js +1 -361
  493. package/dist/sdk/graph/governance-contracts.js +1 -34
  494. package/dist/sdk/graph/governance.d.ts +13 -1
  495. package/dist/sdk/graph/governance.js +1 -735
  496. package/dist/sdk/graph/hierarchy-integrity.js +1 -310
  497. package/dist/sdk/graph/index.d.ts +3 -2
  498. package/dist/sdk/graph/index.js +1 -26
  499. package/dist/sdk/graph/lifecycle-coverage.d.ts +32 -0
  500. package/dist/sdk/graph/lifecycle-coverage.js +2 -0
  501. package/dist/sdk/graph/mutation-advisory.js +1 -176
  502. package/dist/sdk/graph/remediation.js +1 -197
  503. package/dist/sdk/graph/run.d.ts +15 -1
  504. package/dist/sdk/graph/run.js +1 -768
  505. package/dist/sdk/graph/scheduling.js +1 -124
  506. package/dist/sdk/graph/traversal.js +1 -284
  507. package/dist/sdk/graph/workspace-relationship-kind-registry.js +1 -27
  508. package/dist/sdk/graph.js +1 -15
  509. package/dist/sdk/guide-topics.js +1 -707
  510. package/dist/sdk/guide.js +1 -279
  511. package/dist/sdk/history/maintenance.d.ts +71 -0
  512. package/dist/sdk/history/maintenance.js +2 -0
  513. package/dist/sdk/history/salvage.js +2 -247
  514. package/dist/sdk/history/subject.d.ts +19 -0
  515. package/dist/sdk/history/subject.js +2 -0
  516. package/dist/sdk/history-analytics.js +1 -282
  517. package/dist/sdk/history-compact.js +1 -527
  518. package/dist/sdk/history-mcp.js +1 -68
  519. package/dist/sdk/history-provenance.js +1 -182
  520. package/dist/sdk/history-read.js +1 -96
  521. package/dist/sdk/history-redact.d.ts +1 -14
  522. package/dist/sdk/history-redact.js +1 -643
  523. package/dist/sdk/history-repair.d.ts +5 -0
  524. package/dist/sdk/history-repair.js +1 -657
  525. package/dist/sdk/improvement-ledger-validation.js +1 -62
  526. package/dist/sdk/improvement-ledger.js +2 -257
  527. package/dist/sdk/index.d.ts +4 -1
  528. package/dist/sdk/index.js +1 -183
  529. package/dist/sdk/init-agent-guidance.js +2 -496
  530. package/dist/sdk/init.js +2 -820
  531. package/dist/sdk/invocation-author.js +1 -39
  532. package/dist/sdk/item-children.js +1 -90
  533. package/dist/sdk/item-metadata-index.js +1 -15
  534. package/dist/sdk/item-schedule.js +1 -27
  535. package/dist/sdk/item-transaction.js +1 -396
  536. package/dist/sdk/learnings.js +1 -29
  537. package/dist/sdk/lifecycle/append.js +2 -53
  538. package/dist/sdk/lifecycle/claim.d.ts +2 -0
  539. package/dist/sdk/lifecycle/claim.js +1 -242
  540. package/dist/sdk/lifecycle/close-many.js +1 -438
  541. package/dist/sdk/lifecycle/close.js +1 -468
  542. package/dist/sdk/lifecycle/copy.js +1 -212
  543. package/dist/sdk/lifecycle/create.js +1 -1949
  544. package/dist/sdk/lifecycle/delete.js +1 -45
  545. package/dist/sdk/lifecycle/event-validation-messages.js +1 -91
  546. package/dist/sdk/lifecycle/focus.js +1 -91
  547. package/dist/sdk/lifecycle/hierarchy-mutation-lock.js +1 -24
  548. package/dist/sdk/lifecycle/legacy-none-tokens.js +1 -149
  549. package/dist/sdk/lifecycle/lifecycle-transitions.js +1 -40
  550. package/dist/sdk/lifecycle/mcp-actions.d.ts +2 -0
  551. package/dist/sdk/lifecycle/mcp-actions.js +1 -51
  552. package/dist/sdk/lifecycle/metadata-normalizers.js +1 -46
  553. package/dist/sdk/lifecycle/mutation-command-options.js +1 -9
  554. package/dist/sdk/lifecycle/plan.js +1 -1606
  555. package/dist/sdk/lifecycle/recurrence-parsers.d.ts +1 -1
  556. package/dist/sdk/lifecycle/recurrence-parsers.js +1 -147
  557. package/dist/sdk/lifecycle/reopen.js +1 -68
  558. package/dist/sdk/lifecycle/repeatable-metadata-parsers.js +1 -143
  559. package/dist/sdk/lifecycle/restore.d.ts +1 -0
  560. package/dist/sdk/lifecycle/restore.js +1 -330
  561. package/dist/sdk/lifecycle/shared-unset-fields.js +1 -295
  562. package/dist/sdk/lifecycle/update-many.js +1 -861
  563. package/dist/sdk/lifecycle/update.js +1 -2136
  564. package/dist/sdk/lifecycle-completion.js +1 -92
  565. package/dist/sdk/lifecycle-policy.js +1 -120
  566. package/dist/sdk/linked-artifacts.js +1 -530
  567. package/dist/sdk/mcp/apps.js +4 -133
  568. package/dist/sdk/mcp/authorization.js +1 -404
  569. package/dist/sdk/mcp/discovery.js +1 -494
  570. package/dist/sdk/mcp/interactions.js +1 -336
  571. package/dist/sdk/mcp/protocol.d.ts +7 -0
  572. package/dist/sdk/mcp/protocol.js +1 -184
  573. package/dist/sdk/mcp/skills.js +1 -389
  574. package/dist/sdk/mcp/subscriptions.js +1 -211
  575. package/dist/sdk/mcp/tasks.js +2 -430
  576. package/dist/sdk/mcp/transport.js +1 -260
  577. package/dist/sdk/merge/abandoned-receipts.js +1 -46
  578. package/dist/sdk/merge/driver.js +1 -212
  579. package/dist/sdk/merge/index.js +1 -16
  580. package/dist/sdk/merge/install.js +3 -561
  581. package/dist/sdk/merge/receipt-file-boundary.js +1 -46
  582. package/dist/sdk/merge/receipt-operation.js +1 -96
  583. package/dist/sdk/merge/receipt-schema.js +1 -397
  584. package/dist/sdk/merge/receipts.js +4 -525
  585. package/dist/sdk/merge/reconcile.js +1 -352
  586. package/dist/sdk/merge/three-way.js +3 -775
  587. package/dist/sdk/merge.js +1 -10
  588. package/dist/sdk/mutation-events.js +1 -292
  589. package/dist/sdk/mutation-guard.js +1 -216
  590. package/dist/sdk/notes.js +1 -139
  591. package/dist/sdk/output-contracts.js +1 -172
  592. package/dist/sdk/output-projection.js +1 -430
  593. package/dist/sdk/output-token-accounting.js +1 -140
  594. package/dist/sdk/output.js +1 -64
  595. package/dist/sdk/ownership-source.js +1 -21
  596. package/dist/sdk/package-import-adapters.js +1 -442
  597. package/dist/sdk/package-migrations.js +1 -20
  598. package/dist/sdk/package-runtime-options.js +1 -80
  599. package/dist/sdk/pagination.js +1 -162
  600. package/dist/sdk/profile.js +1 -454
  601. package/dist/sdk/provenance.js +1 -258
  602. package/dist/sdk/public-surface.json +1 -1
  603. package/dist/sdk/query/activity.js +1 -401
  604. package/dist/sdk/query/aggregate.d.ts +16 -0
  605. package/dist/sdk/query/aggregate.js +1 -390
  606. package/dist/sdk/query/calendar.js +1 -964
  607. package/dist/sdk/query/complete-list.js +1 -215
  608. package/dist/sdk/query/context.js +1 -1702
  609. package/dist/sdk/query/duplicate-candidates.js +1 -70
  610. package/dist/sdk/query/get.js +1 -450
  611. package/dist/sdk/query/history.js +1 -186
  612. package/dist/sdk/query/item-filter-options.js +1 -9
  613. package/dist/sdk/query/light-metadata.js +1 -18
  614. package/dist/sdk/query/list-filter-shared.js +1 -81
  615. package/dist/sdk/query/list.js +1 -1304
  616. package/dist/sdk/query/multi-value-filters.js +1 -78
  617. package/dist/sdk/query/next.js +1 -513
  618. package/dist/sdk/query/parsers.js +1 -44
  619. package/dist/sdk/query/projection-contracts.js +1 -184
  620. package/dist/sdk/query/search-contracts.d.ts +27 -0
  621. package/dist/sdk/query/search-contracts.js +1 -230
  622. package/dist/sdk/query/search-pagination.js +1 -35
  623. package/dist/sdk/query/search-rendering.js +1 -105
  624. package/dist/sdk/query/search.d.ts +6 -4
  625. package/dist/sdk/query/search.js +2 -1987
  626. package/dist/sdk/query.js +1 -35
  627. package/dist/sdk/read-output/continuation.js +1 -194
  628. package/dist/sdk/read-output-budget.js +1 -135
  629. package/dist/sdk/read-output-contracts.d.ts +1 -1
  630. package/dist/sdk/read-output-contracts.js +1 -1225
  631. package/dist/sdk/read-output-rows.js +1 -186
  632. package/dist/sdk/read-output-session.js +1 -208
  633. package/dist/sdk/relationship-analytics.js +1 -410
  634. package/dist/sdk/relationship-context.js +1 -284
  635. package/dist/sdk/relationship-history.js +4 -519
  636. package/dist/sdk/relationship-kinds/contract.js +1 -22
  637. package/dist/sdk/relationship-migration.js +1 -77
  638. package/dist/sdk/relationships.js +1 -579
  639. package/dist/sdk/reproducibility/process.js +1 -87
  640. package/dist/sdk/runtime-action-aliases.js +1 -59
  641. package/dist/sdk/runtime-extended-actions.js +1 -177
  642. package/dist/sdk/runtime-input.js +1 -614
  643. package/dist/sdk/runtime-primitives.js +1 -84
  644. package/dist/sdk/runtime-public-contracts.d.ts +2 -1
  645. package/dist/sdk/runtime-public-contracts.js +1 -4
  646. package/dist/sdk/runtime-stats-options.js +1 -38
  647. package/dist/sdk/runtime.d.ts +4 -0
  648. package/dist/sdk/runtime.js +1 -1928
  649. package/dist/sdk/scheduling-shortcuts.js +1 -63
  650. package/dist/sdk/schema-migration.js +3 -856
  651. package/dist/sdk/schema.d.ts +2 -1
  652. package/dist/sdk/schema.js +1 -1376
  653. package/dist/sdk/search-refresh-worker.js +1 -18
  654. package/dist/sdk/similarity-scoring.js +1 -53
  655. package/dist/sdk/similarity.js +1 -326
  656. package/dist/sdk/start-task-status.js +1 -14
  657. package/dist/sdk/stats.js +1 -270
  658. package/dist/sdk/structured-mutations.js +1 -580
  659. package/dist/sdk/telemetry-flush.js +1 -13
  660. package/dist/sdk/telemetry.js +1 -405
  661. package/dist/sdk/templates.js +2 -292
  662. package/dist/sdk/test/batch.js +2 -509
  663. package/dist/sdk/test/entry.js +1 -70
  664. package/dist/sdk/test/execution.js +6 -2211
  665. package/dist/sdk/test/linked-command-detection.js +1 -546
  666. package/dist/sdk/test/measurements.js +1 -91
  667. package/dist/sdk/test/parsers.js +1 -545
  668. package/dist/sdk/test/runs.js +1 -193
  669. package/dist/sdk/test/trust.js +2 -206
  670. package/dist/sdk/testing.js +4 -1391
  671. package/dist/sdk/traceability/runtime-files-lookup.js +1 -32
  672. package/dist/sdk/traceability/source-traceability.js +1 -292
  673. package/dist/sdk/tracker-root-discovery.js +1 -9
  674. package/dist/sdk/workspace-contracts-cache.js +1 -28
  675. package/dist/sdk/workspace-contracts.js +1 -33
  676. package/dist/sdk/workspace-memory.js +2 -318
  677. package/dist/sdk/workspace-recipe.js +1 -71
  678. package/dist/sdk/workspace-snapshot.js +4 -613
  679. package/dist/sdk/workspace-transaction-gc.js +1 -149
  680. package/dist/sdk/workspace-transaction.js +2 -363
  681. package/dist/sdk/workspace.js +3 -127
  682. package/dist/types/index.js +1 -9
  683. package/dist/types.d.ts +4 -0
  684. package/dist/types.js +1 -245
  685. package/docs/AGENT_GUIDE.md +1 -1
  686. package/docs/COMMANDS.md +10 -0
  687. package/docs/CONFIGURATION.md +12 -1
  688. package/docs/CONTEXT_ALGORITHM_PORTFOLIO.md +167 -0
  689. package/docs/DIAGNOSTIC_OUTPUT_CONTRACTS.md +9 -3
  690. package/docs/EXTENSIONS.md +1 -0
  691. package/docs/HISTORY_MAINTENANCE.md +125 -0
  692. package/docs/MCP_2026_07_28_CONFORMANCE.md +20 -10
  693. package/docs/PACKAGE_EVIDENCE.md +92 -0
  694. package/docs/PLANNING_MEASUREMENTS.md +183 -0
  695. package/docs/README.md +4 -0
  696. package/docs/READ_OUTPUT_CONTRACTS.md +5 -0
  697. package/docs/SCRIPTING.md +21 -0
  698. package/docs/TESTING.md +33 -0
  699. package/docs/WORKFLOW_POLICIES.md +129 -0
  700. package/docs/generated/FLAG_LEXICON_BUDGETS.md +7 -7
  701. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +11 -5
  702. package/marketplace.json +2 -2
  703. package/package.json +5 -5
  704. package/packages/pm-beads/package.json +1 -1
  705. package/packages/pm-calendar/package.json +1 -1
  706. package/packages/pm-command-kit/package.json +1 -1
  707. package/packages/pm-digital-twin/package.json +1 -1
  708. package/packages/pm-governance-audit/package.json +1 -1
  709. package/packages/pm-guide-shell/package.json +1 -1
  710. package/packages/pm-kanban/package.json +1 -1
  711. package/packages/pm-lifecycle-hooks/package.json +1 -1
  712. package/packages/pm-linked-test-adapters/package.json +1 -1
  713. package/packages/pm-search-advanced/package.json +1 -1
  714. package/packages/pm-templates/package.json +1 -1
  715. package/packages/pm-todos/package.json +1 -1
  716. package/packages/pm-vcs/package.json +1 -1
  717. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  718. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  719. package/scripts/finalize-build.mjs +45 -3
  720. package/dist/cli-bundle/chunks/chunk-AZDFJGH6.js +0 -9
  721. package/dist/cli-bundle/chunks/chunk-CKOL5U7J.js +0 -77
  722. package/dist/cli-bundle/chunks/chunk-JX4DH4WC.js +0 -3
  723. package/dist/cli-bundle/chunks/chunk-OF76PSDQ.js +0 -5
  724. package/dist/cli-bundle/chunks/chunk-QUWFABDM.js +0 -232
  725. package/dist/cli-bundle/chunks/chunk-QWRRFYK3.js +0 -2
  726. package/dist/cli-bundle/chunks/chunk-RWWBOWJ5.js +0 -2
  727. package/dist/cli-bundle/chunks/chunk-WGAOYSYH.js +0 -40
  728. package/dist/cli-bundle/chunks/chunk-WI2AYPA7.js +0 -2
  729. package/dist/cli-bundle/chunks/register-list-query-5JL52D33.js +0 -11
  730. package/dist/cli-bundle/chunks/register-mutation-ZPG7KMVP.js +0 -20
  731. package/dist/cli-bundle/chunks/register-operations-I5W3KMGB.js +0 -2
  732. package/dist/cli-bundle/chunks/register-setup-H4SVAVX7.js +0 -2
  733. package/dist/cli-bundle/focused-chunks/chunk-AL5ON6K6.js +0 -2
  734. package/dist/cli-bundle/focused-chunks/chunk-CHC2IDXA.js +0 -6
  735. package/dist/cli-bundle/focused-chunks/chunk-CK6QFAPZ.js +0 -20
  736. package/dist/cli-bundle/focused-chunks/chunk-EZR3GHFE.js +0 -2
  737. package/dist/cli-bundle/focused-chunks/chunk-H2WJWK7L.js +0 -56
  738. package/dist/cli-bundle/focused-chunks/chunk-NTPY5GSO.js +0 -3
  739. package/dist/cli-bundle/focused-chunks/chunk-P5O7MP5Y.js +0 -2
  740. package/dist/cli-bundle/focused-chunks/chunk-PDMW2E36.js +0 -177
  741. package/dist/cli-bundle/focused-chunks/chunk-PEFABF7E.js +0 -26
  742. package/dist/cli-bundle/focused-chunks/chunk-QTVCLMSZ.js +0 -6
  743. package/dist/cli-bundle/focused-chunks/chunk-QTZRBUYA.js +0 -8
  744. package/dist/cli-bundle/focused-chunks/chunk-SGQST3PQ.js +0 -12
  745. package/dist/cli-bundle/focused-chunks/chunk-UKHASMMP.js +0 -10
  746. package/dist/cli-bundle/focused-chunks/chunk-ZPEKQHOC.js +0 -2
@@ -1,2225 +1,2 @@
1
- /** Generated partition 1 of the exhaustive error-code catalog. */
2
-
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35c194c8-a164-5c90-9baa-9f2fc25c9bfb")}catch(e){}}();
4
- export const PM_ERROR_CODE_CATALOG_PART_1 = [
5
- {
6
- code: "acceptance_criteria_mutation_conflict",
7
- meaning: "Acceptance criteria mutation conflict condition.",
8
- stability: "provisional",
9
- exit_code: 2,
10
- class: "usage",
11
- recovery: "Inspect the structured error guidance and retry the suggested command.",
12
- sources: ["sdk/lifecycle/update.ts"],
13
- emitting_commands: ["update", "update-many"],
14
- canonical_code: "acceptance_criteria_mutation_conflict",
15
- aliases: [],
16
- },
17
- {
18
- code: "acceptance_criteria_remove_unmatched",
19
- meaning: "Acceptance criteria remove unmatched condition.",
20
- stability: "provisional",
21
- exit_code: 3,
22
- class: "not_found",
23
- recovery: "Inspect the structured error guidance and retry the suggested command.",
24
- sources: ["sdk/lifecycle/update-many.ts", "sdk/lifecycle/update.ts"],
25
- emitting_commands: ["update", "update-many"],
26
- canonical_code: "acceptance_criteria_remove_unmatched",
27
- aliases: [],
28
- },
29
- {
30
- code: "acceptance_criteria_semicolon_forbidden",
31
- meaning: "Acceptance criteria semicolon forbidden condition.",
32
- stability: "stable",
33
- exit_code: 2,
34
- class: "usage",
35
- recovery: "Inspect the structured error guidance and retry the suggested command.",
36
- sources: ["core/item/parse.ts"],
37
- emitting_commands: ["*"],
38
- canonical_code: "acceptance_criteria_semicolon_forbidden",
39
- aliases: [],
40
- },
41
- {
42
- code: "accepted_rejected_value",
43
- meaning: "Accepted rejected value condition.",
44
- stability: "provisional",
45
- exit_code: 1,
46
- class: "generic_failure",
47
- recovery: "Inspect the structured error guidance and retry the suggested command.",
48
- sources: ["sdk/agent/refusal-closure.ts"],
49
- emitting_commands: ["*"],
50
- canonical_code: "accepted_rejected_value",
51
- aliases: [],
52
- },
53
- {
54
- code: "alias_collision",
55
- meaning: "Alias collision condition.",
56
- stability: "provisional",
57
- exit_code: 1,
58
- class: "generic_failure",
59
- recovery: "Inspect the structured error guidance and retry the suggested command.",
60
- sources: ["sdk/cli-contracts/flag-lexicon-contracts.ts"],
61
- emitting_commands: ["*"],
62
- canonical_code: "alias_collision",
63
- aliases: [],
64
- },
65
- {
66
- code: "alias_target_missing",
67
- meaning: "Alias target missing condition.",
68
- stability: "provisional",
69
- exit_code: 1,
70
- class: "generic_failure",
71
- recovery: "Inspect the structured error guidance and retry the suggested command.",
72
- sources: ["sdk/cli-contracts/grammar-contracts.ts"],
73
- emitting_commands: ["*"],
74
- canonical_code: "alias_target_missing",
75
- aliases: [],
76
- },
77
- {
78
- code: "already_claimed_by",
79
- meaning: "Already claimed by condition.",
80
- stability: "stable",
81
- exit_code: 4,
82
- class: "conflict",
83
- recovery: "Inspect the structured error guidance and retry the suggested command.",
84
- sources: ["sdk/lifecycle/claim.ts"],
85
- emitting_commands: ["claim"],
86
- canonical_code: "already_claimed_by",
87
- aliases: [],
88
- },
89
- {
90
- code: "ambiguous_option_combination",
91
- meaning: "Ambiguous option combination condition.",
92
- stability: "stable",
93
- exit_code: 2,
94
- class: "usage",
95
- recovery: "Inspect the structured error guidance and retry the suggested command.",
96
- sources: ["sdk/lifecycle/plan.ts"],
97
- emitting_commands: ["plan"],
98
- canonical_code: "ambiguous_option_combination",
99
- aliases: [],
100
- },
101
- {
102
- code: "annotation_alias_conflict",
103
- meaning: "Annotation alias conflict condition.",
104
- stability: "provisional",
105
- exit_code: 2,
106
- class: "usage",
107
- recovery: "Inspect the structured error guidance and retry the suggested command.",
108
- sources: ["cli/register-annotations.ts"],
109
- emitting_commands: ["*"],
110
- canonical_code: "annotation_alias_conflict",
111
- aliases: [],
112
- },
113
- {
114
- code: "annotation_flag_like_value",
115
- meaning: "Annotation flag like value condition.",
116
- stability: "stable",
117
- exit_code: 2,
118
- class: "usage",
119
- recovery: "Inspect the structured error guidance and retry the suggested command.",
120
- sources: ["sdk/annotations.ts"],
121
- emitting_commands: ["*"],
122
- canonical_code: "annotation_flag_like_value",
123
- aliases: [],
124
- },
125
- {
126
- code: "annotation_if_absent_without_append",
127
- meaning: "Annotation if absent without append condition.",
128
- stability: "provisional",
129
- exit_code: 2,
130
- class: "usage",
131
- recovery: "Inspect the structured error guidance and retry the suggested command.",
132
- sources: ["sdk/annotations.ts"],
133
- emitting_commands: ["*"],
134
- canonical_code: "annotation_if_absent_without_append",
135
- aliases: [],
136
- },
137
- {
138
- code: "annotation_message_without_text",
139
- meaning: "Annotation message without text condition.",
140
- stability: "stable",
141
- exit_code: 2,
142
- class: "usage",
143
- recovery: "Inspect the structured error guidance and retry the suggested command.",
144
- sources: ["sdk/annotations.ts"],
145
- emitting_commands: ["*"],
146
- canonical_code: "annotation_message_without_text",
147
- aliases: [],
148
- },
149
- {
150
- code: "annotation_transposed_subcommand",
151
- meaning: "Annotation transposed subcommand condition.",
152
- stability: "provisional",
153
- exit_code: 2,
154
- class: "usage",
155
- recovery: "Inspect the structured error guidance and retry the suggested command.",
156
- sources: ["cli/register-annotations.ts"],
157
- emitting_commands: ["*"],
158
- canonical_code: "annotation_transposed_subcommand",
159
- aliases: [],
160
- },
161
- {
162
- code: "append_empty_body",
163
- meaning: "Append empty body condition.",
164
- stability: "stable",
165
- exit_code: 2,
166
- class: "usage",
167
- recovery: "Inspect the structured error guidance and retry the suggested command.",
168
- sources: ["sdk/lifecycle/append.ts"],
169
- emitting_commands: ["append"],
170
- canonical_code: "append_empty_body",
171
- aliases: [],
172
- },
173
- {
174
- code: "assurance_registry_invalid",
175
- meaning: "Assurance registry invalid condition.",
176
- stability: "provisional",
177
- exit_code: 1,
178
- class: "generic_failure",
179
- recovery: "Inspect the structured error guidance and retry the suggested command.",
180
- sources: ["sdk/governance/assurance.ts"],
181
- emitting_commands: ["*"],
182
- canonical_code: "assurance_registry_invalid",
183
- aliases: [],
184
- },
185
- {
186
- code: "bare_comma_entry_ambiguous",
187
- meaning: "Bare comma entry ambiguous condition.",
188
- stability: "provisional",
189
- exit_code: 2,
190
- class: "usage",
191
- recovery: "Inspect the structured error guidance and retry the suggested command.",
192
- sources: ["core/item/parse.ts"],
193
- emitting_commands: ["*"],
194
- canonical_code: "bare_comma_entry_ambiguous",
195
- aliases: [],
196
- },
197
- {
198
- code: "body_file_conflicts_with_body",
199
- meaning: "Body file conflicts with body condition.",
200
- stability: "stable",
201
- exit_code: 2,
202
- class: "usage",
203
- recovery: "Inspect the structured error guidance and retry the suggested command.",
204
- sources: ["core/io/body-file.ts"],
205
- emitting_commands: ["*"],
206
- canonical_code: "body_file_conflicts_with_body",
207
- aliases: [],
208
- },
209
- {
210
- code: "body_file_missing_path",
211
- meaning: "Body file missing path condition.",
212
- stability: "stable",
213
- exit_code: 2,
214
- class: "usage",
215
- recovery: "Inspect the structured error guidance and retry the suggested command.",
216
- sources: ["core/io/body-file.ts"],
217
- emitting_commands: ["*"],
218
- canonical_code: "body_file_missing_path",
219
- aliases: [],
220
- },
221
- {
222
- code: "body_file_unreadable",
223
- meaning: "Body file unreadable condition.",
224
- stability: "stable",
225
- exit_code: 3,
226
- class: "not_found",
227
- recovery: "Inspect the structured error guidance and retry the suggested command.",
228
- sources: ["core/io/body-file.ts"],
229
- emitting_commands: ["*"],
230
- canonical_code: "body_file_unreadable",
231
- aliases: [],
232
- },
233
- {
234
- code: "budget_exceeded",
235
- meaning: "Budget exceeded condition.",
236
- stability: "provisional",
237
- exit_code: 1,
238
- class: "generic_failure",
239
- recovery: "Inspect the structured error guidance and retry the suggested command.",
240
- sources: ["sdk/cli-contracts/flag-lexicon-contracts.ts"],
241
- emitting_commands: ["*"],
242
- canonical_code: "budget_exceeded",
243
- aliases: [],
244
- },
245
- {
246
- code: "bulk_ids_input_empty",
247
- meaning: "Bulk ids input empty condition.",
248
- stability: "provisional",
249
- exit_code: 2,
250
- class: "usage",
251
- recovery: "Inspect the structured error guidance and retry the suggested command.",
252
- sources: ["core/io/bulk-ids-input.ts", "sdk/history-compact.ts", "sdk/history-mcp.ts"],
253
- emitting_commands: ["*"],
254
- canonical_code: "bulk_ids_input_empty",
255
- aliases: [],
256
- owned_states: [
257
- { state: "bulk_ids_stdin_contains_no_nonempty_ids", probe_id: "bulk-ids-stdin-empty", entrypoints: ["update-many"], expected_exit_class: "usage" },
258
- ],
259
- },
260
- {
261
- code: "bulk_ids_input_missing_path",
262
- meaning: "Bulk ids input missing path condition.",
263
- stability: "provisional",
264
- exit_code: 2,
265
- class: "usage",
266
- recovery: "Inspect the structured error guidance and retry the suggested command.",
267
- sources: ["core/io/bulk-ids-input.ts"],
268
- emitting_commands: ["*"],
269
- canonical_code: "bulk_ids_input_missing_path",
270
- aliases: [],
271
- owned_states: [
272
- { state: "bulk_ids_file_token_omits_its_path", probe_id: "bulk-ids-file-path-missing", entrypoints: ["update-many"], expected_exit_class: "usage" },
273
- ],
274
- },
275
- {
276
- code: "bulk_ids_input_unreadable",
277
- meaning: "Bulk ids input unreadable condition.",
278
- stability: "provisional",
279
- exit_code: 3,
280
- class: "not_found",
281
- recovery: "Inspect the structured error guidance and retry the suggested command.",
282
- sources: ["core/io/bulk-ids-input.ts"],
283
- emitting_commands: ["*"],
284
- canonical_code: "bulk_ids_input_unreadable",
285
- aliases: [],
286
- owned_states: [
287
- { state: "bulk_ids_file_path_cannot_be_read", probe_id: "bulk-ids-file-unreadable", entrypoints: ["update-many"], expected_exit_class: "not_found" },
288
- ],
289
- },
290
- {
291
- code: "bundle_integrity_torn_install",
292
- meaning: "Bundle integrity torn install condition.",
293
- stability: "stable",
294
- exit_code: 1,
295
- class: "generic_failure",
296
- recovery: "Inspect the structured error guidance and retry the suggested command.",
297
- sources: ["cli/bundle-integrity.ts"],
298
- emitting_commands: ["*"],
299
- canonical_code: "bundle_integrity_torn_install",
300
- aliases: [],
301
- },
302
- {
303
- code: "capability_undeclared",
304
- meaning: "Capability undeclared condition.",
305
- stability: "stable",
306
- exit_code: 1,
307
- class: "generic_failure",
308
- recovery: "Inspect the structured error guidance and retry the suggested command.",
309
- sources: ["sdk/compose.ts"],
310
- emitting_commands: ["*"],
311
- canonical_code: "capability_undeclared",
312
- aliases: [],
313
- },
314
- {
315
- code: "capability_unused",
316
- meaning: "Capability unused condition.",
317
- stability: "stable",
318
- exit_code: 1,
319
- class: "generic_failure",
320
- recovery: "Inspect the structured error guidance and retry the suggested command.",
321
- sources: ["sdk/compose.ts"],
322
- emitting_commands: ["*"],
323
- canonical_code: "capability_unused",
324
- aliases: [],
325
- },
326
- {
327
- code: "child_projection_item_bound_exceeded",
328
- meaning: "Child projection item bound exceeded condition.",
329
- stability: "stable",
330
- exit_code: 1,
331
- class: "generic_failure",
332
- recovery: "Inspect the structured error guidance and retry the suggested command.",
333
- sources: ["sdk/item-children.ts"],
334
- emitting_commands: ["*"],
335
- canonical_code: "child_projection_item_bound_exceeded",
336
- aliases: [],
337
- },
338
- {
339
- code: "close_reason_required",
340
- meaning: "Close reason required condition.",
341
- stability: "stable",
342
- exit_code: 2,
343
- class: "usage",
344
- recovery: "Inspect the structured error guidance and retry the suggested command.",
345
- sources: ["sdk/lifecycle-policy.ts", "sdk/lifecycle/close-many.ts"],
346
- emitting_commands: ["*", "close-many"],
347
- canonical_code: "close_reason_required",
348
- aliases: [],
349
- },
350
- {
351
- code: "close_through_update",
352
- meaning: "Close through update condition.",
353
- stability: "stable",
354
- exit_code: 1,
355
- class: "generic_failure",
356
- recovery: "Inspect the structured error guidance and retry the suggested command.",
357
- sources: ["core/telemetry/observability.ts"],
358
- emitting_commands: ["*"],
359
- canonical_code: "close_through_update",
360
- aliases: [],
361
- },
362
- {
363
- code: "close_validation_missing_fields",
364
- meaning: "Close validation missing fields condition.",
365
- stability: "stable",
366
- exit_code: 2,
367
- class: "usage",
368
- recovery: "Inspect the structured error guidance and retry the suggested command.",
369
- sources: ["sdk/lifecycle/close.ts"],
370
- emitting_commands: ["close"],
371
- canonical_code: "close_validation_missing_fields",
372
- aliases: [],
373
- },
374
- {
375
- code: "collected_zero_items",
376
- meaning: "Collected zero items condition.",
377
- stability: "stable",
378
- exit_code: 1,
379
- class: "generic_failure",
380
- recovery: "Inspect the structured error guidance and retry the suggested command.",
381
- sources: ["sdk/test/execution.ts"],
382
- emitting_commands: ["*"],
383
- canonical_code: "collected_zero_items",
384
- aliases: [],
385
- },
386
- {
387
- code: "collection_transposed_subcommand",
388
- meaning: "Collection transposed subcommand condition.",
389
- stability: "provisional",
390
- exit_code: 2,
391
- class: "usage",
392
- recovery: "Inspect the structured error guidance and retry the suggested command.",
393
- sources: ["cli/error-guidance.ts"],
394
- emitting_commands: ["*"],
395
- canonical_code: "collection_transposed_subcommand",
396
- aliases: [],
397
- },
398
- {
399
- code: "command_failed",
400
- meaning: "Command failed condition.",
401
- stability: "stable",
402
- exit_code: 1,
403
- class: "generic_failure",
404
- recovery: "Inspect the structured error guidance and retry the suggested command.",
405
- sources: ["cli/error-guidance.ts"],
406
- emitting_commands: ["*"],
407
- canonical_code: "command_failed",
408
- aliases: [],
409
- },
410
- {
411
- code: "command_namespace",
412
- meaning: "Command namespace condition.",
413
- stability: "stable",
414
- exit_code: 2,
415
- class: "usage",
416
- recovery: "Inspect the structured error guidance and retry the suggested command.",
417
- sources: ["sdk/cli-contracts/runtime-contracts.ts"],
418
- emitting_commands: ["*"],
419
- canonical_code: "command_namespace",
420
- aliases: [],
421
- },
422
- {
423
- code: "command_override_conflict",
424
- meaning: "Command override conflict condition.",
425
- stability: "stable",
426
- exit_code: 4,
427
- class: "conflict",
428
- recovery: "Inspect the structured error guidance and retry the suggested command.",
429
- sources: ["sdk/compose.ts"],
430
- emitting_commands: ["*"],
431
- canonical_code: "command_override_conflict",
432
- aliases: [],
433
- },
434
- {
435
- code: "config_duplicate",
436
- meaning: "Config duplicate condition.",
437
- stability: "stable",
438
- exit_code: 1,
439
- class: "generic_failure",
440
- recovery: "Inspect the structured error guidance and retry the suggested command.",
441
- sources: ["core/profile/profile-lint.ts"],
442
- emitting_commands: ["*"],
443
- canonical_code: "config_duplicate",
444
- aliases: [],
445
- },
446
- {
447
- code: "config_key_unknown",
448
- meaning: "Config key unknown condition.",
449
- stability: "stable",
450
- exit_code: 2,
451
- class: "usage",
452
- recovery: "Inspect the structured error guidance and retry the suggested command.",
453
- sources: ["core/profile/profile-lint.ts"],
454
- emitting_commands: ["*"],
455
- canonical_code: "config_key_unknown",
456
- aliases: [],
457
- },
458
- {
459
- code: "config_value_invalid",
460
- meaning: "Config value invalid condition.",
461
- stability: "stable",
462
- exit_code: 2,
463
- class: "usage",
464
- recovery: "Inspect the structured error guidance and retry the suggested command.",
465
- sources: ["core/profile/profile-lint.ts"],
466
- emitting_commands: ["*"],
467
- canonical_code: "config_value_invalid",
468
- aliases: [],
469
- },
470
- {
471
- code: "conflicting_lifecycle_owner",
472
- meaning: "Conflicting lifecycle owner condition.",
473
- stability: "stable",
474
- exit_code: 2,
475
- class: "usage",
476
- recovery: "Inspect the structured error guidance and retry the suggested command.",
477
- sources: ["cli/register-operations.ts"],
478
- emitting_commands: ["*"],
479
- canonical_code: "conflicting_lifecycle_owner",
480
- aliases: [],
481
- },
482
- {
483
- code: "context_signal_store_invalid",
484
- meaning: "Context signal store invalid condition.",
485
- stability: "provisional",
486
- exit_code: 2,
487
- class: "usage",
488
- recovery: "Inspect the structured error guidance and retry the suggested command.",
489
- sources: ["sdk/context-signal-store.ts"],
490
- emitting_commands: ["*"],
491
- canonical_code: "context_signal_store_invalid",
492
- aliases: [],
493
- },
494
- {
495
- code: "context_signal_store_stale",
496
- meaning: "Context signal store stale condition.",
497
- stability: "provisional",
498
- exit_code: 1,
499
- class: "generic_failure",
500
- recovery: "Inspect the structured error guidance and retry the suggested command.",
501
- sources: ["sdk/context-signal-store.ts"],
502
- emitting_commands: ["*"],
503
- canonical_code: "context_signal_store_stale",
504
- aliases: [],
505
- },
506
- {
507
- code: "context_signal_store_write_failed",
508
- meaning: "Context signal store write failed condition.",
509
- stability: "provisional",
510
- exit_code: 1,
511
- class: "generic_failure",
512
- recovery: "Inspect the structured error guidance and retry the suggested command.",
513
- sources: ["sdk/context-signal-store.ts"],
514
- emitting_commands: ["*"],
515
- canonical_code: "context_signal_store_write_failed",
516
- aliases: [],
517
- },
518
- {
519
- code: "context_takes_no_item_argument",
520
- meaning: "Context takes no item argument condition.",
521
- stability: "stable",
522
- exit_code: 1,
523
- class: "generic_failure",
524
- recovery: "Inspect the structured error guidance and retry the suggested command.",
525
- sources: ["cli/error-guidance.ts"],
526
- emitting_commands: ["*"],
527
- canonical_code: "context_takes_no_item_argument",
528
- aliases: [],
529
- },
530
- {
531
- code: "core_item_field_requires_dedicated_flag",
532
- meaning: "Core item field requires dedicated flag condition.",
533
- stability: "stable",
534
- exit_code: 2,
535
- class: "usage",
536
- recovery: "Inspect the structured error guidance and retry the suggested command.",
537
- sources: ["core/extensions/item-fields.ts"],
538
- emitting_commands: ["*"],
539
- canonical_code: "core_item_field_requires_dedicated_flag",
540
- aliases: [],
541
- },
542
- {
543
- code: "create_positional_type_without_title",
544
- meaning: "Create positional type without title condition.",
545
- stability: "stable",
546
- exit_code: 2,
547
- class: "usage",
548
- recovery: "Inspect the structured error guidance and retry the suggested command.",
549
- sources: ["cli/register-mutation.ts"],
550
- emitting_commands: ["*"],
551
- canonical_code: "create_positional_type_without_title",
552
- aliases: [],
553
- },
554
- {
555
- code: "dependency_edge_not_allowed",
556
- meaning: "Dependency edge not allowed condition.",
557
- stability: "stable",
558
- exit_code: 2,
559
- class: "usage",
560
- recovery: "Inspect the structured error guidance and retry the suggested command.",
561
- sources: ["sdk/dependency-flag-validation.ts"],
562
- emitting_commands: ["*"],
563
- canonical_code: "dependency_edge_not_allowed",
564
- aliases: [],
565
- },
566
- {
567
- code: "dependency_flag_value_invalid",
568
- meaning: "Dependency flag value invalid condition.",
569
- stability: "provisional",
570
- exit_code: 2,
571
- class: "usage",
572
- recovery: "Inspect the structured error guidance and retry the suggested command.",
573
- sources: ["sdk/dependency-flag-validation.ts"],
574
- emitting_commands: ["*"],
575
- canonical_code: "dependency_flag_value_invalid",
576
- aliases: [],
577
- },
578
- {
579
- code: "dependency_remove_no_match",
580
- meaning: "Dependency remove no match condition.",
581
- stability: "provisional",
582
- exit_code: 3,
583
- class: "not_found",
584
- recovery: "Inspect the structured error guidance and retry the suggested command.",
585
- sources: ["sdk/lifecycle/update.ts"],
586
- emitting_commands: ["update"],
587
- canonical_code: "dependency_remove_no_match",
588
- aliases: [],
589
- },
590
- {
591
- code: "dependency_target_not_found",
592
- meaning: "Dependency target not found condition.",
593
- stability: "provisional",
594
- exit_code: 3,
595
- class: "not_found",
596
- recovery: "Inspect the structured error guidance and retry the suggested command.",
597
- sources: ["sdk/dependency-flag-validation.ts"],
598
- emitting_commands: ["*"],
599
- canonical_code: "dependency_target_not_found",
600
- aliases: [],
601
- },
602
- {
603
- code: "dependency_temporal_order_invalid",
604
- meaning: "Dependency temporal order invalid condition.",
605
- stability: "provisional",
606
- exit_code: 2,
607
- class: "usage",
608
- recovery: "Inspect the structured error guidance and retry the suggested command.",
609
- sources: ["sdk/dependency-flag-validation.ts"],
610
- emitting_commands: ["*"],
611
- canonical_code: "dependency_temporal_order_invalid",
612
- aliases: [],
613
- },
614
- {
615
- code: "duplicate_canonical_flag",
616
- meaning: "Duplicate canonical flag condition.",
617
- stability: "provisional",
618
- exit_code: 1,
619
- class: "generic_failure",
620
- recovery: "Inspect the structured error guidance and retry the suggested command.",
621
- sources: ["sdk/cli-contracts/flag-lexicon-contracts.ts"],
622
- emitting_commands: ["*"],
623
- canonical_code: "duplicate_canonical_flag",
624
- aliases: [],
625
- },
626
- {
627
- code: "duplicate_command",
628
- meaning: "Duplicate command condition.",
629
- stability: "stable",
630
- exit_code: 1,
631
- class: "generic_failure",
632
- recovery: "Inspect the structured error guidance and retry the suggested command.",
633
- sources: ["sdk/compose.ts"],
634
- emitting_commands: ["*"],
635
- canonical_code: "duplicate_command",
636
- aliases: [],
637
- },
638
- {
639
- code: "duplicate_destination",
640
- meaning: "Duplicate destination condition.",
641
- stability: "provisional",
642
- exit_code: 1,
643
- class: "generic_failure",
644
- recovery: "Inspect the structured error guidance and retry the suggested command.",
645
- sources: ["sdk/cli-contracts/grammar-contracts.ts"],
646
- emitting_commands: ["*"],
647
- canonical_code: "duplicate_destination",
648
- aliases: [],
649
- },
650
- {
651
- code: "duplicate_edge",
652
- meaning: "Duplicate edge condition.",
653
- stability: "stable",
654
- exit_code: 1,
655
- class: "generic_failure",
656
- recovery: "Inspect the structured error guidance and retry the suggested command.",
657
- sources: ["sdk/graph/remediation.ts"],
658
- emitting_commands: ["*"],
659
- canonical_code: "duplicate_edge",
660
- aliases: [],
661
- },
662
- {
663
- code: "duplicate_observation",
664
- meaning: "Duplicate observation condition.",
665
- stability: "provisional",
666
- exit_code: 1,
667
- class: "generic_failure",
668
- recovery: "Inspect the structured error guidance and retry the suggested command.",
669
- sources: ["sdk/flag-invocation-contracts.ts"],
670
- emitting_commands: ["*"],
671
- canonical_code: "duplicate_observation",
672
- aliases: [],
673
- },
674
- {
675
- code: "duplicate_probe",
676
- meaning: "Duplicate probe condition.",
677
- stability: "provisional",
678
- exit_code: 1,
679
- class: "generic_failure",
680
- recovery: "Inspect the structured error guidance and retry the suggested command.",
681
- sources: ["sdk/agent/refusal-closure.ts"],
682
- emitting_commands: ["*"],
683
- canonical_code: "duplicate_probe",
684
- aliases: [],
685
- },
686
- {
687
- code: "duplicate_sweep_cost_limit",
688
- meaning: "Duplicate sweep cost limit condition.",
689
- stability: "stable",
690
- exit_code: 4,
691
- class: "conflict",
692
- recovery: "Inspect the structured error guidance and retry the suggested command.",
693
- sources: ["sdk/query/duplicate-candidates.ts"],
694
- emitting_commands: ["duplicate-candidates"],
695
- canonical_code: "duplicate_sweep_cost_limit",
696
- aliases: [],
697
- },
698
- {
699
- code: "duplicate_target_circular",
700
- meaning: "Duplicate target circular condition.",
701
- stability: "stable",
702
- exit_code: 2,
703
- class: "usage",
704
- recovery: "Inspect the structured error guidance and retry the suggested command.",
705
- sources: ["sdk/lifecycle/close.ts"],
706
- emitting_commands: ["close"],
707
- canonical_code: "duplicate_target_circular",
708
- aliases: [],
709
- },
710
- {
711
- code: "duplicate_target_is_duplicate",
712
- meaning: "Duplicate target is duplicate condition.",
713
- stability: "stable",
714
- exit_code: 2,
715
- class: "usage",
716
- recovery: "Inspect the structured error guidance and retry the suggested command.",
717
- sources: ["sdk/lifecycle/close.ts"],
718
- emitting_commands: ["close"],
719
- canonical_code: "duplicate_target_is_duplicate",
720
- aliases: [],
721
- },
722
- {
723
- code: "duplicate_target_missing",
724
- meaning: "Duplicate target missing condition.",
725
- stability: "stable",
726
- exit_code: 2,
727
- class: "usage",
728
- recovery: "Inspect the structured error guidance and retry the suggested command.",
729
- sources: ["sdk/lifecycle/close.ts"],
730
- emitting_commands: ["close"],
731
- canonical_code: "duplicate_target_missing",
732
- aliases: [],
733
- },
734
- {
735
- code: "duplicate_target_self",
736
- meaning: "Duplicate target self condition.",
737
- stability: "stable",
738
- exit_code: 2,
739
- class: "usage",
740
- recovery: "Inspect the structured error guidance and retry the suggested command.",
741
- sources: ["sdk/lifecycle/close.ts"],
742
- emitting_commands: ["close"],
743
- canonical_code: "duplicate_target_self",
744
- aliases: [],
745
- },
746
- {
747
- code: "empty_corpus",
748
- meaning: "Empty corpus condition.",
749
- stability: "provisional",
750
- exit_code: 1,
751
- class: "generic_failure",
752
- recovery: "Inspect the structured error guidance and retry the suggested command.",
753
- sources: ["sdk/agent/refusal-closure.ts"],
754
- emitting_commands: ["*"],
755
- canonical_code: "empty_corpus",
756
- aliases: [],
757
- },
758
- {
759
- code: "empty_surface",
760
- meaning: "Empty surface condition.",
761
- stability: "stable",
762
- exit_code: 1,
763
- class: "generic_failure",
764
- recovery: "Inspect the structured error guidance and retry the suggested command.",
765
- sources: ["sdk/compose.ts"],
766
- emitting_commands: ["*"],
767
- canonical_code: "empty_surface",
768
- aliases: [],
769
- },
770
- {
771
- code: "error_code_mismatch",
772
- meaning: "Error code mismatch condition.",
773
- stability: "provisional",
774
- exit_code: 1,
775
- class: "generic_failure",
776
- recovery: "Inspect the structured error guidance and retry the suggested command.",
777
- sources: ["sdk/agent/refusal-closure.ts", "sdk/agent/tracker-preflight-contracts.ts"],
778
- emitting_commands: ["*"],
779
- canonical_code: "error_code_mismatch",
780
- aliases: [],
781
- },
782
- {
783
- code: "event_cursor_query_mismatch",
784
- meaning: "Event cursor query mismatch condition.",
785
- stability: "stable",
786
- exit_code: 2,
787
- class: "usage",
788
- recovery: "Inspect the structured error guidance and retry the suggested command.",
789
- sources: ["sdk/mutation-events.ts"],
790
- emitting_commands: ["*"],
791
- canonical_code: "event_cursor_query_mismatch",
792
- aliases: [],
793
- },
794
- {
795
- code: "event_index_unavailable",
796
- meaning: "Event index unavailable condition.",
797
- stability: "stable",
798
- exit_code: 1,
799
- class: "generic_failure",
800
- recovery: "Inspect the structured error guidance and retry the suggested command.",
801
- sources: ["sdk/mutation-events.ts"],
802
- emitting_commands: ["*"],
803
- canonical_code: "event_index_unavailable",
804
- aliases: [],
805
- },
806
- {
807
- code: "exit_code_mismatch",
808
- meaning: "Exit code mismatch condition.",
809
- stability: "provisional",
810
- exit_code: 1,
811
- class: "generic_failure",
812
- recovery: "Inspect the structured error guidance and retry the suggested command.",
813
- sources: ["sdk/agent/tracker-preflight-contracts.ts"],
814
- emitting_commands: ["*"],
815
- canonical_code: "exit_code_mismatch",
816
- aliases: [],
817
- },
818
- {
819
- code: "extension_command_activation_failed",
820
- meaning: "Extension command activation failed condition.",
821
- stability: "stable",
822
- exit_code: 1,
823
- class: "generic_failure",
824
- recovery: "Inspect the structured error guidance and retry the suggested command.",
825
- sources: ["cli/commander-usage.ts"],
826
- emitting_commands: ["*"],
827
- canonical_code: "extension_command_activation_failed",
828
- aliases: [],
829
- },
830
- {
831
- code: "extension_dependency_name_unsafe",
832
- meaning: "Extension dependency name unsafe condition.",
833
- stability: "stable",
834
- exit_code: 2,
835
- class: "usage",
836
- recovery: "Inspect the structured error guidance and retry the suggested command.",
837
- sources: ["sdk/extension/install-sources.ts"],
838
- emitting_commands: ["*"],
839
- canonical_code: "extension_dependency_name_unsafe",
840
- aliases: [],
841
- },
842
- {
843
- code: "extension_dependency_spec_invalid",
844
- meaning: "Extension dependency spec invalid condition.",
845
- stability: "stable",
846
- exit_code: 2,
847
- class: "usage",
848
- recovery: "Inspect the structured error guidance and retry the suggested command.",
849
- sources: ["sdk/extension/install-sources.ts"],
850
- emitting_commands: ["*"],
851
- canonical_code: "extension_dependency_spec_invalid",
852
- aliases: [],
853
- },
854
- {
855
- code: "extension_dependency_version_unsafe",
856
- meaning: "Extension dependency version unsafe condition.",
857
- stability: "stable",
858
- exit_code: 2,
859
- class: "usage",
860
- recovery: "Inspect the structured error guidance and retry the suggested command.",
861
- sources: ["sdk/extension/install-sources.ts"],
862
- emitting_commands: ["*"],
863
- canonical_code: "extension_dependency_version_unsafe",
864
- aliases: [],
865
- },
866
- {
867
- code: "extension_install_soft_failed",
868
- meaning: "Extension install soft failed condition.",
869
- stability: "stable",
870
- exit_code: 1,
871
- class: "generic_failure",
872
- recovery: "Inspect the structured error guidance and retry the suggested command.",
873
- sources: ["cli/register-setup.ts"],
874
- emitting_commands: ["*"],
875
- canonical_code: "extension_install_soft_failed",
876
- aliases: [],
877
- },
878
- {
879
- code: "extension_install_source_contains_destination",
880
- meaning: "Extension install source contains destination condition.",
881
- stability: "stable",
882
- exit_code: 2,
883
- class: "usage",
884
- recovery: "Inspect the structured error guidance and retry the suggested command.",
885
- sources: ["sdk/extension/install-runtime.ts"],
886
- emitting_commands: ["*"],
887
- canonical_code: "extension_install_source_contains_destination",
888
- aliases: [],
889
- },
890
- {
891
- code: "extension_item_field_reserved",
892
- meaning: "Extension item field reserved condition.",
893
- stability: "stable",
894
- exit_code: 2,
895
- class: "usage",
896
- recovery: "Inspect the structured error guidance and retry the suggested command.",
897
- sources: ["core/extensions/item-fields.ts"],
898
- emitting_commands: ["*"],
899
- canonical_code: "extension_item_field_reserved",
900
- aliases: [],
901
- },
902
- {
903
- code: "extension_item_field_type_conflict",
904
- meaning: "Extension item field type conflict condition.",
905
- stability: "stable",
906
- exit_code: 2,
907
- class: "usage",
908
- recovery: "Inspect the structured error guidance and retry the suggested command.",
909
- sources: ["core/extensions/item-fields.ts"],
910
- emitting_commands: ["*"],
911
- canonical_code: "extension_item_field_type_conflict",
912
- aliases: [],
913
- },
914
- {
915
- code: "extension_item_field_unknown",
916
- meaning: "Extension item field unknown condition.",
917
- stability: "stable",
918
- exit_code: 2,
919
- class: "usage",
920
- recovery: "Inspect the structured error guidance and retry the suggested command.",
921
- sources: ["core/extensions/item-fields.ts"],
922
- emitting_commands: ["*"],
923
- canonical_code: "extension_item_field_unknown",
924
- aliases: [],
925
- },
926
- {
927
- code: "extension_mutation_guard_failed",
928
- meaning: "Extension mutation guard failed condition.",
929
- stability: "stable",
930
- exit_code: 4,
931
- class: "conflict",
932
- recovery: "Inspect the structured error guidance and retry the suggested command.",
933
- sources: ["core/extensions/extension-hook-runtime.ts"],
934
- emitting_commands: ["*"],
935
- canonical_code: "extension_mutation_guard_failed",
936
- aliases: [],
937
- },
938
- {
939
- code: "extension_mutation_guard_invalid_decision",
940
- meaning: "Extension mutation guard invalid decision condition.",
941
- stability: "stable",
942
- exit_code: 4,
943
- class: "conflict",
944
- recovery: "Inspect the structured error guidance and retry the suggested command.",
945
- sources: ["core/extensions/extension-hook-runtime.ts"],
946
- emitting_commands: ["*"],
947
- canonical_code: "extension_mutation_guard_invalid_decision",
948
- aliases: [],
949
- },
950
- {
951
- code: "extension_mutation_guard_invalid_denial",
952
- meaning: "Extension mutation guard invalid denial condition.",
953
- stability: "stable",
954
- exit_code: 4,
955
- class: "conflict",
956
- recovery: "Inspect the structured error guidance and retry the suggested command.",
957
- sources: ["core/extensions/extension-hook-runtime.ts"],
958
- emitting_commands: ["*"],
959
- canonical_code: "extension_mutation_guard_invalid_denial",
960
- aliases: [],
961
- },
962
- {
963
- code: "extension_mutation_guard_timed_out",
964
- meaning: "Extension mutation guard timed out condition.",
965
- stability: "stable",
966
- exit_code: 4,
967
- class: "conflict",
968
- recovery: "Inspect the structured error guidance and retry the suggested command.",
969
- sources: ["core/extensions/extension-hook-runtime.ts"],
970
- emitting_commands: ["*"],
971
- canonical_code: "extension_mutation_guard_timed_out",
972
- aliases: [],
973
- },
974
- {
975
- code: "extension_update_health_partial_coverage",
976
- meaning: "Extension update health partial coverage condition.",
977
- stability: "stable",
978
- exit_code: 1,
979
- class: "generic_failure",
980
- recovery: "Inspect the structured error guidance and retry the suggested command.",
981
- sources: ["core/diagnostics/remediation.ts"],
982
- emitting_commands: ["*"],
983
- canonical_code: "extension_update_health_partial_coverage",
984
- aliases: [],
985
- },
986
- {
987
- code: "field_duplicate",
988
- meaning: "Field duplicate condition.",
989
- stability: "stable",
990
- exit_code: 1,
991
- class: "generic_failure",
992
- recovery: "Inspect the structured error guidance and retry the suggested command.",
993
- sources: ["core/profile/profile-lint.ts"],
994
- emitting_commands: ["*"],
995
- canonical_code: "field_duplicate",
996
- aliases: [],
997
- },
998
- {
999
- code: "field_invalid",
1000
- meaning: "Field invalid condition.",
1001
- stability: "stable",
1002
- exit_code: 2,
1003
- class: "usage",
1004
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1005
- sources: ["core/profile/profile-lint.ts"],
1006
- emitting_commands: ["*"],
1007
- canonical_code: "field_invalid",
1008
- aliases: [],
1009
- },
1010
- {
1011
- code: "field_mcp_input_collision",
1012
- meaning: "Field mcp input collision condition.",
1013
- stability: "stable",
1014
- exit_code: 1,
1015
- class: "generic_failure",
1016
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1017
- sources: ["core/profile/profile-lint.ts"],
1018
- emitting_commands: ["*"],
1019
- canonical_code: "field_mcp_input_collision",
1020
- aliases: [],
1021
- },
1022
- {
1023
- code: "github_source_entry_unbuilt",
1024
- meaning: "Github source entry unbuilt condition.",
1025
- stability: "stable",
1026
- exit_code: 2,
1027
- class: "usage",
1028
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1029
- sources: ["sdk/extension/shared.ts"],
1030
- emitting_commands: ["*"],
1031
- canonical_code: "github_source_entry_unbuilt",
1032
- aliases: [],
1033
- },
1034
- {
1035
- code: "hierarchy_cardinality_created",
1036
- meaning: "Hierarchy cardinality created condition.",
1037
- stability: "provisional",
1038
- exit_code: 4,
1039
- class: "conflict",
1040
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1041
- sources: ["sdk/graph/hierarchy-integrity.ts"],
1042
- emitting_commands: ["*"],
1043
- canonical_code: "hierarchy_cardinality_created",
1044
- aliases: [],
1045
- },
1046
- {
1047
- code: "hierarchy_cycle_created",
1048
- meaning: "Hierarchy cycle created condition.",
1049
- stability: "provisional",
1050
- exit_code: 4,
1051
- class: "conflict",
1052
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1053
- sources: ["sdk/graph/hierarchy-integrity.ts"],
1054
- emitting_commands: ["*"],
1055
- canonical_code: "hierarchy_cycle_created",
1056
- aliases: [],
1057
- },
1058
- {
1059
- code: "hierarchy_parent_divergence_created",
1060
- meaning: "Hierarchy parent divergence created condition.",
1061
- stability: "provisional",
1062
- exit_code: 4,
1063
- class: "conflict",
1064
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1065
- sources: ["sdk/graph/hierarchy-integrity.ts"],
1066
- emitting_commands: ["*"],
1067
- canonical_code: "hierarchy_parent_divergence_created",
1068
- aliases: [],
1069
- },
1070
- {
1071
- code: "history_author_acknowledge_plan_conflict",
1072
- meaning: "History author acknowledge plan conflict condition.",
1073
- stability: "provisional",
1074
- exit_code: 4,
1075
- class: "conflict",
1076
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1077
- sources: ["sdk/author-attribution.ts"],
1078
- emitting_commands: ["*"],
1079
- canonical_code: "history_author_acknowledge_plan_conflict",
1080
- aliases: [],
1081
- },
1082
- {
1083
- code: "history_author_acknowledge_plan_fingerprint_required",
1084
- meaning: "History author acknowledge plan fingerprint required condition.",
1085
- stability: "provisional",
1086
- exit_code: 2,
1087
- class: "usage",
1088
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1089
- sources: ["sdk/author-attribution.ts"],
1090
- emitting_commands: ["*"],
1091
- canonical_code: "history_author_acknowledge_plan_fingerprint_required",
1092
- aliases: [],
1093
- },
1094
- {
1095
- code: "history_author_acknowledge_preview_limit_invalid",
1096
- meaning: "History author acknowledge preview limit invalid condition.",
1097
- stability: "provisional",
1098
- exit_code: 2,
1099
- class: "usage",
1100
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1101
- sources: ["sdk/author-attribution.ts"],
1102
- emitting_commands: ["*"],
1103
- canonical_code: "history_author_acknowledge_preview_limit_invalid",
1104
- aliases: [],
1105
- },
1106
- {
1107
- code: "history_author_acknowledge_required_values_missing",
1108
- meaning: "History author acknowledge required values missing condition.",
1109
- stability: "provisional",
1110
- exit_code: 2,
1111
- class: "usage",
1112
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1113
- sources: ["sdk/author-attribution.ts"],
1114
- emitting_commands: ["*"],
1115
- canonical_code: "history_author_acknowledge_required_values_missing",
1116
- aliases: [],
1117
- },
1118
- {
1119
- code: "history_author_acknowledge_selector_conflict",
1120
- meaning: "History author acknowledge selector conflict condition.",
1121
- stability: "provisional",
1122
- exit_code: 2,
1123
- class: "usage",
1124
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1125
- sources: ["sdk/author-attribution.ts"],
1126
- emitting_commands: ["*"],
1127
- canonical_code: "history_author_acknowledge_selector_conflict",
1128
- aliases: [],
1129
- },
1130
- {
1131
- code: "history_author_acknowledge_selector_required",
1132
- meaning: "History author acknowledge selector required condition.",
1133
- stability: "stable",
1134
- exit_code: 2,
1135
- class: "usage",
1136
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1137
- sources: ["sdk/author-attribution.ts"],
1138
- emitting_commands: ["*"],
1139
- canonical_code: "history_author_acknowledge_selector_required",
1140
- aliases: [],
1141
- },
1142
- {
1143
- code: "history_author_acknowledge_target_not_actionable",
1144
- meaning: "History author acknowledge target not actionable condition.",
1145
- stability: "provisional",
1146
- exit_code: 2,
1147
- class: "usage",
1148
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1149
- sources: ["sdk/author-attribution.ts"],
1150
- emitting_commands: ["*"],
1151
- canonical_code: "history_author_acknowledge_target_not_actionable",
1152
- aliases: [],
1153
- },
1154
- {
1155
- code: "history_author_acknowledge_target_unreadable",
1156
- meaning: "History author acknowledge target unreadable condition.",
1157
- stability: "provisional",
1158
- exit_code: 2,
1159
- class: "usage",
1160
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1161
- sources: ["sdk/author-attribution.ts"],
1162
- emitting_commands: ["*"],
1163
- canonical_code: "history_author_acknowledge_target_unreadable",
1164
- aliases: [],
1165
- },
1166
- {
1167
- code: "history_baseline_unavailable",
1168
- meaning: "History baseline unavailable condition.",
1169
- stability: "provisional",
1170
- exit_code: 1,
1171
- class: "generic_failure",
1172
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1173
- sources: ["core/history/projection.ts"],
1174
- emitting_commands: ["*"],
1175
- canonical_code: "history_baseline_unavailable",
1176
- aliases: [],
1177
- },
1178
- {
1179
- code: "history_drift_chain_mismatch",
1180
- meaning: "History drift chain mismatch condition.",
1181
- stability: "stable",
1182
- exit_code: 1,
1183
- class: "generic_failure",
1184
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1185
- sources: ["core/diagnostics/remediation.ts"],
1186
- emitting_commands: ["*"],
1187
- canonical_code: "history_drift_chain_mismatch",
1188
- aliases: ["validate_history_drift_chain_mismatches"],
1189
- },
1190
- {
1191
- code: "history_drift_hash_mismatch",
1192
- meaning: "History drift hash mismatch condition.",
1193
- stability: "stable",
1194
- exit_code: 1,
1195
- class: "generic_failure",
1196
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1197
- sources: ["core/diagnostics/remediation.ts"],
1198
- emitting_commands: ["*"],
1199
- canonical_code: "history_drift_hash_mismatch",
1200
- aliases: ["validate_history_drift_hash_mismatches"],
1201
- },
1202
- {
1203
- code: "history_drift_merge_receipt",
1204
- meaning: "History drift merge receipt condition.",
1205
- stability: "provisional",
1206
- exit_code: 1,
1207
- class: "generic_failure",
1208
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1209
- sources: ["core/diagnostics/remediation.ts"],
1210
- emitting_commands: ["*"],
1211
- canonical_code: "history_drift_merge_receipt",
1212
- aliases: [],
1213
- },
1214
- {
1215
- code: "history_drift_missing_stream",
1216
- meaning: "History drift missing stream condition.",
1217
- stability: "stable",
1218
- exit_code: 1,
1219
- class: "generic_failure",
1220
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1221
- sources: ["core/diagnostics/remediation.ts"],
1222
- emitting_commands: ["*"],
1223
- canonical_code: "history_drift_missing_stream",
1224
- aliases: ["validate_history_drift_missing_streams"],
1225
- },
1226
- {
1227
- code: "history_drift_unreadable_stream",
1228
- meaning: "History drift unreadable stream condition.",
1229
- stability: "stable",
1230
- exit_code: 1,
1231
- class: "generic_failure",
1232
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1233
- sources: ["core/diagnostics/remediation.ts"],
1234
- emitting_commands: ["*"],
1235
- canonical_code: "history_drift_unreadable_stream",
1236
- aliases: ["validate_history_drift_unreadable_streams"],
1237
- },
1238
- {
1239
- code: "history_drift_version_skew",
1240
- meaning: "History drift version skew condition.",
1241
- stability: "stable",
1242
- exit_code: 1,
1243
- class: "generic_failure",
1244
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1245
- sources: ["core/diagnostics/remediation.ts"],
1246
- emitting_commands: ["*"],
1247
- canonical_code: "history_drift_version_skew",
1248
- aliases: ["validate_history_drift_version_skews"],
1249
- },
1250
- {
1251
- code: "history_json_invalid",
1252
- meaning: "History json invalid condition.",
1253
- stability: "provisional",
1254
- exit_code: 1,
1255
- class: "generic_failure",
1256
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1257
- sources: ["core/history/read.ts"],
1258
- emitting_commands: ["*"],
1259
- canonical_code: "history_json_invalid",
1260
- aliases: [],
1261
- },
1262
- {
1263
- code: "history_merge_conflict_markers_detected",
1264
- meaning: "History merge conflict markers detected condition.",
1265
- stability: "stable",
1266
- exit_code: 1,
1267
- class: "generic_failure",
1268
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1269
- sources: ["core/history/read.ts"],
1270
- emitting_commands: ["*"],
1271
- canonical_code: "merge_conflict_markers_detected",
1272
- aliases: [],
1273
- },
1274
- {
1275
- code: "history_replay_invalid",
1276
- meaning: "History replay invalid condition.",
1277
- stability: "provisional",
1278
- exit_code: 1,
1279
- class: "generic_failure",
1280
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1281
- sources: ["core/history/projection.ts"],
1282
- emitting_commands: ["*"],
1283
- canonical_code: "history_replay_invalid",
1284
- aliases: [],
1285
- },
1286
- {
1287
- code: "history_salvage_refused",
1288
- meaning: "History salvage refused condition.",
1289
- stability: "provisional",
1290
- exit_code: 4,
1291
- class: "conflict",
1292
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1293
- sources: ["sdk/history/salvage.ts"],
1294
- emitting_commands: ["*"],
1295
- canonical_code: "history_salvage_refused",
1296
- aliases: [],
1297
- },
1298
- {
1299
- code: "history_stream_over_compact_threshold",
1300
- meaning: "History stream over compact threshold condition.",
1301
- stability: "stable",
1302
- exit_code: 1,
1303
- class: "generic_failure",
1304
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1305
- sources: ["core/diagnostics/remediation.ts"],
1306
- emitting_commands: ["*"],
1307
- canonical_code: "history_stream_over_compact_threshold",
1308
- aliases: [],
1309
- },
1310
- {
1311
- code: "history_target_out_of_range",
1312
- meaning: "History target out of range condition.",
1313
- stability: "stable",
1314
- exit_code: 1,
1315
- class: "generic_failure",
1316
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1317
- sources: ["core/history/projection.ts"],
1318
- emitting_commands: ["*"],
1319
- canonical_code: "history_target_out_of_range",
1320
- aliases: [],
1321
- },
1322
- {
1323
- code: "history_timestamp_invalid",
1324
- meaning: "History timestamp invalid condition.",
1325
- stability: "provisional",
1326
- exit_code: 1,
1327
- class: "generic_failure",
1328
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1329
- sources: ["core/history/event-index.ts", "core/history/history.ts"],
1330
- emitting_commands: ["*"],
1331
- canonical_code: "history_timestamp_invalid",
1332
- aliases: [],
1333
- },
1334
- {
1335
- code: "history_unknown_author_events",
1336
- meaning: "History unknown author events condition.",
1337
- stability: "stable",
1338
- exit_code: 2,
1339
- class: "usage",
1340
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1341
- sources: ["core/diagnostics/remediation.ts"],
1342
- emitting_commands: ["*"],
1343
- canonical_code: "history_unknown_author_events",
1344
- aliases: ["validate_history_unknown_author_events"],
1345
- },
1346
- {
1347
- code: "history_version_mapping_unavailable",
1348
- meaning: "History version mapping unavailable condition.",
1349
- stability: "provisional",
1350
- exit_code: 2,
1351
- class: "usage",
1352
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1353
- sources: ["core/history/version-address.ts"],
1354
- emitting_commands: ["*"],
1355
- canonical_code: "history_version_mapping_unavailable",
1356
- aliases: [],
1357
- },
1358
- {
1359
- code: "history_version_pruned",
1360
- meaning: "History version pruned condition.",
1361
- stability: "provisional",
1362
- exit_code: 2,
1363
- class: "usage",
1364
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1365
- sources: ["core/history/projection.ts"],
1366
- emitting_commands: ["*"],
1367
- canonical_code: "history_version_pruned",
1368
- aliases: [],
1369
- },
1370
- {
1371
- code: "host_environment_capacity_fault",
1372
- meaning: "Host environment capacity fault condition.",
1373
- stability: "provisional",
1374
- exit_code: 1,
1375
- class: "generic_failure",
1376
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1377
- sources: ["core/fs/host-environment-errors.ts"],
1378
- emitting_commands: ["*"],
1379
- canonical_code: "host_environment_capacity_fault",
1380
- aliases: [],
1381
- },
1382
- {
1383
- code: "host_environment_operation_invalid",
1384
- meaning: "Host environment operation invalid condition.",
1385
- stability: "provisional",
1386
- exit_code: 2,
1387
- class: "usage",
1388
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1389
- sources: ["core/fs/host-environment-errors.ts"],
1390
- emitting_commands: ["*"],
1391
- canonical_code: "host_environment_operation_invalid",
1392
- aliases: [],
1393
- },
1394
- {
1395
- code: "host_environment_permission_fault",
1396
- meaning: "Host environment permission fault condition.",
1397
- stability: "provisional",
1398
- exit_code: 1,
1399
- class: "generic_failure",
1400
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1401
- sources: ["core/fs/host-environment-errors.ts"],
1402
- emitting_commands: ["*"],
1403
- canonical_code: "host_environment_permission_fault",
1404
- aliases: [],
1405
- },
1406
- {
1407
- code: "host_environment_resource_fault",
1408
- meaning: "Host environment resource fault condition.",
1409
- stability: "provisional",
1410
- exit_code: 1,
1411
- class: "generic_failure",
1412
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1413
- sources: ["core/fs/host-environment-errors.ts"],
1414
- emitting_commands: ["*"],
1415
- canonical_code: "host_environment_resource_fault",
1416
- aliases: [],
1417
- },
1418
- {
1419
- code: "improvement_metric_contract_conflict",
1420
- meaning: "Improvement metric contract conflict condition.",
1421
- stability: "provisional",
1422
- exit_code: 4,
1423
- class: "conflict",
1424
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1425
- sources: ["sdk/improvement-ledger.ts"],
1426
- emitting_commands: ["*"],
1427
- canonical_code: "improvement_metric_contract_conflict",
1428
- aliases: [],
1429
- },
1430
- {
1431
- code: "improvement_observation_conflict",
1432
- meaning: "Improvement observation conflict condition.",
1433
- stability: "provisional",
1434
- exit_code: 4,
1435
- class: "conflict",
1436
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1437
- sources: ["sdk/improvement-ledger.ts"],
1438
- emitting_commands: ["*"],
1439
- canonical_code: "improvement_observation_conflict",
1440
- aliases: [],
1441
- },
1442
- {
1443
- code: "incomplete_allowed_values",
1444
- meaning: "Incomplete allowed values condition.",
1445
- stability: "provisional",
1446
- exit_code: 1,
1447
- class: "generic_failure",
1448
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1449
- sources: ["sdk/agent/refusal-closure.ts"],
1450
- emitting_commands: ["*"],
1451
- canonical_code: "incomplete_allowed_values",
1452
- aliases: [],
1453
- },
1454
- {
1455
- code: "inconsistent_concept_kind",
1456
- meaning: "Inconsistent concept kind condition.",
1457
- stability: "provisional",
1458
- exit_code: 1,
1459
- class: "generic_failure",
1460
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1461
- sources: ["sdk/cli-contracts/flag-lexicon-contracts.ts"],
1462
- emitting_commands: ["*"],
1463
- canonical_code: "inconsistent_concept_kind",
1464
- aliases: [],
1465
- },
1466
- {
1467
- code: "init_existing_settings_requires_force",
1468
- meaning: "Init existing settings requires force condition.",
1469
- stability: "stable",
1470
- exit_code: 2,
1471
- class: "usage",
1472
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1473
- sources: ["sdk/init.ts"],
1474
- emitting_commands: ["*"],
1475
- canonical_code: "init_existing_settings_requires_force",
1476
- aliases: [],
1477
- },
1478
- {
1479
- code: "init_gitignore_unwritable",
1480
- meaning: "Init gitignore unwritable condition.",
1481
- stability: "stable",
1482
- exit_code: 1,
1483
- class: "generic_failure",
1484
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1485
- sources: ["sdk/workspace.ts"],
1486
- emitting_commands: ["*"],
1487
- canonical_code: "init_gitignore_unwritable",
1488
- aliases: [],
1489
- },
1490
- {
1491
- code: "init_id_prefix_conflict",
1492
- meaning: "Init id prefix conflict condition.",
1493
- stability: "stable",
1494
- exit_code: 2,
1495
- class: "usage",
1496
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1497
- sources: ["sdk/init.ts"],
1498
- emitting_commands: ["*"],
1499
- canonical_code: "init_id_prefix_conflict",
1500
- aliases: [],
1501
- },
1502
- {
1503
- code: "init_id_prefix_path_like",
1504
- meaning: "Init id prefix path like condition.",
1505
- stability: "stable",
1506
- exit_code: 2,
1507
- class: "usage",
1508
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1509
- sources: ["sdk/init.ts"],
1510
- emitting_commands: ["*"],
1511
- canonical_code: "init_id_prefix_path_like",
1512
- aliases: [],
1513
- },
1514
- {
1515
- code: "integrity_history_conflict_marker",
1516
- meaning: "Integrity history conflict marker condition.",
1517
- stability: "stable",
1518
- exit_code: 4,
1519
- class: "conflict",
1520
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1521
- sources: ["core/diagnostics/remediation.ts"],
1522
- emitting_commands: ["*"],
1523
- canonical_code: "integrity_history_conflict_marker",
1524
- aliases: ["validate_storage_history_conflict_markers"],
1525
- },
1526
- {
1527
- code: "integrity_history_invalid_json",
1528
- meaning: "Integrity history invalid json condition.",
1529
- stability: "stable",
1530
- exit_code: 2,
1531
- class: "usage",
1532
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1533
- sources: ["core/diagnostics/remediation.ts"],
1534
- emitting_commands: ["*"],
1535
- canonical_code: "integrity_history_invalid_json",
1536
- aliases: [],
1537
- },
1538
- {
1539
- code: "integrity_history_unreadable",
1540
- meaning: "Integrity history unreadable condition.",
1541
- stability: "stable",
1542
- exit_code: 1,
1543
- class: "generic_failure",
1544
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1545
- sources: ["core/diagnostics/remediation.ts"],
1546
- emitting_commands: ["*"],
1547
- canonical_code: "integrity_history_unreadable",
1548
- aliases: [],
1549
- },
1550
- {
1551
- code: "integrity_item_ahead_format_version",
1552
- meaning: "Integrity item ahead format version condition.",
1553
- stability: "stable",
1554
- exit_code: 1,
1555
- class: "generic_failure",
1556
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1557
- sources: ["core/diagnostics/remediation.ts"],
1558
- emitting_commands: ["*"],
1559
- canonical_code: "integrity_item_ahead_format_version",
1560
- aliases: ["validate_format_version_ahead_items"],
1561
- },
1562
- {
1563
- code: "integrity_item_conflict_marker",
1564
- meaning: "Integrity item conflict marker condition.",
1565
- stability: "stable",
1566
- exit_code: 4,
1567
- class: "conflict",
1568
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1569
- sources: ["core/diagnostics/remediation.ts"],
1570
- emitting_commands: ["*"],
1571
- canonical_code: "integrity_item_conflict_marker",
1572
- aliases: [],
1573
- },
1574
- {
1575
- code: "integrity_item_outdated_format_version",
1576
- meaning: "Integrity item outdated format version condition.",
1577
- stability: "stable",
1578
- exit_code: 1,
1579
- class: "generic_failure",
1580
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1581
- sources: ["core/diagnostics/remediation.ts"],
1582
- emitting_commands: ["*"],
1583
- canonical_code: "integrity_item_outdated_format_version",
1584
- aliases: ["validate_format_version_outdated_items"],
1585
- },
1586
- {
1587
- code: "integrity_item_parse_failed",
1588
- meaning: "Integrity item parse failed condition.",
1589
- stability: "stable",
1590
- exit_code: 1,
1591
- class: "generic_failure",
1592
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1593
- sources: ["core/diagnostics/remediation.ts"],
1594
- emitting_commands: ["*"],
1595
- canonical_code: "integrity_item_parse_failed",
1596
- aliases: [],
1597
- },
1598
- {
1599
- code: "integrity_item_unreadable",
1600
- meaning: "Integrity item unreadable condition.",
1601
- stability: "stable",
1602
- exit_code: 1,
1603
- class: "generic_failure",
1604
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1605
- sources: ["core/diagnostics/remediation.ts"],
1606
- emitting_commands: ["*"],
1607
- canonical_code: "integrity_item_unreadable",
1608
- aliases: [],
1609
- },
1610
- {
1611
- code: "invalid_argument_value",
1612
- meaning: "Invalid argument value condition.",
1613
- stability: "stable",
1614
- exit_code: 2,
1615
- class: "usage",
1616
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1617
- sources: [
1618
- "cli/error-guidance.ts",
1619
- "core/telemetry/observability.ts",
1620
- "sdk/context-intent-contracts.ts",
1621
- "sdk/governance/assurance-mutation-error.ts",
1622
- "sdk/lifecycle/create.ts",
1623
- ],
1624
- emitting_commands: ["*", "create"],
1625
- canonical_code: "invalid_argument_value",
1626
- aliases: [],
1627
- },
1628
- {
1629
- code: "invalid_command_usage",
1630
- meaning: "Invalid command usage condition.",
1631
- stability: "stable",
1632
- exit_code: 2,
1633
- class: "usage",
1634
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1635
- sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
1636
- emitting_commands: ["*"],
1637
- canonical_code: "invalid_command_usage",
1638
- aliases: [],
1639
- },
1640
- {
1641
- code: "invalid_event_cursor",
1642
- meaning: "Invalid event cursor condition.",
1643
- stability: "stable",
1644
- exit_code: 2,
1645
- class: "usage",
1646
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1647
- sources: ["sdk/mutation-events.ts"],
1648
- emitting_commands: ["*"],
1649
- canonical_code: "invalid_event_cursor",
1650
- aliases: [],
1651
- },
1652
- {
1653
- code: "invalid_event_cursor_mode",
1654
- meaning: "Invalid event cursor mode condition.",
1655
- stability: "provisional",
1656
- exit_code: 2,
1657
- class: "usage",
1658
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1659
- sources: [
1660
- "cli/register-list-query.ts",
1661
- "sdk/mutation-events.ts",
1662
- "sdk/runtime-extended-actions.ts",
1663
- ],
1664
- emitting_commands: ["*"],
1665
- canonical_code: "invalid_event_cursor_mode",
1666
- aliases: [],
1667
- },
1668
- {
1669
- code: "invalid_event_follow_interval",
1670
- meaning: "Invalid event follow interval condition.",
1671
- stability: "stable",
1672
- exit_code: 2,
1673
- class: "usage",
1674
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1675
- sources: ["sdk/mutation-events.ts"],
1676
- emitting_commands: ["*"],
1677
- canonical_code: "invalid_event_follow_interval",
1678
- aliases: [],
1679
- },
1680
- {
1681
- code: "invalid_event_limit",
1682
- meaning: "Invalid event limit condition.",
1683
- stability: "stable",
1684
- exit_code: 2,
1685
- class: "usage",
1686
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1687
- sources: ["sdk/mutation-events.ts"],
1688
- emitting_commands: ["*"],
1689
- canonical_code: "invalid_event_limit",
1690
- aliases: [],
1691
- },
1692
- {
1693
- code: "invalid_event_since",
1694
- meaning: "Invalid event since condition.",
1695
- stability: "stable",
1696
- exit_code: 2,
1697
- class: "usage",
1698
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1699
- sources: ["sdk/mutation-events.ts"],
1700
- emitting_commands: ["*"],
1701
- canonical_code: "invalid_event_since",
1702
- aliases: [],
1703
- },
1704
- {
1705
- code: "invalid_history_analytics_limit",
1706
- meaning: "Invalid history analytics limit condition.",
1707
- stability: "provisional",
1708
- exit_code: 2,
1709
- class: "usage",
1710
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1711
- sources: ["sdk/history-analytics.ts"],
1712
- emitting_commands: ["*"],
1713
- canonical_code: "invalid_history_analytics_limit",
1714
- aliases: [],
1715
- },
1716
- {
1717
- code: "invalid_history_analytics_minimum_sample",
1718
- meaning: "Invalid history analytics minimum sample condition.",
1719
- stability: "provisional",
1720
- exit_code: 2,
1721
- class: "usage",
1722
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1723
- sources: ["sdk/history-analytics.ts"],
1724
- emitting_commands: ["*"],
1725
- canonical_code: "invalid_history_analytics_minimum_sample",
1726
- aliases: [],
1727
- },
1728
- {
1729
- code: "invalid_history_analytics_since",
1730
- meaning: "Invalid history analytics since condition.",
1731
- stability: "provisional",
1732
- exit_code: 2,
1733
- class: "usage",
1734
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1735
- sources: ["sdk/history-analytics.ts"],
1736
- emitting_commands: ["*"],
1737
- canonical_code: "invalid_history_analytics_since",
1738
- aliases: [],
1739
- },
1740
- {
1741
- code: "invalid_improvement_ledger",
1742
- meaning: "Invalid improvement ledger condition.",
1743
- stability: "provisional",
1744
- exit_code: 1,
1745
- class: "generic_failure",
1746
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1747
- sources: ["sdk/improvement-ledger-validation.ts"],
1748
- emitting_commands: ["*"],
1749
- canonical_code: "invalid_improvement_ledger",
1750
- aliases: [],
1751
- },
1752
- {
1753
- code: "invalid_improvement_metric",
1754
- meaning: "Invalid improvement metric condition.",
1755
- stability: "provisional",
1756
- exit_code: 2,
1757
- class: "usage",
1758
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1759
- sources: ["sdk/improvement-ledger.ts"],
1760
- emitting_commands: ["*"],
1761
- canonical_code: "invalid_improvement_metric",
1762
- aliases: [],
1763
- },
1764
- {
1765
- code: "invalid_improvement_observation",
1766
- meaning: "Invalid improvement observation condition.",
1767
- stability: "provisional",
1768
- exit_code: 2,
1769
- class: "usage",
1770
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1771
- sources: ["sdk/improvement-ledger.ts"],
1772
- emitting_commands: ["*"],
1773
- canonical_code: "invalid_improvement_observation",
1774
- aliases: [],
1775
- },
1776
- {
1777
- code: "invalid_improvement_observation_limit",
1778
- meaning: "Invalid improvement observation limit condition.",
1779
- stability: "provisional",
1780
- exit_code: 2,
1781
- class: "usage",
1782
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1783
- sources: ["sdk/improvement-ledger.ts"],
1784
- emitting_commands: ["*"],
1785
- canonical_code: "invalid_improvement_observation_limit",
1786
- aliases: [],
1787
- },
1788
- {
1789
- code: "invalid_improvement_observation_timestamp",
1790
- meaning: "Invalid improvement observation timestamp condition.",
1791
- stability: "provisional",
1792
- exit_code: 2,
1793
- class: "usage",
1794
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1795
- sources: ["sdk/improvement-ledger.ts"],
1796
- emitting_commands: ["*"],
1797
- canonical_code: "invalid_improvement_observation_timestamp",
1798
- aliases: [],
1799
- },
1800
- {
1801
- code: "invalid_provenance_predicate",
1802
- meaning: "Invalid provenance predicate condition.",
1803
- stability: "stable",
1804
- exit_code: 2,
1805
- class: "usage",
1806
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1807
- sources: ["sdk/history-provenance.ts"],
1808
- emitting_commands: ["*"],
1809
- canonical_code: "invalid_provenance_predicate",
1810
- aliases: [],
1811
- },
1812
- {
1813
- code: "invalid_query_cursor",
1814
- meaning: "Invalid query cursor condition.",
1815
- stability: "stable",
1816
- exit_code: 2,
1817
- class: "usage",
1818
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1819
- sources: ["sdk/pagination.ts"],
1820
- emitting_commands: ["*"],
1821
- canonical_code: "invalid_query_cursor",
1822
- aliases: [],
1823
- },
1824
- {
1825
- code: "invalid_read_output_session",
1826
- meaning: "Invalid read output session condition.",
1827
- stability: "provisional",
1828
- exit_code: 2,
1829
- class: "usage",
1830
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1831
- sources: ["sdk/read-output-session.ts"],
1832
- emitting_commands: ["*"],
1833
- canonical_code: "invalid_read_output_session",
1834
- aliases: [],
1835
- },
1836
- {
1837
- code: "invalid_reproducible_process_environment",
1838
- meaning: "Invalid reproducible process environment condition.",
1839
- stability: "provisional",
1840
- exit_code: 2,
1841
- class: "usage",
1842
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1843
- sources: ["sdk/reproducibility/process.ts"],
1844
- emitting_commands: ["*"],
1845
- canonical_code: "invalid_reproducible_process_environment",
1846
- aliases: [],
1847
- },
1848
- {
1849
- code: "invalid_workspace_snapshot_target",
1850
- meaning: "Invalid workspace snapshot target condition.",
1851
- stability: "provisional",
1852
- exit_code: 2,
1853
- class: "usage",
1854
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1855
- sources: ["sdk/workspace-snapshot.ts"],
1856
- emitting_commands: ["*"],
1857
- canonical_code: "invalid_workspace_snapshot_target",
1858
- aliases: [],
1859
- },
1860
- {
1861
- code: "item_already_active",
1862
- meaning: "Item already active condition.",
1863
- stability: "provisional",
1864
- exit_code: 4,
1865
- class: "conflict",
1866
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1867
- sources: ["sdk/lifecycle/update.ts"],
1868
- emitting_commands: ["update"],
1869
- canonical_code: "item_already_active",
1870
- aliases: [],
1871
- },
1872
- {
1873
- code: "item_document_encoding_invalid",
1874
- meaning: "Item document encoding invalid condition.",
1875
- stability: "provisional",
1876
- exit_code: 4,
1877
- class: "conflict",
1878
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1879
- sources: ["core/store/item-store.ts"],
1880
- emitting_commands: ["*"],
1881
- canonical_code: "item_document_encoding_invalid",
1882
- aliases: [],
1883
- },
1884
- {
1885
- code: "item_document_invalid",
1886
- meaning: "Item document invalid condition.",
1887
- stability: "stable",
1888
- exit_code: 1,
1889
- class: "generic_failure",
1890
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1891
- sources: ["core/item/item-format.ts"],
1892
- emitting_commands: ["*"],
1893
- canonical_code: "item_document_invalid",
1894
- aliases: [],
1895
- },
1896
- {
1897
- code: "item_document_roundtrip_failed",
1898
- meaning: "Item document roundtrip failed condition.",
1899
- stability: "stable",
1900
- exit_code: 1,
1901
- class: "generic_failure",
1902
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1903
- sources: ["core/item/item-format.ts"],
1904
- emitting_commands: ["*"],
1905
- canonical_code: "item_document_roundtrip_failed",
1906
- aliases: [],
1907
- },
1908
- {
1909
- code: "item_id_collision",
1910
- meaning: "Item id collision condition.",
1911
- stability: "stable",
1912
- exit_code: 4,
1913
- class: "conflict",
1914
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1915
- sources: ["sdk/lifecycle/copy.ts"],
1916
- emitting_commands: ["copy"],
1917
- canonical_code: "item_id_collision",
1918
- aliases: [],
1919
- },
1920
- {
1921
- code: "item_identity_reserved",
1922
- meaning: "Item identity reserved condition.",
1923
- stability: "provisional",
1924
- exit_code: 4,
1925
- class: "conflict",
1926
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1927
- sources: ["core/history/history.ts"],
1928
- emitting_commands: ["*"],
1929
- canonical_code: "item_identity_reserved",
1930
- aliases: [],
1931
- },
1932
- {
1933
- code: "item_not_found",
1934
- meaning: "Item not found condition.",
1935
- stability: "stable",
1936
- exit_code: 3,
1937
- class: "not_found",
1938
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1939
- sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
1940
- emitting_commands: ["*"],
1941
- canonical_code: "item_not_found",
1942
- aliases: [],
1943
- },
1944
- {
1945
- code: "likely_duplicate",
1946
- meaning: "Likely duplicate condition.",
1947
- stability: "stable",
1948
- exit_code: 4,
1949
- class: "conflict",
1950
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1951
- sources: ["sdk/similarity.ts"],
1952
- emitting_commands: ["*"],
1953
- canonical_code: "likely_duplicate",
1954
- aliases: [],
1955
- },
1956
- {
1957
- code: "linked_artifact_mutation_conflict",
1958
- meaning: "Linked artifact mutation conflict condition.",
1959
- stability: "provisional",
1960
- exit_code: 2,
1961
- class: "usage",
1962
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1963
- sources: ["sdk/linked-artifacts.ts"],
1964
- emitting_commands: ["*"],
1965
- canonical_code: "linked_artifact_mutation_conflict",
1966
- aliases: [],
1967
- },
1968
- {
1969
- code: "linked_test_remove_no_match",
1970
- meaning: "Linked test remove no match condition.",
1971
- stability: "provisional",
1972
- exit_code: 3,
1973
- class: "not_found",
1974
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1975
- sources: ["sdk/test/execution.ts"],
1976
- emitting_commands: ["*"],
1977
- canonical_code: "linked_test_remove_no_match",
1978
- aliases: [],
1979
- },
1980
- {
1981
- code: "linked_test_value_not_quoted",
1982
- meaning: "Linked test value not quoted condition.",
1983
- stability: "stable",
1984
- exit_code: 1,
1985
- class: "generic_failure",
1986
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1987
- sources: ["cli/error-guidance.ts"],
1988
- emitting_commands: ["*"],
1989
- canonical_code: "linked_test_value_not_quoted",
1990
- aliases: [],
1991
- },
1992
- {
1993
- code: "list_source_incomplete",
1994
- meaning: "List source incomplete condition.",
1995
- stability: "stable",
1996
- exit_code: 1,
1997
- class: "generic_failure",
1998
- recovery: "Inspect the structured error guidance and retry the suggested command.",
1999
- sources: ["sdk/query/list.ts"],
2000
- emitting_commands: ["list"],
2001
- canonical_code: "list_source_incomplete",
2002
- aliases: [],
2003
- },
2004
- {
2005
- code: "local_package_archive_unsafe",
2006
- meaning: "Local package archive unsafe condition.",
2007
- stability: "stable",
2008
- exit_code: 2,
2009
- class: "usage",
2010
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2011
- sources: ["sdk/extension/install-sources.ts"],
2012
- emitting_commands: ["*"],
2013
- canonical_code: "local_package_archive_unsafe",
2014
- aliases: [],
2015
- },
2016
- {
2017
- code: "local_source_not_found_bare_name",
2018
- meaning: "Local source not found bare name condition.",
2019
- stability: "stable",
2020
- exit_code: 3,
2021
- class: "not_found",
2022
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2023
- sources: ["sdk/extension/install-sources.ts"],
2024
- emitting_commands: ["*"],
2025
- canonical_code: "local_source_not_found_bare_name",
2026
- aliases: [],
2027
- },
2028
- {
2029
- code: "lock_conflict",
2030
- meaning: "Lock conflict condition.",
2031
- stability: "stable",
2032
- exit_code: 4,
2033
- class: "conflict",
2034
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2035
- sources: ["cli/error-guidance.ts", "core/lock/lock.ts", "core/telemetry/observability.ts"],
2036
- emitting_commands: ["*"],
2037
- canonical_code: "lock_conflict",
2038
- aliases: [],
2039
- },
2040
- {
2041
- code: "locks_stale_count",
2042
- meaning: "Locks stale count condition.",
2043
- stability: "stable",
2044
- exit_code: 1,
2045
- class: "generic_failure",
2046
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2047
- sources: ["core/diagnostics/remediation.ts"],
2048
- emitting_commands: ["*"],
2049
- canonical_code: "locks_stale_count",
2050
- aliases: [],
2051
- },
2052
- {
2053
- code: "locks_unreadable",
2054
- meaning: "Locks unreadable condition.",
2055
- stability: "stable",
2056
- exit_code: 1,
2057
- class: "generic_failure",
2058
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2059
- sources: ["core/diagnostics/remediation.ts"],
2060
- emitting_commands: ["*"],
2061
- canonical_code: "locks_unreadable",
2062
- aliases: [],
2063
- },
2064
- {
2065
- code: "malformed_plan_step_evidence",
2066
- meaning: "Malformed plan step evidence condition.",
2067
- stability: "stable",
2068
- exit_code: 2,
2069
- class: "usage",
2070
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2071
- sources: ["sdk/lifecycle/plan.ts"],
2072
- emitting_commands: ["plan"],
2073
- canonical_code: "malformed_plan_step_evidence",
2074
- aliases: [],
2075
- },
2076
- {
2077
- code: "manifest_capabilities_absent",
2078
- meaning: "Manifest capabilities absent condition.",
2079
- stability: "stable",
2080
- exit_code: 1,
2081
- class: "generic_failure",
2082
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2083
- sources: ["sdk/compose.ts"],
2084
- emitting_commands: ["*"],
2085
- canonical_code: "manifest_capabilities_absent",
2086
- aliases: [],
2087
- },
2088
- {
2089
- code: "manifest_unknown_key",
2090
- meaning: "Manifest unknown key condition.",
2091
- stability: "provisional",
2092
- exit_code: 1,
2093
- class: "generic_failure",
2094
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2095
- sources: ["core/extensions/manifest-schema.ts"],
2096
- emitting_commands: ["*"],
2097
- canonical_code: "manifest_unknown_key",
2098
- aliases: [],
2099
- owned_states: [
2100
- { state: "author_workspace_manifest_declares_an_unknown_top_level_key", probe_id: "author-manifest-unknown-key", entrypoints: ["health"], expected_exit_class: "generic_failure" },
2101
- ],
2102
- },
2103
- {
2104
- code: "mcp_annotation_file_unavailable",
2105
- meaning: "Mcp annotation file unavailable condition.",
2106
- stability: "provisional",
2107
- exit_code: 2,
2108
- class: "usage",
2109
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2110
- sources: ["sdk/runtime-input.ts"],
2111
- emitting_commands: ["*"],
2112
- canonical_code: "mcp_annotation_file_unavailable",
2113
- aliases: [],
2114
- },
2115
- {
2116
- code: "mcp_stdin_unavailable",
2117
- meaning: "Mcp stdin unavailable condition.",
2118
- stability: "provisional",
2119
- exit_code: 2,
2120
- class: "usage",
2121
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2122
- sources: ["sdk/annotations.ts"],
2123
- emitting_commands: ["*"],
2124
- canonical_code: "mcp_stdin_unavailable",
2125
- aliases: [],
2126
- },
2127
- {
2128
- code: "mcp_task_not_found_or_not_authorized",
2129
- meaning: "Mcp task not found or not authorized condition.",
2130
- stability: "provisional",
2131
- exit_code: 3,
2132
- class: "not_found",
2133
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2134
- sources: ["sdk/mcp/tasks.ts"],
2135
- emitting_commands: ["*"],
2136
- canonical_code: "mcp_task_not_found_or_not_authorized",
2137
- aliases: [],
2138
- },
2139
- {
2140
- code: "merge_conflict_markers_detected",
2141
- meaning: "Merge conflict markers detected condition.",
2142
- stability: "stable",
2143
- exit_code: 1,
2144
- class: "generic_failure",
2145
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2146
- sources: ["core/item/item-format.ts"],
2147
- emitting_commands: ["*"],
2148
- canonical_code: "merge_conflict_markers_detected",
2149
- aliases: ["history_merge_conflict_markers_detected"],
2150
- },
2151
- {
2152
- code: "merge_decisions_unreviewed",
2153
- meaning: "Merge decisions unreviewed condition.",
2154
- stability: "provisional",
2155
- exit_code: 1,
2156
- class: "generic_failure",
2157
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2158
- sources: ["core/diagnostics/remediation.ts"],
2159
- emitting_commands: ["*"],
2160
- canonical_code: "merge_decisions_unreviewed",
2161
- aliases: [],
2162
- },
2163
- {
2164
- code: "merge_git_config_unwritable",
2165
- meaning: "Merge git config unwritable condition.",
2166
- stability: "stable",
2167
- exit_code: 5,
2168
- class: "dependency_failed",
2169
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2170
- sources: ["sdk/merge/install.ts"],
2171
- emitting_commands: ["*"],
2172
- canonical_code: "merge_git_config_unwritable",
2173
- aliases: [],
2174
- },
2175
- {
2176
- code: "merge_receipt_evidence_invalid",
2177
- meaning: "Merge receipt evidence invalid condition.",
2178
- stability: "provisional",
2179
- exit_code: 4,
2180
- class: "conflict",
2181
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2182
- sources: ["core/diagnostics/remediation.ts", "sdk/merge/reconcile.ts"],
2183
- emitting_commands: ["*"],
2184
- canonical_code: "merge_receipt_evidence_invalid",
2185
- aliases: [],
2186
- },
2187
- {
2188
- code: "merge_receipt_history_reference_missing",
2189
- meaning: "Merge receipt history reference missing condition.",
2190
- stability: "provisional",
2191
- exit_code: 1,
2192
- class: "generic_failure",
2193
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2194
- sources: ["core/diagnostics/remediation.ts"],
2195
- emitting_commands: ["*"],
2196
- canonical_code: "merge_receipt_history_reference_missing",
2197
- aliases: [],
2198
- },
2199
- {
2200
- code: "merge_receipts_pending",
2201
- meaning: "Merge receipts pending condition.",
2202
- stability: "provisional",
2203
- exit_code: 1,
2204
- class: "generic_failure",
2205
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2206
- sources: ["core/diagnostics/remediation.ts"],
2207
- emitting_commands: ["*"],
2208
- canonical_code: "merge_receipts_pending",
2209
- aliases: [],
2210
- },
2211
- {
2212
- code: "merge_reconcile_receipt_evidence_untrusted",
2213
- meaning: "Merge reconcile receipt evidence untrusted condition.",
2214
- stability: "provisional",
2215
- exit_code: 4,
2216
- class: "conflict",
2217
- recovery: "Inspect the structured error guidance and retry the suggested command.",
2218
- sources: ["sdk/history-repair.ts"],
2219
- emitting_commands: ["*"],
2220
- canonical_code: "merge_reconcile_receipt_evidence_untrusted",
2221
- aliases: [],
2222
- },
2223
- ];
1
+ !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1d2c01be-fff3-51b7-b1a5-083590156864")}catch(e2){}})();const PM_ERROR_CODE_CATALOG_PART_1=[{code:"acceptance_criteria_mutation_conflict",meaning:"Acceptance criteria mutation conflict condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/update.ts"],emitting_commands:["update","update-many"],canonical_code:"acceptance_criteria_mutation_conflict",aliases:[]},{code:"acceptance_criteria_remove_unmatched",meaning:"Acceptance criteria remove unmatched condition.",stability:"provisional",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/update-many.ts","sdk/lifecycle/update.ts"],emitting_commands:["update","update-many"],canonical_code:"acceptance_criteria_remove_unmatched",aliases:[]},{code:"acceptance_criteria_semicolon_forbidden",meaning:"Acceptance criteria semicolon forbidden condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/item/parse.ts"],emitting_commands:["*"],canonical_code:"acceptance_criteria_semicolon_forbidden",aliases:[]},{code:"accepted_rejected_value",meaning:"Accepted rejected value condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/refusal-closure.ts"],emitting_commands:["*"],canonical_code:"accepted_rejected_value",aliases:[]},{code:"alias_collision",meaning:"Alias collision condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/flag-lexicon-contracts.ts"],emitting_commands:["*"],canonical_code:"alias_collision",aliases:[]},{code:"alias_target_missing",meaning:"Alias target missing condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/grammar-contracts.ts"],emitting_commands:["*"],canonical_code:"alias_target_missing",aliases:[]},{code:"already_claimed_by",meaning:"Already claimed by condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/claim.ts"],emitting_commands:["claim"],canonical_code:"already_claimed_by",aliases:[]},{code:"ambiguous_option_combination",meaning:"Ambiguous option combination condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/plan.ts"],emitting_commands:["plan"],canonical_code:"ambiguous_option_combination",aliases:[]},{code:"annotation_alias_conflict",meaning:"Annotation alias conflict condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/register-annotations.ts"],emitting_commands:["*"],canonical_code:"annotation_alias_conflict",aliases:[]},{code:"annotation_flag_like_value",meaning:"Annotation flag like value condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/annotations.ts"],emitting_commands:["*"],canonical_code:"annotation_flag_like_value",aliases:[]},{code:"annotation_if_absent_without_append",meaning:"Annotation if absent without append condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/annotations.ts"],emitting_commands:["*"],canonical_code:"annotation_if_absent_without_append",aliases:[]},{code:"annotation_message_without_text",meaning:"Annotation message without text condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/annotations.ts"],emitting_commands:["*"],canonical_code:"annotation_message_without_text",aliases:[]},{code:"annotation_transposed_subcommand",meaning:"Annotation transposed subcommand condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/register-annotations.ts"],emitting_commands:["*"],canonical_code:"annotation_transposed_subcommand",aliases:[]},{code:"append_empty_body",meaning:"Append empty body condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/append.ts"],emitting_commands:["append"],canonical_code:"append_empty_body",aliases:[]},{code:"assurance_registry_invalid",meaning:"Assurance registry invalid condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/governance/assurance.ts"],emitting_commands:["*"],canonical_code:"assurance_registry_invalid",aliases:[]},{code:"bare_comma_entry_ambiguous",meaning:"Bare comma entry ambiguous condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/item/parse.ts"],emitting_commands:["*"],canonical_code:"bare_comma_entry_ambiguous",aliases:[]},{code:"body_file_conflicts_with_body",meaning:"Body file conflicts with body condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/io/body-file.ts"],emitting_commands:["*"],canonical_code:"body_file_conflicts_with_body",aliases:[]},{code:"body_file_missing_path",meaning:"Body file missing path condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/io/body-file.ts"],emitting_commands:["*"],canonical_code:"body_file_missing_path",aliases:[]},{code:"body_file_unreadable",meaning:"Body file unreadable condition.",stability:"stable",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/io/body-file.ts"],emitting_commands:["*"],canonical_code:"body_file_unreadable",aliases:[]},{code:"budget_exceeded",meaning:"Budget exceeded condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/flag-lexicon-contracts.ts"],emitting_commands:["*"],canonical_code:"budget_exceeded",aliases:[]},{code:"bulk_ids_input_empty",meaning:"Bulk ids input empty condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/io/bulk-ids-input.ts","sdk/history-compact.ts","sdk/history-mcp.ts"],emitting_commands:["*"],canonical_code:"bulk_ids_input_empty",aliases:[],owned_states:[{state:"bulk_ids_stdin_contains_no_nonempty_ids",probe_id:"bulk-ids-stdin-empty",entrypoints:["update-many"],expected_exit_class:"usage"}]},{code:"bulk_ids_input_missing_path",meaning:"Bulk ids input missing path condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/io/bulk-ids-input.ts"],emitting_commands:["*"],canonical_code:"bulk_ids_input_missing_path",aliases:[],owned_states:[{state:"bulk_ids_file_token_omits_its_path",probe_id:"bulk-ids-file-path-missing",entrypoints:["update-many"],expected_exit_class:"usage"}]},{code:"bulk_ids_input_unreadable",meaning:"Bulk ids input unreadable condition.",stability:"provisional",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/io/bulk-ids-input.ts"],emitting_commands:["*"],canonical_code:"bulk_ids_input_unreadable",aliases:[],owned_states:[{state:"bulk_ids_file_path_cannot_be_read",probe_id:"bulk-ids-file-unreadable",entrypoints:["update-many"],expected_exit_class:"not_found"}]},{code:"bundle_integrity_torn_install",meaning:"Bundle integrity torn install condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/bundle-integrity.ts"],emitting_commands:["*"],canonical_code:"bundle_integrity_torn_install",aliases:[]},{code:"capability_undeclared",meaning:"Capability undeclared condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/compose.ts"],emitting_commands:["*"],canonical_code:"capability_undeclared",aliases:[]},{code:"capability_unused",meaning:"Capability unused condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/compose.ts"],emitting_commands:["*"],canonical_code:"capability_unused",aliases:[]},{code:"child_projection_item_bound_exceeded",meaning:"Child projection item bound exceeded condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/item-children.ts"],emitting_commands:["*"],canonical_code:"child_projection_item_bound_exceeded",aliases:[]},{code:"close_reason_required",meaning:"Close reason required condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle-policy.ts","sdk/lifecycle/close-many.ts"],emitting_commands:["*","close-many"],canonical_code:"close_reason_required",aliases:[]},{code:"close_through_update",meaning:"Close through update condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/telemetry/observability.ts"],emitting_commands:["*"],canonical_code:"close_through_update",aliases:[]},{code:"close_validation_missing_fields",meaning:"Close validation missing fields condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/close.ts"],emitting_commands:["close"],canonical_code:"close_validation_missing_fields",aliases:[]},{code:"collected_zero_items",meaning:"Collected zero items condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/test/execution.ts"],emitting_commands:["*"],canonical_code:"collected_zero_items",aliases:[]},{code:"collection_transposed_subcommand",meaning:"Collection transposed subcommand condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts"],emitting_commands:["*"],canonical_code:"collection_transposed_subcommand",aliases:[]},{code:"command_failed",meaning:"Command failed condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts"],emitting_commands:["*"],canonical_code:"command_failed",aliases:[]},{code:"command_namespace",meaning:"Command namespace condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/runtime-contracts.ts"],emitting_commands:["*"],canonical_code:"command_namespace",aliases:[]},{code:"command_override_conflict",meaning:"Command override conflict condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/compose.ts"],emitting_commands:["*"],canonical_code:"command_override_conflict",aliases:[]},{code:"config_duplicate",meaning:"Config duplicate condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/profile/profile-lint.ts"],emitting_commands:["*"],canonical_code:"config_duplicate",aliases:[]},{code:"config_key_unknown",meaning:"Config key unknown condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/profile/profile-lint.ts"],emitting_commands:["*"],canonical_code:"config_key_unknown",aliases:[]},{code:"config_value_invalid",meaning:"Config value invalid condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/profile/profile-lint.ts"],emitting_commands:["*"],canonical_code:"config_value_invalid",aliases:[]},{code:"conflicting_lifecycle_owner",meaning:"Conflicting lifecycle owner condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/register-operations.ts"],emitting_commands:["*"],canonical_code:"conflicting_lifecycle_owner",aliases:[]},{code:"context_signal_store_invalid",meaning:"Context signal store invalid condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/context-signal-store.ts"],emitting_commands:["*"],canonical_code:"context_signal_store_invalid",aliases:[]},{code:"context_signal_store_stale",meaning:"Context signal store stale condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/context-signal-store.ts"],emitting_commands:["*"],canonical_code:"context_signal_store_stale",aliases:[]},{code:"context_signal_store_write_failed",meaning:"Context signal store write failed condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/context-signal-store.ts"],emitting_commands:["*"],canonical_code:"context_signal_store_write_failed",aliases:[]},{code:"context_takes_no_item_argument",meaning:"Context takes no item argument condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts"],emitting_commands:["*"],canonical_code:"context_takes_no_item_argument",aliases:[]},{code:"core_item_field_requires_dedicated_flag",meaning:"Core item field requires dedicated flag condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/item-fields.ts"],emitting_commands:["*"],canonical_code:"core_item_field_requires_dedicated_flag",aliases:[]},{code:"create_positional_type_without_title",meaning:"Create positional type without title condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/register-mutation.ts"],emitting_commands:["*"],canonical_code:"create_positional_type_without_title",aliases:[]},{code:"dependency_edge_not_allowed",meaning:"Dependency edge not allowed condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/dependency-flag-validation.ts"],emitting_commands:["*"],canonical_code:"dependency_edge_not_allowed",aliases:[]},{code:"dependency_flag_value_invalid",meaning:"Dependency flag value invalid condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/dependency-flag-validation.ts"],emitting_commands:["*"],canonical_code:"dependency_flag_value_invalid",aliases:[]},{code:"dependency_remove_no_match",meaning:"Dependency remove no match condition.",stability:"provisional",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/update.ts"],emitting_commands:["update"],canonical_code:"dependency_remove_no_match",aliases:[]},{code:"dependency_target_not_found",meaning:"Dependency target not found condition.",stability:"provisional",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/dependency-flag-validation.ts"],emitting_commands:["*"],canonical_code:"dependency_target_not_found",aliases:[]},{code:"dependency_temporal_order_invalid",meaning:"Dependency temporal order invalid condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/dependency-flag-validation.ts"],emitting_commands:["*"],canonical_code:"dependency_temporal_order_invalid",aliases:[]},{code:"duplicate_canonical_flag",meaning:"Duplicate canonical flag condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/flag-lexicon-contracts.ts"],emitting_commands:["*"],canonical_code:"duplicate_canonical_flag",aliases:[]},{code:"duplicate_command",meaning:"Duplicate command condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/compose.ts"],emitting_commands:["*"],canonical_code:"duplicate_command",aliases:[]},{code:"duplicate_destination",meaning:"Duplicate destination condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/grammar-contracts.ts"],emitting_commands:["*"],canonical_code:"duplicate_destination",aliases:[]},{code:"duplicate_edge",meaning:"Duplicate edge condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/graph/remediation.ts"],emitting_commands:["*"],canonical_code:"duplicate_edge",aliases:[]},{code:"duplicate_observation",meaning:"Duplicate observation condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/flag-invocation-contracts.ts"],emitting_commands:["*"],canonical_code:"duplicate_observation",aliases:[]},{code:"duplicate_probe",meaning:"Duplicate probe condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/refusal-closure.ts"],emitting_commands:["*"],canonical_code:"duplicate_probe",aliases:[]},{code:"duplicate_sweep_cost_limit",meaning:"Duplicate sweep cost limit condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/query/duplicate-candidates.ts"],emitting_commands:["duplicate-candidates"],canonical_code:"duplicate_sweep_cost_limit",aliases:[]},{code:"duplicate_target_circular",meaning:"Duplicate target circular condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/close.ts"],emitting_commands:["close"],canonical_code:"duplicate_target_circular",aliases:[]},{code:"duplicate_target_is_duplicate",meaning:"Duplicate target is duplicate condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/close.ts"],emitting_commands:["close"],canonical_code:"duplicate_target_is_duplicate",aliases:[]},{code:"duplicate_target_missing",meaning:"Duplicate target missing condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/close.ts"],emitting_commands:["close"],canonical_code:"duplicate_target_missing",aliases:[]},{code:"duplicate_target_self",meaning:"Duplicate target self condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/close.ts"],emitting_commands:["close"],canonical_code:"duplicate_target_self",aliases:[]},{code:"empty_corpus",meaning:"Empty corpus condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/refusal-closure.ts"],emitting_commands:["*"],canonical_code:"empty_corpus",aliases:[]},{code:"empty_surface",meaning:"Empty surface condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/compose.ts"],emitting_commands:["*"],canonical_code:"empty_surface",aliases:[]},{code:"error_code_mismatch",meaning:"Error code mismatch condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/refusal-closure.ts","sdk/agent/tracker-preflight-contracts.ts"],emitting_commands:["*"],canonical_code:"error_code_mismatch",aliases:[]},{code:"event_cursor_query_mismatch",meaning:"Event cursor query mismatch condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mutation-events.ts"],emitting_commands:["*"],canonical_code:"event_cursor_query_mismatch",aliases:[]},{code:"event_index_unavailable",meaning:"Event index unavailable condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mutation-events.ts"],emitting_commands:["*"],canonical_code:"event_index_unavailable",aliases:[]},{code:"exit_code_mismatch",meaning:"Exit code mismatch condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/tracker-preflight-contracts.ts"],emitting_commands:["*"],canonical_code:"exit_code_mismatch",aliases:[]},{code:"extension_command_activation_failed",meaning:"Extension command activation failed condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/commander-usage.ts"],emitting_commands:["*"],canonical_code:"extension_command_activation_failed",aliases:[]},{code:"extension_dependency_name_unsafe",meaning:"Extension dependency name unsafe condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/install-sources.ts"],emitting_commands:["*"],canonical_code:"extension_dependency_name_unsafe",aliases:[]},{code:"extension_dependency_spec_invalid",meaning:"Extension dependency spec invalid condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/install-sources.ts"],emitting_commands:["*"],canonical_code:"extension_dependency_spec_invalid",aliases:[]},{code:"extension_dependency_version_unsafe",meaning:"Extension dependency version unsafe condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/install-sources.ts"],emitting_commands:["*"],canonical_code:"extension_dependency_version_unsafe",aliases:[]},{code:"extension_install_soft_failed",meaning:"Extension install soft failed condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/register-setup.ts"],emitting_commands:["*"],canonical_code:"extension_install_soft_failed",aliases:[]},{code:"extension_install_source_contains_destination",meaning:"Extension install source contains destination condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/install-runtime.ts"],emitting_commands:["*"],canonical_code:"extension_install_source_contains_destination",aliases:[]},{code:"extension_item_field_reserved",meaning:"Extension item field reserved condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/item-fields.ts"],emitting_commands:["*"],canonical_code:"extension_item_field_reserved",aliases:[]},{code:"extension_item_field_type_conflict",meaning:"Extension item field type conflict condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/item-fields.ts"],emitting_commands:["*"],canonical_code:"extension_item_field_type_conflict",aliases:[]},{code:"extension_item_field_unknown",meaning:"Extension item field unknown condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/item-fields.ts"],emitting_commands:["*"],canonical_code:"extension_item_field_unknown",aliases:[]},{code:"extension_mutation_guard_failed",meaning:"Extension mutation guard failed condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/extension-hook-runtime.ts"],emitting_commands:["*"],canonical_code:"extension_mutation_guard_failed",aliases:[]},{code:"extension_mutation_guard_invalid_decision",meaning:"Extension mutation guard invalid decision condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/extension-hook-runtime.ts"],emitting_commands:["*"],canonical_code:"extension_mutation_guard_invalid_decision",aliases:[]},{code:"extension_mutation_guard_invalid_denial",meaning:"Extension mutation guard invalid denial condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/extension-hook-runtime.ts"],emitting_commands:["*"],canonical_code:"extension_mutation_guard_invalid_denial",aliases:[]},{code:"extension_mutation_guard_timed_out",meaning:"Extension mutation guard timed out condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/extension-hook-runtime.ts"],emitting_commands:["*"],canonical_code:"extension_mutation_guard_timed_out",aliases:[]},{code:"extension_update_health_partial_coverage",meaning:"Extension update health partial coverage condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"extension_update_health_partial_coverage",aliases:[]},{code:"field_duplicate",meaning:"Field duplicate condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/profile/profile-lint.ts"],emitting_commands:["*"],canonical_code:"field_duplicate",aliases:[]},{code:"field_invalid",meaning:"Field invalid condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/profile/profile-lint.ts"],emitting_commands:["*"],canonical_code:"field_invalid",aliases:[]},{code:"field_mcp_input_collision",meaning:"Field mcp input collision condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/profile/profile-lint.ts"],emitting_commands:["*"],canonical_code:"field_mcp_input_collision",aliases:[]},{code:"github_source_entry_unbuilt",meaning:"Github source entry unbuilt condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/shared.ts"],emitting_commands:["*"],canonical_code:"github_source_entry_unbuilt",aliases:[]},{code:"hierarchy_cardinality_created",meaning:"Hierarchy cardinality created condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/graph/hierarchy-integrity.ts"],emitting_commands:["*"],canonical_code:"hierarchy_cardinality_created",aliases:[]},{code:"hierarchy_cycle_created",meaning:"Hierarchy cycle created condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/graph/hierarchy-integrity.ts"],emitting_commands:["*"],canonical_code:"hierarchy_cycle_created",aliases:[]},{code:"hierarchy_parent_divergence_created",meaning:"Hierarchy parent divergence created condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/graph/hierarchy-integrity.ts"],emitting_commands:["*"],canonical_code:"hierarchy_parent_divergence_created",aliases:[]},{code:"history_author_acknowledge_plan_conflict",meaning:"History author acknowledge plan conflict condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_plan_conflict",aliases:[]},{code:"history_author_acknowledge_plan_fingerprint_required",meaning:"History author acknowledge plan fingerprint required condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_plan_fingerprint_required",aliases:[]},{code:"history_author_acknowledge_preview_limit_invalid",meaning:"History author acknowledge preview limit invalid condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_preview_limit_invalid",aliases:[]},{code:"history_author_acknowledge_required_values_missing",meaning:"History author acknowledge required values missing condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_required_values_missing",aliases:[]},{code:"history_author_acknowledge_selector_conflict",meaning:"History author acknowledge selector conflict condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_selector_conflict",aliases:[]},{code:"history_author_acknowledge_selector_required",meaning:"History author acknowledge selector required condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_selector_required",aliases:[]},{code:"history_author_acknowledge_target_not_actionable",meaning:"History author acknowledge target not actionable condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_target_not_actionable",aliases:[]},{code:"history_author_acknowledge_target_unreadable",meaning:"History author acknowledge target unreadable condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/author-attribution.ts"],emitting_commands:["*"],canonical_code:"history_author_acknowledge_target_unreadable",aliases:[]},{code:"history_baseline_unavailable",meaning:"History baseline unavailable condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/projection.ts"],emitting_commands:["*"],canonical_code:"history_baseline_unavailable",aliases:[]},{code:"history_drift_chain_mismatch",meaning:"History drift chain mismatch condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_drift_chain_mismatch",aliases:["validate_history_drift_chain_mismatches"]},{code:"history_drift_hash_mismatch",meaning:"History drift hash mismatch condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_drift_hash_mismatch",aliases:["validate_history_drift_hash_mismatches"]},{code:"history_drift_merge_receipt",meaning:"History drift merge receipt condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_drift_merge_receipt",aliases:[]},{code:"history_drift_missing_stream",meaning:"History drift missing stream condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_drift_missing_stream",aliases:["validate_history_drift_missing_streams"]},{code:"history_drift_unreadable_stream",meaning:"History drift unreadable stream condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_drift_unreadable_stream",aliases:["validate_history_drift_unreadable_streams"]},{code:"history_drift_version_skew",meaning:"History drift version skew condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_drift_version_skew",aliases:["validate_history_drift_version_skews"]},{code:"history_json_invalid",meaning:"History json invalid condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/read.ts"],emitting_commands:["*"],canonical_code:"history_json_invalid",aliases:[]},{code:"history_merge_conflict_markers_detected",meaning:"History merge conflict markers detected condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/read.ts"],emitting_commands:["*"],canonical_code:"merge_conflict_markers_detected",aliases:[]},{code:"history_replay_invalid",meaning:"History replay invalid condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/projection.ts"],emitting_commands:["*"],canonical_code:"history_replay_invalid",aliases:[]},{code:"history_salvage_refused",meaning:"History salvage refused condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/history/salvage.ts"],emitting_commands:["*"],canonical_code:"history_salvage_refused",aliases:[]},{code:"history_stream_over_compact_threshold",meaning:"History stream over compact threshold condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_stream_over_compact_threshold",aliases:[]},{code:"history_target_out_of_range",meaning:"History target out of range condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/projection.ts"],emitting_commands:["*"],canonical_code:"history_target_out_of_range",aliases:[]},{code:"history_timestamp_invalid",meaning:"History timestamp invalid condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/event-index.ts","core/history/history.ts"],emitting_commands:["*"],canonical_code:"history_timestamp_invalid",aliases:[]},{code:"history_unknown_author_events",meaning:"History unknown author events condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"history_unknown_author_events",aliases:["validate_history_unknown_author_events"]},{code:"history_version_mapping_unavailable",meaning:"History version mapping unavailable condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/version-address.ts"],emitting_commands:["*"],canonical_code:"history_version_mapping_unavailable",aliases:[]},{code:"history_version_pruned",meaning:"History version pruned condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/projection.ts"],emitting_commands:["*"],canonical_code:"history_version_pruned",aliases:[]},{code:"host_environment_capacity_fault",meaning:"Host environment capacity fault condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/fs/host-environment-errors.ts"],emitting_commands:["*"],canonical_code:"host_environment_capacity_fault",aliases:[]},{code:"host_environment_operation_invalid",meaning:"Host environment operation invalid condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/fs/host-environment-errors.ts"],emitting_commands:["*"],canonical_code:"host_environment_operation_invalid",aliases:[]},{code:"host_environment_permission_fault",meaning:"Host environment permission fault condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/fs/host-environment-errors.ts"],emitting_commands:["*"],canonical_code:"host_environment_permission_fault",aliases:[]},{code:"host_environment_resource_fault",meaning:"Host environment resource fault condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/fs/host-environment-errors.ts"],emitting_commands:["*"],canonical_code:"host_environment_resource_fault",aliases:[]},{code:"improvement_metric_contract_conflict",meaning:"Improvement metric contract conflict condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger.ts"],emitting_commands:["*"],canonical_code:"improvement_metric_contract_conflict",aliases:[]},{code:"improvement_observation_conflict",meaning:"Improvement observation conflict condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger.ts"],emitting_commands:["*"],canonical_code:"improvement_observation_conflict",aliases:[]},{code:"incomplete_allowed_values",meaning:"Incomplete allowed values condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/refusal-closure.ts"],emitting_commands:["*"],canonical_code:"incomplete_allowed_values",aliases:[]},{code:"inconsistent_concept_kind",meaning:"Inconsistent concept kind condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/flag-lexicon-contracts.ts"],emitting_commands:["*"],canonical_code:"inconsistent_concept_kind",aliases:[]},{code:"init_existing_settings_requires_force",meaning:"Init existing settings requires force condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/init.ts"],emitting_commands:["*"],canonical_code:"init_existing_settings_requires_force",aliases:[]},{code:"init_gitignore_unwritable",meaning:"Init gitignore unwritable condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/workspace.ts"],emitting_commands:["*"],canonical_code:"init_gitignore_unwritable",aliases:[]},{code:"init_id_prefix_conflict",meaning:"Init id prefix conflict condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/init.ts"],emitting_commands:["*"],canonical_code:"init_id_prefix_conflict",aliases:[]},{code:"init_id_prefix_path_like",meaning:"Init id prefix path like condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/init.ts"],emitting_commands:["*"],canonical_code:"init_id_prefix_path_like",aliases:[]},{code:"integrity_history_conflict_marker",meaning:"Integrity history conflict marker condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_history_conflict_marker",aliases:["validate_storage_history_conflict_markers"]},{code:"integrity_history_invalid_json",meaning:"Integrity history invalid json condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_history_invalid_json",aliases:[]},{code:"integrity_history_unreadable",meaning:"Integrity history unreadable condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_history_unreadable",aliases:[]},{code:"integrity_item_ahead_format_version",meaning:"Integrity item ahead format version condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_item_ahead_format_version",aliases:["validate_format_version_ahead_items"]},{code:"integrity_item_conflict_marker",meaning:"Integrity item conflict marker condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_item_conflict_marker",aliases:[]},{code:"integrity_item_outdated_format_version",meaning:"Integrity item outdated format version condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_item_outdated_format_version",aliases:["validate_format_version_outdated_items"]},{code:"integrity_item_parse_failed",meaning:"Integrity item parse failed condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_item_parse_failed",aliases:[]},{code:"integrity_item_unreadable",meaning:"Integrity item unreadable condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"integrity_item_unreadable",aliases:[]},{code:"invalid_argument_value",meaning:"Invalid argument value condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts","core/telemetry/observability.ts","sdk/context-intent-contracts.ts","sdk/governance/assurance-mutation-error.ts","sdk/lifecycle/create.ts"],emitting_commands:["*","create"],canonical_code:"invalid_argument_value",aliases:[]},{code:"invalid_command_usage",meaning:"Invalid command usage condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts","core/telemetry/observability.ts"],emitting_commands:["*"],canonical_code:"invalid_command_usage",aliases:[]},{code:"invalid_event_cursor",meaning:"Invalid event cursor condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mutation-events.ts"],emitting_commands:["*"],canonical_code:"invalid_event_cursor",aliases:[]},{code:"invalid_event_cursor_mode",meaning:"Invalid event cursor mode condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/register-list-query.ts","sdk/mutation-events.ts","sdk/runtime-extended-actions.ts"],emitting_commands:["*"],canonical_code:"invalid_event_cursor_mode",aliases:[]},{code:"invalid_event_follow_interval",meaning:"Invalid event follow interval condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mutation-events.ts"],emitting_commands:["*"],canonical_code:"invalid_event_follow_interval",aliases:[]},{code:"invalid_event_limit",meaning:"Invalid event limit condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mutation-events.ts"],emitting_commands:["*"],canonical_code:"invalid_event_limit",aliases:[]},{code:"invalid_event_since",meaning:"Invalid event since condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mutation-events.ts"],emitting_commands:["*"],canonical_code:"invalid_event_since",aliases:[]},{code:"invalid_history_analytics_limit",meaning:"Invalid history analytics limit condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/history-analytics.ts"],emitting_commands:["*"],canonical_code:"invalid_history_analytics_limit",aliases:[]},{code:"invalid_history_analytics_minimum_sample",meaning:"Invalid history analytics minimum sample condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/history-analytics.ts"],emitting_commands:["*"],canonical_code:"invalid_history_analytics_minimum_sample",aliases:[]},{code:"invalid_history_analytics_since",meaning:"Invalid history analytics since condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/history-analytics.ts"],emitting_commands:["*"],canonical_code:"invalid_history_analytics_since",aliases:[]},{code:"invalid_improvement_ledger",meaning:"Invalid improvement ledger condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger-validation.ts"],emitting_commands:["*"],canonical_code:"invalid_improvement_ledger",aliases:[]},{code:"invalid_improvement_metric",meaning:"Invalid improvement metric condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger.ts"],emitting_commands:["*"],canonical_code:"invalid_improvement_metric",aliases:[]},{code:"invalid_improvement_observation",meaning:"Invalid improvement observation condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger.ts"],emitting_commands:["*"],canonical_code:"invalid_improvement_observation",aliases:[]},{code:"invalid_improvement_observation_limit",meaning:"Invalid improvement observation limit condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger.ts"],emitting_commands:["*"],canonical_code:"invalid_improvement_observation_limit",aliases:[]},{code:"invalid_improvement_observation_timestamp",meaning:"Invalid improvement observation timestamp condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/improvement-ledger.ts"],emitting_commands:["*"],canonical_code:"invalid_improvement_observation_timestamp",aliases:[]},{code:"invalid_provenance_predicate",meaning:"Invalid provenance predicate condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/history-provenance.ts"],emitting_commands:["*"],canonical_code:"invalid_provenance_predicate",aliases:[]},{code:"invalid_query_cursor",meaning:"Invalid query cursor condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/pagination.ts"],emitting_commands:["*"],canonical_code:"invalid_query_cursor",aliases:[]},{code:"invalid_read_output_session",meaning:"Invalid read output session condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/read-output-session.ts"],emitting_commands:["*"],canonical_code:"invalid_read_output_session",aliases:[]},{code:"invalid_reproducible_process_environment",meaning:"Invalid reproducible process environment condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/reproducibility/process.ts"],emitting_commands:["*"],canonical_code:"invalid_reproducible_process_environment",aliases:[]},{code:"invalid_workspace_snapshot_target",meaning:"Invalid workspace snapshot target condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/workspace-snapshot.ts"],emitting_commands:["*"],canonical_code:"invalid_workspace_snapshot_target",aliases:[]},{code:"item_already_active",meaning:"Item already active condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/update.ts"],emitting_commands:["update"],canonical_code:"item_already_active",aliases:[]},{code:"item_document_encoding_invalid",meaning:"Item document encoding invalid condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/store/item-store.ts"],emitting_commands:["*"],canonical_code:"item_document_encoding_invalid",aliases:[]},{code:"item_document_invalid",meaning:"Item document invalid condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/item/item-format.ts"],emitting_commands:["*"],canonical_code:"item_document_invalid",aliases:[]},{code:"item_document_roundtrip_failed",meaning:"Item document roundtrip failed condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/item/item-format.ts"],emitting_commands:["*"],canonical_code:"item_document_roundtrip_failed",aliases:[]},{code:"item_id_collision",meaning:"Item id collision condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/copy.ts"],emitting_commands:["copy"],canonical_code:"item_id_collision",aliases:[]},{code:"item_identity_reserved",meaning:"Item identity reserved condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/history/history.ts"],emitting_commands:["*"],canonical_code:"item_identity_reserved",aliases:[]},{code:"item_not_found",meaning:"Item not found condition.",stability:"stable",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts","core/telemetry/observability.ts"],emitting_commands:["*"],canonical_code:"item_not_found",aliases:[]},{code:"likely_duplicate",meaning:"Likely duplicate condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/similarity.ts"],emitting_commands:["*"],canonical_code:"likely_duplicate",aliases:[]},{code:"linked_artifact_mutation_conflict",meaning:"Linked artifact mutation conflict condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/linked-artifacts.ts"],emitting_commands:["*"],canonical_code:"linked_artifact_mutation_conflict",aliases:[]},{code:"linked_test_remove_no_match",meaning:"Linked test remove no match condition.",stability:"provisional",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/test/execution.ts"],emitting_commands:["*"],canonical_code:"linked_test_remove_no_match",aliases:[]},{code:"linked_test_value_not_quoted",meaning:"Linked test value not quoted condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts"],emitting_commands:["*"],canonical_code:"linked_test_value_not_quoted",aliases:[]},{code:"list_source_incomplete",meaning:"List source incomplete condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/query/list.ts"],emitting_commands:["list"],canonical_code:"list_source_incomplete",aliases:[]},{code:"local_package_archive_unsafe",meaning:"Local package archive unsafe condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/install-sources.ts"],emitting_commands:["*"],canonical_code:"local_package_archive_unsafe",aliases:[]},{code:"local_source_not_found_bare_name",meaning:"Local source not found bare name condition.",stability:"stable",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/extension/install-sources.ts"],emitting_commands:["*"],canonical_code:"local_source_not_found_bare_name",aliases:[]},{code:"lock_conflict",meaning:"Lock conflict condition.",stability:"stable",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["cli/error-guidance.ts","core/lock/lock.ts","core/telemetry/observability.ts"],emitting_commands:["*"],canonical_code:"lock_conflict",aliases:[]},{code:"locks_stale_count",meaning:"Locks stale count condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"locks_stale_count",aliases:[]},{code:"locks_unreadable",meaning:"Locks unreadable condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"locks_unreadable",aliases:[]},{code:"malformed_plan_step_evidence",meaning:"Malformed plan step evidence condition.",stability:"stable",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/lifecycle/plan.ts"],emitting_commands:["plan"],canonical_code:"malformed_plan_step_evidence",aliases:[]},{code:"manifest_capabilities_absent",meaning:"Manifest capabilities absent condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/compose.ts"],emitting_commands:["*"],canonical_code:"manifest_capabilities_absent",aliases:[]},{code:"manifest_unknown_key",meaning:"Manifest unknown key condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/extensions/manifest-schema.ts"],emitting_commands:["*"],canonical_code:"manifest_unknown_key",aliases:[],owned_states:[{state:"author_workspace_manifest_declares_an_unknown_top_level_key",probe_id:"author-manifest-unknown-key",entrypoints:["health"],expected_exit_class:"generic_failure"}]},{code:"mcp_annotation_file_unavailable",meaning:"Mcp annotation file unavailable condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/runtime-input.ts"],emitting_commands:["*"],canonical_code:"mcp_annotation_file_unavailable",aliases:[]},{code:"mcp_stdin_unavailable",meaning:"Mcp stdin unavailable condition.",stability:"provisional",exit_code:2,class:"usage",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/annotations.ts"],emitting_commands:["*"],canonical_code:"mcp_stdin_unavailable",aliases:[]},{code:"mcp_task_not_found_or_not_authorized",meaning:"Mcp task not found or not authorized condition.",stability:"provisional",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/mcp/tasks.ts"],emitting_commands:["*"],canonical_code:"mcp_task_not_found_or_not_authorized",aliases:[]},{code:"merge_conflict_markers_detected",meaning:"Merge conflict markers detected condition.",stability:"stable",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/item/item-format.ts"],emitting_commands:["*"],canonical_code:"merge_conflict_markers_detected",aliases:["history_merge_conflict_markers_detected"]},{code:"merge_decisions_unreviewed",meaning:"Merge decisions unreviewed condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"merge_decisions_unreviewed",aliases:[]},{code:"merge_git_config_unwritable",meaning:"Merge git config unwritable condition.",stability:"stable",exit_code:5,class:"dependency_failed",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/merge/install.ts"],emitting_commands:["*"],canonical_code:"merge_git_config_unwritable",aliases:[]},{code:"merge_receipt_evidence_invalid",meaning:"Merge receipt evidence invalid condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts","sdk/merge/reconcile.ts"],emitting_commands:["*"],canonical_code:"merge_receipt_evidence_invalid",aliases:[]},{code:"merge_receipt_history_reference_missing",meaning:"Merge receipt history reference missing condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"merge_receipt_history_reference_missing",aliases:[]},{code:"merge_receipts_pending",meaning:"Merge receipts pending condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["core/diagnostics/remediation.ts"],emitting_commands:["*"],canonical_code:"merge_receipts_pending",aliases:[]},{code:"merge_reconcile_receipt_evidence_untrusted",meaning:"Merge reconcile receipt evidence untrusted condition.",stability:"provisional",exit_code:4,class:"conflict",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/history-repair.ts"],emitting_commands:["*"],canonical_code:"merge_reconcile_receipt_evidence_untrusted",aliases:[]},{code:"merge_root_not_found",meaning:"Merge root not found condition.",stability:"stable",exit_code:3,class:"not_found",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/merge/install.ts"],emitting_commands:["*"],canonical_code:"merge_root_not_found",aliases:[]},{code:"missing_allowed_values",meaning:"Missing allowed values condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/agent/refusal-closure.ts"],emitting_commands:["*"],canonical_code:"missing_allowed_values",aliases:[]},{code:"missing_budget",meaning:"Missing budget condition.",stability:"provisional",exit_code:1,class:"generic_failure",recovery:"Inspect the structured error guidance and retry the suggested command.",sources:["sdk/cli-contracts/flag-lexicon-contracts.ts"],emitting_commands:["*"],canonical_code:"missing_budget",aliases:[]}];export{PM_ERROR_CODE_CATALOG_PART_1};
2224
2
  //# sourceMappingURL=generated-error-code-catalog-part-1.js.map
2225
- //# debugId=35c194c8-a164-5c90-9baa-9f2fc25c9bfb