@skillcap/gdh 0.22.0 → 0.24.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 (150) hide show
  1. package/INSTALL-BUNDLE.json +1 -1
  2. package/RELEASE-SPAN-UPDATE-CONTRACTS.json +129 -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 -2
  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 +2 -1
  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 +2 -1
  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 +2 -1
  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 +10 -1
  24. package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
  25. package/node_modules/@gdh/adapters/dist/index.js +24 -2
  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.map +1 -1
  40. package/node_modules/@gdh/adapters/dist/skill-rendering.js +25 -0
  41. package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
  42. package/node_modules/@gdh/adapters/package.json +8 -8
  43. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts +112 -0
  44. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts.map +1 -0
  45. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js +264 -0
  46. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js.map +1 -0
  47. package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts +92 -0
  48. package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts.map +1 -0
  49. package/node_modules/@gdh/authoring/dist/diagnostics-broker.js +532 -0
  50. package/node_modules/@gdh/authoring/dist/diagnostics-broker.js.map +1 -0
  51. package/node_modules/@gdh/authoring/dist/index.d.ts +1 -0
  52. package/node_modules/@gdh/authoring/dist/index.d.ts.map +1 -1
  53. package/node_modules/@gdh/authoring/dist/index.js +1 -0
  54. package/node_modules/@gdh/authoring/dist/index.js.map +1 -1
  55. package/node_modules/@gdh/authoring/dist/lsp-client.d.ts +16 -0
  56. package/node_modules/@gdh/authoring/dist/lsp-client.d.ts.map +1 -1
  57. package/node_modules/@gdh/authoring/dist/lsp-client.js +24 -0
  58. package/node_modules/@gdh/authoring/dist/lsp-client.js.map +1 -1
  59. package/node_modules/@gdh/authoring/dist/lsp.d.ts.map +1 -1
  60. package/node_modules/@gdh/authoring/dist/lsp.js +123 -2
  61. package/node_modules/@gdh/authoring/dist/lsp.js.map +1 -1
  62. package/node_modules/@gdh/authoring/package.json +2 -2
  63. package/node_modules/@gdh/cli/dist/index.d.ts +9 -0
  64. package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
  65. package/node_modules/@gdh/cli/dist/index.js +423 -5
  66. package/node_modules/@gdh/cli/dist/index.js.map +1 -1
  67. package/node_modules/@gdh/cli/dist/migrate.d.ts +152 -1
  68. package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
  69. package/node_modules/@gdh/cli/dist/migrate.js +295 -9
  70. package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
  71. package/node_modules/@gdh/cli/dist/self-update.d.ts +14 -0
  72. package/node_modules/@gdh/cli/dist/self-update.d.ts.map +1 -1
  73. package/node_modules/@gdh/cli/dist/self-update.js +197 -15
  74. package/node_modules/@gdh/cli/dist/self-update.js.map +1 -1
  75. package/node_modules/@gdh/cli/package.json +10 -10
  76. package/node_modules/@gdh/core/dist/index.d.ts +209 -6
  77. package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
  78. package/node_modules/@gdh/core/dist/index.js +28 -5
  79. package/node_modules/@gdh/core/dist/index.js.map +1 -1
  80. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts +3 -0
  81. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts.map +1 -0
  82. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js +247 -0
  83. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map +1 -0
  84. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts +3 -0
  85. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts.map +1 -0
  86. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js +152 -0
  87. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js.map +1 -0
  88. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts +3 -0
  89. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts.map +1 -0
  90. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js +67 -0
  91. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js.map +1 -0
  92. package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts +37 -0
  93. package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts.map +1 -0
  94. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js +60 -0
  95. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js.map +1 -0
  96. package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts +121 -0
  97. package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts.map +1 -0
  98. package/node_modules/@gdh/core/dist/migrations/envelopes/types.js +2 -0
  99. package/node_modules/@gdh/core/dist/migrations/envelopes/types.js.map +1 -0
  100. package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts +40 -0
  101. package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts.map +1 -0
  102. package/node_modules/@gdh/core/dist/migrations/golden-harness.js +71 -0
  103. package/node_modules/@gdh/core/dist/migrations/golden-harness.js.map +1 -0
  104. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts +322 -0
  105. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -0
  106. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js +384 -0
  107. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -0
  108. package/node_modules/@gdh/core/dist/migrations/probes.d.ts +58 -0
  109. package/node_modules/@gdh/core/dist/migrations/probes.d.ts.map +1 -0
  110. package/node_modules/@gdh/core/dist/migrations/probes.js +112 -0
  111. package/node_modules/@gdh/core/dist/migrations/probes.js.map +1 -0
  112. package/node_modules/@gdh/core/dist/migrations/registry.d.ts +205 -0
  113. package/node_modules/@gdh/core/dist/migrations/registry.d.ts.map +1 -0
  114. package/node_modules/@gdh/core/dist/migrations/registry.js +214 -0
  115. package/node_modules/@gdh/core/dist/migrations/registry.js.map +1 -0
  116. package/node_modules/@gdh/core/dist/state/atomic-write.d.ts +19 -0
  117. package/node_modules/@gdh/core/dist/state/atomic-write.d.ts.map +1 -0
  118. package/node_modules/@gdh/core/dist/state/atomic-write.js +34 -0
  119. package/node_modules/@gdh/core/dist/state/atomic-write.js.map +1 -0
  120. package/node_modules/@gdh/core/dist/state/migration-state.d.ts +135 -0
  121. package/node_modules/@gdh/core/dist/state/migration-state.d.ts.map +1 -0
  122. package/node_modules/@gdh/core/dist/state/migration-state.js +186 -0
  123. package/node_modules/@gdh/core/dist/state/migration-state.js.map +1 -0
  124. package/node_modules/@gdh/core/dist/state/processes-snapshot.d.ts +72 -0
  125. package/node_modules/@gdh/core/dist/state/processes-snapshot.d.ts.map +1 -0
  126. package/node_modules/@gdh/core/dist/state/processes-snapshot.js +113 -0
  127. package/node_modules/@gdh/core/dist/state/processes-snapshot.js.map +1 -0
  128. package/node_modules/@gdh/core/dist/state/render-inventory.d.ts +54 -0
  129. package/node_modules/@gdh/core/dist/state/render-inventory.d.ts.map +1 -0
  130. package/node_modules/@gdh/core/dist/state/render-inventory.js +77 -0
  131. package/node_modules/@gdh/core/dist/state/render-inventory.js.map +1 -0
  132. package/node_modules/@gdh/core/package.json +1 -1
  133. package/node_modules/@gdh/docs/dist/agent-contract.d.ts.map +1 -1
  134. package/node_modules/@gdh/docs/dist/agent-contract.js +2 -1
  135. package/node_modules/@gdh/docs/dist/agent-contract.js.map +1 -1
  136. package/node_modules/@gdh/docs/dist/guidance.d.ts.map +1 -1
  137. package/node_modules/@gdh/docs/dist/guidance.js +14 -7
  138. package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
  139. package/node_modules/@gdh/docs/package.json +2 -2
  140. package/node_modules/@gdh/mcp/dist/index.d.ts.map +1 -1
  141. package/node_modules/@gdh/mcp/dist/index.js +77 -1
  142. package/node_modules/@gdh/mcp/dist/index.js.map +1 -1
  143. package/node_modules/@gdh/mcp/package.json +8 -8
  144. package/node_modules/@gdh/observability/package.json +2 -2
  145. package/node_modules/@gdh/runtime/dist/bridge-surface.js +63 -2
  146. package/node_modules/@gdh/runtime/dist/bridge-surface.js.map +1 -1
  147. package/node_modules/@gdh/runtime/package.json +2 -2
  148. package/node_modules/@gdh/scan/package.json +3 -3
  149. package/node_modules/@gdh/verify/package.json +7 -7
  150. package/package.json +11 -11
