@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.
- package/INSTALL-BUNDLE.json +1 -1
- package/RELEASE-SPAN-UPDATE-CONTRACTS.json +129 -0
- package/node_modules/@gdh/adapters/dist/authoring-hook-render.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/authoring-hook-render.js +9 -2
- package/node_modules/@gdh/adapters/dist/authoring-hook-render.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-statusline-render.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-statusline-render.js +2 -1
- package/node_modules/@gdh/adapters/dist/claude-statusline-render.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-update-hook-render.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-update-hook-render.js +2 -1
- package/node_modules/@gdh/adapters/dist/claude-update-hook-render.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-update-worker-render.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-update-worker-render.js +2 -1
- package/node_modules/@gdh/adapters/dist/claude-update-worker-render.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.d.ts +71 -0
- package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.js +89 -0
- package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.js.map +1 -0
- package/node_modules/@gdh/adapters/dist/durable-backup.d.ts +209 -0
- package/node_modules/@gdh/adapters/dist/durable-backup.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/durable-backup.js +346 -0
- package/node_modules/@gdh/adapters/dist/durable-backup.js.map +1 -0
- package/node_modules/@gdh/adapters/dist/index.d.ts +10 -1
- package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/index.js +24 -2
- package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/inventory-sweep.d.ts +53 -0
- package/node_modules/@gdh/adapters/dist/inventory-sweep.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/inventory-sweep.js +98 -0
- package/node_modules/@gdh/adapters/dist/inventory-sweep.js.map +1 -0
- package/node_modules/@gdh/adapters/dist/process-orchestration.d.ts +223 -0
- package/node_modules/@gdh/adapters/dist/process-orchestration.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/process-orchestration.js +368 -0
- package/node_modules/@gdh/adapters/dist/process-orchestration.js.map +1 -0
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts +157 -14
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +570 -89
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.js +25 -0
- 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/dist/diagnostics-broker-contract.d.ts +112 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js +264 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts +92 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.js +532 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/index.d.ts +1 -0
- package/node_modules/@gdh/authoring/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/index.js +1 -0
- package/node_modules/@gdh/authoring/dist/index.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-client.d.ts +16 -0
- package/node_modules/@gdh/authoring/dist/lsp-client.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-client.js +24 -0
- package/node_modules/@gdh/authoring/dist/lsp-client.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp.js +123 -2
- package/node_modules/@gdh/authoring/dist/lsp.js.map +1 -1
- package/node_modules/@gdh/authoring/package.json +2 -2
- package/node_modules/@gdh/cli/dist/index.d.ts +9 -0
- package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/index.js +423 -5
- package/node_modules/@gdh/cli/dist/index.js.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.d.ts +152 -1
- package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.js +295 -9
- package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
- package/node_modules/@gdh/cli/dist/self-update.d.ts +14 -0
- package/node_modules/@gdh/cli/dist/self-update.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/self-update.js +197 -15
- package/node_modules/@gdh/cli/dist/self-update.js.map +1 -1
- package/node_modules/@gdh/cli/package.json +10 -10
- package/node_modules/@gdh/core/dist/index.d.ts +209 -6
- package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/index.js +28 -5
- package/node_modules/@gdh/core/dist/index.js.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts +3 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js +247 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts +3 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js +152 -0
- package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts +3 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js +67 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts +37 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/index.js +60 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/index.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts +121 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/types.js +2 -0
- package/node_modules/@gdh/core/dist/migrations/envelopes/types.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts +40 -0
- package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/golden-harness.js +71 -0
- package/node_modules/@gdh/core/dist/migrations/golden-harness.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts +322 -0
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js +384 -0
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/probes.d.ts +58 -0
- package/node_modules/@gdh/core/dist/migrations/probes.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/probes.js +112 -0
- package/node_modules/@gdh/core/dist/migrations/probes.js.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/registry.d.ts +205 -0
- package/node_modules/@gdh/core/dist/migrations/registry.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/migrations/registry.js +214 -0
- package/node_modules/@gdh/core/dist/migrations/registry.js.map +1 -0
- package/node_modules/@gdh/core/dist/state/atomic-write.d.ts +19 -0
- package/node_modules/@gdh/core/dist/state/atomic-write.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/state/atomic-write.js +34 -0
- package/node_modules/@gdh/core/dist/state/atomic-write.js.map +1 -0
- package/node_modules/@gdh/core/dist/state/migration-state.d.ts +135 -0
- package/node_modules/@gdh/core/dist/state/migration-state.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/state/migration-state.js +186 -0
- package/node_modules/@gdh/core/dist/state/migration-state.js.map +1 -0
- package/node_modules/@gdh/core/dist/state/processes-snapshot.d.ts +72 -0
- package/node_modules/@gdh/core/dist/state/processes-snapshot.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/state/processes-snapshot.js +113 -0
- package/node_modules/@gdh/core/dist/state/processes-snapshot.js.map +1 -0
- package/node_modules/@gdh/core/dist/state/render-inventory.d.ts +54 -0
- package/node_modules/@gdh/core/dist/state/render-inventory.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/state/render-inventory.js +77 -0
- package/node_modules/@gdh/core/dist/state/render-inventory.js.map +1 -0
- package/node_modules/@gdh/core/package.json +1 -1
- package/node_modules/@gdh/docs/dist/agent-contract.d.ts.map +1 -1
- package/node_modules/@gdh/docs/dist/agent-contract.js +2 -1
- package/node_modules/@gdh/docs/dist/agent-contract.js.map +1 -1
- package/node_modules/@gdh/docs/dist/guidance.d.ts.map +1 -1
- package/node_modules/@gdh/docs/dist/guidance.js +14 -7
- package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
- package/node_modules/@gdh/docs/package.json +2 -2
- package/node_modules/@gdh/mcp/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/mcp/dist/index.js +77 -1
- package/node_modules/@gdh/mcp/dist/index.js.map +1 -1
- package/node_modules/@gdh/mcp/package.json +8 -8
- package/node_modules/@gdh/observability/package.json +2 -2
- package/node_modules/@gdh/runtime/dist/bridge-surface.js +63 -2
- package/node_modules/@gdh/runtime/dist/bridge-surface.js.map +1 -1
- package/node_modules/@gdh/runtime/package.json +2 -2
- package/node_modules/@gdh/scan/package.json +3 -3
- package/node_modules/@gdh/verify/package.json +7 -7
- package/package.json +11 -11
|
@@ -3,6 +3,16 @@ import path from "node:path";
|
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
export { detectFatalGodotStderr, } from "./godot-stderr-fatality.js";
|
|
5
5
|
export { GDH_MANAGED_GITIGNORE_ENTRIES, GDH_MANAGED_GITIGNORE_SECTION_HEADER, planManagedGitignoreUpdate, } from "./managed-gitignore.js";
|
|
6
|
+
export { GDH_MANAGED_SURFACE_CLASSES, assertClassRegistered, } from "./migrations/managed-surface-classes.js";
|
|
7
|
+
export { runMigrationGolden } from "./migrations/golden-harness.js";
|
|
8
|
+
export { applyMigrationChain, isWorkspaceRelativePath, MIGRATION_REGISTRY_ENTRIES, } from "./migrations/registry.js";
|
|
9
|
+
export { isEnvelopeOutput } from "./migrations/envelopes/envelope-output-validator.js";
|
|
10
|
+
export { ENVELOPE_REGISTRY, isEnvelopeSlug, resolveEnvelopeBySlug, } from "./migrations/envelopes/index.js";
|
|
11
|
+
export { writeFileAtomic } from "./state/atomic-write.js";
|
|
12
|
+
export { RENDER_INVENTORY_RELATIVE_PATH, readRenderInventory, writeRenderInventory, } from "./state/render-inventory.js";
|
|
13
|
+
export { MIGRATION_STATE_RELATIVE_PATH, bootstrapMigrationStateOrEmpty, readMigrationState, writeMigrationState, } from "./state/migration-state.js";
|
|
14
|
+
export { PROCESSES_SNAPSHOT_RELATIVE_PATH, deleteProcessesSnapshot, readProcessesSnapshot, writeProcessesSnapshot, } from "./state/processes-snapshot.js";
|
|
15
|
+
export { runDeferredActionProbe } from "./migrations/probes.js";
|
|
6
16
|
export const GDH_PRODUCT_NAME = "GDH";
|
|
7
17
|
export const GDH_PUBLIC_PACKAGE_NAMES = ["gdh", "@skillcap/gdh"];
|
|
8
18
|
export const GDH_SCANNER_VERSION = "phase-2-scan-v1";
|
|
@@ -10,20 +20,28 @@ export const GDH_PROJECT_CONFIG_VERSION = 3;
|
|
|
10
20
|
export const GDH_RECIPE_SCHEMA_VERSION = 2;
|
|
11
21
|
export const GDH_SCENARIO_SCHEMA_VERSION = 2;
|
|
12
22
|
export const GDH_RULES_SCHEMA_VERSION = 3;
|
|
13
|
-
export const GDH_AGENT_CONTRACT_VERSION =
|
|
14
|
-
|
|
15
|
-
|
|
23
|
+
export const GDH_AGENT_CONTRACT_VERSION = 9;
|
|
24
|
+
/**
|
|
25
|
+
* Minimum self-update source pin (WFL-03 / D-21).
|
|
26
|
+
*
|
|
27
|
+
* `gdh self-update` rejects updates from any pin strictly less than this value.
|
|
28
|
+
* Cross-checked against `docs/product/SUPPORTED-VERSIONS.md` first row by
|
|
29
|
+
* `scripts/validate-docs.mjs` Check 56.
|
|
30
|
+
*/
|
|
31
|
+
export const GDH_MIN_SUPPORTED_PIN = "0.18.0";
|
|
32
|
+
export const GDH_GUIDANCE_INDEX_VERSION = 5;
|
|
33
|
+
export const GDH_GUIDANCE_UNIT_VERSION = 18;
|
|
16
34
|
export const GDH_GUIDANCE_AUDIT_VERSION = 1;
|
|
17
35
|
export const GDH_AUTHORING_SESSION_VERSION = 2;
|
|
18
36
|
export const GDH_AUTHORING_DOGFOOD_VERSION = 1;
|
|
19
37
|
export const GDH_AUTHORING_SLICE_REPORT_VERSION = 1;
|
|
20
38
|
export const GDH_MCP_MANIFEST_VERSION = 1;
|
|
21
39
|
export const GDH_CURSOR_RULE_VERSION = 3;
|
|
22
|
-
export const GDH_UPDATE_HOOK_VERSION =
|
|
40
|
+
export const GDH_UPDATE_HOOK_VERSION = 6;
|
|
23
41
|
export const GDH_RUNTIME_RECIPE_RUN_VERSION = 1;
|
|
24
42
|
export const GDH_RUNTIME_RUN_BUNDLE_VERSION = 1;
|
|
25
43
|
export const GDH_RUNTIME_CORPUS_ARTIFACT_VERSION = 1;
|
|
26
|
-
export const GDH_RUNTIME_BRIDGE_SURFACE_VERSION =
|
|
44
|
+
export const GDH_RUNTIME_BRIDGE_SURFACE_VERSION = 12;
|
|
27
45
|
export const GDH_RUNTIME_KNOWLEDGE_DEFAULT_PATH = ".gdh/runtime-knowledge";
|
|
28
46
|
export function assertProjectLifecycleCompatibilityInvariant(result) {
|
|
29
47
|
const expected = [...result.blockingReasons, ...result.coupledReasons];
|
|
@@ -336,4 +354,9 @@ export { resolveReleaseSpanPreview } from "./release-span-preview.js";
|
|
|
336
354
|
export { RELEASE_SPAN_UPDATE_CONTRACTS_ASSET_RELATIVE_PATH, RELEASE_SPAN_UPDATE_CONTRACTS_SCHEMA_VERSION, readReleaseSpanUpdateContracts, } from "./release-span-update-contract.js";
|
|
337
355
|
export { GDH_UPDATE_CACHE_RELATIVE_PATH, invalidateGdhUpdateCache, readGdhUpdateCache, resolveGdhUpdateCacheDir, resolveGdhUpdateCachePath, writeGdhUpdateCache, } from "./update-cache.js";
|
|
338
356
|
export { fetchNpmLatestForGdh, GDH_UPDATE_REGISTRY_URL, GDH_UPDATE_REMEDIATION_HINT, isNewerGdhVersion, readGdhUpdateMetaOrNull, resolveNpmLatestVersion, runGdhUpdateProbe, } from "./update-probe.js";
|
|
357
|
+
// ─── Authoring Diagnostics Broker ────────────────────────────────────────────
|
|
358
|
+
export const GDH_DIAGNOSTICS_BROKER_PROTOCOL_VERSION = 1;
|
|
359
|
+
export const GDH_DIAGNOSTICS_BROKER_LOOPBACK_HOST = "127.0.0.1";
|
|
360
|
+
export const GDH_DIAGNOSTICS_BROKER_STATE_RELATIVE_PATH = ".gdh-state/authoring/diagnostics-broker";
|
|
361
|
+
export const GDH_DIAGNOSTICS_BROKER_DEFAULT_HEARTBEAT_STALE_AFTER_MS = 15_000;
|
|
339
362
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EACL,sBAAsB,GAEvB,MAAM,4BAA4B,CAAC;AAKpC,OAAO,EACL,6BAA6B,EAC7B,oCAAoC,EACpC,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC;AACtC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,KAAK,EAAE,eAAe,CAAU,CAAC;AAC1E,MAAM,CAAC,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AACrD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAC5C,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAC3C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC;AAC1C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAC5C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAC5C,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAC5C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAC5C,MAAM,CAAC,MAAM,6BAA6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C;IAC/C,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,YAAY;IACnB,cAAc,EAAE,4EAA4E;IAC5F,2BAA2B,EAAE,EAAE;CAChC,CAAC,CAAC;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AASnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAStE,OAAO,EACL,iDAAiD,EACjD,4CAA4C,EAC5C,8BAA8B,GAC/B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAO3B,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAE3B,gFAAgF;AAEhF,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,oCAAoC,GAAG,WAAoB,CAAC;AACzE,MAAM,CAAC,MAAM,0CAA0C,GACrD,yCAAyC,CAAC;AAC5C,MAAM,CAAC,MAAM,uDAAuD,GAAG,MAAM,CAAC"}
|
package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts","sourceRoot":"","sources":["../../../src/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAwNxB,eAAO,MAAM,kBAAkB,EAAE,iBAuChC,CAAC"}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import fs from "node:fs/promises";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { randomUUID } from "node:crypto";
|
|
4
|
+
/**
|
|
5
|
+
* s2c2 → s2c3 rules-schema boilerplate refresh.
|
|
6
|
+
*
|
|
7
|
+
* Phase 72 Plan 02 single-entry registry. Per the audit
|
|
8
|
+
* (.planning/phases/72-migration-workflow-internals-registry-inventory-durable-back/72-02-AUDIT.md),
|
|
9
|
+
* this is the ONLY real class-2/3 transform in the v0.18→HEAD bump
|
|
10
|
+
* range. The other three v0.18→HEAD bumps (s2c3→s2c6, s2c6→s2c7,
|
|
11
|
+
* s3c7→s3c8) are class-1-only (skill / guidance / hook re-render) and
|
|
12
|
+
* are owned by `installSupportedAgentAdapters` re-bake at D-10 step 7.
|
|
13
|
+
* They are intentionally NOT represented in the registry per D-09 (no
|
|
14
|
+
* no-op identity entries) and D-03 (class-1 NEVER in registry).
|
|
15
|
+
*
|
|
16
|
+
* Transform contract:
|
|
17
|
+
* - Read `.gdh/rules.yaml` under targetPath.
|
|
18
|
+
* - If the file does not exist: no-op (the lifecycle inspector and
|
|
19
|
+
* re-bake path own first-time creation; this entry only refreshes
|
|
20
|
+
* existing v2 boilerplate).
|
|
21
|
+
* - If the file content is byte-equal to the locked v0.18 default
|
|
22
|
+
* boilerplate (`RULES_V2_DEFAULT_BOILERPLATE`): atomically rewrite
|
|
23
|
+
* to the locked v3 default boilerplate (`RULES_V3_DEFAULT_BOILERPLATE`).
|
|
24
|
+
* - Otherwise (non-default content — user customized): no-op. The
|
|
25
|
+
* lifecycle inspector in `packages/cli/src/migrate.ts` flags it
|
|
26
|
+
* `compatibility_degraded` with `manual_review` action and steers
|
|
27
|
+
* the operator to hand-edit. See
|
|
28
|
+
* `packages/adapters/src/rules-schema-boilerplate-detection.test.ts`
|
|
29
|
+
* (Session 8 regression coverage) for the manual-review surface.
|
|
30
|
+
*
|
|
31
|
+
* Verify probe:
|
|
32
|
+
* - If `.gdh/rules.yaml` is absent: ok:false (probe expects the
|
|
33
|
+
* surface to exist post-transform; absence at the verify step
|
|
34
|
+
* means the upstream onboarding/re-bake path failed).
|
|
35
|
+
* - If the first line is not `version: 3`: ok:false with reason
|
|
36
|
+
* `rules_version_behind` (anti-tautology — this catches before-
|
|
37
|
+
* state inputs per D-05).
|
|
38
|
+
* - If the content is the locked v3 boilerplate: ok:true.
|
|
39
|
+
* - If the content has `version: 3` but body diverges from the v3
|
|
40
|
+
* boilerplate: ok:true (customized; the entry's job ended at
|
|
41
|
+
* auto-refresh, manual-review surface owns the rest).
|
|
42
|
+
*
|
|
43
|
+
* The locked boilerplate strings below are the byte-equal source of
|
|
44
|
+
* truth. They mirror the corpus fixtures at
|
|
45
|
+
* `tests/fixtures/migration-corpus/v0.18.0/.gdh/rules.yaml` (v2) and
|
|
46
|
+
* `tests/fixtures/migration-corpus/v0.19.0/.gdh/rules.yaml` (v3, also
|
|
47
|
+
* byte-equal to today's `renderRulesYaml(createDefaultRulesDocument(...))`
|
|
48
|
+
* output verified empirically in 72-02-AUDIT.md). Embedded inline to
|
|
49
|
+
* avoid a circular dependency on `@gdh/docs` (which imports from
|
|
50
|
+
* `@gdh/core`).
|
|
51
|
+
*/
|
|
52
|
+
const ENTRY_ID = "s2c2_to_s2c3_rules_schema";
|
|
53
|
+
const RULES_RELATIVE_PATH = ".gdh/rules.yaml";
|
|
54
|
+
/**
|
|
55
|
+
* Locked v0.18 default boilerplate. Byte-equal to the corpus fixture
|
|
56
|
+
* at tests/fixtures/migration-corpus/v0.18.0/.gdh/rules.yaml. Used as
|
|
57
|
+
* the predicate input for "is this the verbatim default boilerplate?"
|
|
58
|
+
*/
|
|
59
|
+
const RULES_V2_DEFAULT_BOILERPLATE = `version: 2
|
|
60
|
+
hard_rules:
|
|
61
|
+
- id: "validation-before-done"
|
|
62
|
+
summary: "Do not call authoring work done until the required GDH validation has run."
|
|
63
|
+
rationale: "Phase 4 makes validation expectations explicit so agents do not guess when work is complete."
|
|
64
|
+
validation_expectations:
|
|
65
|
+
[]
|
|
66
|
+
soft_guidance:
|
|
67
|
+
- id: "prefer-gdh-surfaces"
|
|
68
|
+
summary: "Prefer GDH status, target-prepare, authoring, import-refresh, and guidance surfaces over ad hoc Godot-state guesses."
|
|
69
|
+
rationale: "GDH exists to make Godot authoring and validation constraints inspectable instead of folklore-driven."
|
|
70
|
+
validation_expectations:
|
|
71
|
+
[]
|
|
72
|
+
prohibited_patterns:
|
|
73
|
+
- id: "generated-godot-state-is-not-truth"
|
|
74
|
+
summary: "Do not treat \`.godot/\` generated state as durable project truth or hand-edit it unless a project-specific rule says otherwise."
|
|
75
|
+
rationale: "Generated import/editor state is environment-sensitive and should not become the source of truth for agents."
|
|
76
|
+
validation_expectations:
|
|
77
|
+
[]
|
|
78
|
+
- id: "dont-copy-project-local-env-files-by-default"
|
|
79
|
+
summary: "Do not copy project-local env files such as \`.env.local\` as part of default GDH target preparation unless project-specific guidance explicitly says to do so."
|
|
80
|
+
rationale: "Default GDH preparation should stay deterministic and should not silently inherit machine-local env behavior from another checkout."
|
|
81
|
+
validation_expectations:
|
|
82
|
+
[]
|
|
83
|
+
path_scopes:
|
|
84
|
+
- id: "authoring-files"
|
|
85
|
+
summary: "Authoring-facing Godot source and project files require an authoring check before they are called done."
|
|
86
|
+
path_globs:
|
|
87
|
+
- "**/*.gd"
|
|
88
|
+
- "**/*.tscn"
|
|
89
|
+
- "**/*.tres"
|
|
90
|
+
- "project.godot"
|
|
91
|
+
hard_rules:
|
|
92
|
+
[]
|
|
93
|
+
soft_guidance:
|
|
94
|
+
[]
|
|
95
|
+
prohibited_patterns:
|
|
96
|
+
[]
|
|
97
|
+
validation_expectations:
|
|
98
|
+
- id: "authoring-check"
|
|
99
|
+
kind: "authoring_check"
|
|
100
|
+
required: true
|
|
101
|
+
summary: "Run \`gdh authoring check\` after changing Godot source or project configuration files."
|
|
102
|
+
- id: "editor-plugin-files"
|
|
103
|
+
summary: "EditorPlugin and plugin configuration work requires editor-side validation, not only runtime confidence."
|
|
104
|
+
path_globs:
|
|
105
|
+
- "addons/**/plugin.gd"
|
|
106
|
+
- "addons/**/plugin.cfg"
|
|
107
|
+
hard_rules:
|
|
108
|
+
[]
|
|
109
|
+
soft_guidance:
|
|
110
|
+
- id: "surface-editor-validation"
|
|
111
|
+
summary: "Surface editor-side caveats explicitly when plugin or \`@tool\` work is involved."
|
|
112
|
+
rationale: "Phase 3 already detects editor-side caveats at the point of use and Phase 4 should preserve that distinction."
|
|
113
|
+
validation_expectations:
|
|
114
|
+
[]
|
|
115
|
+
prohibited_patterns:
|
|
116
|
+
[]
|
|
117
|
+
validation_expectations:
|
|
118
|
+
- id: "editor-validation"
|
|
119
|
+
kind: "editor_validation"
|
|
120
|
+
required: true
|
|
121
|
+
summary: "Arrange editor-side validation for \`EditorPlugin\` and plugin configuration changes before calling the work done."
|
|
122
|
+
`;
|
|
123
|
+
/**
|
|
124
|
+
* Locked v0.19 default boilerplate. Byte-equal to the corpus fixture
|
|
125
|
+
* at tests/fixtures/migration-corpus/v0.19.0/.gdh/rules.yaml AND to
|
|
126
|
+
* today's renderRulesYaml(createDefaultRulesDocument(...)) output
|
|
127
|
+
* (verified 2026-05-01 in 72-02-AUDIT.md). When this string drifts
|
|
128
|
+
* from the live renderer output, this entry must be updated and the
|
|
129
|
+
* golden fixture refreshed in lockstep — the chain matrix walk test
|
|
130
|
+
* will catch the drift first.
|
|
131
|
+
*/
|
|
132
|
+
const RULES_V3_DEFAULT_BOILERPLATE = `version: 3
|
|
133
|
+
hard_rules:
|
|
134
|
+
- id: "authoring-validation-evidence"
|
|
135
|
+
summary: "Use GDH authoring check evidence when judging Godot code validity."
|
|
136
|
+
rationale: "Authoring validity should come from GDH diagnostics, not readiness guesses."
|
|
137
|
+
validation_expectations:
|
|
138
|
+
[]
|
|
139
|
+
soft_guidance:
|
|
140
|
+
- id: "prefer-gdh-surfaces"
|
|
141
|
+
summary: "Prefer GDH status, target-prepare, authoring, import-refresh, and guidance surfaces over ad hoc Godot-state guesses."
|
|
142
|
+
rationale: "GDH exists to make Godot authoring and validation constraints inspectable instead of folklore-driven."
|
|
143
|
+
validation_expectations:
|
|
144
|
+
[]
|
|
145
|
+
prohibited_patterns:
|
|
146
|
+
- id: "generated-godot-state-is-not-truth"
|
|
147
|
+
summary: "Do not treat \`.godot/\` generated state as durable project truth or hand-edit it unless a project-specific rule says otherwise."
|
|
148
|
+
rationale: "Generated import/editor state is environment-sensitive and should not become the source of truth for agents."
|
|
149
|
+
validation_expectations:
|
|
150
|
+
[]
|
|
151
|
+
- id: "dont-copy-project-local-env-files-by-default"
|
|
152
|
+
summary: "Do not copy project-local env files such as \`.env.local\` as part of default GDH target preparation unless project-specific guidance explicitly says to do so."
|
|
153
|
+
rationale: "Default GDH preparation should stay deterministic and should not silently inherit machine-local env behavior from another checkout."
|
|
154
|
+
validation_expectations:
|
|
155
|
+
[]
|
|
156
|
+
path_scopes:
|
|
157
|
+
- id: "authoring-files"
|
|
158
|
+
summary: "Authoring-facing Godot source and project files require an authoring check for code-validity evidence."
|
|
159
|
+
path_globs:
|
|
160
|
+
- "**/*.gd"
|
|
161
|
+
- "**/*.tscn"
|
|
162
|
+
- "**/*.tres"
|
|
163
|
+
- "project.godot"
|
|
164
|
+
hard_rules:
|
|
165
|
+
[]
|
|
166
|
+
soft_guidance:
|
|
167
|
+
[]
|
|
168
|
+
prohibited_patterns:
|
|
169
|
+
[]
|
|
170
|
+
validation_expectations:
|
|
171
|
+
- id: "authoring-check"
|
|
172
|
+
kind: "authoring_check"
|
|
173
|
+
required: true
|
|
174
|
+
summary: "Run \`gdh authoring check\` after changing Godot source or project configuration files."
|
|
175
|
+
- id: "editor-plugin-files"
|
|
176
|
+
summary: "EditorPlugin and plugin configuration work requires editor-side validation, not only runtime confidence."
|
|
177
|
+
path_globs:
|
|
178
|
+
- "addons/**/plugin.gd"
|
|
179
|
+
- "addons/**/plugin.cfg"
|
|
180
|
+
hard_rules:
|
|
181
|
+
[]
|
|
182
|
+
soft_guidance:
|
|
183
|
+
- id: "surface-editor-validation"
|
|
184
|
+
summary: "Surface editor-side caveats explicitly when plugin or \`@tool\` work is involved."
|
|
185
|
+
rationale: "Phase 3 already detects editor-side caveats at the point of use and Phase 4 should preserve that distinction."
|
|
186
|
+
validation_expectations:
|
|
187
|
+
[]
|
|
188
|
+
prohibited_patterns:
|
|
189
|
+
[]
|
|
190
|
+
validation_expectations:
|
|
191
|
+
- id: "editor-validation"
|
|
192
|
+
kind: "editor_validation"
|
|
193
|
+
required: true
|
|
194
|
+
summary: "Arrange editor-side validation for \`EditorPlugin\` and plugin configuration changes before claiming code validity."
|
|
195
|
+
`;
|
|
196
|
+
/**
|
|
197
|
+
* Atomic write — temp file in the same directory + rename. POSIX
|
|
198
|
+
* rename is atomic on the same filesystem (D-15). Mirrors the pattern
|
|
199
|
+
* in packages/runtime/src/bridge-broker.ts:721-733.
|
|
200
|
+
*/
|
|
201
|
+
async function writeFileAtomic(filePath, content) {
|
|
202
|
+
await fs.mkdir(path.dirname(filePath), { recursive: true });
|
|
203
|
+
const tempPath = path.join(path.dirname(filePath), `.${path.basename(filePath)}.${randomUUID()}.tmp`);
|
|
204
|
+
await fs.writeFile(tempPath, content, "utf8");
|
|
205
|
+
await fs.rename(tempPath, filePath);
|
|
206
|
+
}
|
|
207
|
+
export const entry_s2c2_to_s2c3 = {
|
|
208
|
+
id: ENTRY_ID,
|
|
209
|
+
from: { schema: 2, agentContract: 2 },
|
|
210
|
+
to: { schema: 2, agentContract: 3 },
|
|
211
|
+
classesTouched: ["user-data"],
|
|
212
|
+
async transform(targetPath) {
|
|
213
|
+
const rulesPath = path.join(targetPath, RULES_RELATIVE_PATH);
|
|
214
|
+
const existing = await fs.readFile(rulesPath, "utf8").catch(() => null);
|
|
215
|
+
if (existing === null) {
|
|
216
|
+
// No rules.yaml present — nothing to refresh. Re-bake / onboarding owns creation.
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (existing !== RULES_V2_DEFAULT_BOILERPLATE) {
|
|
220
|
+
// Customized content. Lifecycle inspector owns the manual-review surface.
|
|
221
|
+
// Leave the file unchanged so verify probe can pass through (or fail if
|
|
222
|
+
// the file is also not the v3 boilerplate, which surfaces as customized
|
|
223
|
+
// post-update content for the operator to review).
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
await writeFileAtomic(rulesPath, RULES_V3_DEFAULT_BOILERPLATE);
|
|
227
|
+
},
|
|
228
|
+
async verify(targetPath) {
|
|
229
|
+
const rulesPath = path.join(targetPath, RULES_RELATIVE_PATH);
|
|
230
|
+
const content = await fs.readFile(rulesPath, "utf8").catch(() => null);
|
|
231
|
+
if (content === null) {
|
|
232
|
+
return {
|
|
233
|
+
ok: false,
|
|
234
|
+
reason: `Expected ${RULES_RELATIVE_PATH} to exist after the s2c2→s2c3 transform; file is absent.`,
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
const firstLine = content.split("\n", 1)[0] ?? "";
|
|
238
|
+
if (firstLine !== "version: 3") {
|
|
239
|
+
return {
|
|
240
|
+
ok: false,
|
|
241
|
+
reason: `Expected ${RULES_RELATIVE_PATH} first line to be \"version: 3\" after the s2c2→s2c3 transform; observed \"${firstLine}\" (rules_version_behind).`,
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
return { ok: true };
|
|
245
|
+
},
|
|
246
|
+
};
|
|
247
|
+
//# sourceMappingURL=s2c2_to_s2c3_rules_schema_v2_to_v3.js.map
|
package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s2c2_to_s2c3_rules_schema_v2_to_v3.js","sourceRoot":"","sources":["../../../src/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC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AE,CAAC;IACtB,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts","sourceRoot":"","sources":["../../../src/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AA6HxB,eAAO,MAAM,kBAAkB,EAAE,iBA2ChC,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import fs from "node:fs/promises";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { randomUUID } from "node:crypto";
|
|
4
|
+
/**
|
|
5
|
+
* s3c8 → s3c9 — register GDHBridge autoload in project.godot.
|
|
6
|
+
*
|
|
7
|
+
* v1.18 register_autoload op (project-native allowlist entry on
|
|
8
|
+
* `project_godot`, see GDH_MANAGED_SURFACE_CLASSES). Pre-v0.24, autoload
|
|
9
|
+
* registration was deferred to manual plugin-enable in the Godot editor —
|
|
10
|
+
* the chain matrix flagged this as compatibility_degraded because agents
|
|
11
|
+
* driving `gdh self-update` cannot open the editor. This entry closes the
|
|
12
|
+
* gap deterministically: the registry walk-replay path adds the autoload
|
|
13
|
+
* entry to project.godot directly, so v0.18..0.23 → HEAD reaches a
|
|
14
|
+
* compatible state without manual editor work.
|
|
15
|
+
*
|
|
16
|
+
* The same write happens via `repairRuntimeBridgeSurface` during
|
|
17
|
+
* `bumpAndRebakePin` step 7b on the self-update path. Both writers are
|
|
18
|
+
* idempotent (rewrite-in-place when the entry exists with a different
|
|
19
|
+
* value, append-with-section when the section is missing) so running them
|
|
20
|
+
* back-to-back is a no-op on the second pass.
|
|
21
|
+
*
|
|
22
|
+
* Phase 72 D-09 / D-03 declared "no class-1 identity entries" — but this
|
|
23
|
+
* entry is class-3 project-native, NOT class-1 deterministic. The op
|
|
24
|
+
* (`register_autoload` on `project_godot`) is on the v1.18 manifest's
|
|
25
|
+
* project-native allowlist explicitly. This is the architecturally-correct
|
|
26
|
+
* registry binding for the v0.23 → v0.24 agent-contract bump.
|
|
27
|
+
*
|
|
28
|
+
* Anti-tautology (D-05): the verify probe distinguishes pre-state from
|
|
29
|
+
* post-state — pre-corpus project.godot files have no GDHBridge autoload
|
|
30
|
+
* (verify rejects), post-transform files do (verify passes). The s2c2_to_s2c3
|
|
31
|
+
* comment block lays out the same invariant for that entry.
|
|
32
|
+
*/
|
|
33
|
+
const ENTRY_ID = "s3c8_to_s3c9_register_runtime_bridge_autoload";
|
|
34
|
+
const PROJECT_GODOT_RELATIVE_PATH = "project.godot";
|
|
35
|
+
const AUTOLOAD_NAME = "GDHBridge";
|
|
36
|
+
const AUTOLOAD_SCRIPT_PATH = "res://addons/gdh_bridge/runtime/gdh_runtime_bridge.gd";
|
|
37
|
+
const AUTOLOAD_VALUE = `"*${AUTOLOAD_SCRIPT_PATH}"`;
|
|
38
|
+
const AUTOLOAD_LINE = `${AUTOLOAD_NAME}=${AUTOLOAD_VALUE}`;
|
|
39
|
+
function findSection(lines, name) {
|
|
40
|
+
const headerLiteral = `[${name}]`;
|
|
41
|
+
let start = -1;
|
|
42
|
+
for (let i = 0; i < lines.length; i++) {
|
|
43
|
+
if (lines[i] === headerLiteral) {
|
|
44
|
+
start = i;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (start < 0)
|
|
49
|
+
return null;
|
|
50
|
+
let end = lines.length;
|
|
51
|
+
for (let i = start + 1; i < lines.length; i++) {
|
|
52
|
+
const line = lines[i] ?? "";
|
|
53
|
+
if (/^\[[^\]]+\]$/.test(line)) {
|
|
54
|
+
end = i;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return { start, end };
|
|
59
|
+
}
|
|
60
|
+
function addAutoloadRegistration(content) {
|
|
61
|
+
const lines = content.split(/\r?\n/);
|
|
62
|
+
const trailingBlank = lines.length > 0 && lines[lines.length - 1] === "" ? 1 : 0;
|
|
63
|
+
const section = findSection(lines, "autoload");
|
|
64
|
+
if (section === null) {
|
|
65
|
+
const baseLines = trailingBlank ? lines.slice(0, -1) : lines;
|
|
66
|
+
const needsSeparator = baseLines.length > 0 && baseLines[baseLines.length - 1]?.trim() !== "";
|
|
67
|
+
const sectionLines = [
|
|
68
|
+
...(needsSeparator ? [""] : []),
|
|
69
|
+
"[autoload]",
|
|
70
|
+
"",
|
|
71
|
+
AUTOLOAD_LINE,
|
|
72
|
+
];
|
|
73
|
+
return `${[...baseLines, ...sectionLines].join("\n")}\n`;
|
|
74
|
+
}
|
|
75
|
+
const replacementIndex = lines.findIndex((line, index) => index > section.start &&
|
|
76
|
+
index < section.end &&
|
|
77
|
+
line.startsWith(`${AUTOLOAD_NAME}=`));
|
|
78
|
+
let nextLines;
|
|
79
|
+
if (replacementIndex >= 0) {
|
|
80
|
+
nextLines = lines.map((line, index) => (index === replacementIndex ? AUTOLOAD_LINE : line));
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const insertAt = section.end;
|
|
84
|
+
nextLines = [...lines.slice(0, insertAt), AUTOLOAD_LINE, ...lines.slice(insertAt)];
|
|
85
|
+
}
|
|
86
|
+
const joined = nextLines.join("\n").replace(/\n+$/, "\n");
|
|
87
|
+
return joined.endsWith("\n") ? joined : `${joined}\n`;
|
|
88
|
+
}
|
|
89
|
+
function readAutoloadEntry(content) {
|
|
90
|
+
const lines = content.split(/\r?\n/);
|
|
91
|
+
const section = findSection(lines, "autoload");
|
|
92
|
+
if (section === null)
|
|
93
|
+
return null;
|
|
94
|
+
for (let i = section.start + 1; i < section.end; i++) {
|
|
95
|
+
const line = lines[i] ?? "";
|
|
96
|
+
if (line.startsWith(`${AUTOLOAD_NAME}=`)) {
|
|
97
|
+
return line.slice(`${AUTOLOAD_NAME}=`.length);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
async function writeFileAtomic(filePath, content) {
|
|
103
|
+
await fs.mkdir(path.dirname(filePath), { recursive: true });
|
|
104
|
+
const tempPath = path.join(path.dirname(filePath), `.${path.basename(filePath)}.${randomUUID()}.tmp`);
|
|
105
|
+
await fs.writeFile(tempPath, content, "utf8");
|
|
106
|
+
await fs.rename(tempPath, filePath);
|
|
107
|
+
}
|
|
108
|
+
export const entry_s3c8_to_s3c9 = {
|
|
109
|
+
id: ENTRY_ID,
|
|
110
|
+
from: { schema: 3, agentContract: 8 },
|
|
111
|
+
to: { schema: 3, agentContract: 9 },
|
|
112
|
+
classesTouched: ["project-native"],
|
|
113
|
+
async transform(targetPath) {
|
|
114
|
+
const projectGodotPath = path.join(targetPath, PROJECT_GODOT_RELATIVE_PATH);
|
|
115
|
+
const existing = await fs.readFile(projectGodotPath, "utf8").catch(() => null);
|
|
116
|
+
if (existing === null) {
|
|
117
|
+
// No project.godot — fixture is incomplete or this is not a Godot project.
|
|
118
|
+
// Re-bake / onboarding owns first-time creation; the transform leaves it.
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
const next = addAutoloadRegistration(existing);
|
|
122
|
+
if (next === existing) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
await writeFileAtomic(projectGodotPath, next);
|
|
126
|
+
},
|
|
127
|
+
async verify(targetPath) {
|
|
128
|
+
const projectGodotPath = path.join(targetPath, PROJECT_GODOT_RELATIVE_PATH);
|
|
129
|
+
const content = await fs.readFile(projectGodotPath, "utf8").catch(() => null);
|
|
130
|
+
if (content === null) {
|
|
131
|
+
return {
|
|
132
|
+
ok: false,
|
|
133
|
+
reason: `Expected ${PROJECT_GODOT_RELATIVE_PATH} to exist after the s3c8→s3c9 transform; file is absent.`,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
const entryValue = readAutoloadEntry(content);
|
|
137
|
+
if (entryValue === null) {
|
|
138
|
+
return {
|
|
139
|
+
ok: false,
|
|
140
|
+
reason: `Expected ${PROJECT_GODOT_RELATIVE_PATH} to contain a [autoload] entry for ${AUTOLOAD_NAME}; entry is absent (autoload_not_registered).`,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
if (entryValue !== AUTOLOAD_VALUE) {
|
|
144
|
+
return {
|
|
145
|
+
ok: false,
|
|
146
|
+
reason: `Expected ${AUTOLOAD_NAME} autoload value to equal ${AUTOLOAD_VALUE}; observed ${entryValue} (autoload_value_mismatch).`,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
return { ok: true };
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
//# sourceMappingURL=s3c8_to_s3c9_register_runtime_bridge_autoload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3c8_to_s3c9_register_runtime_bridge_autoload.js","sourceRoot":"","sources":["../../../src/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAOzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,MAAM,QAAQ,GAAG,+CAA+C,CAAC;AACjE,MAAM,2BAA2B,GAAG,eAAe,CAAC;AACpD,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,MAAM,oBAAoB,GAAG,uDAAuD,CAAC;AACrF,MAAM,cAAc,GAAG,KAAK,oBAAoB,GAAG,CAAC;AACpD,MAAM,aAAa,GAAG,GAAG,aAAa,IAAI,cAAc,EAAE,CAAC;AAO3D,SAAS,WAAW,CAAC,KAAwB,EAAE,IAAY;IACzD,MAAM,aAAa,GAAG,IAAI,IAAI,GAAG,CAAC;IAClC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC;IACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACt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gBACT,MAAM,EAAE,YAAY,2BAA2B,sCAAsC,aAAa,8CAA8C;aACjJ,CAAC;QACJ,CAAC;QACD,IAAI,UAAU,KAAK,cAAc,EAAE,CAAC;YAClC,OAAO;gBACL,EAAE,EAAE,KAAK;gBACT,MAAM,EAAE,YAAY,aAAa,4BAA4B,cAAc,cAAc,UAAU,6BAA6B;aACjI,CAAC;QACJ,CAAC;QACD,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;IACtB,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"envelope-output-validator.d.ts","sourceRoot":"","sources":["../../../src/migrations/envelopes/envelope-output-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAgD5E,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,0BAA0B,CAyBrC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hand-rolled type guard for `GdhMigrationEnvelopeOutput` (D-03).
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the closed-enum + per-field-guard style used by `isVerify`,
|
|
5
|
+
* `isDeferredAction`, and `isMigrationState` in
|
|
6
|
+
* `packages/core/src/state/migration-state.ts:85-135`. Specifically:
|
|
7
|
+
*
|
|
8
|
+
* - Closed `KNOWN_OUTPUT_STATES` and `KNOWN_CHANGE_KINDS` constants.
|
|
9
|
+
* - `value: unknown → value is X` predicates that fail-close on every
|
|
10
|
+
* shape mismatch.
|
|
11
|
+
* - No `try/catch` on field access; all access goes through `Record<string, unknown>`
|
|
12
|
+
* after a `typeof === "object" && !== null && !Array.isArray` gate.
|
|
13
|
+
* - No regex; no zod; no third-party dependency. The agent-supplied
|
|
14
|
+
* payload (Plan 05's `gdh migration record-envelope-result`) is the
|
|
15
|
+
* primary trust boundary — keeping the guard hand-rolled keeps the
|
|
16
|
+
* surface auditable.
|
|
17
|
+
*
|
|
18
|
+
* Threat register reference: T-73-01-02 (tampering on agent-supplied JSON).
|
|
19
|
+
* Mitigation = this function returning `false` on every malformed shape.
|
|
20
|
+
*/
|
|
21
|
+
const KNOWN_OUTPUT_STATES = [
|
|
22
|
+
"apply",
|
|
23
|
+
"abort",
|
|
24
|
+
"needs_clarification",
|
|
25
|
+
];
|
|
26
|
+
const KNOWN_CHANGE_KINDS = ["rewrite", "delete"];
|
|
27
|
+
function isFileChange(value) {
|
|
28
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
const v = value;
|
|
32
|
+
if (!KNOWN_CHANGE_KINDS.includes(v["kind"])) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (typeof v["relativePath"] !== "string" || v["relativePath"].length === 0) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
if (v["kind"] === "rewrite" && typeof v["content"] !== "string") {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
export function isEnvelopeOutput(value) {
|
|
44
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
const v = value;
|
|
48
|
+
const state = v["state"];
|
|
49
|
+
if (!KNOWN_OUTPUT_STATES.includes(state)) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
if (state === "apply") {
|
|
53
|
+
if (!Array.isArray(v["changes"]))
|
|
54
|
+
return false;
|
|
55
|
+
return v["changes"].every(isFileChange);
|
|
56
|
+
}
|
|
57
|
+
if (state === "abort") {
|
|
58
|
+
return typeof v["reason"] === "string";
|
|
59
|
+
}
|
|
60
|
+
if (state === "needs_clarification") {
|
|
61
|
+
if (!Array.isArray(v["questions"]))
|
|
62
|
+
return false;
|
|
63
|
+
return v["questions"].every((q) => typeof q === "string");
|
|
64
|
+
}
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=envelope-output-validator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"envelope-output-validator.js","sourceRoot":"","sources":["../../../src/migrations/envelopes/envelope-output-validator.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,MAAM,mBAAmB,GAAmD;IAC1E,OAAO;IACP,OAAO;IACP,qBAAqB;CACtB,CAAC;AAEF,MAAM,kBAAkB,GAAqC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAEnF,SAAS,YAAY,CAAC,KAAc;IAClC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,CAAC,GAAG,KAAgC,CAAC;IAC3C,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAA0B,CAAC,EAAE,CAAC;QACrE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,CAAC,CAAC,cAAc,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5E,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,IAAI,OAAO,CAAC,CAAC,SAAS,CAAC,KAAK,QAAQ,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC9B,KAAc;IAEd,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IAC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