@skillcap/gdh 0.26.9 → 1.0.0
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/INSTALL-BUNDLE.json +1 -1
- package/README.md +1 -1
- package/RELEASE-SPAN-UPDATE-CONTRACTS.json +126 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.d.ts +16 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.js +40 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.js.map +1 -0
- package/node_modules/@gdh/adapters/dist/index.d.ts +2 -26
- package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/index.js +120 -432
- package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts +2 -9
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.js +20 -49
- package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
- package/node_modules/@gdh/adapters/package.json +8 -8
- package/node_modules/@gdh/authoring/package.json +2 -2
- package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/index.js +10 -18
- package/node_modules/@gdh/cli/dist/index.js.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.js +1 -4
- package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
- package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/setup.js +6 -12
- package/node_modules/@gdh/cli/dist/setup.js.map +1 -1
- package/node_modules/@gdh/cli/package.json +10 -10
- package/node_modules/@gdh/core/dist/index.d.ts +8 -5
- package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/index.js +5 -6
- package/node_modules/@gdh/core/dist/index.js.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts +15 -51
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js +9 -64
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts +6 -17
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js +6 -22
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js.map +1 -1
- package/node_modules/@gdh/core/package.json +1 -1
- package/node_modules/@gdh/docs/dist/recovery-hints.d.ts +18 -4
- package/node_modules/@gdh/docs/dist/recovery-hints.d.ts.map +1 -1
- package/node_modules/@gdh/docs/dist/recovery-hints.js +32 -34
- package/node_modules/@gdh/docs/dist/recovery-hints.js.map +1 -1
- package/node_modules/@gdh/docs/package.json +2 -2
- package/node_modules/@gdh/mcp/package.json +8 -8
- package/node_modules/@gdh/observability/package.json +2 -2
- package/node_modules/@gdh/runtime/package.json +2 -2
- package/node_modules/@gdh/scan/dist/onboard.js +2 -2
- package/node_modules/@gdh/scan/dist/onboard.js.map +1 -1
- package/node_modules/@gdh/scan/package.json +3 -3
- package/node_modules/@gdh/verify/package.json +7 -7
- package/package.json +11 -11
|
@@ -148,72 +148,11 @@ export const GDH_MANAGED_SURFACE_CLASSES = [
|
|
|
148
148
|
class: "deterministic",
|
|
149
149
|
notes: "Generated agent skill rendered by renderGdhSkill('codex', 'warmup', version). Per-target path: .agents/skills/gdh-warmup/SKILL.md (Phase 82 / LSP-07).",
|
|
150
150
|
},
|
|
151
|
-
{
|
|
152
|
-
surfaceId: "skill.cursor.onboard",
|
|
153
|
-
relativePath: null,
|
|
154
|
-
class: "deterministic",
|
|
155
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'onboard', version). Per-target path: .cursor/commands/gdh-onboard.md; legacy .cursor/skills path is cleanup-only.",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
surfaceId: "skill.cursor.status",
|
|
159
|
-
relativePath: null,
|
|
160
|
-
class: "deterministic",
|
|
161
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'status', version). Per-target path: .cursor/commands/gdh-status.md; legacy .cursor/skills path is cleanup-only.",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
surfaceId: "skill.cursor.scan",
|
|
165
|
-
relativePath: null,
|
|
166
|
-
class: "deterministic",
|
|
167
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'scan', version). Per-target path: .cursor/commands/gdh-scan.md; legacy .cursor/skills path is cleanup-only.",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
surfaceId: "skill.cursor.migrate",
|
|
171
|
-
relativePath: null,
|
|
172
|
-
class: "deterministic",
|
|
173
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'migrate', version). Per-target path: .cursor/commands/gdh-migrate.md; legacy .cursor/skills path is cleanup-only.",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
surfaceId: "skill.cursor.update",
|
|
177
|
-
relativePath: null,
|
|
178
|
-
class: "deterministic",
|
|
179
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'update', version). Per-target path: .cursor/commands/gdh-update.md; legacy .cursor/skills path is cleanup-only.",
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
surfaceId: "skill.cursor.check",
|
|
183
|
-
relativePath: null,
|
|
184
|
-
class: "deterministic",
|
|
185
|
-
notes: "Retired generated validation skill. Legacy managed path .cursor/skills/gdh-check/SKILL.md is cleanup-only; validation now uses MCP/CLI status and explicit gdh authoring check commands.",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
surfaceId: "skill.cursor.prepare",
|
|
189
|
-
relativePath: null,
|
|
190
|
-
class: "deterministic",
|
|
191
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'prepare', version). Per-target path: .cursor/commands/gdh-prepare.md; legacy .cursor/skills path is cleanup-only.",
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
surfaceId: "skill.cursor.run-game",
|
|
195
|
-
relativePath: null,
|
|
196
|
-
class: "deterministic",
|
|
197
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'run-game', version). Per-target path: .cursor/commands/gdh-run-game.md; legacy .cursor/skills path is cleanup-only.",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
surfaceId: "skill.cursor.warmup",
|
|
201
|
-
relativePath: null,
|
|
202
|
-
class: "deterministic",
|
|
203
|
-
notes: "Generated Cursor command rendered by renderGdhSkill('cursor', 'warmup', version). Per-target path: .cursor/commands/gdh-warmup.md; legacy .cursor/skills path is cleanup-only (Phase 82 / LSP-07).",
|
|
204
|
-
},
|
|
205
151
|
// ---------------------------------------------------------------
|
|
206
|
-
// Non-skill renderers in packages/adapters/src/index.ts
|
|
207
|
-
//
|
|
208
|
-
//
|
|
209
|
-
// EXCLUDED per D-23.
|
|
152
|
+
// Non-skill renderers in packages/adapters/src/index.ts. All
|
|
153
|
+
// deterministic per D-20/D-21/D-22. NOTE: renderLocalPathHints writes to
|
|
154
|
+
// .gdh-state/local-paths.json and is intentionally EXCLUDED per D-23.
|
|
210
155
|
// ---------------------------------------------------------------
|
|
211
|
-
{
|
|
212
|
-
surfaceId: "cursor_rule",
|
|
213
|
-
relativePath: ".cursor/rules/gdh-agent.mdc",
|
|
214
|
-
class: "deterministic",
|
|
215
|
-
notes: "Cursor rule file rendered by renderCursorRule() in packages/adapters/src/index.ts (line 555). Path constant CURSOR_RULE_RELATIVE_PATH (line 171) defines the workspace-relative location.",
|
|
216
|
-
},
|
|
217
156
|
{
|
|
218
157
|
surfaceId: "claude_onboard_command",
|
|
219
158
|
relativePath: null,
|
|
@@ -387,6 +326,12 @@ export const GDH_MANAGED_SURFACE_CLASSES = [
|
|
|
387
326
|
* surface is registered in the manifest under the expected class. Throws
|
|
388
327
|
* loudly on drift — module init aborts before any write can happen.
|
|
389
328
|
*
|
|
329
|
+
* The `surfaceId` parameter is typed against the manifest-derived
|
|
330
|
+
* `GdhManagedSurfaceId` union so a renderer asserting a surface that no
|
|
331
|
+
* longer exists in the manifest fails at typecheck. The runtime check
|
|
332
|
+
* still catches the class mismatch case, where the ID exists but the
|
|
333
|
+
* renderer claims the wrong class.
|
|
334
|
+
*
|
|
390
335
|
* Mirrors the throw-on-violation discipline of
|
|
391
336
|
* packages/core/src/release-span-update-contract.ts (lines 60-83).
|
|
392
337
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-surface-classes.js","sourceRoot":"","sources":["../../src/migrations/managed-surface-classes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAuCH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,kEAAkE;IAClE,wFAAwF;IACxF,2DAA2D;IAC3D,uEAAuE;IACvE,qDAAqD;IACrD,qEAAqE;IACrE,8CAA8C;IAC9C,kEAAkE;IAClE;QACE,SAAS,EAAE,sBAAsB;QACjC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,uIAAuI;KAC1I;IACD;QACE,SAAS,EAAE,qBAAqB;QAChC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,qIAAqI;KACxI;IACD;QACE,SAAS,EAAE,mBAAmB;QAC9B,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,iIAAiI;KACpI;IACD;QACE,S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B;QAC9B,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,kMAAkM;KACrM;IACD;QACE,SAAS,EAAE,qBAAqB;QAChC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,sIAAsI;KACzI;IACD;QACE,SAAS,EAAE,sBAAsB;QACjC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,wIAAwI;KAC3I;IACD;QACE,SAAS,EAAE,oBAAoB;QAC/B,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,wJAAwJ;KAC3J;
|
|
1
|
+
{"version":3,"file":"managed-surface-classes.js","sourceRoot":"","sources":["../../src/migrations/managed-surface-classes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAuCH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,kEAAkE;IAClE,wFAAwF;IACxF,2DAA2D;IAC3D,uEAAuE;IACvE,qDAAqD;IACrD,qEAAqE;IACrE,8CAA8C;IAC9C,kEAAkE;IAClE;QACE,SAAS,EAAE,sBAAsB;QACjC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,uIAAuI;KAC1I;IACD;QACE,SAAS,EAAE,qBAAqB;QAChC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,qIAAqI;KACxI;IACD;QACE,SAAS,EAAE,mBAAmB;QAC9B,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,iIAAiI;KACpI;IACD;QACE,SAAS,EAAE,sBAAsB;QACjC,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,eAAe;QACtB,KAAK,EACH,uIAAuI;KAC1I;IACD;QACE,SAAS,EAAE,qBAAqB;QAChC,YAAY,EAAE,IAAI;QAClB,KAA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a,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CACb,oBAAoB,SAAS,uBAAuB,KAAK,CAAC,KAAK,iCAAiC,aAAa,IAAI,CAClH,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type GdhManagedTargetSurfaceOwner = "gdh" | "project" | "agent_vendor" | "mixed";
|
|
2
|
-
export type GdhManagedTargetSurfaceDiscoveryRequirement = "root_agent_instruction" | "provider_skill" | "provider_command" | "provider_command_legacy" | "provider_mcp_config" | "provider_hook_config" | "
|
|
2
|
+
export type GdhManagedTargetSurfaceDiscoveryRequirement = "root_agent_instruction" | "provider_skill" | "provider_command" | "provider_command_legacy" | "provider_mcp_config" | "provider_hook_config" | "durable_gdh_truth" | "project_native";
|
|
3
3
|
export type GdhManagedTargetSurfaceFinalDisposition = "keep_discoverability_shim" | "move_under_gdh" | "move_into_skill" | "replace_with_hook_mcp_or_cli_behavior" | "delete" | "keep_project_native";
|
|
4
4
|
export type GdhManagedTargetSurfaceFollowUpPhase = "77" | "78" | "79" | null;
|
|
5
5
|
export interface GdhManagedTargetSurfaceInventoryEntry {
|
|
@@ -19,24 +19,13 @@ export declare const GDH_MANAGED_TARGET_SURFACE_INVENTORY: readonly [...{
|
|
|
19
19
|
purpose: string;
|
|
20
20
|
owner: "gdh";
|
|
21
21
|
targetLocations: string[];
|
|
22
|
-
discoveryRequirement: "
|
|
22
|
+
discoveryRequirement: "provider_skill";
|
|
23
23
|
migrationBehavior: string;
|
|
24
24
|
staleBehavior: string;
|
|
25
|
-
finalDisposition: "
|
|
25
|
+
finalDisposition: "move_into_skill" | "replace_with_hook_mcp_or_cli_behavior";
|
|
26
26
|
dispositionRationale: string;
|
|
27
27
|
followUpPhase: "78" | null;
|
|
28
28
|
}[], {
|
|
29
|
-
readonly surfaceId: "cursor_rule";
|
|
30
|
-
readonly purpose: "Minimal Cursor rule that routes GDH work to installed GDH commands and target-local surfaces.";
|
|
31
|
-
readonly owner: "gdh";
|
|
32
|
-
readonly targetLocations: readonly [".cursor/rules/gdh-agent.mdc"];
|
|
33
|
-
readonly discoveryRequirement: "provider_rule";
|
|
34
|
-
readonly migrationBehavior: "Deterministically re-render when adapter surfaces are installed or repaired.";
|
|
35
|
-
readonly staleBehavior: "Replace marker-owned drift; keep user-authored Cursor rules outside the managed file untouched.";
|
|
36
|
-
readonly finalDisposition: "keep_discoverability_shim";
|
|
37
|
-
readonly dispositionRationale: "Cursor rules are a provider-native discovery hook. They should stay thin and point to commands instead of duplicating guidance.";
|
|
38
|
-
readonly followUpPhase: "78";
|
|
39
|
-
}, {
|
|
40
29
|
readonly surfaceId: "claude_onboard_command";
|
|
41
30
|
readonly purpose: "Legacy Claude command compatibility for the onboard workflow.";
|
|
42
31
|
readonly owner: "gdh";
|
|
@@ -126,14 +115,14 @@ export declare const GDH_MANAGED_TARGET_SURFACE_INVENTORY: readonly [...{
|
|
|
126
115
|
readonly followUpPhase: "78";
|
|
127
116
|
}, {
|
|
128
117
|
readonly surfaceId: "mcp_config_entry";
|
|
129
|
-
readonly purpose: "Managed GDH MCP server entry inside Claude
|
|
118
|
+
readonly purpose: "Managed GDH MCP server entry inside Claude project MCP files.";
|
|
130
119
|
readonly owner: "mixed";
|
|
131
|
-
readonly targetLocations: readonly [".mcp.json#mcpServers.gdh"
|
|
120
|
+
readonly targetLocations: readonly [".mcp.json#mcpServers.gdh"];
|
|
132
121
|
readonly discoveryRequirement: "provider_mcp_config";
|
|
133
122
|
readonly migrationBehavior: "Patch only the GDH-owned MCP entry; leave surrounding project/user MCP config as project-native data.";
|
|
134
123
|
readonly staleBehavior: "Replace only the managed server entry when pin or invocation drifts.";
|
|
135
124
|
readonly finalDisposition: "keep_discoverability_shim";
|
|
136
|
-
readonly dispositionRationale: "Claude
|
|
125
|
+
readonly dispositionRationale: "Claude requires provider-visible MCP config. GDH should own the smallest possible entry, not the whole file.";
|
|
137
126
|
readonly followUpPhase: "79";
|
|
138
127
|
}, {
|
|
139
128
|
readonly surfaceId: "codex_project_mcp_section";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-target-surface-inventory.d.ts","sourceRoot":"","sources":["../../src/migrations/managed-target-surface-inventory.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,4BAA4B,GAAG,KAAK,GAAG,SAAS,GAAG,cAAc,GAAG,OAAO,CAAC;AAExF,MAAM,MAAM,2CAA2C,GACnD,wBAAwB,GACxB,gBAAgB,GAChB,kBAAkB,GAClB,yBAAyB,GACzB,qBAAqB,GACrB,sBAAsB,GACtB,
|
|
1
|
+
{"version":3,"file":"managed-target-surface-inventory.d.ts","sourceRoot":"","sources":["../../src/migrations/managed-target-surface-inventory.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,4BAA4B,GAAG,KAAK,GAAG,SAAS,GAAG,cAAc,GAAG,OAAO,CAAC;AAExF,MAAM,MAAM,2CAA2C,GACnD,wBAAwB,GACxB,gBAAgB,GAChB,kBAAkB,GAClB,yBAAyB,GACzB,qBAAqB,GACrB,sBAAsB,GACtB,mBAAmB,GACnB,gBAAgB,CAAC;AAErB,MAAM,MAAM,uCAAuC,GAC/C,2BAA2B,GAC3B,gBAAgB,GAChB,iBAAiB,GACjB,uCAAuC,GACvC,QAAQ,GACR,qBAAqB,CAAC;AAE1B,MAAM,MAAM,oCAAoC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7E,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,4BAA4B,CAAC;IAC7C,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,oBAAoB,EAAE,2CAA2C,CAAC;IAC3E,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,uCAAuC,CAAC;IACnE,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,aAAa,EAAE,oCAAoC,CAAC;CAC9D;AAsYD,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGoB,CAAC;AAEtE,wBAAgB,2CAA2C,IAAI,IAAI,CA0BlE"}
|
|
@@ -24,21 +24,17 @@ const GDH_SKILL_PURPOSES = {
|
|
|
24
24
|
const AGENT_SKILL_LOCATIONS = {
|
|
25
25
|
claude: ".claude/skills",
|
|
26
26
|
codex: ".agents/skills",
|
|
27
|
-
cursor: ".cursor/commands",
|
|
28
27
|
};
|
|
29
28
|
const AGENT_SKILL_DISCOVERY_NOTES = {
|
|
30
29
|
claude: "Claude Code loads project skills from the provider-native .claude/skills surface.",
|
|
31
30
|
codex: "Codex consumes shared project skills from .agents/skills; legacy .codex/skills files are cleanup-only.",
|
|
32
|
-
cursor: "Cursor consumes reusable project slash workflows from the provider-native .cursor/commands surface; legacy .cursor/skills files are cleanup-only.",
|
|
33
31
|
};
|
|
34
32
|
const skillEntries = Object.entries(AGENT_SKILL_LOCATIONS).flatMap(([agent, basePath]) => GDH_SKILL_IDS.map((skillId) => ({
|
|
35
33
|
surfaceId: `skill.${agent}.${skillId}`,
|
|
36
|
-
purpose: `${agent} ${GDH_SKILL_PURPOSES[skillId]}
|
|
34
|
+
purpose: `${agent} ${GDH_SKILL_PURPOSES[skillId]} skill wrapper around GDH CLI/MCP behavior.`,
|
|
37
35
|
owner: "gdh",
|
|
38
|
-
targetLocations:
|
|
39
|
-
|
|
40
|
-
: [`${basePath}/gdh-${skillId}/SKILL.md`],
|
|
41
|
-
discoveryRequirement: agent === "cursor" ? "provider_command" : "provider_skill",
|
|
36
|
+
targetLocations: [`${basePath}/gdh-${skillId}/SKILL.md`],
|
|
37
|
+
discoveryRequirement: "provider_skill",
|
|
42
38
|
migrationBehavior: "Deterministically re-render from the current GDH version during setup, migrate, repair, and self-update.",
|
|
43
39
|
staleBehavior: "Treat version or marker drift as stale; replace the managed skill and remove known legacy duplicates where the adapter installer owns them.",
|
|
44
40
|
finalDisposition: skillId === "check" ? "replace_with_hook_mcp_or_cli_behavior" : "move_into_skill",
|
|
@@ -48,18 +44,6 @@ const skillEntries = Object.entries(AGENT_SKILL_LOCATIONS).flatMap(([agent, base
|
|
|
48
44
|
followUpPhase: skillId === "check" ? null : "78",
|
|
49
45
|
})));
|
|
50
46
|
const staticEntries = [
|
|
51
|
-
{
|
|
52
|
-
surfaceId: "cursor_rule",
|
|
53
|
-
purpose: "Minimal Cursor rule that routes GDH work to installed GDH commands and target-local surfaces.",
|
|
54
|
-
owner: "gdh",
|
|
55
|
-
targetLocations: [".cursor/rules/gdh-agent.mdc"],
|
|
56
|
-
discoveryRequirement: "provider_rule",
|
|
57
|
-
migrationBehavior: "Deterministically re-render when adapter surfaces are installed or repaired.",
|
|
58
|
-
staleBehavior: "Replace marker-owned drift; keep user-authored Cursor rules outside the managed file untouched.",
|
|
59
|
-
finalDisposition: "keep_discoverability_shim",
|
|
60
|
-
dispositionRationale: "Cursor rules are a provider-native discovery hook. They should stay thin and point to commands instead of duplicating guidance.",
|
|
61
|
-
followUpPhase: "78",
|
|
62
|
-
},
|
|
63
47
|
{
|
|
64
48
|
surfaceId: "claude_onboard_command",
|
|
65
49
|
purpose: "Legacy Claude command compatibility for the onboard workflow.",
|
|
@@ -158,14 +142,14 @@ const staticEntries = [
|
|
|
158
142
|
},
|
|
159
143
|
{
|
|
160
144
|
surfaceId: "mcp_config_entry",
|
|
161
|
-
purpose: "Managed GDH MCP server entry inside Claude
|
|
145
|
+
purpose: "Managed GDH MCP server entry inside Claude project MCP files.",
|
|
162
146
|
owner: "mixed",
|
|
163
|
-
targetLocations: [".mcp.json#mcpServers.gdh"
|
|
147
|
+
targetLocations: [".mcp.json#mcpServers.gdh"],
|
|
164
148
|
discoveryRequirement: "provider_mcp_config",
|
|
165
149
|
migrationBehavior: "Patch only the GDH-owned MCP entry; leave surrounding project/user MCP config as project-native data.",
|
|
166
150
|
staleBehavior: "Replace only the managed server entry when pin or invocation drifts.",
|
|
167
151
|
finalDisposition: "keep_discoverability_shim",
|
|
168
|
-
dispositionRationale: "Claude
|
|
152
|
+
dispositionRationale: "Claude requires provider-visible MCP config. GDH should own the smallest possible entry, not the whole file.",
|
|
169
153
|
followUpPhase: "79",
|
|
170
154
|
},
|
|
171
155
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-target-surface-inventory.js","sourceRoot":"","sources":["../../src/migrations/managed-target-surface-inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"managed-target-surface-inventory.js","sourceRoot":"","sources":["../../src/migrations/managed-target-surface-inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAqC3E,MAAM,aAAa,GAAG;IACpB,SAAS;IACT,QAAQ;IACR,MAAM;IACN,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,UAAU;IACV,QAAQ;CACA,CAAC;AAEX,MAAM,kBAAkB,GAAG;IACzB,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,+CAA+C;IACvD,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,sCAAsC;IAC/C,MAAM,EAAE,wBAAwB;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MAAM,UAAU,GAAG,IAAI,GAAG,CAAS,QAAQ,CAAC,CAAC;IAC7C,MAAM,cAAc,GAAG,IAAI,GAAG,CAAS,YAAY,CAAC,CAAC;IACrD,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IACjE,MAAM,KAAK,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAE/D,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC3C,MAAM,IAAI,KAAK,CACb;YACE,kFAAkF;YAClF,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;YAC5D,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;SACvD;aACE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC;aAC/B,IAAI,CAAC,GAAG,CAAC,CACb,CAAC;IACJ,CAAC;AACH,CAAC;AAED,2CAA2C,EAAE,CAAC"}
|
|
@@ -5,11 +5,19 @@
|
|
|
5
5
|
* This module is the UX-05 foundation for Phase 17. It is consumed by:
|
|
6
6
|
* - `buildGdhStatusResult` in `@gdh/adapters` (emits `recoveryHints[]`
|
|
7
7
|
* in the `gdh status` JSON payload via `resolveRecoveryHints(...)`).
|
|
8
|
-
* - The `/gdh-status` and `/gdh-
|
|
8
|
+
* - The `/gdh-status` and `/gdh-update` skill renderers (narrate the
|
|
9
9
|
* `recoveryHints[]` JSON field symbolically — they do NOT bake the
|
|
10
10
|
* `command` strings as shell literals; the renderer uses pinned
|
|
11
11
|
* `npx -y @skillcap/gdh@${pinnedVersion} <verb>` instead).
|
|
12
12
|
*
|
|
13
|
+
* Routing model: the agent reads `recoveryHints[]` and acts on the entry
|
|
14
|
+
* itself — there is no human-facing slash command for migration-class
|
|
15
|
+
* recoveries. When `skillName` is set, the agent invokes that skill
|
|
16
|
+
* (which owns any required user approval gates). When `skillName` is
|
|
17
|
+
* null, either the recovery is a deterministic CLI action the agent can
|
|
18
|
+
* execute directly via `command`, or it is a manual editor step the
|
|
19
|
+
* agent cannot perform on the user's behalf (the `summary` disambiguates).
|
|
20
|
+
*
|
|
13
21
|
* Package boundary: this module is pure presentation/lookup. It must NOT
|
|
14
22
|
* import from `@gdh/core`, `@gdh/adapters`, or any other internal package
|
|
15
23
|
* (see `packages/docs/src/index.ts` `docsPackage` boundary declaration).
|
|
@@ -17,11 +25,17 @@
|
|
|
17
25
|
export interface RecoveryHint {
|
|
18
26
|
/** The reason literal that matched (either a known static literal or a dynamic prefixed one). */
|
|
19
27
|
readonly reason: string;
|
|
20
|
-
/**
|
|
28
|
+
/** Agent-facing command to run. Renderer surfaces this symbolically (never as a raw shell literal). */
|
|
21
29
|
readonly command: string;
|
|
22
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Skill the agent should invoke to handle this recovery. Null means either:
|
|
32
|
+
* - the agent can run `command` directly without invoking a skill, or
|
|
33
|
+
* - the recovery is a manual editor step the agent cannot perform (see `summary`).
|
|
34
|
+
* Migration-class recoveries route to `/gdh-update` (the human-facing entry that
|
|
35
|
+
* calls the agent-only `gdh-migrate` sub-skill internally with its own approval gate).
|
|
36
|
+
*/
|
|
23
37
|
readonly skillName: string | null;
|
|
24
|
-
/** One-line explanation for the human
|
|
38
|
+
/** One-line explanation for the agent (and any surfaced human-readable output). */
|
|
25
39
|
readonly summary: string;
|
|
26
40
|
}
|
|
27
41
|
declare const REASON_RECOVERY_HINTS: Readonly<Record<string, Omit<RecoveryHint, "reason">>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recovery-hints.d.ts","sourceRoot":"","sources":["../src/recovery-hints.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"recovery-hints.d.ts","sourceRoot":"","sources":["../src/recovery-hints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,MAAM,WAAW,YAAY;IAC3B,iGAAiG;IACjG,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,uGAAuG;IACvG,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,mFAAmF;IACnF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,QAAA,MAAM,qBAAqB,EAAE,QAAQ,CACnC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,CA4I7C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,MAAM,EAAE,GACzB,SAAS,YAAY,EAAE,CAyCzB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -5,11 +5,19 @@
|
|
|
5
5
|
* This module is the UX-05 foundation for Phase 17. It is consumed by:
|
|
6
6
|
* - `buildGdhStatusResult` in `@gdh/adapters` (emits `recoveryHints[]`
|
|
7
7
|
* in the `gdh status` JSON payload via `resolveRecoveryHints(...)`).
|
|
8
|
-
* - The `/gdh-status` and `/gdh-
|
|
8
|
+
* - The `/gdh-status` and `/gdh-update` skill renderers (narrate the
|
|
9
9
|
* `recoveryHints[]` JSON field symbolically — they do NOT bake the
|
|
10
10
|
* `command` strings as shell literals; the renderer uses pinned
|
|
11
11
|
* `npx -y @skillcap/gdh@${pinnedVersion} <verb>` instead).
|
|
12
12
|
*
|
|
13
|
+
* Routing model: the agent reads `recoveryHints[]` and acts on the entry
|
|
14
|
+
* itself — there is no human-facing slash command for migration-class
|
|
15
|
+
* recoveries. When `skillName` is set, the agent invokes that skill
|
|
16
|
+
* (which owns any required user approval gates). When `skillName` is
|
|
17
|
+
* null, either the recovery is a deterministic CLI action the agent can
|
|
18
|
+
* execute directly via `command`, or it is a manual editor step the
|
|
19
|
+
* agent cannot perform on the user's behalf (the `summary` disambiguates).
|
|
20
|
+
*
|
|
13
21
|
* Package boundary: this module is pure presentation/lookup. It must NOT
|
|
14
22
|
* import from `@gdh/core`, `@gdh/adapters`, or any other internal package
|
|
15
23
|
* (see `packages/docs/src/index.ts` `docsPackage` boundary declaration).
|
|
@@ -38,12 +46,12 @@ const REASON_RECOVERY_HINTS = {
|
|
|
38
46
|
},
|
|
39
47
|
run_configuration_directory_conflict: {
|
|
40
48
|
command: "gdh migrate",
|
|
41
|
-
skillName: "/gdh-
|
|
49
|
+
skillName: "/gdh-update",
|
|
42
50
|
summary: "Both legacy and current run-configuration directories exist — manual review required before migrate.",
|
|
43
51
|
},
|
|
44
52
|
verification_scenario_directory_conflict: {
|
|
45
53
|
command: "gdh migrate",
|
|
46
|
-
skillName: "/gdh-
|
|
54
|
+
skillName: "/gdh-update",
|
|
47
55
|
summary: "Both legacy and current verification-scenario directories exist — manual review required before migrate.",
|
|
48
56
|
},
|
|
49
57
|
run_configuration_version_unrecognized: {
|
|
@@ -64,88 +72,78 @@ const REASON_RECOVERY_HINTS = {
|
|
|
64
72
|
// --- Coupled (auto-fixable via gdh migrate --apply or gdh adapters install) ---
|
|
65
73
|
project_config_version_behind: {
|
|
66
74
|
command: "gdh migrate --apply",
|
|
67
|
-
skillName: "/gdh-
|
|
75
|
+
skillName: "/gdh-update",
|
|
68
76
|
summary: "Project config can be migrated forward to the current schema.",
|
|
69
77
|
},
|
|
70
78
|
rules_missing: {
|
|
71
79
|
command: "gdh migrate --apply",
|
|
72
|
-
skillName: "/gdh-
|
|
80
|
+
skillName: "/gdh-update",
|
|
73
81
|
summary: "Rules file is missing — regenerate via migrate.",
|
|
74
82
|
},
|
|
75
83
|
agent_contract_missing: {
|
|
76
84
|
command: "gdh migrate --apply",
|
|
77
|
-
skillName: "/gdh-
|
|
85
|
+
skillName: "/gdh-update",
|
|
78
86
|
summary: "Managed agent contract block is missing from AGENTS.md — regenerate via migrate.",
|
|
79
87
|
},
|
|
80
88
|
guidance_index_missing: {
|
|
81
89
|
command: "gdh migrate --apply",
|
|
82
|
-
skillName: "/gdh-
|
|
90
|
+
skillName: "/gdh-update",
|
|
83
91
|
summary: "Guidance index (.gdh/guidance/README.md) is missing — regenerate via migrate.",
|
|
84
92
|
},
|
|
85
93
|
guidance_unit_missing: {
|
|
86
94
|
command: "gdh migrate --apply",
|
|
87
|
-
skillName: "/gdh-
|
|
95
|
+
skillName: "/gdh-update",
|
|
88
96
|
summary: "One or more guidance units are missing — regenerate via migrate.",
|
|
89
97
|
},
|
|
90
98
|
guidance_index_version_outdated: {
|
|
91
99
|
command: "gdh migrate --apply",
|
|
92
|
-
skillName: "/gdh-
|
|
100
|
+
skillName: "/gdh-update",
|
|
93
101
|
summary: "Guidance index has an outdated version marker — refresh via migrate.",
|
|
94
102
|
},
|
|
95
103
|
guidance_unit_version_outdated: {
|
|
96
104
|
command: "gdh migrate --apply",
|
|
97
|
-
skillName: "/gdh-
|
|
105
|
+
skillName: "/gdh-update",
|
|
98
106
|
summary: "One or more guidance units have outdated version markers — refresh via migrate.",
|
|
99
107
|
},
|
|
100
108
|
mcp_manifest_missing: {
|
|
101
109
|
command: "gdh adapters install",
|
|
102
|
-
skillName: "/gdh-
|
|
110
|
+
skillName: "/gdh-update",
|
|
103
111
|
summary: "Project MCP config files need to be created.",
|
|
104
112
|
},
|
|
105
113
|
mcp_manifest_misconfigured: {
|
|
106
114
|
command: "gdh adapters install",
|
|
107
|
-
skillName: "/gdh-
|
|
115
|
+
skillName: "/gdh-update",
|
|
108
116
|
summary: "Project MCP config files need to be refreshed.",
|
|
109
117
|
},
|
|
110
|
-
cursor_rule_missing: {
|
|
111
|
-
command: "gdh adapters install",
|
|
112
|
-
skillName: "/gdh-migrate",
|
|
113
|
-
summary: "Cursor rule file needs to be created.",
|
|
114
|
-
},
|
|
115
|
-
cursor_rule_misconfigured: {
|
|
116
|
-
command: "gdh adapters install",
|
|
117
|
-
skillName: "/gdh-migrate",
|
|
118
|
-
summary: "Cursor rule file needs to be refreshed.",
|
|
119
|
-
},
|
|
120
118
|
mcp_launcher_missing: {
|
|
121
119
|
command: "gdh adapters install",
|
|
122
|
-
skillName: "/gdh-
|
|
120
|
+
skillName: "/gdh-update",
|
|
123
121
|
summary: "Managed MCP launcher needs to be created.",
|
|
124
122
|
},
|
|
125
123
|
mcp_launcher_misconfigured: {
|
|
126
124
|
command: "gdh adapters install",
|
|
127
|
-
skillName: "/gdh-
|
|
125
|
+
skillName: "/gdh-update",
|
|
128
126
|
summary: "Managed MCP launcher needs to be refreshed.",
|
|
129
127
|
},
|
|
130
128
|
run_configuration_version_behind: {
|
|
131
129
|
command: "gdh migrate --apply",
|
|
132
|
-
skillName: "/gdh-
|
|
130
|
+
skillName: "/gdh-update",
|
|
133
131
|
summary: "Run-configuration schema can be migrated forward.",
|
|
134
132
|
},
|
|
135
133
|
verification_scenario_version_behind: {
|
|
136
134
|
command: "gdh migrate --apply",
|
|
137
|
-
skillName: "/gdh-
|
|
135
|
+
skillName: "/gdh-update",
|
|
138
136
|
summary: "Verification-scenario schema can be migrated forward.",
|
|
139
137
|
},
|
|
140
138
|
runtime_bridge_surface_migration_available: {
|
|
141
139
|
command: "gdh bridge repair",
|
|
142
|
-
skillName:
|
|
143
|
-
summary: "Runtime bridge configuration can be normalized.",
|
|
140
|
+
skillName: null,
|
|
141
|
+
summary: "Runtime bridge configuration can be normalized. Agent can run `gdh bridge repair` directly.",
|
|
144
142
|
},
|
|
145
143
|
runtime_bridge_autoload_missing_or_drifted: {
|
|
146
144
|
command: "gdh bridge repair",
|
|
147
|
-
skillName:
|
|
148
|
-
summary: "Runtime bridge autoload registration is missing or drifted.",
|
|
145
|
+
skillName: null,
|
|
146
|
+
summary: "Runtime bridge autoload registration is missing or drifted. Agent can run `gdh bridge repair` directly.",
|
|
149
147
|
},
|
|
150
148
|
};
|
|
151
149
|
/**
|
|
@@ -180,8 +178,8 @@ export function resolveRecoveryHints(reasons) {
|
|
|
180
178
|
hints.push({
|
|
181
179
|
reason,
|
|
182
180
|
command: "gdh bridge repair",
|
|
183
|
-
skillName:
|
|
184
|
-
summary: `Runtime bridge artifact missing (${artifactId}).`,
|
|
181
|
+
skillName: null,
|
|
182
|
+
summary: `Runtime bridge artifact missing (${artifactId}). Agent can run \`gdh bridge repair\` directly.`,
|
|
185
183
|
});
|
|
186
184
|
continue;
|
|
187
185
|
}
|
|
@@ -190,8 +188,8 @@ export function resolveRecoveryHints(reasons) {
|
|
|
190
188
|
hints.push({
|
|
191
189
|
reason,
|
|
192
190
|
command: "gdh bridge repair",
|
|
193
|
-
skillName:
|
|
194
|
-
summary: `Runtime bridge artifact drifted (${artifactId}).`,
|
|
191
|
+
skillName: null,
|
|
192
|
+
summary: `Runtime bridge artifact drifted (${artifactId}). Agent can run \`gdh bridge repair\` directly.`,
|
|
195
193
|
});
|
|
196
194
|
continue;
|
|
197
195
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recovery-hints.js","sourceRoot":"","sources":["../src/recovery-hints.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"recovery-hints.js","sourceRoot":"","sources":["../src/recovery-hints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAmBH,MAAM,qBAAqB,GAEvB;IACF,kDAAkD;IAClD,mCAAmC,EAAE;QACnC,OAAO,EAAE,yBAAyB;QAClC,SAAS,EAAE,aAAa;QACxB,OAAO,EACL,qGAAqG;KACxG;IACD,sBAAsB,EAAE;QACtB,O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|
|
14
|
-
"@gdh/adapters": "0.
|
|
15
|
-
"@gdh/authoring": "0.
|
|
16
|
-
"@gdh/core": "0.
|
|
17
|
-
"@gdh/docs": "0.
|
|
18
|
-
"@gdh/observability": "0.
|
|
19
|
-
"@gdh/scan": "0.
|
|
20
|
-
"@gdh/verify": "0.
|
|
14
|
+
"@gdh/adapters": "1.0.0",
|
|
15
|
+
"@gdh/authoring": "1.0.0",
|
|
16
|
+
"@gdh/core": "1.0.0",
|
|
17
|
+
"@gdh/docs": "1.0.0",
|
|
18
|
+
"@gdh/observability": "1.0.0",
|
|
19
|
+
"@gdh/scan": "1.0.0",
|
|
20
|
+
"@gdh/verify": "1.0.0",
|
|
21
21
|
"@modelcontextprotocol/sdk": "1.29.0"
|
|
22
22
|
},
|
|
23
|
-
"version": "0.
|
|
23
|
+
"version": "1.0.0"
|
|
24
24
|
}
|
|
@@ -300,8 +300,8 @@ async function applyArtifactWrites(writes, options = {}) {
|
|
|
300
300
|
relativePath: write.relativePath,
|
|
301
301
|
recoveryHint: {
|
|
302
302
|
command: "gdh migrate --apply",
|
|
303
|
-
skillName: "/gdh-
|
|
304
|
-
summary: "Existing GDH onboarding detected.
|
|
303
|
+
skillName: "/gdh-update",
|
|
304
|
+
summary: "Existing GDH onboarding detected. Refresh durable truth via the update flow.",
|
|
305
305
|
},
|
|
306
306
|
});
|
|
307
307
|
}
|