@@ -0,0 +1,322 @@
1
+ /**
2
+ * Managed-surface drift classification manifest.
3
+ *
4
+ * Single source of truth for assigning every GDH-managed render call site to
5
+ * one of three drift classes: `"deterministic"`, `"user-data"`, or
6
+ * `"project-native"`. Required by GOV-03 (.planning/REQUIREMENTS.md) and
7
+ * locked by Phase 70 decisions D-05, D-06, D-08, D-13..D-24 in
8
+ * .planning/phases/70-governance-and-managed-surface-drift-classification/70-CONTEXT.md.
9
+ *
10
+ * Consumers:
11
+ * - Migration registry (Phase 72)
12
+ * - Chain matrix (Phase 71)
13
+ * - Migration verifier (Phase 74)
14
+ * - Renderer-side load-time guards (Plan 70-05) via `assertClassRegistered`
15
+ * - `validate:docs` manifest-covers-renderers check (Plan 70-06)
16
+ *
17
+ * Out of classification scope per D-23: every path under `.gdh-state/` is
18
+ * machine-local state owned entirely by GDH; it is intentionally not a
19
+ * managed surface in the migration sense and is therefore absent from this
20
+ * manifest. The renderer `renderLocalPathHints` (which writes
21
+ * `.gdh-state/local-paths.json`) is the canonical example of an excluded
22
+ * surface.
23
+ *
24
+ * Three-class lock (D-24): the union below has exactly three members. No
25
+ * fourth class. No subclasses. Project-native surfaces declare a narrow op
26
+ * allowlist instead of a subclass.
27
+ */
28
+ export type GdhManagedSurfaceClass = "deterministic" | "user-data" | "project-native";
29
+ export interface GdhProjectNativeOpAllowlistEntry {
30
+ /** Stable op identifier referenced by registry entries (Phase 72). */
31
+ readonly op: string;
32
+ /** One-line human-readable description of what the op does. */
33
+ readonly summary: string;
34
+ }
35
+ export interface GdhManagedSurfaceClassEntry {
36
+ /**
37
+ * Stable surface identifier. Audit-time-frozen. No synonyms, no renames
38
+ * after audit — downstream consumers (registry, matrix, verifier) bind to
39
+ * these strings.
40
+ */
41
+ readonly surfaceId: string;
42
+ /**
43
+ * Workspace-relative output path of the surface, or `null` when the path
44
+ * varies (per-agent skills, per-target paths, multi-file surfaces).
45
+ */
46
+ readonly relativePath: string | null;
47
+ /** One of the three locked drift classes. */
48
+ readonly class: GdhManagedSurfaceClass;
49
+ /** Why this class — the audit decision rationale. */
50
+ readonly notes: string;
51
+ /**
52
+ * For project-native surfaces only — the narrow set of ops the
53
+ * migration registry may invoke against this surface. Anything outside the
54
+ * allowlist is rejected at audit-time. Adding an op requires both a
55
+ * manifest update AND a registry entry that declares it explicitly.
56
+ */
57
+ readonly projectNativeAllowlist?: readonly GdhProjectNativeOpAllowlistEntry[];
58
+ }
59
+ /**
60
+ * The classification manifest. Every render call site discovered during the
61
+ * Phase 70 audit appears here exactly once. The `as const satisfies` form
62
+ * preserves literal-string typing (downstream narrowing) while shape-checking
63
+ * each entry against `GdhManagedSurfaceClassEntry`.
64
+ */
65
+ export declare const GDH_MANAGED_SURFACE_CLASSES: readonly [{
66
+ readonly surfaceId: "skill.claude.onboard";
67
+ readonly relativePath: null;
68
+ readonly class: "deterministic";
69
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'onboard', version). Per-target path: .claude/skills/gdh-onboard/SKILL.md.";
70
+ }, {
71
+ readonly surfaceId: "skill.claude.status";
72
+ readonly relativePath: null;
73
+ readonly class: "deterministic";
74
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'status', version). Per-target path: .claude/skills/gdh-status/SKILL.md.";
75
+ }, {
76
+ readonly surfaceId: "skill.claude.scan";
77
+ readonly relativePath: null;
78
+ readonly class: "deterministic";
79
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'scan', version). Per-target path: .claude/skills/gdh-scan/SKILL.md.";
80
+ }, {
81
+ readonly surfaceId: "skill.claude.migrate";
82
+ readonly relativePath: null;
83
+ readonly class: "deterministic";
84
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'migrate', version). Per-target path: .claude/skills/gdh-migrate/SKILL.md.";
85
+ }, {
86
+ readonly surfaceId: "skill.claude.update";
87
+ readonly relativePath: null;
88
+ readonly class: "deterministic";
89
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'update', version). Per-target path: .claude/skills/gdh-update/SKILL.md.";
90
+ }, {
91
+ readonly surfaceId: "skill.claude.check";
92
+ readonly relativePath: null;
93
+ readonly class: "deterministic";
94
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'check', version). Per-target path: .claude/skills/gdh-check/SKILL.md.";
95
+ }, {
96
+ readonly surfaceId: "skill.claude.prepare";
97
+ readonly relativePath: null;
98
+ readonly class: "deterministic";
99
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'prepare', version). Per-target path: .claude/skills/gdh-prepare/SKILL.md.";
100
+ }, {
101
+ readonly surfaceId: "skill.claude.run-game";
102
+ readonly relativePath: null;
103
+ readonly class: "deterministic";
104
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('claude', 'run-game', version). Per-target path: .claude/skills/gdh-run-game/SKILL.md.";
105
+ }, {
106
+ readonly surfaceId: "skill.codex.onboard";
107
+ readonly relativePath: null;
108
+ readonly class: "deterministic";
109
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'onboard', version). Per-target path: .codex/skills/gdh-onboard/SKILL.md.";
110
+ }, {
111
+ readonly surfaceId: "skill.codex.status";
112
+ readonly relativePath: null;
113
+ readonly class: "deterministic";
114
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'status', version). Per-target path: .codex/skills/gdh-status/SKILL.md.";
115
+ }, {
116
+ readonly surfaceId: "skill.codex.scan";
117
+ readonly relativePath: null;
118
+ readonly class: "deterministic";
119
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'scan', version). Per-target path: .codex/skills/gdh-scan/SKILL.md.";
120
+ }, {
121
+ readonly surfaceId: "skill.codex.migrate";
122
+ readonly relativePath: null;
123
+ readonly class: "deterministic";
124
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'migrate', version). Per-target path: .codex/skills/gdh-migrate/SKILL.md.";
125
+ }, {
126
+ readonly surfaceId: "skill.codex.update";
127
+ readonly relativePath: null;
128
+ readonly class: "deterministic";
129
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'update', version). Per-target path: .codex/skills/gdh-update/SKILL.md.";
130
+ }, {
131
+ readonly surfaceId: "skill.codex.check";
132
+ readonly relativePath: null;
133
+ readonly class: "deterministic";
134
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'check', version). Per-target path: .codex/skills/gdh-check/SKILL.md.";
135
+ }, {
136
+ readonly surfaceId: "skill.codex.prepare";
137
+ readonly relativePath: null;
138
+ readonly class: "deterministic";
139
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'prepare', version). Per-target path: .codex/skills/gdh-prepare/SKILL.md.";
140
+ }, {
141
+ readonly surfaceId: "skill.codex.run-game";
142
+ readonly relativePath: null;
143
+ readonly class: "deterministic";
144
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('codex', 'run-game', version). Per-target path: .codex/skills/gdh-run-game/SKILL.md.";
145
+ }, {
146
+ readonly surfaceId: "skill.cursor.onboard";
147
+ readonly relativePath: null;
148
+ readonly class: "deterministic";
149
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'onboard', version). Per-target path: .cursor/skills/gdh-onboard/SKILL.md.";
150
+ }, {
151
+ readonly surfaceId: "skill.cursor.status";
152
+ readonly relativePath: null;
153
+ readonly class: "deterministic";
154
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'status', version). Per-target path: .cursor/skills/gdh-status/SKILL.md.";
155
+ }, {
156
+ readonly surfaceId: "skill.cursor.scan";
157
+ readonly relativePath: null;
158
+ readonly class: "deterministic";
159
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'scan', version). Per-target path: .cursor/skills/gdh-scan/SKILL.md.";
160
+ }, {
161
+ readonly surfaceId: "skill.cursor.migrate";
162
+ readonly relativePath: null;
163
+ readonly class: "deterministic";
164
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'migrate', version). Per-target path: .cursor/skills/gdh-migrate/SKILL.md.";
165
+ }, {
166
+ readonly surfaceId: "skill.cursor.update";
167
+ readonly relativePath: null;
168
+ readonly class: "deterministic";
169
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'update', version). Per-target path: .cursor/skills/gdh-update/SKILL.md.";
170
+ }, {
171
+ readonly surfaceId: "skill.cursor.check";
172
+ readonly relativePath: null;
173
+ readonly class: "deterministic";
174
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'check', version). Per-target path: .cursor/skills/gdh-check/SKILL.md.";
175
+ }, {
176
+ readonly surfaceId: "skill.cursor.prepare";
177
+ readonly relativePath: null;
178
+ readonly class: "deterministic";
179
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'prepare', version). Per-target path: .cursor/skills/gdh-prepare/SKILL.md.";
180
+ }, {
181
+ readonly surfaceId: "skill.cursor.run-game";
182
+ readonly relativePath: null;
183
+ readonly class: "deterministic";
184
+ readonly notes: "Generated agent skill rendered by renderGdhSkill('cursor', 'run-game', version). Per-target path: .cursor/skills/gdh-run-game/SKILL.md.";
185
+ }, {
186
+ readonly surfaceId: "cursor_rule";
187
+ readonly relativePath: ".cursor/rules/gdh-agent.mdc";
188
+ readonly class: "deterministic";
189
+ readonly 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.";
190
+ }, {
191
+ readonly surfaceId: "claude_onboard_command";
192
+ readonly relativePath: null;
193
+ readonly class: "deterministic";
194
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeOnboardCommand() (packages/adapters/src/index.ts line 573); delegates to renderClaudeOnboardSkill. Per-target path under .claude/commands/gdh/ (legacy command-file location, retained for backwards compatibility).";
195
+ }, {
196
+ readonly surfaceId: "claude_status_command";
197
+ readonly relativePath: null;
198
+ readonly class: "deterministic";
199
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeStatusCommand() (packages/adapters/src/index.ts line 577); delegates to renderClaudeStatusSkill. Per-target path under .claude/commands/gdh/.";
200
+ }, {
201
+ readonly surfaceId: "claude_scan_command";
202
+ readonly relativePath: null;
203
+ readonly class: "deterministic";
204
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeScanCommand() (packages/adapters/src/index.ts line 581); delegates to renderClaudeScanSkill. Per-target path under .claude/commands/gdh/.";
205
+ }, {
206
+ readonly surfaceId: "claude_migrate_command";
207
+ readonly relativePath: null;
208
+ readonly class: "deterministic";
209
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeMigrateCommand() (packages/adapters/src/index.ts line 585); delegates to renderClaudeMigrateSkill. Per-target path under .claude/commands/gdh/.";
210
+ }, {
211
+ readonly surfaceId: "claude_update_command";
212
+ readonly relativePath: null;
213
+ readonly class: "deterministic";
214
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeUpdateCommand() (packages/adapters/src/index.ts line 589); delegates to renderClaudeUpdateSkill. Per-target path under .claude/commands/gdh/.";
215
+ }, {
216
+ readonly surfaceId: "claude_check_command";
217
+ readonly relativePath: null;
218
+ readonly class: "deterministic";
219
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeCheckCommand() (packages/adapters/src/index.ts line 593); delegates to renderClaudeCheckSkill. Per-target path under .claude/commands/gdh/.";
220
+ }, {
221
+ readonly surfaceId: "claude_prepare_command";
222
+ readonly relativePath: null;
223
+ readonly class: "deterministic";
224
+ readonly notes: "Legacy Claude command shim rendered by renderClaudePrepareCommand() (packages/adapters/src/index.ts line 597); delegates to renderClaudePrepareSkill. Per-target path under .claude/commands/gdh/.";
225
+ }, {
226
+ readonly surfaceId: "claude_run_game_command";
227
+ readonly relativePath: null;
228
+ readonly class: "deterministic";
229
+ readonly notes: "Legacy Claude command shim rendered by renderClaudeRunGameCommand() (packages/adapters/src/index.ts line 601); delegates to renderClaudeRunGameSkill. Per-target path under .claude/commands/gdh/.";
230
+ }, {
231
+ readonly surfaceId: "mcp_config_entry";
232
+ readonly relativePath: null;
233
+ readonly class: "deterministic";
234
+ readonly notes: "Managed `gdh` MCP server entry rendered by renderManagedMcpConfig() (packages/adapters/src/index.ts line 3061). Per D-21 the entry GDH owns by marker is deterministic; the surrounding user MCP config (.mcp.json or .cursor/mcp.json) is project-native and not classified — GDH only operates on the entry it owns.";
235
+ }, {
236
+ readonly surfaceId: "codex_project_mcp_section";
237
+ readonly relativePath: ".codex/config.toml";
238
+ readonly class: "deterministic";
239
+ readonly notes: "Managed `[mcp_servers.gdh]` section in .codex/config.toml rendered by renderManagedCodexProjectSection() (packages/adapters/src/index.ts line 3096) and stitched into the file via renderManagedCodexProjectConfig() (line 3106). Path constant CODEX_PROJECT_CONFIG_RELATIVE_PATH (line 231).";
240
+ }, {
241
+ readonly surfaceId: "codex_authoring_hook_block";
242
+ readonly relativePath: ".codex/config.toml";
243
+ readonly class: "deterministic";
244
+ readonly notes: "Managed `# BEGIN GDH managed authoring hooks` block in .codex/config.toml rendered by renderManagedCodexAuthoringHookBlock() (packages/adapters/src/index.ts line 3193). Marker-bounded; deterministic per D-22.";
245
+ }, {
246
+ readonly surfaceId: "authoring_hook";
247
+ readonly relativePath: null;
248
+ readonly class: "deterministic";
249
+ readonly notes: "Authoring validation hook rendered by renderGdhAuthoringHook() in packages/adapters/src/authoring-hook-render.ts (line 10). Per-agent paths: .claude/hooks/gdh-authoring-guard.js (CLAUDE_AUTHORING_HOOK_RELATIVE_PATH) and .codex/hooks/gdh-authoring-guard.js (CODEX_AUTHORING_HOOK_RELATIVE_PATH).";
250
+ }, {
251
+ readonly surfaceId: "claude_update_hook";
252
+ readonly relativePath: ".claude/hooks/gdh-check-update.js";
253
+ readonly class: "deterministic";
254
+ readonly notes: "Claude SessionStart parent hook rendered by renderClaudeCheckUpdateHook() in packages/adapters/src/claude-update-hook-render.ts. Path constant CLAUDE_CHECK_UPDATE_HOOK_RELATIVE_PATH.";
255
+ }, {
256
+ readonly surfaceId: "claude_update_worker";
257
+ readonly relativePath: ".claude/hooks/gdh-check-update-worker.js";
258
+ readonly class: "deterministic";
259
+ readonly notes: "Claude background update-check worker rendered by the renderer in packages/adapters/src/claude-update-worker-render.ts. Path constant CLAUDE_CHECK_UPDATE_WORKER_RELATIVE_PATH.";
260
+ }, {
261
+ readonly surfaceId: "claude_statusline";
262
+ readonly relativePath: ".claude/hooks/gdh-statusline.js";
263
+ readonly class: "deterministic";
264
+ readonly notes: "Optional Claude statusline script rendered by the renderer in packages/adapters/src/claude-statusline-render.ts. Path constant CLAUDE_STATUSLINE_RELATIVE_PATH. GDH bakes the file but does not auto-register it in .claude/settings.json (single-slot conflict); registration is opt-in.";
265
+ }, {
266
+ readonly surfaceId: "agents_md_managed_block";
267
+ readonly relativePath: "AGENTS.md";
268
+ readonly class: "deterministic";
269
+ readonly notes: "Managed BEGIN/END-marker block in AGENTS.md rendered by renderManagedAgentContractBlock() (packages/docs/src/agent-contract.ts line 24) and stitched in by upsertManagedAgentContract() (line 70). Path constant AGENT_CONTRACT_RELATIVE_PATH (line 12). Per D-18 the managed block specifically is deterministic; surrounding user content in AGENTS.md is project-native and not classified — GDH operates only on the marker-bounded region.";
270
+ }, {
271
+ readonly surfaceId: "guidance_unit_set";
272
+ readonly relativePath: null;
273
+ readonly class: "deterministic";
274
+ readonly notes: "Managed guidance unit files (multiple) under docs/agent/ rendered by createDefaultGuidanceUnits() in packages/docs/src/guidance.ts (line 27). Each unit is GDH-rendered with metadata + body; relativePath is null because the surface emits multiple files. Class deterministic per D-19 (Session 9 nested-monorepo migration is the canonical drift mode).";
275
+ }, {
276
+ readonly surfaceId: "guidance_index";
277
+ readonly relativePath: "docs/agent/README.md";
278
+ readonly class: "deterministic";
279
+ readonly notes: "Managed guidance index file rendered by createDefaultGuidanceIndex() in packages/docs/src/guidance.ts (line 391). Path constant GUIDANCE_INDEX_RELATIVE_PATH (line 19). Class deterministic per D-19.";
280
+ }, {
281
+ readonly surfaceId: "gdh_project_yaml";
282
+ readonly relativePath: ".gdh/project.yaml";
283
+ readonly class: "user-data";
284
+ readonly notes: "Schema is GDH-shape; field values (especially gdh_version pin) are user-installed truth. This file defines the schema being migrated and is the canonical source of 'current schema version' when computing the migration plan. Per D-14.";
285
+ }, {
286
+ readonly surfaceId: "gdh_rules_yaml";
287
+ readonly relativePath: ".gdh/rules.yaml";
288
+ readonly class: "user-data";
289
+ readonly notes: "Default boilerplate from a prior version is byte-equal-matched against registry-stored prior-version default and auto-migrated; non-byte-equal content is treated as user-customized and routes through the conflict policy. Per D-15.";
290
+ }, {
291
+ readonly surfaceId: "run_configuration_set";
292
+ readonly relativePath: null;
293
+ readonly class: "user-data";
294
+ readonly notes: "Multiple files under .gdh/run-configurations/ created via `gdh run-config`. User owns content; GDH owns shape; semantic schema changes route through subagent envelope. Per D-16.";
295
+ }, {
296
+ readonly surfaceId: "verification_scenario_set";
297
+ readonly relativePath: null;
298
+ readonly class: "user-data";
299
+ readonly notes: "Multiple files under .gdh/verification-scenarios/ created via `gdh verification-scenario`. User owns content; GDH owns shape; semantic schema changes route through subagent envelope. Per D-16.";
300
+ }, {
301
+ readonly surfaceId: "project_godot";
302
+ readonly relativePath: "project.godot";
303
+ readonly class: "project-native";
304
+ readonly notes: "Owned by the Godot project. Anything outside projectNativeAllowlist is rejected at audit-time. Adding an op requires a registry entry that declares it explicitly. Per D-17.";
305
+ readonly projectNativeAllowlist: readonly [{
306
+ readonly op: "edit_editor_plugins_array";
307
+ readonly summary: "Add or remove entries in the [editor_plugins] section.";
308
+ }, {
309
+ readonly op: "register_autoload";
310
+ readonly summary: "Register or unregister an autoload entry.";
311
+ }];
312
+ }];
313
+ /**
314
+ * Load-time guard used by renderer modules (Plan 70-05) to assert their
315
+ * surface is registered in the manifest under the expected class. Throws
316
+ * loudly on drift — module init aborts before any write can happen.
317
+ *
318
+ * Mirrors the throw-on-violation discipline of
319
+ * packages/core/src/release-span-update-contract.ts (lines 60-83).
320
+ */
321
+ export declare function assertClassRegistered(surfaceId: string, expectedClass: GdhManagedSurfaceClass): void;
322
+ //# sourceMappingURL=managed-surface-classes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managed-surface-classes.d.ts","sourceRoot":"","sources":["../../src/migrations/managed-surface-classes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,MAAM,MAAM,sBAAsB,GAC9B,eAAe,GACf,WAAW,GACX,gBAAgB,CAAC;AAErB,MAAM,WAAW,gCAAgC;IAC/C,sEAAsE;IACtE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,6CAA6C;IAC7C,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,qDAAqD;IACrD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,sBAAsB,CAAC,EAAE,SAAS,gCAAgC,EAAE,CAAC;CAC/E;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiYmB,CAAC;AAE5D;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,sBAAsB,GACpC,IAAI,CAcN"}