@skillcap/gdh 0.26.6 → 0.26.8
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 +121 -0
- package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/index.js +72 -3
- package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts +4 -2
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +4 -2
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.js +10 -10
- package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/templates/authoring-hook.js.tpl +148 -39
- package/node_modules/@gdh/adapters/package.json +8 -8
- package/node_modules/@gdh/authoring/dist/authoring-state-store.d.ts +3 -0
- package/node_modules/@gdh/authoring/dist/authoring-state-store.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/authoring-state-store.js +19 -0
- package/node_modules/@gdh/authoring/dist/authoring-state-store.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts +15 -21
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js +22 -37
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.js +121 -15
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-broker-snapshot.d.ts +28 -0
- package/node_modules/@gdh/authoring/dist/lsp-broker-snapshot.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/lsp-broker-snapshot.js +67 -0
- package/node_modules/@gdh/authoring/dist/lsp-broker-snapshot.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/lsp-test-server.test-utils.d.ts +1 -0
- package/node_modules/@gdh/authoring/dist/lsp-test-server.test-utils.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-test-server.test-utils.js +3 -0
- package/node_modules/@gdh/authoring/dist/lsp-test-server.test-utils.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-warmup.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-warmup.js +2 -1
- package/node_modules/@gdh/authoring/dist/lsp-warmup.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp.js +11 -73
- package/node_modules/@gdh/authoring/dist/lsp.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/project.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/project.js +24 -8
- package/node_modules/@gdh/authoring/dist/project.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/scene-resource.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/scene-resource.js +73 -29
- package/node_modules/@gdh/authoring/dist/scene-resource.js.map +1 -1
- package/node_modules/@gdh/authoring/package.json +2 -2
- package/node_modules/@gdh/cli/dist/index.js +5 -5
- package/node_modules/@gdh/cli/dist/index.js.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.js +3 -2
- package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
- package/node_modules/@gdh/cli/package.json +10 -10
- package/node_modules/@gdh/core/dist/index.d.ts +24 -22
- package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/index.js +10 -8
- 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.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js +8 -4
- package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map +1 -1
- 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 +1 -2
- 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 +8 -100
- package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
- package/node_modules/@gdh/docs/dist/rules.js +3 -3
- package/node_modules/@gdh/docs/dist/rules.js.map +1 -1
- package/node_modules/@gdh/docs/dist/templates/guidance/authoring-and-validation.md.tpl +16 -103
- package/node_modules/@gdh/docs/dist/templates/guidance/project-surfaces.md.tpl +6 -11
- 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 +37 -4
- 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/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
- package/node_modules/@gdh/docs/dist/templates/guidance/gdh-glossary.md.tpl +0 -34
- package/node_modules/@gdh/docs/dist/templates/guidance/persistence-semantics.md.tpl +0 -24
- package/node_modules/@gdh/docs/dist/templates/guidance/project-migration.md.tpl +0 -19
package/INSTALL-BUNDLE.json
CHANGED
|
@@ -3293,6 +3293,127 @@
|
|
|
3293
3293
|
}
|
|
3294
3294
|
]
|
|
3295
3295
|
}
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
"version": "0.26.7",
|
|
3299
|
+
"releaseTag": "v0.26.7",
|
|
3300
|
+
"migrationStatus": "required",
|
|
3301
|
+
"summary": "v0.26.7 re-bakes managed authoring, guidance, entrypoint, and Cursor surfaces so authoring-validation evidence is trustworthy and generated target guidance no longer carries GDH mechanics or runtime bridge procedure. GDH_AGENT_CONTRACT_VERSION moves 15 -> 17, GDH_GUIDANCE_INDEX_VERSION moves 6 -> 8, GDH_GUIDANCE_UNIT_VERSION moves 21 -> 23, GDH_CURSOR_RULE_VERSION moves 4 -> 6, and GDH_UPDATE_HOOK_VERSION moves 15 -> 16. Existing targets should self-update and migrate so hooks, target guidance, AGENTS.md, and Cursor rules reflect the corrected contract.",
|
|
3302
|
+
"releaseHighlights": {
|
|
3303
|
+
"summary": "v0.26.7 repairs authoring-validation trust and tightens generated target guidance. Managed hooks and diagnostics now avoid stale or lifecycle-only confidence, while generated `.gdh/guidance/` stays focused on Godot authoring and project-surface expectations instead of GDH mechanics or runtime bridge procedure.",
|
|
3304
|
+
"operatorChanges": [
|
|
3305
|
+
"**Authoring diagnostics are more trustworthy.** GDH now treats broker freshness, file content hashes, file type, and validator family as part of the evidence contract instead of allowing stale LSP or hook state to imply \"done.\"",
|
|
3306
|
+
"**Generated target guidance is smaller and cleaner.** `.gdh/guidance/` now emits only `authoring-and-validation.md` and `project-surfaces.md`; GDH command mechanics, migration procedure, persistence semantics, and runtime bridge mechanics stay in managed skills, hooks, CLI/MCP structured output, and repo-owned maintainer docs.",
|
|
3307
|
+
"**Target entrypoints point at the right guidance surface.** Managed `AGENTS.md` and Cursor rule output route agents to `.gdh/guidance/README.md`, including the greenfield fixture and nested-target onboarding checks."
|
|
3308
|
+
]
|
|
3309
|
+
},
|
|
3310
|
+
"updateContract": {
|
|
3311
|
+
"summary": "Managed targets must re-bake generated hooks, generated guidance, managed AGENTS.md, and Cursor rules so target-side authoring evidence and guidance boundaries match v0.26.7.",
|
|
3312
|
+
"steps": [
|
|
3313
|
+
{
|
|
3314
|
+
"id": "install_v0_26_7",
|
|
3315
|
+
"kind": "mechanical",
|
|
3316
|
+
"summary": "Install the v0.26.7 GDH package.",
|
|
3317
|
+
"detail": "Run gdh self-update so the target uses the v0.26.7 package and can re-render managed authoring hooks, guidance, AGENTS.md, and Cursor rules with the corrected surface versions.",
|
|
3318
|
+
"commands": [
|
|
3319
|
+
"gdh self-update --apply"
|
|
3320
|
+
],
|
|
3321
|
+
"validationCommands": [
|
|
3322
|
+
"gdh status",
|
|
3323
|
+
"gdh adapters status",
|
|
3324
|
+
"gdh guidance status"
|
|
3325
|
+
]
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"id": "rebake_authoring_and_guidance_surfaces",
|
|
3329
|
+
"kind": "mechanical",
|
|
3330
|
+
"summary": "Re-bake managed authoring and guidance surfaces.",
|
|
3331
|
+
"detail": "If lifecycle status reports pending managed-surface work, run gdh migrate --apply. The migration re-renders managed hooks, AGENTS.md, Cursor rules, and .gdh/guidance so generated target guidance stays scoped to Godot authoring and project surfaces.",
|
|
3332
|
+
"commands": [
|
|
3333
|
+
"gdh migrate --apply"
|
|
3334
|
+
],
|
|
3335
|
+
"validationCommands": [
|
|
3336
|
+
"gdh adapters status",
|
|
3337
|
+
"gdh guidance status",
|
|
3338
|
+
"gdh status"
|
|
3339
|
+
]
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"id": "confirm_guidance_boundary_and_authoring_evidence",
|
|
3343
|
+
"kind": "agent_reasoning",
|
|
3344
|
+
"summary": "Confirm guidance boundary and authoring evidence behavior.",
|
|
3345
|
+
"detail": "Inspect .gdh/guidance/README.md and the generated authoring guidance. It should expose only Godot authoring validation and project-surface boundaries, not GDH command mechanics or runtime bridge procedure. For handoff evidence, use the active authoring validation surface and report the validator family and file scope that actually ran.",
|
|
3346
|
+
"commands": [
|
|
3347
|
+
"gdh guidance status",
|
|
3348
|
+
"gdh authoring check --mode final --target <target>"
|
|
3349
|
+
],
|
|
3350
|
+
"validationCommands": [
|
|
3351
|
+
"gdh status"
|
|
3352
|
+
]
|
|
3353
|
+
}
|
|
3354
|
+
]
|
|
3355
|
+
}
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
"version": "0.26.8",
|
|
3359
|
+
"releaseTag": "v0.26.8",
|
|
3360
|
+
"migrationStatus": "required",
|
|
3361
|
+
"summary": "v0.26.8 re-bakes managed rules, agent contract, generated guidance, and authoring hook surfaces so target guidance no longer asks agents to rerun authoring check commands during edit loops. GDH_RULES_SCHEMA_VERSION moves 3 -> 4, GDH_AGENT_CONTRACT_VERSION moves 17 -> 18, GDH_GUIDANCE_UNIT_VERSION moves 23 -> 24, and GDH_UPDATE_HOOK_VERSION moves 16 -> 17. Existing targets should self-update and migrate so hook-owned authoring feedback and final-validation guidance are aligned. Prior v3 default rules boilerplate is recognized as GDH-owned and refreshes automatically; customized rules remain manual review. The historical v2 -> v3 registry verifier accepts rules files already re-baked to a later supported schema by the current package.",
|
|
3362
|
+
"releaseHighlights": {
|
|
3363
|
+
"summary": "v0.26.8 removes redundant authoring-check instructions from generated agent guidance and relies on managed hook feedback during edit loops. Agents should use hook-provided authoring results while editing, then collect explicit final validation evidence at handoff instead of rerunning the same check commands after every edit.",
|
|
3364
|
+
"operatorChanges": [
|
|
3365
|
+
"**Generated guidance no longer tells agents to rerun authoring checks during edits.** Managed target guidance now treats hook output as the edit-loop feedback surface.",
|
|
3366
|
+
"**Hook feedback stays explicit about file type and scope.** `.gd` edits use the managed diagnostics broker/refresh path, `.tscn` edits use scoped scene validation, and `.tres` remains outside automatic scoped validation.",
|
|
3367
|
+
"**Recovery wording avoids redundant command loops.** Agent-facing text points agents at hook results and final handoff evidence instead of duplicating the hook-owned checks in guidance.",
|
|
3368
|
+
"**Prior default rules files refresh automatically.** Targets with the v3 default `.gdh/rules.yaml` body migrate to the v4 rules text without manual review; customized rules still require manual review."
|
|
3369
|
+
]
|
|
3370
|
+
},
|
|
3371
|
+
"updateContract": {
|
|
3372
|
+
"summary": "Managed targets must re-bake generated rules, hooks, generated guidance, and managed AGENTS.md so agents rely on hook feedback during authoring edits and reserve explicit authoring commands for final validation or recovery.",
|
|
3373
|
+
"steps": [
|
|
3374
|
+
{
|
|
3375
|
+
"id": "install_v0_26_8",
|
|
3376
|
+
"kind": "mechanical",
|
|
3377
|
+
"summary": "Install the v0.26.8 GDH package.",
|
|
3378
|
+
"detail": "Run gdh self-update so the target uses the v0.26.8 package and can re-render managed rules, hooks, guidance, and agent entrypoints with the corrected authoring feedback contract.",
|
|
3379
|
+
"commands": [
|
|
3380
|
+
"gdh self-update --apply"
|
|
3381
|
+
],
|
|
3382
|
+
"validationCommands": [
|
|
3383
|
+
"gdh status",
|
|
3384
|
+
"gdh adapters status",
|
|
3385
|
+
"gdh guidance status"
|
|
3386
|
+
]
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
"id": "rebake_authoring_feedback_surfaces",
|
|
3390
|
+
"kind": "mechanical",
|
|
3391
|
+
"summary": "Re-bake managed authoring feedback surfaces.",
|
|
3392
|
+
"detail": "If lifecycle status reports pending managed-surface work, run gdh migrate --apply. The migration re-renders managed hooks, rules, AGENTS.md, and .gdh/guidance so hook output remains the edit-loop authoring feedback source.",
|
|
3393
|
+
"commands": [
|
|
3394
|
+
"gdh migrate --apply"
|
|
3395
|
+
],
|
|
3396
|
+
"validationCommands": [
|
|
3397
|
+
"gdh adapters status",
|
|
3398
|
+
"gdh guidance status",
|
|
3399
|
+
"gdh status"
|
|
3400
|
+
]
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"id": "confirm_hook_owned_edit_loop",
|
|
3404
|
+
"kind": "agent_reasoning",
|
|
3405
|
+
"summary": "Confirm hook-owned edit-loop behavior.",
|
|
3406
|
+
"detail": "Inspect generated authoring guidance and recovery hints. They should not ask agents to rerun authoring check commands during normal edits; agents should read hook feedback and collect final validation evidence before handoff.",
|
|
3407
|
+
"commands": [
|
|
3408
|
+
"gdh guidance status"
|
|
3409
|
+
],
|
|
3410
|
+
"validationCommands": [
|
|
3411
|
+
"gdh status",
|
|
3412
|
+
"gdh authoring check --mode final --target <target>"
|
|
3413
|
+
]
|
|
3414
|
+
}
|
|
3415
|
+
]
|
|
3416
|
+
}
|
|
3296
3417
|
}
|
|
3297
3418
|
]
|
|
3298
3419
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAeL,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,cAAc,EAInB,KAAK,sCAAsC,EAE3C,KAAK,gCAAgC,EAKrC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAIvB,MAAM,WAAW,CAAC;AAyBnB,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,gCAAgC,CAAC;AA0CxC,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAgB9B,eAAO,MAAM,eAAe,wCAa1B,CAAC;AAEH,eAAO,MAAM,gBAAgB,wCAIoB,CAAC;AAClD,eAAO,MAAM,yBAAyB,cAAc,CAAC;AACrD,eAAO,MAAM,kCAAkC,wCAAwC,CAAC;AACxF,eAAO,MAAM,yBAAyB,cAAc,CAAC;AACrD,eAAO,MAAM,wBAAwB,qBAAqB,CAAC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6BAA6B,EAC7B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,iCAAiC,EACjC,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,8BAA8B,GAC/B,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACV,iBAAiB,EACjB,4BAA4B,EAC5B,gCAAgC,EAChC,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,sBAAsB,EACtB,sCAAsC,EACtC,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,+BAA+B,EAC/B,0BAA0B,EAC1B,uBAAuB,EACvB,kCAAkC,EAClC,+BAA+B,EAC/B,mBAAmB,EACnB,4BAA4B,EAC5B,eAAe,EACf,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,sCAAsC,EAAE,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;CAGvB,CAAC"}
|
|
@@ -424,7 +424,6 @@ export function renderCursorRule(input) {
|
|
|
424
424
|
"This GDH-managed Godot target uses GDH.",
|
|
425
425
|
"Apply this rule only for files inside this Godot target or when the user explicitly asks for GDH work on this target.",
|
|
426
426
|
`Follow the canonical target-local entrypoint in [AGENTS.md](../../${prefixed("AGENTS.md")}), then load the canonical guidance index at [.gdh/guidance/README.md](../../${prefixed(".gdh/guidance/README.md")}) before substantive Godot work.`,
|
|
427
|
-
`For runtime bridge usage, load [.gdh/guidance/authoring-and-validation.md](../../${prefixed(".gdh/guidance/authoring-and-validation.md")}) and follow its runtime bridge section.`,
|
|
428
427
|
"Do not duplicate or override the canonical GDH guidance chain here.",
|
|
429
428
|
"",
|
|
430
429
|
].join("\n");
|
|
@@ -2685,7 +2684,77 @@ async function isDefaultRulesBoilerplate(targetPath, projectConfig) {
|
|
|
2685
2684
|
// signal needed to decide whether overwriting the file is safe.
|
|
2686
2685
|
const expected = renderRulesYaml(createDefaultRulesDocument(projectConfig));
|
|
2687
2686
|
const actual = renderRulesYaml(onDisk);
|
|
2688
|
-
return actual === expected;
|
|
2687
|
+
return actual === expected || isPriorDefaultRulesBoilerplate(actual);
|
|
2688
|
+
}
|
|
2689
|
+
function isPriorDefaultRulesBoilerplate(content) {
|
|
2690
|
+
// v0.26.8 changed only the default authoring-validation wording to stop
|
|
2691
|
+
// telling agents to rerun hook-owned checks during edit loops. Prior v3
|
|
2692
|
+
// boilerplate is still GDH-owned default content, so it is safe to refresh.
|
|
2693
|
+
const priorV3Default = `version: ${GDH_RULES_SCHEMA_VERSION}
|
|
2694
|
+
hard_rules:
|
|
2695
|
+
- id: "authoring-validation-evidence"
|
|
2696
|
+
summary: "Use GDH authoring check evidence when judging Godot code validity."
|
|
2697
|
+
rationale: "Authoring validity should come from GDH diagnostics, not readiness guesses."
|
|
2698
|
+
validation_expectations:
|
|
2699
|
+
[]
|
|
2700
|
+
soft_guidance:
|
|
2701
|
+
- id: "prefer-gdh-surfaces"
|
|
2702
|
+
summary: "Prefer GDH status, target-prepare, authoring, import-refresh, and guidance surfaces over ad hoc Godot-state guesses."
|
|
2703
|
+
rationale: "GDH exists to make Godot authoring and validation constraints inspectable instead of folklore-driven."
|
|
2704
|
+
validation_expectations:
|
|
2705
|
+
[]
|
|
2706
|
+
prohibited_patterns:
|
|
2707
|
+
- id: "generated-godot-state-is-not-truth"
|
|
2708
|
+
summary: "Do not treat \`.godot/\` generated state as durable project truth or hand-edit it unless a project-specific rule says otherwise."
|
|
2709
|
+
rationale: "Generated import/editor state is environment-sensitive and should not become the source of truth for agents."
|
|
2710
|
+
validation_expectations:
|
|
2711
|
+
[]
|
|
2712
|
+
- id: "dont-copy-project-local-env-files-by-default"
|
|
2713
|
+
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."
|
|
2714
|
+
rationale: "Default GDH preparation should stay deterministic and should not silently inherit machine-local env behavior from another checkout."
|
|
2715
|
+
validation_expectations:
|
|
2716
|
+
[]
|
|
2717
|
+
path_scopes:
|
|
2718
|
+
- id: "authoring-files"
|
|
2719
|
+
summary: "Authoring-facing Godot source and project files require an authoring check for code-validity evidence."
|
|
2720
|
+
path_globs:
|
|
2721
|
+
- "**/*.gd"
|
|
2722
|
+
- "**/*.tscn"
|
|
2723
|
+
- "**/*.tres"
|
|
2724
|
+
- "project.godot"
|
|
2725
|
+
hard_rules:
|
|
2726
|
+
[]
|
|
2727
|
+
soft_guidance:
|
|
2728
|
+
[]
|
|
2729
|
+
prohibited_patterns:
|
|
2730
|
+
[]
|
|
2731
|
+
validation_expectations:
|
|
2732
|
+
- id: "authoring-check"
|
|
2733
|
+
kind: "authoring_check"
|
|
2734
|
+
required: true
|
|
2735
|
+
summary: "Run \`gdh authoring check\` after changing Godot source or project configuration files."
|
|
2736
|
+
- id: "editor-plugin-files"
|
|
2737
|
+
summary: "EditorPlugin and plugin configuration work requires editor-side validation, not only runtime confidence."
|
|
2738
|
+
path_globs:
|
|
2739
|
+
- "addons/**/plugin.gd"
|
|
2740
|
+
- "addons/**/plugin.cfg"
|
|
2741
|
+
hard_rules:
|
|
2742
|
+
[]
|
|
2743
|
+
soft_guidance:
|
|
2744
|
+
- id: "surface-editor-validation"
|
|
2745
|
+
summary: "Surface editor-side caveats explicitly when plugin or \`@tool\` work is involved."
|
|
2746
|
+
rationale: "Phase 3 already detects editor-side caveats at the point of use and Phase 4 should preserve that distinction."
|
|
2747
|
+
validation_expectations:
|
|
2748
|
+
[]
|
|
2749
|
+
prohibited_patterns:
|
|
2750
|
+
[]
|
|
2751
|
+
validation_expectations:
|
|
2752
|
+
- id: "editor-validation"
|
|
2753
|
+
kind: "editor_validation"
|
|
2754
|
+
required: true
|
|
2755
|
+
summary: "Arrange editor-side validation for \`EditorPlugin\` and plugin configuration changes before claiming code validity."
|
|
2756
|
+
`;
|
|
2757
|
+
return content === priorV3Default;
|
|
2689
2758
|
}
|
|
2690
2759
|
function inspectAgentContractLifecycleSurface(targetPath, guidanceStatus) {
|
|
2691
2760
|
const status = guidanceStatus.agentContract;
|
|
@@ -2736,7 +2805,7 @@ async function inspectGuidanceIndexLifecycleSurface(guidanceRootPath, commandTar
|
|
|
2736
2805
|
const content = await fs
|
|
2737
2806
|
.readFile(path.join(guidanceRootPath, relativePath), "utf8")
|
|
2738
2807
|
.catch(() => null);
|
|
2739
|
-
const detectedVersion = readTaggedVersion(content, /<!-- GDH GUIDANCE INDEX VERSION: (\d+) -->/);
|
|
2808
|
+
const detectedVersion = readTaggedVersion(content, /<!-- (?:GDH )?GUIDANCE INDEX VERSION: (\d+) -->/);
|
|
2740
2809
|
const probes = [
|
|
2741
2810
|
createVersionProbe({
|
|
2742
2811
|
targetPath: guidanceRootPath,
|