From 582aa7083d663ee2b11555396091098fcfbb4c28 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 31 Oct 2026 19:54:34 +0000 Subject: [PATCH] test: fixtures that copy gstack-patch-names also copy its sourced helper Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/plan-mode-preamble-render.test.ts | 2 +- test/relink-disabled-router.test.ts | 2 +- test/render-sections-provenance.test.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/plan-mode-preamble-render.test.ts b/test/plan-mode-preamble-render.test.ts index 24bedde3f..ef02c0939 100644 --- a/test/plan-mode-preamble-render.test.ts +++ b/test/plan-mode-preamble-render.test.ts @@ -62,7 +62,7 @@ describe('every installed-skill render carries the plan-mode arg', () => { }); describe('gstack-relink router re-render', () => { - const BINS = ['gstack-config', 'gstack-relink', 'gstack-patch-names', 'gstack-state-root.sh', 'gstack-install-registry.sh']; + const BINS = ['gstack-config', 'gstack-relink', 'gstack-patch-names', 'gstack-skill-name.sh', 'gstack-state-root.sh', 'gstack-install-registry.sh']; const SAFE = '## Plan Mode Safe Operations'; function relinkFixture() { diff --git a/test/relink-disabled-router.test.ts b/test/relink-disabled-router.test.ts index 4ff263cd7..4268c9a6a 100644 --- a/test/relink-disabled-router.test.ts +++ b/test/relink-disabled-router.test.ts @@ -12,7 +12,7 @@ import * as os from 'os'; import * as path from 'path'; const ROOT = path.resolve(import.meta.dir, '..'); -const BINS = ['gstack-config', 'gstack-relink', 'gstack-patch-names', 'gstack-state-root.sh', 'gstack-install-registry.sh']; +const BINS = ['gstack-config', 'gstack-relink', 'gstack-patch-names', 'gstack-skill-name.sh', 'gstack-state-root.sh', 'gstack-install-registry.sh']; let tmp: string; let install: string; diff --git a/test/render-sections-provenance.test.ts b/test/render-sections-provenance.test.ts index 2573c0bcd..ee2c4e4d1 100644 --- a/test/render-sections-provenance.test.ts +++ b/test/render-sections-provenance.test.ts @@ -77,7 +77,7 @@ describe('installed skills serve rendered sections (F5, #2706)', () => { test('gstack-relink (the gbrain-refresh path) serves the render, and the checkout again once the render is gone', () => { const fx = fixture(); fs.mkdirSync(path.join(fx.install, 'bin'), { recursive: true }); - for (const f of ['gstack-relink', 'gstack-config', 'gstack-state-root.sh', 'gstack-install-registry.sh', 'gstack-patch-names']) { + for (const f of ['gstack-relink', 'gstack-config', 'gstack-state-root.sh', 'gstack-install-registry.sh', 'gstack-patch-names', 'gstack-skill-name.sh']) { fs.copyFileSync(path.join(BIN, f), path.join(fx.install, 'bin', f)); fs.chmodSync(path.join(fx.install, 'bin', f), 0o755); } @@ -106,7 +106,7 @@ describe('installed skills serve rendered sections (F5, #2706)', () => { test('a sections/ directory the user owns is left alone by relink', () => { const fx = fixture(); fs.mkdirSync(path.join(fx.install, 'bin'), { recursive: true }); - for (const f of ['gstack-relink', 'gstack-config', 'gstack-state-root.sh', 'gstack-install-registry.sh', 'gstack-patch-names']) { + for (const f of ['gstack-relink', 'gstack-config', 'gstack-state-root.sh', 'gstack-install-registry.sh', 'gstack-patch-names', 'gstack-skill-name.sh']) { fs.copyFileSync(path.join(BIN, f), path.join(fx.install, 'bin', f)); fs.chmodSync(path.join(fx.install, 'bin', f), 0o755); }