@unbrained/pm-cli 2026.8.4 → 2026.8.5
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +39 -13
- package/dist/cli/error-guidance.js +4 -4
- package/dist/cli/register-structured-mutation.d.ts +2 -0
- package/dist/cli/register-structured-mutation.js +124 -12
- package/dist/cli-bundle/bundle-manifest.json +407 -407
- package/dist/cli-bundle/chunks/append-VXXGOXSG.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-QVO3VTA4.js → chunk-2WFXWAYX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NM5G7RLU.js → chunk-3FTILRJ2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VH2EAGUG.js → chunk-42E7YPLG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RB65T4RX.js → chunk-43HQQI6S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-J4EPW4GT.js → chunk-45G53IU4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PQXEB7W4.js → chunk-4VN6GS4U.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-4YUBDMQM.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-D2MBVMVE.js → chunk-54FNT7U2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NRDKVOUE.js → chunk-5ZBOIPGP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3XZYTRPC.js → chunk-6MSQJOTG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GOICHIX4.js → chunk-7A5OT5J2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HTYC76A4.js → chunk-7C4PTJG6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BKMZTZYL.js → chunk-A62CYISG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5H47J5FG.js → chunk-BPELKUQD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HE3DZFN4.js → chunk-BXQLRKWF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BLINBTMX.js → chunk-CSI3WS5I.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KH4GVBMC.js → chunk-DXDREUXT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KIKLF2W4.js → chunk-E2RKBKWB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-377OOXUF.js → chunk-EGJ4JTUG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SULWTPQO.js → chunk-FPBQHMFT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-V5K52PYW.js → chunk-GE4KCSZP.js} +35 -35
- package/dist/cli-bundle/chunks/{chunk-NPUJ7OLK.js → chunk-HNFD72UK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QMWUL66F.js → chunk-HWRRMBJO.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-L3AZOELJ.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-CGY5I2GO.js → chunk-LKDGK44W.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-LN2WFEU4.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-ZSH4GNBH.js → chunk-M72BKL5Q.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HQ2WU7OY.js → chunk-MHK6LIWE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-H6FITE7D.js → chunk-NE5VRDAI.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NY4T3JWN.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-DCJ6CM6F.js → chunk-OMXVBQ2N.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-OPVH7SKD.js +8 -0
- package/dist/cli-bundle/chunks/{chunk-CU5ENFNP.js → chunk-OTHLDSFP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NH35JNK5.js → chunk-PMXJEU3F.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SVDH5CHC.js → chunk-Q35VBGOQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-5PZGZMPG.js → chunk-R546TPDE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q5F6OI7C.js → chunk-RKAVWO3O.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JMKVCQSE.js → chunk-SSF4PIUR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PA5XRN2A.js → chunk-UN66FZRO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FQ4EFFDU.js → chunk-UP7DTVMD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NFF3JAQR.js → chunk-UZBWIUYD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-2POYGY53.js → chunk-V3774P7D.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-B5ZLCD5Z.js → chunk-V3EUXXOF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6S7I3UKV.js → chunk-VCKLFEUN.js} +19 -19
- package/dist/cli-bundle/chunks/{chunk-PYYPQLHC.js → chunk-VN5VITU3.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-WRL4KNDL.js +20 -0
- package/dist/cli-bundle/chunks/{chunk-UJHUR3LZ.js → chunk-XCEZYMNI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JDPKBV5P.js → chunk-YEWNL576.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OB7TRZ2G.js → chunk-YSO3YFZ4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UVZREFZU.js → chunk-ZYHOB3SN.js} +2 -2
- package/dist/cli-bundle/chunks/close-VZ3OQPN5.js +2 -0
- package/dist/cli-bundle/chunks/close-many-SB4TI27P.js +2 -0
- package/dist/cli-bundle/chunks/comments-BIF3Q4KY.js +2 -0
- package/dist/cli-bundle/chunks/copy-6AI5Z57X.js +2 -0
- package/dist/cli-bundle/chunks/{create-RLLCBCXM.js → create-XLKTXTUF.js} +2 -2
- package/dist/cli-bundle/chunks/delete-ZY2VHQTP.js +2 -0
- package/dist/cli-bundle/chunks/{deps-J4ONTF4X.js → deps-ITTY3GIC.js} +2 -2
- package/dist/cli-bundle/chunks/{docs-YL2DJ4WD.js → docs-W4OSRTYR.js} +2 -2
- package/dist/cli-bundle/chunks/{files-NGNAIYKK.js → files-EOK4AZI4.js} +2 -2
- package/dist/cli-bundle/chunks/focus-DLBNWL7L.js +2 -0
- package/dist/cli-bundle/chunks/{history-compact-HW62K5XP.js → history-compact-7UGTMLL3.js} +2 -2
- package/dist/cli-bundle/chunks/{history-redact-HVBKUJOW.js → history-redact-4DZRMD6Z.js} +2 -2
- package/dist/cli-bundle/chunks/{history-repair-OPNBH5JJ.js → history-repair-UPOSZW5R.js} +2 -2
- package/dist/cli-bundle/chunks/{learnings-F36PZXT6.js → learnings-GMRNCBS3.js} +2 -2
- package/dist/cli-bundle/chunks/{profile-N3XMWBM7.js → profile-2MUUMHRE.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-BKGHBI7Y.js → register-list-query-LR3SQ5ZF.js} +2 -2
- package/dist/cli-bundle/chunks/register-mutation-SUOHFVWM.js +20 -0
- package/dist/cli-bundle/chunks/register-operations-ARRRKOVN.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-KWV6UD77.js → register-setup-O6AYP6NP.js} +2 -2
- package/dist/cli-bundle/chunks/restore-ZVCVHTB5.js +2 -0
- package/dist/cli-bundle/chunks/{schema-4PJQMGUY.js → schema-FJ4EA3XF.js} +2 -2
- package/dist/cli-bundle/chunks/update-YHV52CSS.js +2 -0
- package/dist/cli-bundle/chunks/update-many-M6YHVNXM.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-7J5TUBUJ.js +153 -0
- package/dist/cli-bundle/focused-chunks/{chunk-ONIX2KKW.js → chunk-A7BJ5SS6.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-B7LJWAZE.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-QM2BIVK7.js → chunk-BIMTMOS7.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-BOGRY7M6.js → chunk-FGKY4MBE.js} +10 -10
- package/dist/cli-bundle/focused-chunks/chunk-G6ETT4QK.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-C2QSL62X.js → chunk-GJ2TG2CW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-RO5BQFG3.js → chunk-IPWSFADF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-UFCPSWIL.js → chunk-MJ7HWSFK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-2VIIXOAD.js → chunk-N5XU5UVK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-PG2RIZBX.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-OYTK4VNH.js → chunk-PIMMYG7Q.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-K37BB4JL.js → chunk-QVHKCI4T.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-SQXVGHMH.js → chunk-RUR5I3TK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-SV3O7TSH.js +8 -0
- package/dist/cli-bundle/focused-chunks/{chunk-L6A4NVQC.js → chunk-UIL2M2NA.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-WVGJAD7L.js → chunk-VLYOEYML.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-W7BJEWHX.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DQ4PLKEE.js → chunk-WEM2E2PE.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-WVIVUWVL.js +5 -0
- package/dist/cli-bundle/focused-chunks/chunk-Y4LDYLLT.js +2 -0
- package/dist/cli-bundle/main.js +4 -4
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +28 -28
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +1 -1
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +1 -1
- package/dist/core/extensions/loader.js +5 -2
- package/dist/core/item/item-format.js +14 -20
- package/dist/core/shared/constants.js +3 -2
- package/dist/core/store/item-store.js +2 -2
- package/dist/core/store/settings.js +2 -2
- package/dist/mcp/server.js +12 -6
- package/dist/mcp/tool-definitions.js +14 -7
- package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +18 -18
- package/dist/sdk/cli-contracts/agent-output-contracts.js +51 -23
- package/dist/sdk/cli-contracts/commander-mutation-options.js +26 -2
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +28 -2
- package/dist/sdk/cli-contracts/registration-helpers.js +4 -2
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +10 -2
- package/dist/sdk/cli-contracts/runtime-contracts.js +20 -5
- package/dist/sdk/cli-contracts/tool-schema.js +4 -2
- package/dist/sdk/cli-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts.js +4 -4
- package/dist/sdk/cli-program.js +3 -3
- package/dist/sdk/contracts.d.ts +1 -0
- package/dist/sdk/contracts.js +3 -2
- package/dist/sdk/dependency-provenance.d.ts +2 -0
- package/dist/sdk/dependency-provenance.js +7 -3
- package/dist/sdk/error-code-catalog.d.ts +23 -0
- package/dist/sdk/error-code-catalog.js +25 -5
- package/dist/sdk/generated-error-code-catalog.js +499 -3
- package/dist/sdk/graph/governance.js +3 -3
- package/dist/sdk/graph/remediation.js +3 -3
- package/dist/sdk/graph/run.js +4 -8
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +4 -3
- package/dist/sdk/item-transaction.d.ts +51 -6
- package/dist/sdk/item-transaction.js +132 -22
- package/dist/sdk/lifecycle/create.d.ts +4 -0
- package/dist/sdk/lifecycle/create.js +26 -10
- package/dist/sdk/lifecycle-policy.d.ts +9 -0
- package/dist/sdk/lifecycle-policy.js +22 -9
- package/dist/sdk/merge/driver.js +6 -3
- package/dist/sdk/output-contracts.d.ts +67 -0
- package/dist/sdk/output-contracts.js +173 -0
- package/dist/sdk/package-import-adapters.js +2 -2
- package/dist/sdk/structured-mutations.d.ts +23 -0
- package/dist/sdk/structured-mutations.js +219 -10
- package/dist/sdk/workspace-snapshot.js +58 -12
- package/dist/sdk/workspace.js +30 -4
- package/docs/COMMANDS.md +40 -10
- package/docs/EXTENSIONS.md +1 -1
- package/docs/MERGE_SAFETY.md +2 -0
- package/docs/PR_REVIEW_LOOP.md +10 -4
- package/docs/README.md +22 -22
- package/docs/RELEASING.md +3 -3
- package/docs/SCRIPTING.md +32 -9
- package/docs/SDK.md +91 -11
- package/docs/SELF_DESCRIBING_CONTEXT_CONTRACTS.md +13 -0
- package/docs/TESTING.md +25 -0
- package/docs/examples/sdk-contract-consumer/README.md +11 -1
- package/docs/examples/sdk-contract-consumer/package.json +2 -1
- package/docs/examples/sdk-contract-consumer/parse-receipt.mjs +22 -0
- package/marketplace.json +2 -2
- package/package.json +3 -2
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +292 -14
- package/dist/cli-bundle/chunks/append-DHBRLHHS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-2INN52SU.js +0 -8
- package/dist/cli-bundle/chunks/chunk-6RSK4IFN.js +0 -20
- package/dist/cli-bundle/chunks/chunk-ASJJKA57.js +0 -2
- package/dist/cli-bundle/chunks/chunk-IYAVULRN.js +0 -2
- package/dist/cli-bundle/chunks/chunk-RRQBHQOV.js +0 -2
- package/dist/cli-bundle/chunks/chunk-XBLOD5TZ.js +0 -2
- package/dist/cli-bundle/chunks/close-VLHNN6YB.js +0 -2
- package/dist/cli-bundle/chunks/close-many-LSJNZKU6.js +0 -2
- package/dist/cli-bundle/chunks/comments-AAIA6A6X.js +0 -2
- package/dist/cli-bundle/chunks/copy-Z7YMLEHN.js +0 -2
- package/dist/cli-bundle/chunks/delete-KNOHHQJM.js +0 -2
- package/dist/cli-bundle/chunks/focus-LFRCGALV.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-GU3DCECN.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-PTWH727R.js +0 -2
- package/dist/cli-bundle/chunks/restore-4HZSLILR.js +0 -2
- package/dist/cli-bundle/chunks/update-E6LPS5IV.js +0 -2
- package/dist/cli-bundle/chunks/update-many-OSIC6KRO.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-5MTKO7TV.js +0 -153
- package/dist/cli-bundle/focused-chunks/chunk-6GIZK7VQ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-AOP2WIZZ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-CL75YW32.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-E7OFMWGT.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-I5F5UK3Q.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-T5TSY36R.js +0 -5
- package/dist/cli-bundle/focused-chunks/chunk-VT6BF2IX.js +0 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Generated by scripts/generate-error-code-catalog.mjs. Do not edit manually.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!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]="
|
|
7
|
+
!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]="7a568064-a103-5b19-969d-6e58fc0cc5b7")}catch(e){}}();
|
|
8
8
|
import { definePmErrorCodeCatalog } from "./error-code-catalog.js";
|
|
9
9
|
/** Exhaustive catalog generated from literal error guidance declarations. */
|
|
10
10
|
export const PM_ERROR_CODE_CATALOG = definePmErrorCodeCatalog([
|
|
@@ -13,622 +13,787 @@ export const PM_ERROR_CODE_CATALOG = definePmErrorCodeCatalog([
|
|
|
13
13
|
meaning: "Acceptance criteria semicolon forbidden condition.",
|
|
14
14
|
stability: "stable",
|
|
15
15
|
exit_code: 2,
|
|
16
|
+
class: "usage",
|
|
16
17
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
17
18
|
sources: ["core/item/parse.ts"],
|
|
19
|
+
emitting_commands: ["*"],
|
|
18
20
|
},
|
|
19
21
|
{
|
|
20
22
|
code: "already_claimed_by",
|
|
21
23
|
meaning: "Already claimed by condition.",
|
|
22
24
|
stability: "stable",
|
|
23
25
|
exit_code: 4,
|
|
26
|
+
class: "conflict",
|
|
24
27
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
25
28
|
sources: ["sdk/lifecycle/claim.ts"],
|
|
29
|
+
emitting_commands: ["claim"],
|
|
26
30
|
},
|
|
27
31
|
{
|
|
28
32
|
code: "ambiguous_list_all",
|
|
29
33
|
meaning: "Ambiguous list all condition.",
|
|
30
34
|
stability: "stable",
|
|
31
35
|
exit_code: 2,
|
|
36
|
+
class: "usage",
|
|
32
37
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
33
38
|
sources: ["cli/register-list-query.ts"],
|
|
39
|
+
emitting_commands: ["*"],
|
|
34
40
|
},
|
|
35
41
|
{
|
|
36
42
|
code: "ambiguous_option_combination",
|
|
37
43
|
meaning: "Ambiguous option combination condition.",
|
|
38
44
|
stability: "stable",
|
|
39
45
|
exit_code: 2,
|
|
46
|
+
class: "usage",
|
|
40
47
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
41
48
|
sources: ["sdk/lifecycle/plan.ts"],
|
|
49
|
+
emitting_commands: ["plan"],
|
|
42
50
|
},
|
|
43
51
|
{
|
|
44
52
|
code: "annotation_flag_like_value",
|
|
45
53
|
meaning: "Annotation flag like value condition.",
|
|
46
54
|
stability: "stable",
|
|
47
55
|
exit_code: 2,
|
|
56
|
+
class: "usage",
|
|
48
57
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
49
58
|
sources: ["sdk/annotations.ts"],
|
|
59
|
+
emitting_commands: ["*"],
|
|
50
60
|
},
|
|
51
61
|
{
|
|
52
62
|
code: "annotation_message_without_text",
|
|
53
63
|
meaning: "Annotation message without text condition.",
|
|
54
64
|
stability: "stable",
|
|
55
65
|
exit_code: 2,
|
|
66
|
+
class: "usage",
|
|
56
67
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
57
68
|
sources: ["sdk/annotations.ts"],
|
|
69
|
+
emitting_commands: ["*"],
|
|
58
70
|
},
|
|
59
71
|
{
|
|
60
72
|
code: "append_empty_body",
|
|
61
73
|
meaning: "Append empty body condition.",
|
|
62
74
|
stability: "stable",
|
|
63
75
|
exit_code: 2,
|
|
76
|
+
class: "usage",
|
|
64
77
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
65
78
|
sources: ["sdk/lifecycle/append.ts"],
|
|
79
|
+
emitting_commands: ["append"],
|
|
66
80
|
},
|
|
67
81
|
{
|
|
68
82
|
code: "body_file_conflicts_with_body",
|
|
69
83
|
meaning: "Body file conflicts with body condition.",
|
|
70
84
|
stability: "stable",
|
|
71
85
|
exit_code: 2,
|
|
86
|
+
class: "usage",
|
|
72
87
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
73
88
|
sources: ["core/io/body-file.ts"],
|
|
89
|
+
emitting_commands: ["*"],
|
|
74
90
|
},
|
|
75
91
|
{
|
|
76
92
|
code: "body_file_missing_path",
|
|
77
93
|
meaning: "Body file missing path condition.",
|
|
78
94
|
stability: "stable",
|
|
79
95
|
exit_code: 2,
|
|
96
|
+
class: "usage",
|
|
80
97
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
81
98
|
sources: ["core/io/body-file.ts"],
|
|
99
|
+
emitting_commands: ["*"],
|
|
82
100
|
},
|
|
83
101
|
{
|
|
84
102
|
code: "body_file_unreadable",
|
|
85
103
|
meaning: "Body file unreadable condition.",
|
|
86
104
|
stability: "stable",
|
|
87
105
|
exit_code: 3,
|
|
106
|
+
class: "not_found",
|
|
88
107
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
89
108
|
sources: ["core/io/body-file.ts"],
|
|
109
|
+
emitting_commands: ["*"],
|
|
90
110
|
},
|
|
91
111
|
{
|
|
92
112
|
code: "bundle_integrity_torn_install",
|
|
93
113
|
meaning: "Bundle integrity torn install condition.",
|
|
94
114
|
stability: "stable",
|
|
95
115
|
exit_code: 1,
|
|
116
|
+
class: "generic_failure",
|
|
96
117
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
97
118
|
sources: ["cli/bundle-integrity.ts"],
|
|
119
|
+
emitting_commands: ["*"],
|
|
98
120
|
},
|
|
99
121
|
{
|
|
100
122
|
code: "capability_undeclared",
|
|
101
123
|
meaning: "Capability undeclared condition.",
|
|
102
124
|
stability: "stable",
|
|
103
125
|
exit_code: 1,
|
|
126
|
+
class: "generic_failure",
|
|
104
127
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
105
128
|
sources: ["sdk/compose.ts"],
|
|
129
|
+
emitting_commands: ["*"],
|
|
106
130
|
},
|
|
107
131
|
{
|
|
108
132
|
code: "capability_unused",
|
|
109
133
|
meaning: "Capability unused condition.",
|
|
110
134
|
stability: "stable",
|
|
111
135
|
exit_code: 1,
|
|
136
|
+
class: "generic_failure",
|
|
112
137
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
113
138
|
sources: ["sdk/compose.ts"],
|
|
139
|
+
emitting_commands: ["*"],
|
|
114
140
|
},
|
|
115
141
|
{
|
|
116
142
|
code: "child_projection_item_bound_exceeded",
|
|
117
143
|
meaning: "Child projection item bound exceeded condition.",
|
|
118
144
|
stability: "stable",
|
|
119
145
|
exit_code: 1,
|
|
146
|
+
class: "generic_failure",
|
|
120
147
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
121
148
|
sources: ["sdk/item-children.ts"],
|
|
149
|
+
emitting_commands: ["*"],
|
|
122
150
|
},
|
|
123
151
|
{
|
|
124
152
|
code: "close_reason_required",
|
|
125
153
|
meaning: "Close reason required condition.",
|
|
126
154
|
stability: "stable",
|
|
127
155
|
exit_code: 2,
|
|
156
|
+
class: "usage",
|
|
128
157
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
129
158
|
sources: ["sdk/lifecycle-policy.ts", "sdk/lifecycle/close-many.ts"],
|
|
159
|
+
emitting_commands: ["*", "close-many"],
|
|
130
160
|
},
|
|
131
161
|
{
|
|
132
162
|
code: "close_through_update",
|
|
133
163
|
meaning: "Close through update condition.",
|
|
134
164
|
stability: "stable",
|
|
135
165
|
exit_code: 1,
|
|
166
|
+
class: "generic_failure",
|
|
136
167
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
137
168
|
sources: ["core/telemetry/observability.ts"],
|
|
169
|
+
emitting_commands: ["*"],
|
|
138
170
|
},
|
|
139
171
|
{
|
|
140
172
|
code: "close_validation_missing_fields",
|
|
141
173
|
meaning: "Close validation missing fields condition.",
|
|
142
174
|
stability: "stable",
|
|
143
175
|
exit_code: 2,
|
|
176
|
+
class: "usage",
|
|
144
177
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
145
178
|
sources: ["sdk/lifecycle/close.ts"],
|
|
179
|
+
emitting_commands: ["close"],
|
|
146
180
|
},
|
|
147
181
|
{
|
|
148
182
|
code: "collected_zero_items",
|
|
149
183
|
meaning: "Collected zero items condition.",
|
|
150
184
|
stability: "stable",
|
|
151
185
|
exit_code: 1,
|
|
186
|
+
class: "generic_failure",
|
|
152
187
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
153
188
|
sources: ["sdk/test/execution.ts"],
|
|
189
|
+
emitting_commands: ["*"],
|
|
154
190
|
},
|
|
155
191
|
{
|
|
156
192
|
code: "command_failed",
|
|
157
193
|
meaning: "Command failed condition.",
|
|
158
194
|
stability: "stable",
|
|
159
195
|
exit_code: 1,
|
|
196
|
+
class: "generic_failure",
|
|
160
197
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
161
198
|
sources: ["cli/error-guidance.ts"],
|
|
199
|
+
emitting_commands: ["*"],
|
|
162
200
|
},
|
|
163
201
|
{
|
|
164
202
|
code: "command_namespace",
|
|
165
203
|
meaning: "Command namespace condition.",
|
|
166
204
|
stability: "stable",
|
|
167
205
|
exit_code: 2,
|
|
206
|
+
class: "usage",
|
|
168
207
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
169
208
|
sources: ["sdk/cli-contracts/runtime-contracts.ts"],
|
|
209
|
+
emitting_commands: ["*"],
|
|
170
210
|
},
|
|
171
211
|
{
|
|
172
212
|
code: "command_override_conflict",
|
|
173
213
|
meaning: "Command override conflict condition.",
|
|
174
214
|
stability: "stable",
|
|
175
215
|
exit_code: 4,
|
|
216
|
+
class: "conflict",
|
|
176
217
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
177
218
|
sources: ["sdk/compose.ts"],
|
|
219
|
+
emitting_commands: ["*"],
|
|
178
220
|
},
|
|
179
221
|
{
|
|
180
222
|
code: "config_duplicate",
|
|
181
223
|
meaning: "Config duplicate condition.",
|
|
182
224
|
stability: "stable",
|
|
183
225
|
exit_code: 1,
|
|
226
|
+
class: "generic_failure",
|
|
184
227
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
185
228
|
sources: ["core/profile/profile-lint.ts"],
|
|
229
|
+
emitting_commands: ["*"],
|
|
186
230
|
},
|
|
187
231
|
{
|
|
188
232
|
code: "config_key_unknown",
|
|
189
233
|
meaning: "Config key unknown condition.",
|
|
190
234
|
stability: "stable",
|
|
191
235
|
exit_code: 2,
|
|
236
|
+
class: "usage",
|
|
192
237
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
193
238
|
sources: ["core/profile/profile-lint.ts"],
|
|
239
|
+
emitting_commands: ["*"],
|
|
194
240
|
},
|
|
195
241
|
{
|
|
196
242
|
code: "config_value_invalid",
|
|
197
243
|
meaning: "Config value invalid condition.",
|
|
198
244
|
stability: "stable",
|
|
199
245
|
exit_code: 2,
|
|
246
|
+
class: "usage",
|
|
200
247
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
201
248
|
sources: ["core/profile/profile-lint.ts"],
|
|
249
|
+
emitting_commands: ["*"],
|
|
202
250
|
},
|
|
203
251
|
{
|
|
204
252
|
code: "conflicting_lifecycle_owner",
|
|
205
253
|
meaning: "Conflicting lifecycle owner condition.",
|
|
206
254
|
stability: "stable",
|
|
207
255
|
exit_code: 2,
|
|
256
|
+
class: "usage",
|
|
208
257
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
209
258
|
sources: ["cli/register-operations.ts"],
|
|
259
|
+
emitting_commands: ["*"],
|
|
210
260
|
},
|
|
211
261
|
{
|
|
212
262
|
code: "context_takes_no_item_argument",
|
|
213
263
|
meaning: "Context takes no item argument condition.",
|
|
214
264
|
stability: "stable",
|
|
215
265
|
exit_code: 1,
|
|
266
|
+
class: "generic_failure",
|
|
216
267
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
217
268
|
sources: ["cli/error-guidance.ts"],
|
|
269
|
+
emitting_commands: ["*"],
|
|
218
270
|
},
|
|
219
271
|
{
|
|
220
272
|
code: "core_item_field_requires_dedicated_flag",
|
|
221
273
|
meaning: "Core item field requires dedicated flag condition.",
|
|
222
274
|
stability: "stable",
|
|
223
275
|
exit_code: 2,
|
|
276
|
+
class: "usage",
|
|
224
277
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
225
278
|
sources: ["core/extensions/item-fields.ts"],
|
|
279
|
+
emitting_commands: ["*"],
|
|
226
280
|
},
|
|
227
281
|
{
|
|
228
282
|
code: "create_positional_type_without_title",
|
|
229
283
|
meaning: "Create positional type without title condition.",
|
|
230
284
|
stability: "stable",
|
|
231
285
|
exit_code: 2,
|
|
286
|
+
class: "usage",
|
|
232
287
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
233
288
|
sources: ["cli/register-mutation.ts"],
|
|
289
|
+
emitting_commands: ["*"],
|
|
234
290
|
},
|
|
235
291
|
{
|
|
236
292
|
code: "dependency_edge_not_allowed",
|
|
237
293
|
meaning: "Dependency edge not allowed condition.",
|
|
238
294
|
stability: "stable",
|
|
239
295
|
exit_code: 2,
|
|
296
|
+
class: "usage",
|
|
240
297
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
241
298
|
sources: ["sdk/dependency-flag-validation.ts"],
|
|
299
|
+
emitting_commands: ["*"],
|
|
242
300
|
},
|
|
243
301
|
{
|
|
244
302
|
code: "duplicate_command",
|
|
245
303
|
meaning: "Duplicate command condition.",
|
|
246
304
|
stability: "stable",
|
|
247
305
|
exit_code: 1,
|
|
306
|
+
class: "generic_failure",
|
|
248
307
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
249
308
|
sources: ["sdk/compose.ts"],
|
|
309
|
+
emitting_commands: ["*"],
|
|
250
310
|
},
|
|
251
311
|
{
|
|
252
312
|
code: "duplicate_edge",
|
|
253
313
|
meaning: "Duplicate edge condition.",
|
|
254
314
|
stability: "stable",
|
|
255
315
|
exit_code: 1,
|
|
316
|
+
class: "generic_failure",
|
|
256
317
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
257
318
|
sources: ["sdk/graph/remediation.ts"],
|
|
319
|
+
emitting_commands: ["*"],
|
|
258
320
|
},
|
|
259
321
|
{
|
|
260
322
|
code: "duplicate_sweep_cost_limit",
|
|
261
323
|
meaning: "Duplicate sweep cost limit condition.",
|
|
262
324
|
stability: "stable",
|
|
263
325
|
exit_code: 4,
|
|
326
|
+
class: "conflict",
|
|
264
327
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
265
328
|
sources: ["sdk/similarity.ts"],
|
|
329
|
+
emitting_commands: ["*"],
|
|
266
330
|
},
|
|
267
331
|
{
|
|
268
332
|
code: "duplicate_target_circular",
|
|
269
333
|
meaning: "Duplicate target circular condition.",
|
|
270
334
|
stability: "stable",
|
|
271
335
|
exit_code: 2,
|
|
336
|
+
class: "usage",
|
|
272
337
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
273
338
|
sources: ["sdk/lifecycle/close.ts"],
|
|
339
|
+
emitting_commands: ["close"],
|
|
274
340
|
},
|
|
275
341
|
{
|
|
276
342
|
code: "duplicate_target_is_duplicate",
|
|
277
343
|
meaning: "Duplicate target is duplicate condition.",
|
|
278
344
|
stability: "stable",
|
|
279
345
|
exit_code: 2,
|
|
346
|
+
class: "usage",
|
|
280
347
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
281
348
|
sources: ["sdk/lifecycle/close.ts"],
|
|
349
|
+
emitting_commands: ["close"],
|
|
282
350
|
},
|
|
283
351
|
{
|
|
284
352
|
code: "duplicate_target_missing",
|
|
285
353
|
meaning: "Duplicate target missing condition.",
|
|
286
354
|
stability: "stable",
|
|
287
355
|
exit_code: 2,
|
|
356
|
+
class: "usage",
|
|
288
357
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
289
358
|
sources: ["sdk/lifecycle/close.ts"],
|
|
359
|
+
emitting_commands: ["close"],
|
|
290
360
|
},
|
|
291
361
|
{
|
|
292
362
|
code: "duplicate_target_self",
|
|
293
363
|
meaning: "Duplicate target self condition.",
|
|
294
364
|
stability: "stable",
|
|
295
365
|
exit_code: 2,
|
|
366
|
+
class: "usage",
|
|
296
367
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
297
368
|
sources: ["sdk/lifecycle/close.ts"],
|
|
369
|
+
emitting_commands: ["close"],
|
|
298
370
|
},
|
|
299
371
|
{
|
|
300
372
|
code: "empty_surface",
|
|
301
373
|
meaning: "Empty surface condition.",
|
|
302
374
|
stability: "stable",
|
|
303
375
|
exit_code: 1,
|
|
376
|
+
class: "generic_failure",
|
|
304
377
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
305
378
|
sources: ["sdk/compose.ts"],
|
|
379
|
+
emitting_commands: ["*"],
|
|
306
380
|
},
|
|
307
381
|
{
|
|
308
382
|
code: "event_cursor_query_mismatch",
|
|
309
383
|
meaning: "Event cursor query mismatch condition.",
|
|
310
384
|
stability: "stable",
|
|
311
385
|
exit_code: 2,
|
|
386
|
+
class: "usage",
|
|
312
387
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
313
388
|
sources: ["sdk/mutation-events.ts"],
|
|
389
|
+
emitting_commands: ["*"],
|
|
314
390
|
},
|
|
315
391
|
{
|
|
316
392
|
code: "event_index_unavailable",
|
|
317
393
|
meaning: "Event index unavailable condition.",
|
|
318
394
|
stability: "stable",
|
|
319
395
|
exit_code: 1,
|
|
396
|
+
class: "generic_failure",
|
|
320
397
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
321
398
|
sources: ["sdk/mutation-events.ts"],
|
|
399
|
+
emitting_commands: ["*"],
|
|
322
400
|
},
|
|
323
401
|
{
|
|
324
402
|
code: "extension_command_activation_failed",
|
|
325
403
|
meaning: "Extension command activation failed condition.",
|
|
326
404
|
stability: "stable",
|
|
327
405
|
exit_code: 1,
|
|
406
|
+
class: "generic_failure",
|
|
328
407
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
329
408
|
sources: ["cli/commander-usage.ts"],
|
|
409
|
+
emitting_commands: ["*"],
|
|
330
410
|
},
|
|
331
411
|
{
|
|
332
412
|
code: "extension_dependency_name_unsafe",
|
|
333
413
|
meaning: "Extension dependency name unsafe condition.",
|
|
334
414
|
stability: "stable",
|
|
335
415
|
exit_code: 2,
|
|
416
|
+
class: "usage",
|
|
336
417
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
337
418
|
sources: ["sdk/extension/install-sources.ts"],
|
|
419
|
+
emitting_commands: ["*"],
|
|
338
420
|
},
|
|
339
421
|
{
|
|
340
422
|
code: "extension_dependency_spec_invalid",
|
|
341
423
|
meaning: "Extension dependency spec invalid condition.",
|
|
342
424
|
stability: "stable",
|
|
343
425
|
exit_code: 2,
|
|
426
|
+
class: "usage",
|
|
344
427
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
345
428
|
sources: ["sdk/extension/install-sources.ts"],
|
|
429
|
+
emitting_commands: ["*"],
|
|
346
430
|
},
|
|
347
431
|
{
|
|
348
432
|
code: "extension_dependency_version_unsafe",
|
|
349
433
|
meaning: "Extension dependency version unsafe condition.",
|
|
350
434
|
stability: "stable",
|
|
351
435
|
exit_code: 2,
|
|
436
|
+
class: "usage",
|
|
352
437
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
353
438
|
sources: ["sdk/extension/install-sources.ts"],
|
|
439
|
+
emitting_commands: ["*"],
|
|
354
440
|
},
|
|
355
441
|
{
|
|
356
442
|
code: "extension_install_soft_failed",
|
|
357
443
|
meaning: "Extension install soft failed condition.",
|
|
358
444
|
stability: "stable",
|
|
359
445
|
exit_code: 1,
|
|
446
|
+
class: "generic_failure",
|
|
360
447
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
361
448
|
sources: ["cli/register-setup.ts"],
|
|
449
|
+
emitting_commands: ["*"],
|
|
362
450
|
},
|
|
363
451
|
{
|
|
364
452
|
code: "extension_install_source_contains_destination",
|
|
365
453
|
meaning: "Extension install source contains destination condition.",
|
|
366
454
|
stability: "stable",
|
|
367
455
|
exit_code: 2,
|
|
456
|
+
class: "usage",
|
|
368
457
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
369
458
|
sources: ["sdk/extension/install-runtime.ts"],
|
|
459
|
+
emitting_commands: ["*"],
|
|
370
460
|
},
|
|
371
461
|
{
|
|
372
462
|
code: "extension_item_field_reserved",
|
|
373
463
|
meaning: "Extension item field reserved condition.",
|
|
374
464
|
stability: "stable",
|
|
375
465
|
exit_code: 2,
|
|
466
|
+
class: "usage",
|
|
376
467
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
377
468
|
sources: ["core/extensions/item-fields.ts"],
|
|
469
|
+
emitting_commands: ["*"],
|
|
378
470
|
},
|
|
379
471
|
{
|
|
380
472
|
code: "extension_item_field_type_conflict",
|
|
381
473
|
meaning: "Extension item field type conflict condition.",
|
|
382
474
|
stability: "stable",
|
|
383
475
|
exit_code: 2,
|
|
476
|
+
class: "usage",
|
|
384
477
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
385
478
|
sources: ["core/extensions/item-fields.ts"],
|
|
479
|
+
emitting_commands: ["*"],
|
|
386
480
|
},
|
|
387
481
|
{
|
|
388
482
|
code: "extension_item_field_unknown",
|
|
389
483
|
meaning: "Extension item field unknown condition.",
|
|
390
484
|
stability: "stable",
|
|
391
485
|
exit_code: 2,
|
|
486
|
+
class: "usage",
|
|
392
487
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
393
488
|
sources: ["core/extensions/item-fields.ts"],
|
|
489
|
+
emitting_commands: ["*"],
|
|
394
490
|
},
|
|
395
491
|
{
|
|
396
492
|
code: "extension_mutation_guard_failed",
|
|
397
493
|
meaning: "Extension mutation guard failed condition.",
|
|
398
494
|
stability: "stable",
|
|
399
495
|
exit_code: 4,
|
|
496
|
+
class: "conflict",
|
|
400
497
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
401
498
|
sources: ["core/extensions/extension-hook-runtime.ts"],
|
|
499
|
+
emitting_commands: ["*"],
|
|
402
500
|
},
|
|
403
501
|
{
|
|
404
502
|
code: "extension_mutation_guard_invalid_decision",
|
|
405
503
|
meaning: "Extension mutation guard invalid decision condition.",
|
|
406
504
|
stability: "stable",
|
|
407
505
|
exit_code: 4,
|
|
506
|
+
class: "conflict",
|
|
408
507
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
409
508
|
sources: ["core/extensions/extension-hook-runtime.ts"],
|
|
509
|
+
emitting_commands: ["*"],
|
|
410
510
|
},
|
|
411
511
|
{
|
|
412
512
|
code: "extension_mutation_guard_invalid_denial",
|
|
413
513
|
meaning: "Extension mutation guard invalid denial condition.",
|
|
414
514
|
stability: "stable",
|
|
415
515
|
exit_code: 4,
|
|
516
|
+
class: "conflict",
|
|
416
517
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
417
518
|
sources: ["core/extensions/extension-hook-runtime.ts"],
|
|
519
|
+
emitting_commands: ["*"],
|
|
418
520
|
},
|
|
419
521
|
{
|
|
420
522
|
code: "extension_mutation_guard_timed_out",
|
|
421
523
|
meaning: "Extension mutation guard timed out condition.",
|
|
422
524
|
stability: "stable",
|
|
423
525
|
exit_code: 4,
|
|
526
|
+
class: "conflict",
|
|
424
527
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
425
528
|
sources: ["core/extensions/extension-hook-runtime.ts"],
|
|
529
|
+
emitting_commands: ["*"],
|
|
426
530
|
},
|
|
427
531
|
{
|
|
428
532
|
code: "extension_update_health_partial_coverage",
|
|
429
533
|
meaning: "Extension update health partial coverage condition.",
|
|
430
534
|
stability: "stable",
|
|
431
535
|
exit_code: 1,
|
|
536
|
+
class: "generic_failure",
|
|
432
537
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
433
538
|
sources: ["core/diagnostics/remediation.ts"],
|
|
539
|
+
emitting_commands: ["*"],
|
|
434
540
|
},
|
|
435
541
|
{
|
|
436
542
|
code: "field_duplicate",
|
|
437
543
|
meaning: "Field duplicate condition.",
|
|
438
544
|
stability: "stable",
|
|
439
545
|
exit_code: 1,
|
|
546
|
+
class: "generic_failure",
|
|
440
547
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
441
548
|
sources: ["core/profile/profile-lint.ts"],
|
|
549
|
+
emitting_commands: ["*"],
|
|
442
550
|
},
|
|
443
551
|
{
|
|
444
552
|
code: "field_invalid",
|
|
445
553
|
meaning: "Field invalid condition.",
|
|
446
554
|
stability: "stable",
|
|
447
555
|
exit_code: 2,
|
|
556
|
+
class: "usage",
|
|
448
557
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
449
558
|
sources: ["core/profile/profile-lint.ts"],
|
|
559
|
+
emitting_commands: ["*"],
|
|
450
560
|
},
|
|
451
561
|
{
|
|
452
562
|
code: "field_mcp_input_collision",
|
|
453
563
|
meaning: "Field mcp input collision condition.",
|
|
454
564
|
stability: "stable",
|
|
455
565
|
exit_code: 1,
|
|
566
|
+
class: "generic_failure",
|
|
456
567
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
457
568
|
sources: ["core/profile/profile-lint.ts"],
|
|
569
|
+
emitting_commands: ["*"],
|
|
458
570
|
},
|
|
459
571
|
{
|
|
460
572
|
code: "github_source_entry_unbuilt",
|
|
461
573
|
meaning: "Github source entry unbuilt condition.",
|
|
462
574
|
stability: "stable",
|
|
463
575
|
exit_code: 2,
|
|
576
|
+
class: "usage",
|
|
464
577
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
465
578
|
sources: ["sdk/extension/shared.ts"],
|
|
579
|
+
emitting_commands: ["*"],
|
|
466
580
|
},
|
|
467
581
|
{
|
|
468
582
|
code: "history_author_acknowledge_selector_required",
|
|
469
583
|
meaning: "History author acknowledge selector required condition.",
|
|
470
584
|
stability: "stable",
|
|
471
585
|
exit_code: 2,
|
|
586
|
+
class: "usage",
|
|
472
587
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
473
588
|
sources: ["cli/register-history-author.ts"],
|
|
589
|
+
emitting_commands: ["*"],
|
|
474
590
|
},
|
|
475
591
|
{
|
|
476
592
|
code: "history_drift_chain_mismatch",
|
|
477
593
|
meaning: "History drift chain mismatch condition.",
|
|
478
594
|
stability: "stable",
|
|
479
595
|
exit_code: 1,
|
|
596
|
+
class: "generic_failure",
|
|
480
597
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
481
598
|
sources: ["core/diagnostics/remediation.ts"],
|
|
599
|
+
emitting_commands: ["*"],
|
|
482
600
|
},
|
|
483
601
|
{
|
|
484
602
|
code: "history_drift_hash_mismatch",
|
|
485
603
|
meaning: "History drift hash mismatch condition.",
|
|
486
604
|
stability: "stable",
|
|
487
605
|
exit_code: 1,
|
|
606
|
+
class: "generic_failure",
|
|
488
607
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
489
608
|
sources: ["core/diagnostics/remediation.ts"],
|
|
609
|
+
emitting_commands: ["*"],
|
|
490
610
|
},
|
|
491
611
|
{
|
|
492
612
|
code: "history_drift_missing_stream",
|
|
493
613
|
meaning: "History drift missing stream condition.",
|
|
494
614
|
stability: "stable",
|
|
495
615
|
exit_code: 1,
|
|
616
|
+
class: "generic_failure",
|
|
496
617
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
497
618
|
sources: ["core/diagnostics/remediation.ts"],
|
|
619
|
+
emitting_commands: ["*"],
|
|
498
620
|
},
|
|
499
621
|
{
|
|
500
622
|
code: "history_drift_unreadable_stream",
|
|
501
623
|
meaning: "History drift unreadable stream condition.",
|
|
502
624
|
stability: "stable",
|
|
503
625
|
exit_code: 1,
|
|
626
|
+
class: "generic_failure",
|
|
504
627
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
505
628
|
sources: ["core/diagnostics/remediation.ts"],
|
|
629
|
+
emitting_commands: ["*"],
|
|
506
630
|
},
|
|
507
631
|
{
|
|
508
632
|
code: "history_merge_conflict_markers_detected",
|
|
509
633
|
meaning: "History merge conflict markers detected condition.",
|
|
510
634
|
stability: "stable",
|
|
511
635
|
exit_code: 1,
|
|
636
|
+
class: "generic_failure",
|
|
512
637
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
513
638
|
sources: ["core/history/read.ts"],
|
|
639
|
+
emitting_commands: ["*"],
|
|
514
640
|
},
|
|
515
641
|
{
|
|
516
642
|
code: "history_stream_over_compact_threshold",
|
|
517
643
|
meaning: "History stream over compact threshold condition.",
|
|
518
644
|
stability: "stable",
|
|
519
645
|
exit_code: 1,
|
|
646
|
+
class: "generic_failure",
|
|
520
647
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
521
648
|
sources: ["core/diagnostics/remediation.ts"],
|
|
649
|
+
emitting_commands: ["*"],
|
|
522
650
|
},
|
|
523
651
|
{
|
|
524
652
|
code: "history_target_out_of_range",
|
|
525
653
|
meaning: "History target out of range condition.",
|
|
526
654
|
stability: "stable",
|
|
527
655
|
exit_code: 1,
|
|
656
|
+
class: "generic_failure",
|
|
528
657
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
529
658
|
sources: ["core/history/projection.ts"],
|
|
659
|
+
emitting_commands: ["*"],
|
|
530
660
|
},
|
|
531
661
|
{
|
|
532
662
|
code: "history_unknown_author_events",
|
|
533
663
|
meaning: "History unknown author events condition.",
|
|
534
664
|
stability: "stable",
|
|
535
665
|
exit_code: 2,
|
|
666
|
+
class: "usage",
|
|
536
667
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
537
668
|
sources: ["core/diagnostics/remediation.ts"],
|
|
669
|
+
emitting_commands: ["*"],
|
|
538
670
|
},
|
|
539
671
|
{
|
|
540
672
|
code: "init_existing_settings_requires_force",
|
|
541
673
|
meaning: "Init existing settings requires force condition.",
|
|
542
674
|
stability: "stable",
|
|
543
675
|
exit_code: 2,
|
|
676
|
+
class: "usage",
|
|
544
677
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
545
678
|
sources: ["sdk/init.ts"],
|
|
679
|
+
emitting_commands: ["*"],
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
code: "init_gitignore_unwritable",
|
|
683
|
+
meaning: "Init gitignore unwritable condition.",
|
|
684
|
+
stability: "stable",
|
|
685
|
+
exit_code: 1,
|
|
686
|
+
class: "generic_failure",
|
|
687
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
688
|
+
sources: ["sdk/workspace.ts"],
|
|
689
|
+
emitting_commands: ["*"],
|
|
546
690
|
},
|
|
547
691
|
{
|
|
548
692
|
code: "init_id_prefix_conflict",
|
|
549
693
|
meaning: "Init id prefix conflict condition.",
|
|
550
694
|
stability: "stable",
|
|
551
695
|
exit_code: 2,
|
|
696
|
+
class: "usage",
|
|
552
697
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
553
698
|
sources: ["sdk/init.ts"],
|
|
699
|
+
emitting_commands: ["*"],
|
|
554
700
|
},
|
|
555
701
|
{
|
|
556
702
|
code: "init_id_prefix_path_like",
|
|
557
703
|
meaning: "Init id prefix path like condition.",
|
|
558
704
|
stability: "stable",
|
|
559
705
|
exit_code: 2,
|
|
706
|
+
class: "usage",
|
|
560
707
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
561
708
|
sources: ["sdk/init.ts"],
|
|
709
|
+
emitting_commands: ["*"],
|
|
562
710
|
},
|
|
563
711
|
{
|
|
564
712
|
code: "integrity_history_conflict_marker",
|
|
565
713
|
meaning: "Integrity history conflict marker condition.",
|
|
566
714
|
stability: "stable",
|
|
567
715
|
exit_code: 4,
|
|
716
|
+
class: "conflict",
|
|
568
717
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
569
718
|
sources: ["core/diagnostics/remediation.ts"],
|
|
719
|
+
emitting_commands: ["*"],
|
|
570
720
|
},
|
|
571
721
|
{
|
|
572
722
|
code: "integrity_history_invalid_json",
|
|
573
723
|
meaning: "Integrity history invalid json condition.",
|
|
574
724
|
stability: "stable",
|
|
575
725
|
exit_code: 2,
|
|
726
|
+
class: "usage",
|
|
576
727
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
577
728
|
sources: ["core/diagnostics/remediation.ts"],
|
|
729
|
+
emitting_commands: ["*"],
|
|
578
730
|
},
|
|
579
731
|
{
|
|
580
732
|
code: "integrity_history_unreadable",
|
|
581
733
|
meaning: "Integrity history unreadable condition.",
|
|
582
734
|
stability: "stable",
|
|
583
735
|
exit_code: 1,
|
|
736
|
+
class: "generic_failure",
|
|
584
737
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
585
738
|
sources: ["core/diagnostics/remediation.ts"],
|
|
739
|
+
emitting_commands: ["*"],
|
|
586
740
|
},
|
|
587
741
|
{
|
|
588
742
|
code: "integrity_item_ahead_format_version",
|
|
589
743
|
meaning: "Integrity item ahead format version condition.",
|
|
590
744
|
stability: "stable",
|
|
591
745
|
exit_code: 1,
|
|
746
|
+
class: "generic_failure",
|
|
592
747
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
593
748
|
sources: ["core/diagnostics/remediation.ts"],
|
|
749
|
+
emitting_commands: ["*"],
|
|
594
750
|
},
|
|
595
751
|
{
|
|
596
752
|
code: "integrity_item_conflict_marker",
|
|
597
753
|
meaning: "Integrity item conflict marker condition.",
|
|
598
754
|
stability: "stable",
|
|
599
755
|
exit_code: 4,
|
|
756
|
+
class: "conflict",
|
|
600
757
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
601
758
|
sources: ["core/diagnostics/remediation.ts"],
|
|
759
|
+
emitting_commands: ["*"],
|
|
602
760
|
},
|
|
603
761
|
{
|
|
604
762
|
code: "integrity_item_outdated_format_version",
|
|
605
763
|
meaning: "Integrity item outdated format version condition.",
|
|
606
764
|
stability: "stable",
|
|
607
765
|
exit_code: 1,
|
|
766
|
+
class: "generic_failure",
|
|
608
767
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
609
768
|
sources: ["core/diagnostics/remediation.ts"],
|
|
769
|
+
emitting_commands: ["*"],
|
|
610
770
|
},
|
|
611
771
|
{
|
|
612
772
|
code: "integrity_item_parse_failed",
|
|
613
773
|
meaning: "Integrity item parse failed condition.",
|
|
614
774
|
stability: "stable",
|
|
615
775
|
exit_code: 1,
|
|
776
|
+
class: "generic_failure",
|
|
616
777
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
617
778
|
sources: ["core/diagnostics/remediation.ts"],
|
|
779
|
+
emitting_commands: ["*"],
|
|
618
780
|
},
|
|
619
781
|
{
|
|
620
782
|
code: "integrity_item_unreadable",
|
|
621
783
|
meaning: "Integrity item unreadable condition.",
|
|
622
784
|
stability: "stable",
|
|
623
785
|
exit_code: 1,
|
|
786
|
+
class: "generic_failure",
|
|
624
787
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
625
788
|
sources: ["core/diagnostics/remediation.ts"],
|
|
789
|
+
emitting_commands: ["*"],
|
|
626
790
|
},
|
|
627
791
|
{
|
|
628
792
|
code: "invalid_argument_value",
|
|
629
793
|
meaning: "Invalid argument value condition.",
|
|
630
794
|
stability: "stable",
|
|
631
795
|
exit_code: 2,
|
|
796
|
+
class: "usage",
|
|
632
797
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
633
798
|
sources: [
|
|
634
799
|
"cli/error-guidance.ts",
|
|
@@ -636,224 +801,288 @@ export const PM_ERROR_CODE_CATALOG = definePmErrorCodeCatalog([
|
|
|
636
801
|
"sdk/context-intent-contracts.ts",
|
|
637
802
|
"sdk/lifecycle/create.ts",
|
|
638
803
|
],
|
|
804
|
+
emitting_commands: ["*", "create"],
|
|
639
805
|
},
|
|
640
806
|
{
|
|
641
807
|
code: "invalid_command_usage",
|
|
642
808
|
meaning: "Invalid command usage condition.",
|
|
643
809
|
stability: "stable",
|
|
644
810
|
exit_code: 2,
|
|
811
|
+
class: "usage",
|
|
645
812
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
646
813
|
sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
|
|
814
|
+
emitting_commands: ["*"],
|
|
647
815
|
},
|
|
648
816
|
{
|
|
649
817
|
code: "invalid_event_cursor",
|
|
650
818
|
meaning: "Invalid event cursor condition.",
|
|
651
819
|
stability: "stable",
|
|
652
820
|
exit_code: 2,
|
|
821
|
+
class: "usage",
|
|
653
822
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
654
823
|
sources: ["sdk/mutation-events.ts"],
|
|
824
|
+
emitting_commands: ["*"],
|
|
655
825
|
},
|
|
656
826
|
{
|
|
657
827
|
code: "invalid_event_follow_interval",
|
|
658
828
|
meaning: "Invalid event follow interval condition.",
|
|
659
829
|
stability: "stable",
|
|
660
830
|
exit_code: 2,
|
|
831
|
+
class: "usage",
|
|
661
832
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
662
833
|
sources: ["sdk/mutation-events.ts"],
|
|
834
|
+
emitting_commands: ["*"],
|
|
663
835
|
},
|
|
664
836
|
{
|
|
665
837
|
code: "invalid_event_limit",
|
|
666
838
|
meaning: "Invalid event limit condition.",
|
|
667
839
|
stability: "stable",
|
|
668
840
|
exit_code: 2,
|
|
841
|
+
class: "usage",
|
|
669
842
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
670
843
|
sources: ["sdk/mutation-events.ts"],
|
|
844
|
+
emitting_commands: ["*"],
|
|
671
845
|
},
|
|
672
846
|
{
|
|
673
847
|
code: "invalid_event_since",
|
|
674
848
|
meaning: "Invalid event since condition.",
|
|
675
849
|
stability: "stable",
|
|
676
850
|
exit_code: 2,
|
|
851
|
+
class: "usage",
|
|
677
852
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
678
853
|
sources: ["sdk/mutation-events.ts"],
|
|
854
|
+
emitting_commands: ["*"],
|
|
679
855
|
},
|
|
680
856
|
{
|
|
681
857
|
code: "invalid_provenance_predicate",
|
|
682
858
|
meaning: "Invalid provenance predicate condition.",
|
|
683
859
|
stability: "stable",
|
|
684
860
|
exit_code: 2,
|
|
861
|
+
class: "usage",
|
|
685
862
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
686
863
|
sources: ["sdk/history-provenance.ts"],
|
|
864
|
+
emitting_commands: ["*"],
|
|
687
865
|
},
|
|
688
866
|
{
|
|
689
867
|
code: "invalid_query_cursor",
|
|
690
868
|
meaning: "Invalid query cursor condition.",
|
|
691
869
|
stability: "stable",
|
|
692
870
|
exit_code: 2,
|
|
871
|
+
class: "usage",
|
|
693
872
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
694
873
|
sources: ["sdk/pagination.ts"],
|
|
874
|
+
emitting_commands: ["*"],
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
code: "invalid_workspace_snapshot_target",
|
|
878
|
+
meaning: "Invalid workspace snapshot target condition.",
|
|
879
|
+
stability: "provisional",
|
|
880
|
+
exit_code: 2,
|
|
881
|
+
class: "usage",
|
|
882
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
883
|
+
sources: ["sdk/workspace-snapshot.ts"],
|
|
884
|
+
emitting_commands: ["*"],
|
|
695
885
|
},
|
|
696
886
|
{
|
|
697
887
|
code: "item_document_invalid",
|
|
698
888
|
meaning: "Item document invalid condition.",
|
|
699
889
|
stability: "stable",
|
|
700
890
|
exit_code: 1,
|
|
891
|
+
class: "generic_failure",
|
|
701
892
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
702
893
|
sources: ["core/item/item-format.ts"],
|
|
894
|
+
emitting_commands: ["*"],
|
|
703
895
|
},
|
|
704
896
|
{
|
|
705
897
|
code: "item_document_roundtrip_failed",
|
|
706
898
|
meaning: "Item document roundtrip failed condition.",
|
|
707
899
|
stability: "stable",
|
|
708
900
|
exit_code: 1,
|
|
901
|
+
class: "generic_failure",
|
|
709
902
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
710
903
|
sources: ["core/item/item-format.ts"],
|
|
904
|
+
emitting_commands: ["*"],
|
|
711
905
|
},
|
|
712
906
|
{
|
|
713
907
|
code: "item_id_collision",
|
|
714
908
|
meaning: "Item id collision condition.",
|
|
715
909
|
stability: "stable",
|
|
716
910
|
exit_code: 4,
|
|
911
|
+
class: "conflict",
|
|
717
912
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
718
913
|
sources: ["sdk/lifecycle/copy.ts"],
|
|
914
|
+
emitting_commands: ["copy"],
|
|
719
915
|
},
|
|
720
916
|
{
|
|
721
917
|
code: "item_not_found",
|
|
722
918
|
meaning: "Item not found condition.",
|
|
723
919
|
stability: "stable",
|
|
724
920
|
exit_code: 3,
|
|
921
|
+
class: "not_found",
|
|
725
922
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
726
923
|
sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
|
|
924
|
+
emitting_commands: ["*"],
|
|
727
925
|
},
|
|
728
926
|
{
|
|
729
927
|
code: "likely_duplicate",
|
|
730
928
|
meaning: "Likely duplicate condition.",
|
|
731
929
|
stability: "stable",
|
|
732
930
|
exit_code: 4,
|
|
931
|
+
class: "conflict",
|
|
733
932
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
734
933
|
sources: ["sdk/similarity.ts"],
|
|
934
|
+
emitting_commands: ["*"],
|
|
735
935
|
},
|
|
736
936
|
{
|
|
737
937
|
code: "linked_test_value_not_quoted",
|
|
738
938
|
meaning: "Linked test value not quoted condition.",
|
|
739
939
|
stability: "stable",
|
|
740
940
|
exit_code: 1,
|
|
941
|
+
class: "generic_failure",
|
|
741
942
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
742
943
|
sources: ["cli/error-guidance.ts"],
|
|
944
|
+
emitting_commands: ["*"],
|
|
743
945
|
},
|
|
744
946
|
{
|
|
745
947
|
code: "list_source_incomplete",
|
|
746
948
|
meaning: "List source incomplete condition.",
|
|
747
949
|
stability: "stable",
|
|
748
950
|
exit_code: 1,
|
|
951
|
+
class: "generic_failure",
|
|
749
952
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
750
953
|
sources: ["sdk/query/list.ts"],
|
|
954
|
+
emitting_commands: ["list"],
|
|
751
955
|
},
|
|
752
956
|
{
|
|
753
957
|
code: "local_package_archive_unsafe",
|
|
754
958
|
meaning: "Local package archive unsafe condition.",
|
|
755
959
|
stability: "stable",
|
|
756
960
|
exit_code: 2,
|
|
961
|
+
class: "usage",
|
|
757
962
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
758
963
|
sources: ["sdk/extension/install-sources.ts"],
|
|
964
|
+
emitting_commands: ["*"],
|
|
759
965
|
},
|
|
760
966
|
{
|
|
761
967
|
code: "local_source_not_found_bare_name",
|
|
762
968
|
meaning: "Local source not found bare name condition.",
|
|
763
969
|
stability: "stable",
|
|
764
970
|
exit_code: 3,
|
|
971
|
+
class: "not_found",
|
|
765
972
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
766
973
|
sources: ["sdk/extension/install-sources.ts"],
|
|
974
|
+
emitting_commands: ["*"],
|
|
767
975
|
},
|
|
768
976
|
{
|
|
769
977
|
code: "lock_conflict",
|
|
770
978
|
meaning: "Lock conflict condition.",
|
|
771
979
|
stability: "stable",
|
|
772
980
|
exit_code: 4,
|
|
981
|
+
class: "conflict",
|
|
773
982
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
774
983
|
sources: [
|
|
775
984
|
"cli/error-guidance.ts",
|
|
776
985
|
"core/lock/lock.ts",
|
|
777
986
|
"core/telemetry/observability.ts",
|
|
778
987
|
],
|
|
988
|
+
emitting_commands: ["*"],
|
|
779
989
|
},
|
|
780
990
|
{
|
|
781
991
|
code: "locks_stale_count",
|
|
782
992
|
meaning: "Locks stale count condition.",
|
|
783
993
|
stability: "stable",
|
|
784
994
|
exit_code: 1,
|
|
995
|
+
class: "generic_failure",
|
|
785
996
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
786
997
|
sources: ["core/diagnostics/remediation.ts"],
|
|
998
|
+
emitting_commands: ["*"],
|
|
787
999
|
},
|
|
788
1000
|
{
|
|
789
1001
|
code: "locks_unreadable",
|
|
790
1002
|
meaning: "Locks unreadable condition.",
|
|
791
1003
|
stability: "stable",
|
|
792
1004
|
exit_code: 1,
|
|
1005
|
+
class: "generic_failure",
|
|
793
1006
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
794
1007
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1008
|
+
emitting_commands: ["*"],
|
|
795
1009
|
},
|
|
796
1010
|
{
|
|
797
1011
|
code: "malformed_plan_step_evidence",
|
|
798
1012
|
meaning: "Malformed plan step evidence condition.",
|
|
799
1013
|
stability: "stable",
|
|
800
1014
|
exit_code: 2,
|
|
1015
|
+
class: "usage",
|
|
801
1016
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
802
1017
|
sources: ["sdk/lifecycle/plan.ts"],
|
|
1018
|
+
emitting_commands: ["plan"],
|
|
803
1019
|
},
|
|
804
1020
|
{
|
|
805
1021
|
code: "manifest_capabilities_absent",
|
|
806
1022
|
meaning: "Manifest capabilities absent condition.",
|
|
807
1023
|
stability: "stable",
|
|
808
1024
|
exit_code: 1,
|
|
1025
|
+
class: "generic_failure",
|
|
809
1026
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
810
1027
|
sources: ["sdk/compose.ts"],
|
|
1028
|
+
emitting_commands: ["*"],
|
|
811
1029
|
},
|
|
812
1030
|
{
|
|
813
1031
|
code: "merge_conflict_markers_detected",
|
|
814
1032
|
meaning: "Merge conflict markers detected condition.",
|
|
815
1033
|
stability: "stable",
|
|
816
1034
|
exit_code: 1,
|
|
1035
|
+
class: "generic_failure",
|
|
817
1036
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
818
1037
|
sources: ["core/item/item-format.ts"],
|
|
1038
|
+
emitting_commands: ["*"],
|
|
819
1039
|
},
|
|
820
1040
|
{
|
|
821
1041
|
code: "merge_git_config_unwritable",
|
|
822
1042
|
meaning: "Merge git config unwritable condition.",
|
|
823
1043
|
stability: "stable",
|
|
824
1044
|
exit_code: 5,
|
|
1045
|
+
class: "dependency_failed",
|
|
825
1046
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
826
1047
|
sources: ["sdk/merge/install.ts"],
|
|
1048
|
+
emitting_commands: ["*"],
|
|
827
1049
|
},
|
|
828
1050
|
{
|
|
829
1051
|
code: "merge_root_not_found",
|
|
830
1052
|
meaning: "Merge root not found condition.",
|
|
831
1053
|
stability: "stable",
|
|
832
1054
|
exit_code: 3,
|
|
1055
|
+
class: "not_found",
|
|
833
1056
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
834
1057
|
sources: ["sdk/merge/install.ts"],
|
|
1058
|
+
emitting_commands: ["*"],
|
|
835
1059
|
},
|
|
836
1060
|
{
|
|
837
1061
|
code: "missing_directory",
|
|
838
1062
|
meaning: "Missing directory condition.",
|
|
839
1063
|
stability: "stable",
|
|
840
1064
|
exit_code: 1,
|
|
1065
|
+
class: "generic_failure",
|
|
841
1066
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
842
1067
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1068
|
+
emitting_commands: ["*"],
|
|
843
1069
|
},
|
|
844
1070
|
{
|
|
845
1071
|
code: "missing_lifecycle_target",
|
|
846
1072
|
meaning: "Missing lifecycle target condition.",
|
|
847
1073
|
stability: "stable",
|
|
848
1074
|
exit_code: 2,
|
|
1075
|
+
class: "usage",
|
|
849
1076
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
850
1077
|
sources: ["sdk/extension.ts"],
|
|
1078
|
+
emitting_commands: ["*"],
|
|
851
1079
|
},
|
|
852
1080
|
{
|
|
853
1081
|
code: "missing_required_argument",
|
|
854
1082
|
meaning: "Missing required argument condition.",
|
|
855
1083
|
stability: "stable",
|
|
856
1084
|
exit_code: 2,
|
|
1085
|
+
class: "usage",
|
|
857
1086
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
858
1087
|
sources: [
|
|
859
1088
|
"cli/error-guidance.ts",
|
|
@@ -863,12 +1092,14 @@ export const PM_ERROR_CODE_CATALOG = definePmErrorCodeCatalog([
|
|
|
863
1092
|
"sdk/history-redact.ts",
|
|
864
1093
|
"sdk/invocation-author.ts",
|
|
865
1094
|
],
|
|
1095
|
+
emitting_commands: ["*"],
|
|
866
1096
|
},
|
|
867
1097
|
{
|
|
868
1098
|
code: "missing_required_option",
|
|
869
1099
|
meaning: "Missing required option condition.",
|
|
870
1100
|
stability: "stable",
|
|
871
1101
|
exit_code: 2,
|
|
1102
|
+
class: "usage",
|
|
872
1103
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
873
1104
|
sources: [
|
|
874
1105
|
"cli/error-guidance.ts",
|
|
@@ -877,524 +1108,652 @@ export const PM_ERROR_CODE_CATALOG = definePmErrorCodeCatalog([
|
|
|
877
1108
|
"sdk/lifecycle/create.ts",
|
|
878
1109
|
"sdk/lifecycle/plan.ts",
|
|
879
1110
|
],
|
|
1111
|
+
emitting_commands: ["*", "create", "plan"],
|
|
880
1112
|
},
|
|
881
1113
|
{
|
|
882
1114
|
code: "module_import_failed",
|
|
883
1115
|
meaning: "Module import failed condition.",
|
|
884
1116
|
stability: "stable",
|
|
885
1117
|
exit_code: 1,
|
|
1118
|
+
class: "generic_failure",
|
|
886
1119
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
887
1120
|
sources: ["cli/error-guidance.ts"],
|
|
1121
|
+
emitting_commands: ["*"],
|
|
888
1122
|
},
|
|
889
1123
|
{
|
|
890
1124
|
code: "multi_target_github_install_ambiguous",
|
|
891
1125
|
meaning: "Multi target github install ambiguous condition.",
|
|
892
1126
|
stability: "stable",
|
|
893
1127
|
exit_code: 2,
|
|
1128
|
+
class: "usage",
|
|
894
1129
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
895
1130
|
sources: ["cli/register-setup.ts"],
|
|
1131
|
+
emitting_commands: ["*"],
|
|
896
1132
|
},
|
|
897
1133
|
{
|
|
898
1134
|
code: "mutation_author_required",
|
|
899
1135
|
meaning: "Mutation author required condition.",
|
|
900
1136
|
stability: "stable",
|
|
901
1137
|
exit_code: 2,
|
|
1138
|
+
class: "usage",
|
|
902
1139
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
903
1140
|
sources: ["sdk/mutation-guard.ts"],
|
|
1141
|
+
emitting_commands: ["*"],
|
|
904
1142
|
},
|
|
905
1143
|
{
|
|
906
1144
|
code: "mutation_secret_guard_blocked",
|
|
907
1145
|
meaning: "Mutation secret guard blocked condition.",
|
|
908
1146
|
stability: "stable",
|
|
909
1147
|
exit_code: 4,
|
|
1148
|
+
class: "conflict",
|
|
910
1149
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
911
1150
|
sources: ["sdk/mutation-guard.ts"],
|
|
1151
|
+
emitting_commands: ["*"],
|
|
912
1152
|
},
|
|
913
1153
|
{
|
|
914
1154
|
code: "no_matching_tests",
|
|
915
1155
|
meaning: "No matching tests condition.",
|
|
916
1156
|
stability: "stable",
|
|
917
1157
|
exit_code: 1,
|
|
1158
|
+
class: "generic_failure",
|
|
918
1159
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
919
1160
|
sources: ["sdk/test/execution.ts"],
|
|
1161
|
+
emitting_commands: ["*"],
|
|
920
1162
|
},
|
|
921
1163
|
{
|
|
922
1164
|
code: "no_projects_matched_filters",
|
|
923
1165
|
meaning: "No projects matched filters condition.",
|
|
924
1166
|
stability: "stable",
|
|
925
1167
|
exit_code: 1,
|
|
1168
|
+
class: "generic_failure",
|
|
926
1169
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
927
1170
|
sources: ["sdk/test/execution.ts"],
|
|
1171
|
+
emitting_commands: ["*"],
|
|
928
1172
|
},
|
|
929
1173
|
{
|
|
930
1174
|
code: "no_test_files_found",
|
|
931
1175
|
meaning: "No test files found condition.",
|
|
932
1176
|
stability: "stable",
|
|
933
1177
|
exit_code: 1,
|
|
1178
|
+
class: "generic_failure",
|
|
934
1179
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
935
1180
|
sources: ["sdk/test/execution.ts"],
|
|
1181
|
+
emitting_commands: ["*"],
|
|
936
1182
|
},
|
|
937
1183
|
{
|
|
938
1184
|
code: "no_tests_found",
|
|
939
1185
|
meaning: "No tests found condition.",
|
|
940
1186
|
stability: "stable",
|
|
941
1187
|
exit_code: 1,
|
|
1188
|
+
class: "generic_failure",
|
|
942
1189
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
943
1190
|
sources: ["sdk/test/execution.ts"],
|
|
1191
|
+
emitting_commands: ["*"],
|
|
944
1192
|
},
|
|
945
1193
|
{
|
|
946
1194
|
code: "no_update_fields",
|
|
947
1195
|
meaning: "No update fields condition.",
|
|
948
1196
|
stability: "stable",
|
|
949
1197
|
exit_code: 1,
|
|
1198
|
+
class: "generic_failure",
|
|
950
1199
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
951
1200
|
sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
|
|
1201
|
+
emitting_commands: ["*"],
|
|
952
1202
|
},
|
|
953
1203
|
{
|
|
954
1204
|
code: "npm_package_not_found",
|
|
955
1205
|
meaning: "Npm package not found condition.",
|
|
956
1206
|
stability: "stable",
|
|
957
1207
|
exit_code: 3,
|
|
1208
|
+
class: "not_found",
|
|
958
1209
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
959
1210
|
sources: ["sdk/extension/install-sources.ts"],
|
|
1211
|
+
emitting_commands: ["*"],
|
|
960
1212
|
},
|
|
961
1213
|
{
|
|
962
1214
|
code: "ownership_conflict",
|
|
963
1215
|
meaning: "Ownership conflict condition.",
|
|
964
1216
|
stability: "stable",
|
|
965
1217
|
exit_code: 4,
|
|
1218
|
+
class: "conflict",
|
|
966
1219
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
967
1220
|
sources: [
|
|
968
1221
|
"cli/error-guidance.ts",
|
|
969
1222
|
"core/telemetry/observability.ts",
|
|
970
1223
|
"sdk/annotations.ts",
|
|
971
1224
|
],
|
|
1225
|
+
emitting_commands: ["*"],
|
|
972
1226
|
},
|
|
973
1227
|
{
|
|
974
1228
|
code: "ownership_dependency_bypass_restricted_options",
|
|
975
1229
|
meaning: "Ownership dependency bypass restricted options condition.",
|
|
976
1230
|
stability: "stable",
|
|
977
1231
|
exit_code: 1,
|
|
1232
|
+
class: "generic_failure",
|
|
978
1233
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
979
1234
|
sources: ["sdk/lifecycle/update.ts"],
|
|
1235
|
+
emitting_commands: ["update"],
|
|
980
1236
|
},
|
|
981
1237
|
{
|
|
982
1238
|
code: "ownership_metadata_bypass_restricted_options",
|
|
983
1239
|
meaning: "Ownership metadata bypass restricted options condition.",
|
|
984
1240
|
stability: "stable",
|
|
985
1241
|
exit_code: 1,
|
|
1242
|
+
class: "generic_failure",
|
|
986
1243
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
987
1244
|
sources: ["sdk/lifecycle/update.ts"],
|
|
1245
|
+
emitting_commands: ["update"],
|
|
988
1246
|
},
|
|
989
1247
|
{
|
|
990
1248
|
code: "package_spec_empty",
|
|
991
1249
|
meaning: "Package spec empty condition.",
|
|
992
1250
|
stability: "stable",
|
|
993
1251
|
exit_code: 1,
|
|
1252
|
+
class: "generic_failure",
|
|
994
1253
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
995
1254
|
sources: ["core/profile/profile-lint.ts"],
|
|
1255
|
+
emitting_commands: ["*"],
|
|
996
1256
|
},
|
|
997
1257
|
{
|
|
998
1258
|
code: "profile_name_empty",
|
|
999
1259
|
meaning: "Profile name empty condition.",
|
|
1000
1260
|
stability: "stable",
|
|
1001
1261
|
exit_code: 1,
|
|
1262
|
+
class: "generic_failure",
|
|
1002
1263
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1003
1264
|
sources: ["core/profile/profile-lint.ts"],
|
|
1265
|
+
emitting_commands: ["*"],
|
|
1004
1266
|
},
|
|
1005
1267
|
{
|
|
1006
1268
|
code: "profile_name_not_normalized",
|
|
1007
1269
|
meaning: "Profile name not normalized condition.",
|
|
1008
1270
|
stability: "stable",
|
|
1009
1271
|
exit_code: 1,
|
|
1272
|
+
class: "generic_failure",
|
|
1010
1273
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1011
1274
|
sources: ["core/profile/profile-lint.ts"],
|
|
1275
|
+
emitting_commands: ["*"],
|
|
1012
1276
|
},
|
|
1013
1277
|
{
|
|
1014
1278
|
code: "profile_summary_empty",
|
|
1015
1279
|
meaning: "Profile summary empty condition.",
|
|
1016
1280
|
stability: "stable",
|
|
1017
1281
|
exit_code: 1,
|
|
1282
|
+
class: "generic_failure",
|
|
1018
1283
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1019
1284
|
sources: ["core/profile/profile-lint.ts"],
|
|
1285
|
+
emitting_commands: ["*"],
|
|
1020
1286
|
},
|
|
1021
1287
|
{
|
|
1022
1288
|
code: "profile_title_empty",
|
|
1023
1289
|
meaning: "Profile title empty condition.",
|
|
1024
1290
|
stability: "stable",
|
|
1025
1291
|
exit_code: 1,
|
|
1292
|
+
class: "generic_failure",
|
|
1026
1293
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1027
1294
|
sources: ["core/profile/profile-lint.ts"],
|
|
1295
|
+
emitting_commands: ["*"],
|
|
1028
1296
|
},
|
|
1029
1297
|
{
|
|
1030
1298
|
code: "redundant_edge",
|
|
1031
1299
|
meaning: "Redundant edge condition.",
|
|
1032
1300
|
stability: "stable",
|
|
1033
1301
|
exit_code: 1,
|
|
1302
|
+
class: "generic_failure",
|
|
1034
1303
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1035
1304
|
sources: ["sdk/graph/remediation.ts"],
|
|
1305
|
+
emitting_commands: ["*"],
|
|
1036
1306
|
},
|
|
1037
1307
|
{
|
|
1038
1308
|
code: "reindex_already_running",
|
|
1039
1309
|
meaning: "Reindex already running condition.",
|
|
1040
1310
|
stability: "stable",
|
|
1041
1311
|
exit_code: 4,
|
|
1312
|
+
class: "conflict",
|
|
1042
1313
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1043
1314
|
sources: ["sdk/governance/reindex.ts"],
|
|
1315
|
+
emitting_commands: ["*"],
|
|
1044
1316
|
},
|
|
1045
1317
|
{
|
|
1046
1318
|
code: "reserved_item_field",
|
|
1047
1319
|
meaning: "Reserved item field condition.",
|
|
1048
1320
|
stability: "stable",
|
|
1049
1321
|
exit_code: 1,
|
|
1322
|
+
class: "generic_failure",
|
|
1050
1323
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1051
1324
|
sources: ["sdk/compose.ts"],
|
|
1325
|
+
emitting_commands: ["*"],
|
|
1052
1326
|
},
|
|
1053
1327
|
{
|
|
1054
1328
|
code: "schema_migration_input_required",
|
|
1055
1329
|
meaning: "Schema migration input required condition.",
|
|
1056
1330
|
stability: "stable",
|
|
1057
1331
|
exit_code: 2,
|
|
1332
|
+
class: "usage",
|
|
1058
1333
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1059
1334
|
sources: ["cli/migration-gates.ts"],
|
|
1335
|
+
emitting_commands: ["*"],
|
|
1060
1336
|
},
|
|
1061
1337
|
{
|
|
1062
1338
|
code: "settings_read_fs_error",
|
|
1063
1339
|
meaning: "Settings read fs error condition.",
|
|
1064
1340
|
stability: "stable",
|
|
1065
1341
|
exit_code: 1,
|
|
1342
|
+
class: "generic_failure",
|
|
1066
1343
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1067
1344
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1345
|
+
emitting_commands: ["*"],
|
|
1068
1346
|
},
|
|
1069
1347
|
{
|
|
1070
1348
|
code: "settings_read_invalid_json",
|
|
1071
1349
|
meaning: "Settings read invalid json condition.",
|
|
1072
1350
|
stability: "stable",
|
|
1073
1351
|
exit_code: 2,
|
|
1352
|
+
class: "usage",
|
|
1074
1353
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1075
1354
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1355
|
+
emitting_commands: ["*"],
|
|
1076
1356
|
},
|
|
1077
1357
|
{
|
|
1078
1358
|
code: "settings_read_invalid_schema",
|
|
1079
1359
|
meaning: "Settings read invalid schema condition.",
|
|
1080
1360
|
stability: "stable",
|
|
1081
1361
|
exit_code: 2,
|
|
1362
|
+
class: "usage",
|
|
1082
1363
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1083
1364
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1365
|
+
emitting_commands: ["*"],
|
|
1084
1366
|
},
|
|
1085
1367
|
{
|
|
1086
1368
|
code: "settings_read_merge_failed",
|
|
1087
1369
|
meaning: "Settings read merge failed condition.",
|
|
1088
1370
|
stability: "stable",
|
|
1089
1371
|
exit_code: 1,
|
|
1372
|
+
class: "generic_failure",
|
|
1090
1373
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1091
1374
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1375
|
+
emitting_commands: ["*"],
|
|
1092
1376
|
},
|
|
1093
1377
|
{
|
|
1094
1378
|
code: "status_duplicate",
|
|
1095
1379
|
meaning: "Status duplicate condition.",
|
|
1096
1380
|
stability: "stable",
|
|
1097
1381
|
exit_code: 1,
|
|
1382
|
+
class: "generic_failure",
|
|
1098
1383
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1099
1384
|
sources: ["core/profile/profile-lint.ts"],
|
|
1385
|
+
emitting_commands: ["*"],
|
|
1100
1386
|
},
|
|
1101
1387
|
{
|
|
1102
1388
|
code: "status_invalid",
|
|
1103
1389
|
meaning: "Status invalid condition.",
|
|
1104
1390
|
stability: "stable",
|
|
1105
1391
|
exit_code: 2,
|
|
1392
|
+
class: "usage",
|
|
1106
1393
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1107
1394
|
sources: ["core/profile/profile-lint.ts"],
|
|
1395
|
+
emitting_commands: ["*"],
|
|
1108
1396
|
},
|
|
1109
1397
|
{
|
|
1110
1398
|
code: "stdin_json_invalid",
|
|
1111
1399
|
meaning: "Stdin json invalid condition.",
|
|
1112
1400
|
stability: "stable",
|
|
1113
1401
|
exit_code: 2,
|
|
1402
|
+
class: "usage",
|
|
1114
1403
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1115
1404
|
sources: ["sdk/structured-mutations.ts"],
|
|
1405
|
+
emitting_commands: ["*"],
|
|
1116
1406
|
},
|
|
1117
1407
|
{
|
|
1118
1408
|
code: "stdin_json_unknown_key",
|
|
1119
1409
|
meaning: "Stdin json unknown key condition.",
|
|
1120
1410
|
stability: "stable",
|
|
1121
1411
|
exit_code: 2,
|
|
1412
|
+
class: "usage",
|
|
1122
1413
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1123
1414
|
sources: ["sdk/structured-mutations.ts"],
|
|
1415
|
+
emitting_commands: ["*"],
|
|
1124
1416
|
},
|
|
1125
1417
|
{
|
|
1126
1418
|
code: "structured_event_immutable",
|
|
1127
1419
|
meaning: "Structured event immutable condition.",
|
|
1128
1420
|
stability: "stable",
|
|
1129
1421
|
exit_code: 2,
|
|
1422
|
+
class: "usage",
|
|
1130
1423
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1131
1424
|
sources: ["sdk/annotations.ts"],
|
|
1425
|
+
emitting_commands: ["*"],
|
|
1132
1426
|
},
|
|
1133
1427
|
{
|
|
1134
1428
|
code: "structured_event_input_conflict",
|
|
1135
1429
|
meaning: "Structured event input conflict condition.",
|
|
1136
1430
|
stability: "stable",
|
|
1137
1431
|
exit_code: 2,
|
|
1432
|
+
class: "usage",
|
|
1138
1433
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1139
1434
|
sources: ["sdk/notes.ts"],
|
|
1435
|
+
emitting_commands: ["*"],
|
|
1140
1436
|
},
|
|
1141
1437
|
{
|
|
1142
1438
|
code: "structured_event_json_empty",
|
|
1143
1439
|
meaning: "Structured event json empty condition.",
|
|
1144
1440
|
stability: "stable",
|
|
1145
1441
|
exit_code: 2,
|
|
1442
|
+
class: "usage",
|
|
1146
1443
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1147
1444
|
sources: ["sdk/notes.ts"],
|
|
1445
|
+
emitting_commands: ["*"],
|
|
1148
1446
|
},
|
|
1149
1447
|
{
|
|
1150
1448
|
code: "structured_event_json_invalid",
|
|
1151
1449
|
meaning: "Structured event json invalid condition.",
|
|
1152
1450
|
stability: "stable",
|
|
1153
1451
|
exit_code: 2,
|
|
1452
|
+
class: "usage",
|
|
1154
1453
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1155
1454
|
sources: ["sdk/notes.ts"],
|
|
1455
|
+
emitting_commands: ["*"],
|
|
1156
1456
|
},
|
|
1157
1457
|
{
|
|
1158
1458
|
code: "structured_event_since_invalid",
|
|
1159
1459
|
meaning: "Structured event since invalid condition.",
|
|
1160
1460
|
stability: "stable",
|
|
1161
1461
|
exit_code: 2,
|
|
1462
|
+
class: "usage",
|
|
1162
1463
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1163
1464
|
sources: ["sdk/notes.ts"],
|
|
1465
|
+
emitting_commands: ["*"],
|
|
1164
1466
|
},
|
|
1165
1467
|
{
|
|
1166
1468
|
code: "telemetry_endpoint_probe_failed",
|
|
1167
1469
|
meaning: "Telemetry endpoint probe failed condition.",
|
|
1168
1470
|
stability: "stable",
|
|
1169
1471
|
exit_code: 1,
|
|
1472
|
+
class: "generic_failure",
|
|
1170
1473
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1171
1474
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1475
|
+
emitting_commands: ["*"],
|
|
1172
1476
|
},
|
|
1173
1477
|
{
|
|
1174
1478
|
code: "telemetry_endpoint_probe_http_status",
|
|
1175
1479
|
meaning: "Telemetry endpoint probe http status condition.",
|
|
1176
1480
|
stability: "stable",
|
|
1177
1481
|
exit_code: 1,
|
|
1482
|
+
class: "generic_failure",
|
|
1178
1483
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1179
1484
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1485
|
+
emitting_commands: ["*"],
|
|
1180
1486
|
},
|
|
1181
1487
|
{
|
|
1182
1488
|
code: "telemetry_otel_export_failing",
|
|
1183
1489
|
meaning: "Telemetry otel export failing condition.",
|
|
1184
1490
|
stability: "stable",
|
|
1185
1491
|
exit_code: 1,
|
|
1492
|
+
class: "generic_failure",
|
|
1186
1493
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1187
1494
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1495
|
+
emitting_commands: ["*"],
|
|
1188
1496
|
},
|
|
1189
1497
|
{
|
|
1190
1498
|
code: "telemetry_queue_high_retries",
|
|
1191
1499
|
meaning: "Telemetry queue high retries condition.",
|
|
1192
1500
|
stability: "stable",
|
|
1193
1501
|
exit_code: 1,
|
|
1502
|
+
class: "generic_failure",
|
|
1194
1503
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1195
1504
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1505
|
+
emitting_commands: ["*"],
|
|
1196
1506
|
},
|
|
1197
1507
|
{
|
|
1198
1508
|
code: "telemetry_queue_invalid_rows",
|
|
1199
1509
|
meaning: "Telemetry queue invalid rows condition.",
|
|
1200
1510
|
stability: "stable",
|
|
1201
1511
|
exit_code: 2,
|
|
1512
|
+
class: "usage",
|
|
1202
1513
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1203
1514
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1515
|
+
emitting_commands: ["*"],
|
|
1204
1516
|
},
|
|
1205
1517
|
{
|
|
1206
1518
|
code: "telemetry_queue_pending",
|
|
1207
1519
|
meaning: "Telemetry queue pending condition.",
|
|
1208
1520
|
stability: "stable",
|
|
1209
1521
|
exit_code: 1,
|
|
1522
|
+
class: "generic_failure",
|
|
1210
1523
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1211
1524
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1525
|
+
emitting_commands: ["*"],
|
|
1212
1526
|
},
|
|
1213
1527
|
{
|
|
1214
1528
|
code: "telemetry_schema_version_behind",
|
|
1215
1529
|
meaning: "Telemetry schema version behind condition.",
|
|
1216
1530
|
stability: "stable",
|
|
1217
1531
|
exit_code: 1,
|
|
1532
|
+
class: "generic_failure",
|
|
1218
1533
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1219
1534
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1535
|
+
emitting_commands: ["*"],
|
|
1220
1536
|
},
|
|
1221
1537
|
{
|
|
1222
1538
|
code: "telemetry_state_invalid_json",
|
|
1223
1539
|
meaning: "Telemetry state invalid json condition.",
|
|
1224
1540
|
stability: "stable",
|
|
1225
1541
|
exit_code: 2,
|
|
1542
|
+
class: "usage",
|
|
1226
1543
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1227
1544
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1545
|
+
emitting_commands: ["*"],
|
|
1228
1546
|
},
|
|
1229
1547
|
{
|
|
1230
1548
|
code: "template_type_unknown",
|
|
1231
1549
|
meaning: "Template type unknown condition.",
|
|
1232
1550
|
stability: "stable",
|
|
1233
1551
|
exit_code: 2,
|
|
1552
|
+
class: "usage",
|
|
1234
1553
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1235
1554
|
sources: ["core/profile/profile-lint.ts"],
|
|
1555
|
+
emitting_commands: ["*"],
|
|
1236
1556
|
},
|
|
1237
1557
|
{
|
|
1238
1558
|
code: "terminal_plan_mutation",
|
|
1239
1559
|
meaning: "Terminal plan mutation condition.",
|
|
1240
1560
|
stability: "stable",
|
|
1241
1561
|
exit_code: 4,
|
|
1562
|
+
class: "conflict",
|
|
1242
1563
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1243
1564
|
sources: ["sdk/lifecycle/plan.ts"],
|
|
1565
|
+
emitting_commands: ["plan"],
|
|
1244
1566
|
},
|
|
1245
1567
|
{
|
|
1246
1568
|
code: "terminal_state_conflict",
|
|
1247
1569
|
meaning: "Terminal state conflict condition.",
|
|
1248
1570
|
stability: "stable",
|
|
1249
1571
|
exit_code: 4,
|
|
1572
|
+
class: "conflict",
|
|
1250
1573
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1251
1574
|
sources: ["core/telemetry/observability.ts"],
|
|
1575
|
+
emitting_commands: ["*"],
|
|
1252
1576
|
},
|
|
1253
1577
|
{
|
|
1254
1578
|
code: "tracked_runtime_cache_files",
|
|
1255
1579
|
meaning: "Tracked runtime cache files condition.",
|
|
1256
1580
|
stability: "stable",
|
|
1257
1581
|
exit_code: 1,
|
|
1582
|
+
class: "generic_failure",
|
|
1258
1583
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1259
1584
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1585
|
+
emitting_commands: ["*"],
|
|
1260
1586
|
},
|
|
1261
1587
|
{
|
|
1262
1588
|
code: "tracker_not_initialized",
|
|
1263
1589
|
meaning: "Tracker not initialized condition.",
|
|
1264
1590
|
stability: "stable",
|
|
1265
1591
|
exit_code: 1,
|
|
1592
|
+
class: "generic_failure",
|
|
1266
1593
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1267
1594
|
sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
|
|
1595
|
+
emitting_commands: ["*"],
|
|
1268
1596
|
},
|
|
1269
1597
|
{
|
|
1270
1598
|
code: "tracker_root_missing",
|
|
1271
1599
|
meaning: "Tracker root missing condition.",
|
|
1272
1600
|
stability: "stable",
|
|
1273
1601
|
exit_code: 3,
|
|
1602
|
+
class: "not_found",
|
|
1274
1603
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1275
1604
|
sources: ["core/store/item-store.ts"],
|
|
1605
|
+
emitting_commands: ["*"],
|
|
1276
1606
|
},
|
|
1277
1607
|
{
|
|
1278
1608
|
code: "tracker_root_not_directory",
|
|
1279
1609
|
meaning: "Tracker root not directory condition.",
|
|
1280
1610
|
stability: "stable",
|
|
1281
1611
|
exit_code: 2,
|
|
1612
|
+
class: "usage",
|
|
1282
1613
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1283
1614
|
sources: ["core/store/item-store.ts"],
|
|
1615
|
+
emitting_commands: ["*"],
|
|
1284
1616
|
},
|
|
1285
1617
|
{
|
|
1286
1618
|
code: "type_duplicate",
|
|
1287
1619
|
meaning: "Type duplicate condition.",
|
|
1288
1620
|
stability: "stable",
|
|
1289
1621
|
exit_code: 1,
|
|
1622
|
+
class: "generic_failure",
|
|
1290
1623
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1291
1624
|
sources: ["core/profile/profile-lint.ts"],
|
|
1625
|
+
emitting_commands: ["*"],
|
|
1292
1626
|
},
|
|
1293
1627
|
{
|
|
1294
1628
|
code: "type_invalid",
|
|
1295
1629
|
meaning: "Type invalid condition.",
|
|
1296
1630
|
stability: "stable",
|
|
1297
1631
|
exit_code: 2,
|
|
1632
|
+
class: "usage",
|
|
1298
1633
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1299
1634
|
sources: ["core/profile/profile-lint.ts"],
|
|
1635
|
+
emitting_commands: ["*"],
|
|
1300
1636
|
},
|
|
1301
1637
|
{
|
|
1302
1638
|
code: "unknown_command",
|
|
1303
1639
|
meaning: "Unknown command condition.",
|
|
1304
1640
|
stability: "stable",
|
|
1305
1641
|
exit_code: 2,
|
|
1642
|
+
class: "usage",
|
|
1306
1643
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1307
1644
|
sources: [
|
|
1308
1645
|
"cli/error-guidance.ts",
|
|
1309
1646
|
"core/telemetry/observability.ts",
|
|
1310
1647
|
"sdk/cli-contracts/runtime-contracts.ts",
|
|
1311
1648
|
],
|
|
1649
|
+
emitting_commands: ["*"],
|
|
1312
1650
|
},
|
|
1313
1651
|
{
|
|
1314
1652
|
code: "unknown_context_intent",
|
|
1315
1653
|
meaning: "Unknown context intent condition.",
|
|
1316
1654
|
stability: "stable",
|
|
1317
1655
|
exit_code: 2,
|
|
1656
|
+
class: "usage",
|
|
1318
1657
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1319
1658
|
sources: ["sdk/context-intent-contracts.ts"],
|
|
1659
|
+
emitting_commands: ["*"],
|
|
1320
1660
|
},
|
|
1321
1661
|
{
|
|
1322
1662
|
code: "unknown_error",
|
|
1323
1663
|
meaning: "Unknown error condition.",
|
|
1324
1664
|
stability: "stable",
|
|
1325
|
-
exit_code:
|
|
1665
|
+
exit_code: 1,
|
|
1666
|
+
class: "generic_failure",
|
|
1326
1667
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1327
1668
|
sources: ["cli/error-guidance.ts"],
|
|
1669
|
+
emitting_commands: ["*"],
|
|
1328
1670
|
},
|
|
1329
1671
|
{
|
|
1330
1672
|
code: "unknown_field",
|
|
1331
1673
|
meaning: "Unknown field condition.",
|
|
1332
1674
|
stability: "stable",
|
|
1333
1675
|
exit_code: 3,
|
|
1676
|
+
class: "not_found",
|
|
1334
1677
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1335
1678
|
sources: ["sdk/schema.ts"],
|
|
1679
|
+
emitting_commands: ["*"],
|
|
1336
1680
|
},
|
|
1337
1681
|
{
|
|
1338
1682
|
code: "unknown_field_projection",
|
|
1339
1683
|
meaning: "Unknown field projection condition.",
|
|
1340
1684
|
stability: "stable",
|
|
1341
1685
|
exit_code: 2,
|
|
1686
|
+
class: "usage",
|
|
1342
1687
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1343
1688
|
sources: ["sdk/query/get.ts", "sdk/query/list.ts"],
|
|
1689
|
+
emitting_commands: ["get", "list"],
|
|
1344
1690
|
},
|
|
1345
1691
|
{
|
|
1346
1692
|
code: "unknown_item_type",
|
|
1347
1693
|
meaning: "Unknown item type condition.",
|
|
1348
1694
|
stability: "stable",
|
|
1349
1695
|
exit_code: 3,
|
|
1696
|
+
class: "not_found",
|
|
1350
1697
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1351
1698
|
sources: ["sdk/schema.ts"],
|
|
1699
|
+
emitting_commands: ["*"],
|
|
1352
1700
|
},
|
|
1353
1701
|
{
|
|
1354
1702
|
code: "unknown_lifecycle_action",
|
|
1355
1703
|
meaning: "Unknown lifecycle action condition.",
|
|
1356
1704
|
stability: "stable",
|
|
1357
1705
|
exit_code: 2,
|
|
1706
|
+
class: "usage",
|
|
1358
1707
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1359
1708
|
sources: ["sdk/extension.ts"],
|
|
1709
|
+
emitting_commands: ["*"],
|
|
1360
1710
|
},
|
|
1361
1711
|
{
|
|
1362
1712
|
code: "unknown_option",
|
|
1363
1713
|
meaning: "Unknown option condition.",
|
|
1364
1714
|
stability: "stable",
|
|
1365
1715
|
exit_code: 2,
|
|
1716
|
+
class: "usage",
|
|
1366
1717
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1367
1718
|
sources: ["cli/error-guidance.ts", "core/telemetry/observability.ts"],
|
|
1719
|
+
emitting_commands: ["*"],
|
|
1368
1720
|
},
|
|
1369
1721
|
{
|
|
1370
1722
|
code: "unknown_plan_template",
|
|
1371
1723
|
meaning: "Unknown plan template condition.",
|
|
1372
1724
|
stability: "stable",
|
|
1373
1725
|
exit_code: 2,
|
|
1726
|
+
class: "usage",
|
|
1374
1727
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1375
1728
|
sources: ["sdk/lifecycle/plan.ts"],
|
|
1729
|
+
emitting_commands: ["plan"],
|
|
1376
1730
|
},
|
|
1377
1731
|
{
|
|
1378
1732
|
code: "unknown_provenance_dimension",
|
|
1379
1733
|
meaning: "Unknown provenance dimension condition.",
|
|
1380
1734
|
stability: "stable",
|
|
1381
1735
|
exit_code: 2,
|
|
1736
|
+
class: "usage",
|
|
1382
1737
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1383
1738
|
sources: ["sdk/history-provenance.ts"],
|
|
1739
|
+
emitting_commands: ["*"],
|
|
1384
1740
|
},
|
|
1385
1741
|
{
|
|
1386
1742
|
code: "unknown_status",
|
|
1387
1743
|
meaning: "Unknown status condition.",
|
|
1388
1744
|
stability: "stable",
|
|
1389
1745
|
exit_code: 3,
|
|
1746
|
+
class: "not_found",
|
|
1390
1747
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1391
1748
|
sources: ["sdk/schema.ts"],
|
|
1749
|
+
emitting_commands: ["*"],
|
|
1392
1750
|
},
|
|
1393
1751
|
{
|
|
1394
1752
|
code: "unknown_subcommand",
|
|
1395
1753
|
meaning: "Unknown subcommand condition.",
|
|
1396
1754
|
stability: "stable",
|
|
1397
1755
|
exit_code: 2,
|
|
1756
|
+
class: "usage",
|
|
1398
1757
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1399
1758
|
sources: [
|
|
1400
1759
|
"cli/register-mutation.ts",
|
|
@@ -1402,391 +1761,528 @@ export const PM_ERROR_CODE_CATALOG = definePmErrorCodeCatalog([
|
|
|
1402
1761
|
"sdk/runtime-extended-actions.ts",
|
|
1403
1762
|
"sdk/telemetry.ts",
|
|
1404
1763
|
],
|
|
1764
|
+
emitting_commands: ["*"],
|
|
1405
1765
|
},
|
|
1406
1766
|
{
|
|
1407
1767
|
code: "unsupported_update_option",
|
|
1408
1768
|
meaning: "Unsupported update option condition.",
|
|
1409
1769
|
stability: "stable",
|
|
1410
1770
|
exit_code: 1,
|
|
1771
|
+
class: "generic_failure",
|
|
1411
1772
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1412
1773
|
sources: ["cli/error-guidance.ts"],
|
|
1774
|
+
emitting_commands: ["*"],
|
|
1413
1775
|
},
|
|
1414
1776
|
{
|
|
1415
1777
|
code: "validate_command_references_stale_pm_ids",
|
|
1416
1778
|
meaning: "Validate command references stale pm ids condition.",
|
|
1417
1779
|
stability: "stable",
|
|
1418
1780
|
exit_code: 1,
|
|
1781
|
+
class: "generic_failure",
|
|
1419
1782
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1420
1783
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1784
|
+
emitting_commands: ["*"],
|
|
1421
1785
|
},
|
|
1422
1786
|
{
|
|
1423
1787
|
code: "validate_files_missing_linked_paths",
|
|
1424
1788
|
meaning: "Validate files missing linked paths condition.",
|
|
1425
1789
|
stability: "stable",
|
|
1426
1790
|
exit_code: 1,
|
|
1791
|
+
class: "generic_failure",
|
|
1427
1792
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1428
1793
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1794
|
+
emitting_commands: ["*"],
|
|
1429
1795
|
},
|
|
1430
1796
|
{
|
|
1431
1797
|
code: "validate_files_orphaned_paths",
|
|
1432
1798
|
meaning: "Validate files orphaned paths condition.",
|
|
1433
1799
|
stability: "stable",
|
|
1434
1800
|
exit_code: 1,
|
|
1801
|
+
class: "generic_failure",
|
|
1435
1802
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1436
1803
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1804
|
+
emitting_commands: ["*"],
|
|
1437
1805
|
},
|
|
1438
1806
|
{
|
|
1439
1807
|
code: "validate_files_tracked_all_strict_forces_pm_internals",
|
|
1440
1808
|
meaning: "Validate files tracked all strict forces pm internals condition.",
|
|
1441
1809
|
stability: "stable",
|
|
1442
1810
|
exit_code: 1,
|
|
1811
|
+
class: "generic_failure",
|
|
1443
1812
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1444
1813
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1814
|
+
emitting_commands: ["*"],
|
|
1445
1815
|
},
|
|
1446
1816
|
{
|
|
1447
1817
|
code: "validate_format_version_ahead_items",
|
|
1448
1818
|
meaning: "Validate format version ahead items condition.",
|
|
1449
1819
|
stability: "stable",
|
|
1450
1820
|
exit_code: 1,
|
|
1821
|
+
class: "generic_failure",
|
|
1451
1822
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1452
1823
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1824
|
+
emitting_commands: ["*"],
|
|
1453
1825
|
},
|
|
1454
1826
|
{
|
|
1455
1827
|
code: "validate_format_version_outdated_items",
|
|
1456
1828
|
meaning: "Validate format version outdated items condition.",
|
|
1457
1829
|
stability: "stable",
|
|
1458
1830
|
exit_code: 1,
|
|
1831
|
+
class: "generic_failure",
|
|
1459
1832
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1460
1833
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1834
|
+
emitting_commands: ["*"],
|
|
1461
1835
|
},
|
|
1462
1836
|
{
|
|
1463
1837
|
code: "validate_hierarchy_parent_cycle",
|
|
1464
1838
|
meaning: "Validate hierarchy parent cycle condition.",
|
|
1465
1839
|
stability: "stable",
|
|
1466
1840
|
exit_code: 1,
|
|
1841
|
+
class: "generic_failure",
|
|
1467
1842
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1468
1843
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1844
|
+
emitting_commands: ["*"],
|
|
1469
1845
|
},
|
|
1470
1846
|
{
|
|
1471
1847
|
code: "validate_hierarchy_parent_cycle_error",
|
|
1472
1848
|
meaning: "Validate hierarchy parent cycle error condition.",
|
|
1473
1849
|
stability: "stable",
|
|
1474
1850
|
exit_code: 1,
|
|
1851
|
+
class: "generic_failure",
|
|
1475
1852
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1476
1853
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1854
|
+
emitting_commands: ["*"],
|
|
1477
1855
|
},
|
|
1478
1856
|
{
|
|
1479
1857
|
code: "validate_history_drift_chain_mismatches",
|
|
1480
1858
|
meaning: "Validate history drift chain mismatches condition.",
|
|
1481
1859
|
stability: "stable",
|
|
1482
1860
|
exit_code: 1,
|
|
1861
|
+
class: "generic_failure",
|
|
1483
1862
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1484
1863
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1864
|
+
emitting_commands: ["*"],
|
|
1485
1865
|
},
|
|
1486
1866
|
{
|
|
1487
1867
|
code: "validate_history_drift_hash_mismatches",
|
|
1488
1868
|
meaning: "Validate history drift hash mismatches condition.",
|
|
1489
1869
|
stability: "stable",
|
|
1490
1870
|
exit_code: 1,
|
|
1871
|
+
class: "generic_failure",
|
|
1491
1872
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1492
1873
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1874
|
+
emitting_commands: ["*"],
|
|
1493
1875
|
},
|
|
1494
1876
|
{
|
|
1495
1877
|
code: "validate_history_drift_missing_streams",
|
|
1496
1878
|
meaning: "Validate history drift missing streams condition.",
|
|
1497
1879
|
stability: "stable",
|
|
1498
1880
|
exit_code: 1,
|
|
1881
|
+
class: "generic_failure",
|
|
1499
1882
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1500
1883
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1884
|
+
emitting_commands: ["*"],
|
|
1501
1885
|
},
|
|
1502
1886
|
{
|
|
1503
1887
|
code: "validate_history_drift_unreadable_streams",
|
|
1504
1888
|
meaning: "Validate history drift unreadable streams condition.",
|
|
1505
1889
|
stability: "stable",
|
|
1506
1890
|
exit_code: 1,
|
|
1891
|
+
class: "generic_failure",
|
|
1507
1892
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1508
1893
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1894
|
+
emitting_commands: ["*"],
|
|
1509
1895
|
},
|
|
1510
1896
|
{
|
|
1511
1897
|
code: "validate_history_unknown_author_events",
|
|
1512
1898
|
meaning: "Validate history unknown author events condition.",
|
|
1513
1899
|
stability: "stable",
|
|
1514
1900
|
exit_code: 2,
|
|
1901
|
+
class: "usage",
|
|
1515
1902
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1516
1903
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1904
|
+
emitting_commands: ["*"],
|
|
1517
1905
|
},
|
|
1518
1906
|
{
|
|
1519
1907
|
code: "validate_lifecycle_active_closure_like_metadata",
|
|
1520
1908
|
meaning: "Validate lifecycle active closure like metadata condition.",
|
|
1521
1909
|
stability: "stable",
|
|
1522
1910
|
exit_code: 1,
|
|
1911
|
+
class: "generic_failure",
|
|
1523
1912
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1524
1913
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1914
|
+
emitting_commands: ["*"],
|
|
1525
1915
|
},
|
|
1526
1916
|
{
|
|
1527
1917
|
code: "validate_lifecycle_active_terminal_parent",
|
|
1528
1918
|
meaning: "Validate lifecycle active terminal parent condition.",
|
|
1529
1919
|
stability: "stable",
|
|
1530
1920
|
exit_code: 1,
|
|
1921
|
+
class: "generic_failure",
|
|
1531
1922
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1532
1923
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1924
|
+
emitting_commands: ["*"],
|
|
1533
1925
|
},
|
|
1534
1926
|
{
|
|
1535
1927
|
code: "validate_lifecycle_dependency_cycles",
|
|
1536
1928
|
meaning: "Validate lifecycle dependency cycles condition.",
|
|
1537
1929
|
stability: "stable",
|
|
1538
1930
|
exit_code: 1,
|
|
1931
|
+
class: "generic_failure",
|
|
1539
1932
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1540
1933
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1934
|
+
emitting_commands: ["*"],
|
|
1541
1935
|
},
|
|
1542
1936
|
{
|
|
1543
1937
|
code: "validate_lifecycle_dependency_cycles_error",
|
|
1544
1938
|
meaning: "Validate lifecycle dependency cycles error condition.",
|
|
1545
1939
|
stability: "stable",
|
|
1546
1940
|
exit_code: 1,
|
|
1941
|
+
class: "generic_failure",
|
|
1547
1942
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1548
1943
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1944
|
+
emitting_commands: ["*"],
|
|
1549
1945
|
},
|
|
1550
1946
|
{
|
|
1551
1947
|
code: "validate_lifecycle_stale_blockers",
|
|
1552
1948
|
meaning: "Validate lifecycle stale blockers condition.",
|
|
1553
1949
|
stability: "stable",
|
|
1554
1950
|
exit_code: 1,
|
|
1951
|
+
class: "generic_failure",
|
|
1555
1952
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1556
1953
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1954
|
+
emitting_commands: ["*"],
|
|
1557
1955
|
},
|
|
1558
1956
|
{
|
|
1559
1957
|
code: "validate_merge_fence_drift",
|
|
1560
1958
|
meaning: "Validate merge fence drift condition.",
|
|
1561
1959
|
stability: "stable",
|
|
1562
1960
|
exit_code: 1,
|
|
1961
|
+
class: "generic_failure",
|
|
1563
1962
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1564
1963
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1964
|
+
emitting_commands: ["*"],
|
|
1565
1965
|
},
|
|
1566
1966
|
{
|
|
1567
1967
|
code: "validate_metadata_custom_profile_missing_required_fields",
|
|
1568
1968
|
meaning: "Validate metadata custom profile missing required fields condition.",
|
|
1569
1969
|
stability: "stable",
|
|
1570
1970
|
exit_code: 2,
|
|
1971
|
+
class: "usage",
|
|
1571
1972
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1572
1973
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1974
|
+
emitting_commands: ["*"],
|
|
1573
1975
|
},
|
|
1574
1976
|
{
|
|
1575
1977
|
code: "validate_metadata_duplicate_issue_codes",
|
|
1576
1978
|
meaning: "Validate metadata duplicate issue codes condition.",
|
|
1577
1979
|
stability: "stable",
|
|
1578
1980
|
exit_code: 1,
|
|
1981
|
+
class: "generic_failure",
|
|
1579
1982
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1580
1983
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1984
|
+
emitting_commands: ["*"],
|
|
1581
1985
|
},
|
|
1582
1986
|
{
|
|
1583
1987
|
code: "validate_metadata_missing_acceptance_criteria",
|
|
1584
1988
|
meaning: "Validate metadata missing acceptance criteria condition.",
|
|
1585
1989
|
stability: "stable",
|
|
1586
1990
|
exit_code: 1,
|
|
1991
|
+
class: "generic_failure",
|
|
1587
1992
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1588
1993
|
sources: ["core/diagnostics/remediation.ts"],
|
|
1994
|
+
emitting_commands: ["*"],
|
|
1589
1995
|
},
|
|
1590
1996
|
{
|
|
1591
1997
|
code: "validate_metadata_missing_close_reason",
|
|
1592
1998
|
meaning: "Validate metadata missing close reason condition.",
|
|
1593
1999
|
stability: "stable",
|
|
1594
2000
|
exit_code: 1,
|
|
2001
|
+
class: "generic_failure",
|
|
1595
2002
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1596
2003
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2004
|
+
emitting_commands: ["*"],
|
|
1597
2005
|
},
|
|
1598
2006
|
{
|
|
1599
2007
|
code: "validate_metadata_missing_confidence",
|
|
1600
2008
|
meaning: "Validate metadata missing confidence condition.",
|
|
1601
2009
|
stability: "stable",
|
|
1602
2010
|
exit_code: 1,
|
|
2011
|
+
class: "generic_failure",
|
|
1603
2012
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1604
2013
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2014
|
+
emitting_commands: ["*"],
|
|
1605
2015
|
},
|
|
1606
2016
|
{
|
|
1607
2017
|
code: "validate_metadata_missing_estimate",
|
|
1608
2018
|
meaning: "Validate metadata missing estimate condition.",
|
|
1609
2019
|
stability: "stable",
|
|
1610
2020
|
exit_code: 1,
|
|
2021
|
+
class: "generic_failure",
|
|
1611
2022
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1612
2023
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2024
|
+
emitting_commands: ["*"],
|
|
1613
2025
|
},
|
|
1614
2026
|
{
|
|
1615
2027
|
code: "validate_metadata_missing_release",
|
|
1616
2028
|
meaning: "Validate metadata missing release condition.",
|
|
1617
2029
|
stability: "stable",
|
|
1618
2030
|
exit_code: 1,
|
|
2031
|
+
class: "generic_failure",
|
|
1619
2032
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1620
2033
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2034
|
+
emitting_commands: ["*"],
|
|
1621
2035
|
},
|
|
1622
2036
|
{
|
|
1623
2037
|
code: "validate_metadata_missing_reviewer",
|
|
1624
2038
|
meaning: "Validate metadata missing reviewer condition.",
|
|
1625
2039
|
stability: "stable",
|
|
1626
2040
|
exit_code: 1,
|
|
2041
|
+
class: "generic_failure",
|
|
1627
2042
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1628
2043
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2044
|
+
emitting_commands: ["*"],
|
|
1629
2045
|
},
|
|
1630
2046
|
{
|
|
1631
2047
|
code: "validate_metadata_missing_risk",
|
|
1632
2048
|
meaning: "Validate metadata missing risk condition.",
|
|
1633
2049
|
stability: "stable",
|
|
1634
2050
|
exit_code: 1,
|
|
2051
|
+
class: "generic_failure",
|
|
1635
2052
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1636
2053
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2054
|
+
emitting_commands: ["*"],
|
|
1637
2055
|
},
|
|
1638
2056
|
{
|
|
1639
2057
|
code: "validate_metadata_missing_sprint",
|
|
1640
2058
|
meaning: "Validate metadata missing sprint condition.",
|
|
1641
2059
|
stability: "stable",
|
|
1642
2060
|
exit_code: 1,
|
|
2061
|
+
class: "generic_failure",
|
|
1643
2062
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1644
2063
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2064
|
+
emitting_commands: ["*"],
|
|
1645
2065
|
},
|
|
1646
2066
|
{
|
|
1647
2067
|
code: "validate_resolution_missing_fields",
|
|
1648
2068
|
meaning: "Validate resolution missing fields condition.",
|
|
1649
2069
|
stability: "stable",
|
|
1650
2070
|
exit_code: 1,
|
|
2071
|
+
class: "generic_failure",
|
|
1651
2072
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1652
2073
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2074
|
+
emitting_commands: ["*"],
|
|
1653
2075
|
},
|
|
1654
2076
|
{
|
|
1655
2077
|
code: "validate_storage_duplicate_item_ids",
|
|
1656
2078
|
meaning: "Validate storage duplicate item ids condition.",
|
|
1657
2079
|
stability: "stable",
|
|
1658
2080
|
exit_code: 1,
|
|
2081
|
+
class: "generic_failure",
|
|
1659
2082
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1660
2083
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2084
|
+
emitting_commands: ["*"],
|
|
1661
2085
|
},
|
|
1662
2086
|
{
|
|
1663
2087
|
code: "validate_storage_history_conflict_markers",
|
|
1664
2088
|
meaning: "Validate storage history conflict markers condition.",
|
|
1665
2089
|
stability: "stable",
|
|
1666
2090
|
exit_code: 4,
|
|
2091
|
+
class: "conflict",
|
|
1667
2092
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1668
2093
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2094
|
+
emitting_commands: ["*"],
|
|
1669
2095
|
},
|
|
1670
2096
|
{
|
|
1671
2097
|
code: "validate_storage_resurrected_items",
|
|
1672
2098
|
meaning: "Validate storage resurrected items condition.",
|
|
1673
2099
|
stability: "stable",
|
|
1674
2100
|
exit_code: 1,
|
|
2101
|
+
class: "generic_failure",
|
|
1675
2102
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1676
2103
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2104
|
+
emitting_commands: ["*"],
|
|
1677
2105
|
},
|
|
1678
2106
|
{
|
|
1679
2107
|
code: "validate_storage_tracked_runtime_cache_files",
|
|
1680
2108
|
meaning: "Validate storage tracked runtime cache files condition.",
|
|
1681
2109
|
stability: "stable",
|
|
1682
2110
|
exit_code: 1,
|
|
2111
|
+
class: "generic_failure",
|
|
1683
2112
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1684
2113
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2114
|
+
emitting_commands: ["*"],
|
|
1685
2115
|
},
|
|
1686
2116
|
{
|
|
1687
2117
|
code: "validate_storage_unparseable_config",
|
|
1688
2118
|
meaning: "Validate storage unparseable config condition.",
|
|
1689
2119
|
stability: "stable",
|
|
1690
2120
|
exit_code: 1,
|
|
2121
|
+
class: "generic_failure",
|
|
1691
2122
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1692
2123
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2124
|
+
emitting_commands: ["*"],
|
|
1693
2125
|
},
|
|
1694
2126
|
{
|
|
1695
2127
|
code: "validate_storage_unparseable_history",
|
|
1696
2128
|
meaning: "Validate storage unparseable history condition.",
|
|
1697
2129
|
stability: "stable",
|
|
1698
2130
|
exit_code: 1,
|
|
2131
|
+
class: "generic_failure",
|
|
1699
2132
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1700
2133
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2134
|
+
emitting_commands: ["*"],
|
|
1701
2135
|
},
|
|
1702
2136
|
{
|
|
1703
2137
|
code: "validate_storage_unreadable_items",
|
|
1704
2138
|
meaning: "Validate storage unreadable items condition.",
|
|
1705
2139
|
stability: "stable",
|
|
1706
2140
|
exit_code: 1,
|
|
2141
|
+
class: "generic_failure",
|
|
1707
2142
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1708
2143
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2144
|
+
emitting_commands: ["*"],
|
|
1709
2145
|
},
|
|
1710
2146
|
{
|
|
1711
2147
|
code: "vectorization_embedding_identity_changed",
|
|
1712
2148
|
meaning: "Vectorization embedding identity changed condition.",
|
|
1713
2149
|
stability: "stable",
|
|
1714
2150
|
exit_code: 1,
|
|
2151
|
+
class: "generic_failure",
|
|
1715
2152
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1716
2153
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2154
|
+
emitting_commands: ["*"],
|
|
1717
2155
|
},
|
|
1718
2156
|
{
|
|
1719
2157
|
code: "vectorization_stale_items_remaining",
|
|
1720
2158
|
meaning: "Vectorization stale items remaining condition.",
|
|
1721
2159
|
stability: "stable",
|
|
1722
2160
|
exit_code: 1,
|
|
2161
|
+
class: "generic_failure",
|
|
1723
2162
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1724
2163
|
sources: ["core/diagnostics/remediation.ts"],
|
|
2164
|
+
emitting_commands: ["*"],
|
|
1725
2165
|
},
|
|
1726
2166
|
{
|
|
1727
2167
|
code: "workflow_duplicate_type",
|
|
1728
2168
|
meaning: "Workflow duplicate type condition.",
|
|
1729
2169
|
stability: "stable",
|
|
1730
2170
|
exit_code: 1,
|
|
2171
|
+
class: "generic_failure",
|
|
1731
2172
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1732
2173
|
sources: ["core/profile/profile-lint.ts"],
|
|
2174
|
+
emitting_commands: ["*"],
|
|
1733
2175
|
},
|
|
1734
2176
|
{
|
|
1735
2177
|
code: "workflow_status_unknown",
|
|
1736
2178
|
meaning: "Workflow status unknown condition.",
|
|
1737
2179
|
stability: "stable",
|
|
1738
2180
|
exit_code: 2,
|
|
2181
|
+
class: "usage",
|
|
1739
2182
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1740
2183
|
sources: ["core/profile/profile-lint.ts"],
|
|
2184
|
+
emitting_commands: ["*"],
|
|
1741
2185
|
},
|
|
1742
2186
|
{
|
|
1743
2187
|
code: "workflow_transition_malformed",
|
|
1744
2188
|
meaning: "Workflow transition malformed condition.",
|
|
1745
2189
|
stability: "stable",
|
|
1746
2190
|
exit_code: 1,
|
|
2191
|
+
class: "generic_failure",
|
|
1747
2192
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1748
2193
|
sources: ["core/profile/profile-lint.ts"],
|
|
2194
|
+
emitting_commands: ["*"],
|
|
1749
2195
|
},
|
|
1750
2196
|
{
|
|
1751
2197
|
code: "workflow_type_empty",
|
|
1752
2198
|
meaning: "Workflow type empty condition.",
|
|
1753
2199
|
stability: "stable",
|
|
1754
2200
|
exit_code: 1,
|
|
2201
|
+
class: "generic_failure",
|
|
1755
2202
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1756
2203
|
sources: ["core/profile/profile-lint.ts"],
|
|
2204
|
+
emitting_commands: ["*"],
|
|
1757
2205
|
},
|
|
1758
2206
|
{
|
|
1759
2207
|
code: "workflow_type_unknown",
|
|
1760
2208
|
meaning: "Workflow type unknown condition.",
|
|
1761
2209
|
stability: "stable",
|
|
1762
2210
|
exit_code: 2,
|
|
2211
|
+
class: "usage",
|
|
1763
2212
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1764
2213
|
sources: ["core/profile/profile-lint.ts"],
|
|
2214
|
+
emitting_commands: ["*"],
|
|
1765
2215
|
},
|
|
1766
2216
|
{
|
|
1767
2217
|
code: "workspace_history_state_conflict",
|
|
1768
2218
|
meaning: "Workspace history state conflict condition.",
|
|
1769
2219
|
stability: "stable",
|
|
1770
2220
|
exit_code: 4,
|
|
2221
|
+
class: "conflict",
|
|
1771
2222
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1772
2223
|
sources: ["core/history/workspace-history.ts"],
|
|
2224
|
+
emitting_commands: ["*"],
|
|
1773
2225
|
},
|
|
1774
2226
|
{
|
|
1775
2227
|
code: "workspace_root_pm_path",
|
|
1776
2228
|
meaning: "Workspace root pm path condition.",
|
|
1777
2229
|
stability: "stable",
|
|
1778
2230
|
exit_code: 2,
|
|
2231
|
+
class: "usage",
|
|
1779
2232
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1780
2233
|
sources: ["sdk/init.ts"],
|
|
2234
|
+
emitting_commands: ["*"],
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
code: "workspace_snapshot_force_required",
|
|
2238
|
+
meaning: "Workspace snapshot force required condition.",
|
|
2239
|
+
stability: "provisional",
|
|
2240
|
+
exit_code: 2,
|
|
2241
|
+
class: "usage",
|
|
2242
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
2243
|
+
sources: ["sdk/workspace-snapshot.ts"],
|
|
2244
|
+
emitting_commands: ["*"],
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
code: "workspace_snapshot_manifest_mismatch",
|
|
2248
|
+
meaning: "Workspace snapshot manifest mismatch condition.",
|
|
2249
|
+
stability: "provisional",
|
|
2250
|
+
exit_code: 4,
|
|
2251
|
+
class: "conflict",
|
|
2252
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
2253
|
+
sources: ["sdk/workspace-snapshot.ts"],
|
|
2254
|
+
emitting_commands: ["*"],
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
code: "workspace_snapshot_name_reserved_fingerprint",
|
|
2258
|
+
meaning: "Workspace snapshot name reserved fingerprint condition.",
|
|
2259
|
+
stability: "provisional",
|
|
2260
|
+
exit_code: 2,
|
|
2261
|
+
class: "usage",
|
|
2262
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
2263
|
+
sources: ["sdk/workspace-snapshot.ts"],
|
|
2264
|
+
emitting_commands: ["*"],
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
code: "workspace_snapshot_not_found",
|
|
2268
|
+
meaning: "Workspace snapshot not found condition.",
|
|
2269
|
+
stability: "provisional",
|
|
2270
|
+
exit_code: 3,
|
|
2271
|
+
class: "not_found",
|
|
2272
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
2273
|
+
sources: ["sdk/workspace-snapshot.ts"],
|
|
2274
|
+
emitting_commands: ["*"],
|
|
1781
2275
|
},
|
|
1782
2276
|
{
|
|
1783
2277
|
code: "wrong_item_type",
|
|
1784
2278
|
meaning: "Wrong item type condition.",
|
|
1785
2279
|
stability: "stable",
|
|
1786
2280
|
exit_code: 2,
|
|
2281
|
+
class: "usage",
|
|
1787
2282
|
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1788
2283
|
sources: ["sdk/lifecycle/plan.ts"],
|
|
2284
|
+
emitting_commands: ["plan"],
|
|
1789
2285
|
},
|
|
1790
2286
|
]);
|
|
1791
2287
|
//# sourceMappingURL=generated-error-code-catalog.js.map
|
|
1792
|
-
//# debugId=
|
|
2288
|
+
//# debugId=7a568064-a103-5b19-969d-6e58fc0cc5b7
|