@skillcap/gdh 0.23.0 → 0.25.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.
Files changed (165) hide show
  1. package/INSTALL-BUNDLE.json +1 -1
  2. package/RELEASE-SPAN-UPDATE-CONTRACTS.json +122 -0
  3. package/node_modules/@gdh/adapters/dist/authoring-hook-render.d.ts.map +1 -1
  4. package/node_modules/@gdh/adapters/dist/authoring-hook-render.js +9 -131
  5. package/node_modules/@gdh/adapters/dist/authoring-hook-render.js.map +1 -1
  6. package/node_modules/@gdh/adapters/dist/claude-statusline-render.d.ts.map +1 -1
  7. package/node_modules/@gdh/adapters/dist/claude-statusline-render.js +6 -28
  8. package/node_modules/@gdh/adapters/dist/claude-statusline-render.js.map +1 -1
  9. package/node_modules/@gdh/adapters/dist/claude-update-hook-render.d.ts.map +1 -1
  10. package/node_modules/@gdh/adapters/dist/claude-update-hook-render.js +7 -40
  11. package/node_modules/@gdh/adapters/dist/claude-update-hook-render.js.map +1 -1
  12. package/node_modules/@gdh/adapters/dist/claude-update-worker-render.d.ts.map +1 -1
  13. package/node_modules/@gdh/adapters/dist/claude-update-worker-render.js +7 -68
  14. package/node_modules/@gdh/adapters/dist/claude-update-worker-render.js.map +1 -1
  15. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.d.ts +71 -0
  16. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.d.ts.map +1 -0
  17. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.js +89 -0
  18. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.js.map +1 -0
  19. package/node_modules/@gdh/adapters/dist/durable-backup.d.ts +209 -0
  20. package/node_modules/@gdh/adapters/dist/durable-backup.d.ts.map +1 -0
  21. package/node_modules/@gdh/adapters/dist/durable-backup.js +346 -0
  22. package/node_modules/@gdh/adapters/dist/durable-backup.js.map +1 -0
  23. package/node_modules/@gdh/adapters/dist/index.d.ts +11 -3
  24. package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
  25. package/node_modules/@gdh/adapters/dist/index.js +79 -43
  26. package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
  27. package/node_modules/@gdh/adapters/dist/inventory-sweep.d.ts +53 -0
  28. package/node_modules/@gdh/adapters/dist/inventory-sweep.d.ts.map +1 -0
  29. package/node_modules/@gdh/adapters/dist/inventory-sweep.js +98 -0
  30. package/node_modules/@gdh/adapters/dist/inventory-sweep.js.map +1 -0
  31. package/node_modules/@gdh/adapters/dist/process-orchestration.d.ts +223 -0
  32. package/node_modules/@gdh/adapters/dist/process-orchestration.d.ts.map +1 -0
  33. package/node_modules/@gdh/adapters/dist/process-orchestration.js +368 -0
  34. package/node_modules/@gdh/adapters/dist/process-orchestration.js.map +1 -0
  35. package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts +157 -14
  36. package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts.map +1 -1
  37. package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +570 -89
  38. package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
  39. package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts +2 -5
  40. package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
  41. package/node_modules/@gdh/adapters/dist/skill-rendering.js +39 -56
  42. package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
  43. package/node_modules/@gdh/adapters/dist/template-assets.d.ts +2 -0
  44. package/node_modules/@gdh/adapters/dist/template-assets.d.ts.map +1 -0
  45. package/node_modules/@gdh/adapters/dist/template-assets.js +26 -0
  46. package/node_modules/@gdh/adapters/dist/template-assets.js.map +1 -0
  47. package/node_modules/@gdh/adapters/dist/templates/authoring-hook.js.tpl +128 -0
  48. package/node_modules/@gdh/adapters/dist/templates/claude-check-update-hook.js.tpl +37 -0
  49. package/node_modules/@gdh/adapters/dist/templates/claude-check-update-worker.js.tpl +65 -0
  50. package/node_modules/@gdh/adapters/dist/templates/claude-statusline.js.tpl +25 -0
  51. package/node_modules/@gdh/adapters/package.json +8 -8
  52. package/node_modules/@gdh/authoring/package.json +2 -2
  53. package/node_modules/@gdh/cli/dist/index.d.ts +9 -0
  54. package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
  55. package/node_modules/@gdh/cli/dist/index.js +249 -6
  56. package/node_modules/@gdh/cli/dist/index.js.map +1 -1
  57. package/node_modules/@gdh/cli/dist/migrate.d.ts +152 -1
  58. package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
  59. package/node_modules/@gdh/cli/dist/migrate.js +355 -8
  60. package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
  61. package/node_modules/@gdh/cli/dist/self-update.d.ts +14 -0
  62. package/node_modules/@gdh/cli/dist/self-update.d.ts.map +1 -1
  63. package/node_modules/@gdh/cli/dist/self-update.js +197 -15
  64. package/node_modules/@gdh/cli/dist/self-update.js.map +1 -1
  65. package/node_modules/@gdh/cli/dist/setup.d.ts +4 -0
  66. package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -1
  67. package/node_modules/@gdh/cli/dist/setup.js +8 -67
  68. package/node_modules/@gdh/cli/dist/setup.js.map +1 -1
  69. package/node_modules/@gdh/cli/package.json +10 -10
  70. package/node_modules/@gdh/core/dist/index.d.ts +99 -5
  71. package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
  72. package/node_modules/@gdh/core/dist/index.js +24 -5
  73. package/node_modules/@gdh/core/dist/index.js.map +1 -1
  74. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts +3 -0
  75. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts.map +1 -0
  76. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js +247 -0
  77. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map +1 -0
  78. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts +3 -0
  79. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts.map +1 -0
  80. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js +152 -0
  81. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js.map +1 -0
  82. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts +3 -0
  83. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts.map +1 -0
  84. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js +67 -0
  85. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js.map +1 -0
  86. package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts +37 -0
  87. package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts.map +1 -0
  88. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js +60 -0
  89. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js.map +1 -0
  90. package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts +121 -0
  91. package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts.map +1 -0
  92. package/node_modules/@gdh/core/dist/migrations/envelopes/types.js +2 -0
  93. package/node_modules/@gdh/core/dist/migrations/envelopes/types.js.map +1 -0
  94. package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts +40 -0
  95. package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts.map +1 -0
  96. package/node_modules/@gdh/core/dist/migrations/golden-harness.js +71 -0
  97. package/node_modules/@gdh/core/dist/migrations/golden-harness.js.map +1 -0
  98. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts +322 -0
  99. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -0
  100. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js +384 -0
  101. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -0
  102. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts +294 -0
  103. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts.map +1 -0
  104. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js +365 -0
  105. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js.map +1 -0
  106. package/node_modules/@gdh/core/dist/migrations/probes.d.ts +58 -0
  107. package/node_modules/@gdh/core/dist/migrations/probes.d.ts.map +1 -0
  108. package/node_modules/@gdh/core/dist/migrations/probes.js +112 -0
  109. package/node_modules/@gdh/core/dist/migrations/probes.js.map +1 -0
  110. package/node_modules/@gdh/core/dist/migrations/registry.d.ts +205 -0
  111. package/node_modules/@gdh/core/dist/migrations/registry.d.ts.map +1 -0
  112. package/node_modules/@gdh/core/dist/migrations/registry.js +214 -0
  113. package/node_modules/@gdh/core/dist/migrations/registry.js.map +1 -0
  114. package/node_modules/@gdh/core/dist/state/atomic-write.d.ts +19 -0
  115. package/node_modules/@gdh/core/dist/state/atomic-write.d.ts.map +1 -0
  116. package/node_modules/@gdh/core/dist/state/atomic-write.js +34 -0
  117. package/node_modules/@gdh/core/dist/state/atomic-write.js.map +1 -0
  118. package/node_modules/@gdh/core/dist/state/migration-state.d.ts +135 -0
  119. package/node_modules/@gdh/core/dist/state/migration-state.d.ts.map +1 -0
  120. package/node_modules/@gdh/core/dist/state/migration-state.js +186 -0
  121. package/node_modules/@gdh/core/dist/state/migration-state.js.map +1 -0
  122. package/node_modules/@gdh/core/dist/state/processes-snapshot.d.ts +72 -0
  123. package/node_modules/@gdh/core/dist/state/processes-snapshot.d.ts.map +1 -0
  124. package/node_modules/@gdh/core/dist/state/processes-snapshot.js +113 -0
  125. package/node_modules/@gdh/core/dist/state/processes-snapshot.js.map +1 -0
  126. package/node_modules/@gdh/core/dist/state/render-inventory.d.ts +54 -0
  127. package/node_modules/@gdh/core/dist/state/render-inventory.d.ts.map +1 -0
  128. package/node_modules/@gdh/core/dist/state/render-inventory.js +77 -0
  129. package/node_modules/@gdh/core/dist/state/render-inventory.js.map +1 -0
  130. package/node_modules/@gdh/core/package.json +1 -1
  131. package/node_modules/@gdh/docs/dist/agent-contract.d.ts +2 -1
  132. package/node_modules/@gdh/docs/dist/agent-contract.d.ts.map +1 -1
  133. package/node_modules/@gdh/docs/dist/agent-contract.js +5 -3
  134. package/node_modules/@gdh/docs/dist/agent-contract.js.map +1 -1
  135. package/node_modules/@gdh/docs/dist/guidance.d.ts +2 -0
  136. package/node_modules/@gdh/docs/dist/guidance.d.ts.map +1 -1
  137. package/node_modules/@gdh/docs/dist/guidance.js +29 -255
  138. package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
  139. package/node_modules/@gdh/docs/dist/index.d.ts +1 -1
  140. package/node_modules/@gdh/docs/dist/index.d.ts.map +1 -1
  141. package/node_modules/@gdh/docs/dist/index.js +1 -1
  142. package/node_modules/@gdh/docs/dist/index.js.map +1 -1
  143. package/node_modules/@gdh/docs/dist/query.d.ts.map +1 -1
  144. package/node_modules/@gdh/docs/dist/query.js +4 -5
  145. package/node_modules/@gdh/docs/dist/query.js.map +1 -1
  146. package/node_modules/@gdh/docs/dist/recovery-hints.js +1 -1
  147. package/node_modules/@gdh/docs/dist/recovery-hints.js.map +1 -1
  148. package/node_modules/@gdh/docs/dist/template-assets.d.ts +2 -0
  149. package/node_modules/@gdh/docs/dist/template-assets.d.ts.map +1 -0
  150. package/node_modules/@gdh/docs/dist/template-assets.js +26 -0
  151. package/node_modules/@gdh/docs/dist/template-assets.js.map +1 -0
  152. package/node_modules/@gdh/docs/dist/templates/guidance/authoring-and-validation.md.tpl +111 -0
  153. package/node_modules/@gdh/docs/dist/templates/guidance/gdh-glossary.md.tpl +34 -0
  154. package/node_modules/@gdh/docs/dist/templates/guidance/persistence-semantics.md.tpl +24 -0
  155. package/node_modules/@gdh/docs/dist/templates/guidance/project-migration.md.tpl +19 -0
  156. package/node_modules/@gdh/docs/dist/templates/guidance/project-surfaces.md.tpl +14 -0
  157. package/node_modules/@gdh/docs/package.json +2 -2
  158. package/node_modules/@gdh/mcp/package.json +8 -8
  159. package/node_modules/@gdh/observability/package.json +2 -2
  160. package/node_modules/@gdh/runtime/dist/bridge-surface.js +63 -2
  161. package/node_modules/@gdh/runtime/dist/bridge-surface.js.map +1 -1
  162. package/node_modules/@gdh/runtime/package.json +2 -2
  163. package/node_modules/@gdh/scan/package.json +3 -3
  164. package/node_modules/@gdh/verify/package.json +7 -7
  165. package/package.json +11 -11
