From 4d877d775a55bb0405d96d4d620ed794ef94c3ca Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 31 Oct 2026 20:07:23 +0000 Subject: [PATCH] test: linker harnesses source the skill-name helper Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/setup-playwright-best-effort.test.ts | 1 + test/user-render-out-dir-install.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/test/setup-playwright-best-effort.test.ts b/test/setup-playwright-best-effort.test.ts index 689e2b67c..826bc6897 100644 --- a/test/setup-playwright-best-effort.test.ts +++ b/test/setup-playwright-best-effort.test.ts @@ -653,6 +653,7 @@ function runLinker(opts: { '_print_windows_copy_note_once() { :; }', '_FOREIGN_SKIPPED_ENTRIES=()', extractFn('_link_or_copy'), + `. "${path.join(ROOT, 'bin/gstack-skill-name.sh')}"`, extractFn('_gstack_link_target_abs'), extractFn('_gstack_target_is_ours'), extractFn('_claude_entry_is_ours'), diff --git a/test/user-render-out-dir-install.test.ts b/test/user-render-out-dir-install.test.ts index 07dd014e7..3a73176cd 100644 --- a/test/user-render-out-dir-install.test.ts +++ b/test/user-render-out-dir-install.test.ts @@ -190,6 +190,7 @@ describe('link_claude_skill_dirs prefers rendered SKILL.md (behavior)', () => { '_FOREIGN_SKIPPED_ENTRIES=()', '_BACKED_UP_SKILL_MDS=()', `_SKILL_BACKUP_ROOT="${os.tmpdir()}/gstack-harness-backups-${process.pid}"`, + `. "${path.join(ROOT, 'bin/gstack-skill-name.sh')}"`, extractFn(SETUP_SRC, 'link_claude_skill_dirs'), `link_claude_skill_dirs "${src}" "${skills}"`, ].join('\n');