@@ -0,0 +1,294 @@
1
+ export type GdhManagedTargetSurfaceOwner = "gdh" | "project" | "agent_vendor" | "mixed";
2
+ export type GdhManagedTargetSurfaceDiscoveryRequirement = "root_agent_instruction" | "provider_skill" | "provider_command_legacy" | "provider_mcp_config" | "provider_hook_config" | "provider_rule" | "durable_gdh_truth" | "project_native";
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
+ export type GdhManagedTargetSurfaceFollowUpPhase = "77" | "78" | "79" | null;
5
+ export interface GdhManagedTargetSurfaceInventoryEntry {
6
+ readonly surfaceId: string;
7
+ readonly purpose: string;
8
+ readonly owner: GdhManagedTargetSurfaceOwner;
9
+ readonly targetLocations: readonly string[];
10
+ readonly discoveryRequirement: GdhManagedTargetSurfaceDiscoveryRequirement;
11
+ readonly migrationBehavior: string;
12
+ readonly staleBehavior: string;
13
+ readonly finalDisposition: GdhManagedTargetSurfaceFinalDisposition;
14
+ readonly dispositionRationale: string;
15
+ readonly followUpPhase: GdhManagedTargetSurfaceFollowUpPhase;
16
+ }
17
+ export declare const GDH_MANAGED_TARGET_SURFACE_INVENTORY: readonly [...{
18
+ surfaceId: string;
19
+ purpose: string;
20
+ owner: "gdh";
21
+ targetLocations: string[];
22
+ discoveryRequirement: "provider_skill";
23
+ migrationBehavior: string;
24
+ staleBehavior: string;
25
+ finalDisposition: "replace_with_hook_mcp_or_cli_behavior" | "move_into_skill";
26
+ dispositionRationale: string;
27
+ followUpPhase: "78" | null;
28
+ }[], {
29
+ readonly surfaceId: "cursor_rule";
30
+ readonly purpose: "Minimal Cursor rule that routes GDH work to the installed GDH skills 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 skills instead of duplicating guidance.";
38
+ readonly followUpPhase: "78";
39
+ }, {
40
+ readonly surfaceId: "claude_onboard_command";
41
+ readonly purpose: "Legacy Claude command compatibility for the onboard workflow.";
42
+ readonly owner: "gdh";
43
+ readonly targetLocations: readonly [".claude/skills/gdh-onboard/SKILL.md"];
44
+ readonly discoveryRequirement: "provider_skill";
45
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/onboard.md files are removed when GDH owns them.";
46
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
47
+ readonly finalDisposition: "move_into_skill";
48
+ readonly dispositionRationale: "The onboard workflow belongs in the gdh-onboard skill; command shims should not carry separate instructions.";
49
+ readonly followUpPhase: "78";
50
+ }, {
51
+ readonly surfaceId: "claude_status_command";
52
+ readonly purpose: "Legacy Claude command compatibility for status interpretation.";
53
+ readonly owner: "gdh";
54
+ readonly targetLocations: readonly [".claude/skills/gdh-status/SKILL.md"];
55
+ readonly discoveryRequirement: "provider_skill";
56
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/status.md files are removed when GDH owns them.";
57
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
58
+ readonly finalDisposition: "move_into_skill";
59
+ readonly dispositionRationale: "Status interpretation belongs in the gdh-status skill, backed by structured GDH CLI output.";
60
+ readonly followUpPhase: "78";
61
+ }, {
62
+ readonly surfaceId: "claude_scan_command";
63
+ readonly purpose: "Legacy Claude command compatibility for Godot target discovery.";
64
+ readonly owner: "gdh";
65
+ readonly targetLocations: readonly [".claude/skills/gdh-scan/SKILL.md"];
66
+ readonly discoveryRequirement: "provider_skill";
67
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/scan.md files are removed when GDH owns them.";
68
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
69
+ readonly finalDisposition: "move_into_skill";
70
+ readonly dispositionRationale: "Scan workflow instructions belong in the gdh-scan skill, not in a second command document.";
71
+ readonly followUpPhase: "78";
72
+ }, {
73
+ readonly surfaceId: "claude_migrate_command";
74
+ readonly purpose: "Legacy Claude command compatibility for managed surface migration.";
75
+ readonly owner: "gdh";
76
+ readonly targetLocations: readonly [".claude/skills/gdh-migrate/SKILL.md"];
77
+ readonly discoveryRequirement: "provider_skill";
78
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/migrate.md files are removed when GDH owns them.";
79
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
80
+ readonly finalDisposition: "move_into_skill";
81
+ readonly dispositionRationale: "Migration approval and terminal-state guidance belongs in the gdh-migrate skill.";
82
+ readonly followUpPhase: "78";
83
+ }, {
84
+ readonly surfaceId: "claude_update_command";
85
+ readonly purpose: "Legacy Claude command compatibility for GDH self-update.";
86
+ readonly owner: "gdh";
87
+ readonly targetLocations: readonly [".claude/skills/gdh-update/SKILL.md"];
88
+ readonly discoveryRequirement: "provider_skill";
89
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/update.md files are removed when GDH owns them.";
90
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
91
+ readonly finalDisposition: "move_into_skill";
92
+ readonly dispositionRationale: "Update workflow guidance belongs in the gdh-update skill and should not be duplicated as a command doc.";
93
+ readonly followUpPhase: "78";
94
+ }, {
95
+ readonly surfaceId: "claude_check_command";
96
+ readonly purpose: "Legacy Claude command compatibility for authoring validation checks.";
97
+ readonly owner: "gdh";
98
+ readonly targetLocations: readonly [".claude/skills/gdh-check/SKILL.md"];
99
+ readonly discoveryRequirement: "provider_skill";
100
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/check.md files are removed when GDH owns them.";
101
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
102
+ readonly finalDisposition: "replace_with_hook_mcp_or_cli_behavior";
103
+ readonly dispositionRationale: "Validation should be driven by hook, MCP, and CLI behavior. The legacy command and generated check skill are retired.";
104
+ readonly followUpPhase: null;
105
+ }, {
106
+ readonly surfaceId: "claude_prepare_command";
107
+ readonly purpose: "Legacy Claude command compatibility for target preparation.";
108
+ readonly owner: "gdh";
109
+ readonly targetLocations: readonly [".claude/skills/gdh-prepare/SKILL.md"];
110
+ readonly discoveryRequirement: "provider_skill";
111
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/prepare.md files are removed when GDH owns them.";
112
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
113
+ readonly finalDisposition: "move_into_skill";
114
+ readonly dispositionRationale: "Preparation workflow guidance belongs in the gdh-prepare skill, backed by GDH commands.";
115
+ readonly followUpPhase: "78";
116
+ }, {
117
+ readonly surfaceId: "claude_run_game_command";
118
+ readonly purpose: "Legacy Claude command compatibility for run configuration execution.";
119
+ readonly owner: "gdh";
120
+ readonly targetLocations: readonly [".claude/skills/gdh-run-game/SKILL.md"];
121
+ readonly discoveryRequirement: "provider_skill";
122
+ readonly migrationBehavior: "Current installs use Claude skills; legacy .claude/commands/gdh/run-game.md files are removed when GDH owns them.";
123
+ readonly staleBehavior: "Treat legacy command files as stale owned duplicates after the skill exists.";
124
+ readonly finalDisposition: "move_into_skill";
125
+ readonly dispositionRationale: "Runtime workflow guidance belongs in the gdh-run-game skill and should reference .gdh run configurations.";
126
+ readonly followUpPhase: "78";
127
+ }, {
128
+ readonly surfaceId: "mcp_config_entry";
129
+ readonly purpose: "Managed GDH MCP server entry inside Claude and Cursor project MCP files.";
130
+ readonly owner: "mixed";
131
+ readonly targetLocations: readonly [".mcp.json#mcpServers.gdh", ".cursor/mcp.json#mcpServers.gdh"];
132
+ readonly discoveryRequirement: "provider_mcp_config";
133
+ readonly migrationBehavior: "Patch only the GDH-owned MCP entry; leave surrounding project/user MCP config as project-native data.";
134
+ readonly staleBehavior: "Replace only the managed server entry when pin or invocation drifts.";
135
+ readonly finalDisposition: "keep_discoverability_shim";
136
+ readonly dispositionRationale: "Claude and Cursor require provider-visible MCP config. GDH should own the smallest possible entry, not the whole file.";
137
+ readonly followUpPhase: "79";
138
+ }, {
139
+ readonly surfaceId: "codex_project_mcp_section";
140
+ readonly purpose: "Managed GDH MCP server section inside repo-local Codex config.";
141
+ readonly owner: "mixed";
142
+ readonly targetLocations: readonly [".codex/config.toml#[mcp_servers.gdh]"];
143
+ readonly discoveryRequirement: "provider_mcp_config";
144
+ readonly migrationBehavior: "Patch the GDH-owned TOML section in repo-local config; do not register user-local Codex MCP as part of normal setup.";
145
+ readonly staleBehavior: "Replace the managed section when the pin or invocation drifts.";
146
+ readonly finalDisposition: "keep_discoverability_shim";
147
+ readonly dispositionRationale: "Codex needs a provider-readable MCP declaration. GDH should keep it repo-local and marker-bounded where possible.";
148
+ readonly followUpPhase: "79";
149
+ }, {
150
+ readonly surfaceId: "codex_authoring_hook_block";
151
+ readonly purpose: "Codex authoring hook registration for post-edit GDH validation behavior.";
152
+ readonly owner: "gdh";
153
+ readonly targetLocations: readonly [".codex/config.toml#GDH managed authoring hooks"];
154
+ readonly discoveryRequirement: "provider_hook_config";
155
+ readonly migrationBehavior: "Patch the managed hook block and feature flag in repo-local Codex config.";
156
+ readonly staleBehavior: "Replace the managed hook block when version, command, or path drifts.";
157
+ readonly finalDisposition: "replace_with_hook_mcp_or_cli_behavior";
158
+ readonly dispositionRationale: "Validation enforcement should be behavior, not guidance. The config block exists only to wire the behavior.";
159
+ readonly followUpPhase: "79";
160
+ }, {
161
+ readonly surfaceId: "authoring_hook";
162
+ readonly purpose: "Provider hook script that turns authoring edits into GDH diagnostics/check feedback.";
163
+ readonly owner: "gdh";
164
+ readonly targetLocations: readonly [".claude/hooks/gdh-authoring-guard.js", ".codex/hooks/gdh-authoring-guard.js"];
165
+ readonly discoveryRequirement: "provider_hook_config";
166
+ readonly migrationBehavior: "Deterministically re-render hook scripts for providers that support GDH hooks.";
167
+ readonly staleBehavior: "Replace marker-owned script drift; never depend on agents remembering validation instructions.";
168
+ readonly finalDisposition: "replace_with_hook_mcp_or_cli_behavior";
169
+ readonly dispositionRationale: "Authoring validation should run through hooks and GDH CLI evidence rather than prose instructions.";
170
+ readonly followUpPhase: "79";
171
+ }, {
172
+ readonly surfaceId: "claude_update_hook";
173
+ readonly purpose: "Claude SessionStart hook that checks whether the pinned GDH install is stale.";
174
+ readonly owner: "gdh";
175
+ readonly targetLocations: readonly [".claude/hooks/gdh-check-update.js"];
176
+ readonly discoveryRequirement: "provider_hook_config";
177
+ readonly migrationBehavior: "Deterministically re-render the managed hook script.";
178
+ readonly staleBehavior: "Replace marker-owned script drift; stale update awareness should not live in docs.";
179
+ readonly finalDisposition: "replace_with_hook_mcp_or_cli_behavior";
180
+ readonly dispositionRationale: "Update awareness is event-driven behavior. Guidance should only explain outcomes when surfaced.";
181
+ readonly followUpPhase: "79";
182
+ }, {
183
+ readonly surfaceId: "claude_update_worker";
184
+ readonly purpose: "Background worker used by the Claude update-check hook.";
185
+ readonly owner: "gdh";
186
+ readonly targetLocations: readonly [".claude/hooks/gdh-check-update-worker.js"];
187
+ readonly discoveryRequirement: "provider_hook_config";
188
+ readonly migrationBehavior: "Deterministically re-render the managed worker script.";
189
+ readonly staleBehavior: "Replace marker-owned worker drift with the current version.";
190
+ readonly finalDisposition: "replace_with_hook_mcp_or_cli_behavior";
191
+ readonly dispositionRationale: "This is implementation machinery for a hook, not a target-project documentation surface.";
192
+ readonly followUpPhase: "79";
193
+ }, {
194
+ readonly surfaceId: "claude_statusline";
195
+ readonly purpose: "Optional Claude statusline script for surfacing GDH target status.";
196
+ readonly owner: "gdh";
197
+ readonly targetLocations: readonly [".claude/hooks/gdh-statusline.js"];
198
+ readonly discoveryRequirement: "provider_hook_config";
199
+ readonly migrationBehavior: "Deterministically re-render the optional script; statusline registration remains opt-in.";
200
+ readonly staleBehavior: "Replace marker-owned script drift; do not overwrite unrelated statusline settings.";
201
+ readonly finalDisposition: "replace_with_hook_mcp_or_cli_behavior";
202
+ readonly dispositionRationale: "Statusline behavior belongs in an executable script with opt-in registration, not in general guidance.";
203
+ readonly followUpPhase: "79";
204
+ }, {
205
+ readonly surfaceId: "agents_md_managed_block";
206
+ readonly purpose: "Root agent-instruction pointer that tells agents this target is GDH-managed.";
207
+ readonly owner: "mixed";
208
+ readonly targetLocations: readonly ["AGENTS.md#GDH managed block"];
209
+ readonly discoveryRequirement: "root_agent_instruction";
210
+ readonly migrationBehavior: "Patch only the GDH-owned marker block; preserve user-authored AGENTS.md content around it.";
211
+ readonly staleBehavior: "Replace the managed block when its version or target pointers drift.";
212
+ readonly finalDisposition: "keep_discoverability_shim";
213
+ readonly dispositionRationale: "A tiny root pointer is useful for discoverability, but full GDH docs must not live in root instructions.";
214
+ readonly followUpPhase: "77";
215
+ }, {
216
+ readonly surfaceId: "guidance_unit_set";
217
+ readonly purpose: "Generated GDH guidance units currently emitted as target-local docs.";
218
+ readonly owner: "gdh";
219
+ readonly targetLocations: readonly [".gdh/guidance/*.md"];
220
+ readonly discoveryRequirement: "durable_gdh_truth";
221
+ readonly migrationBehavior: "Current versions deterministically re-render units from package templates.";
222
+ readonly staleBehavior: "Version drift replaces generated units in the GDH-owned guidance directory.";
223
+ readonly finalDisposition: "move_under_gdh";
224
+ readonly dispositionRationale: "Durable GDH target guidance belongs under .gdh. Command-specific/onboarding guidance should be folded into skills during the skill repack.";
225
+ readonly followUpPhase: null;
226
+ }, {
227
+ readonly surfaceId: "guidance_index";
228
+ readonly purpose: "Generated index for GDH guidance units.";
229
+ readonly owner: "gdh";
230
+ readonly targetLocations: readonly [".gdh/guidance/README.md"];
231
+ readonly discoveryRequirement: "durable_gdh_truth";
232
+ readonly migrationBehavior: "Current versions deterministically re-render the index from generated units.";
233
+ readonly staleBehavior: "Version drift replaces the generated index in the GDH-owned guidance directory.";
234
+ readonly finalDisposition: "move_under_gdh";
235
+ readonly dispositionRationale: "The index should move with the guidance corpus under .gdh, leaving only minimal root/provider pointers.";
236
+ readonly followUpPhase: null;
237
+ }, {
238
+ readonly surfaceId: "gdh_project_yaml";
239
+ readonly purpose: "Durable GDH project configuration and pinned GDH version.";
240
+ readonly owner: "mixed";
241
+ readonly targetLocations: readonly [".gdh/project.yaml"];
242
+ readonly discoveryRequirement: "durable_gdh_truth";
243
+ readonly migrationBehavior: "Schema migrations preserve user-selected values while updating GDH-owned shape.";
244
+ readonly staleBehavior: "Schema/pin drift is handled by migration planning and explicit apply.";
245
+ readonly finalDisposition: "move_under_gdh";
246
+ readonly dispositionRationale: "This already lives in the correct durable GDH namespace.";
247
+ readonly followUpPhase: null;
248
+ }, {
249
+ readonly surfaceId: "gdh_rules_yaml";
250
+ readonly purpose: "Durable GDH project rules and policy defaults.";
251
+ readonly owner: "mixed";
252
+ readonly targetLocations: readonly [".gdh/rules.yaml"];
253
+ readonly discoveryRequirement: "durable_gdh_truth";
254
+ readonly migrationBehavior: "Byte-equal defaults can be upgraded automatically; user-customized rules require conflict-aware migration.";
255
+ readonly staleBehavior: "Default drift is auto-replaceable only when prior content is still known GDH default content.";
256
+ readonly finalDisposition: "move_under_gdh";
257
+ readonly dispositionRationale: "Rules are durable GDH target truth and already live under .gdh.";
258
+ readonly followUpPhase: null;
259
+ }, {
260
+ readonly surfaceId: "run_configuration_set";
261
+ readonly purpose: "User-authored run configurations managed by GDH schema.";
262
+ readonly owner: "mixed";
263
+ readonly targetLocations: readonly [".gdh/run-configurations/*.yaml"];
264
+ readonly discoveryRequirement: "durable_gdh_truth";
265
+ readonly migrationBehavior: "Schema migrations preserve user-authored run intent and route semantic changes through review.";
266
+ readonly staleBehavior: "Schema drift requires migration; user values are not overwritten as deterministic render output.";
267
+ readonly finalDisposition: "move_under_gdh";
268
+ readonly dispositionRationale: "Run configurations are durable GDH target truth and already live under .gdh.";
269
+ readonly followUpPhase: null;
270
+ }, {
271
+ readonly surfaceId: "verification_scenario_set";
272
+ readonly purpose: "User-authored verification scenarios managed by GDH schema.";
273
+ readonly owner: "mixed";
274
+ readonly targetLocations: readonly [".gdh/verification-scenarios/*.yaml"];
275
+ readonly discoveryRequirement: "durable_gdh_truth";
276
+ readonly migrationBehavior: "Schema migrations preserve user-authored verification intent and route semantic changes through review.";
277
+ readonly staleBehavior: "Schema drift requires migration; user values are not overwritten as deterministic render output.";
278
+ readonly finalDisposition: "move_under_gdh";
279
+ readonly dispositionRationale: "Verification scenarios are durable GDH target truth and already live under .gdh.";
280
+ readonly followUpPhase: null;
281
+ }, {
282
+ readonly surfaceId: "project_godot";
283
+ readonly purpose: "Godot project manifest touched only through explicit allowlisted project-native operations.";
284
+ readonly owner: "project";
285
+ readonly targetLocations: readonly ["project.godot"];
286
+ readonly discoveryRequirement: "project_native";
287
+ readonly migrationBehavior: "GDH may only apply registered allowlisted operations such as autoload/plugin updates.";
288
+ readonly staleBehavior: "Unallowlisted drift is project-owned and must not be treated as GDH stale content.";
289
+ readonly finalDisposition: "keep_project_native";
290
+ readonly dispositionRationale: "This is not GDH-owned target guidance. It remains Godot project truth with explicit operation allowlists.";
291
+ readonly followUpPhase: null;
292
+ }];
293
+ export declare function assertManagedTargetSurfaceInventoryComplete(): void;
294
+ //# sourceMappingURL=managed-target-surface-inventory.d.ts.map
@@ -0,0 +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,yBAAyB,GACzB,qBAAqB,GACrB,sBAAsB,GACtB,eAAe,GACf,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;AAsZD,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGoB,CAAC;AAEtE,wBAAgB,2CAA2C,IAAI,IAAI,CA0BlE"}