From 11e74f9a257116cab152bb1491846a884d6d931a Mon Sep 17 00:00:00 2001 From: Tom Boucher Date: Sun, 17 May 2026 00:12:36 -0400 Subject: [PATCH] test(3663): add export check for stageSkillsForRuntimeAsSkills RED-1/GREEN-1: export assertion + stub function + STAGED_DIRS export. Co-Authored-By: Claude Sonnet 4.6 --- get-shit-done/bin/lib/install-profiles.cjs | 6 ++++++ tests/install-profiles-stage.test.cjs | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/get-shit-done/bin/lib/install-profiles.cjs b/get-shit-done/bin/lib/install-profiles.cjs index 68c961eae..0fffd83f5 100644 --- a/get-shit-done/bin/lib/install-profiles.cjs +++ b/get-shit-done/bin/lib/install-profiles.cjs @@ -373,6 +373,10 @@ function stageAgentsForProfile(srcAgentsDir, resolvedProfile) { return stageDir; } +function stageSkillsForRuntimeAsSkills(srcCommandsDir, resolvedProfile, converter, prefix) { + // stub +} + // --------------------------------------------------------------------------- // Profile marker persistence // --------------------------------------------------------------------------- @@ -560,6 +564,8 @@ module.exports = { mostRestrictiveProfile, stageSkillsForProfile, stageAgentsForProfile, + stageSkillsForRuntimeAsSkills, + STAGED_DIRS, readActiveProfile, writeActiveProfile, // Shared internals diff --git a/tests/install-profiles-stage.test.cjs b/tests/install-profiles-stage.test.cjs index 861cced6d..4594f259e 100644 --- a/tests/install-profiles-stage.test.cjs +++ b/tests/install-profiles-stage.test.cjs @@ -12,9 +12,11 @@ const os = require('os'); const { stageSkillsForProfile, stageAgentsForProfile, + stageSkillsForRuntimeAsSkills, cleanupStagedSkills, resolveProfile, loadSkillsManifest, + STAGED_DIRS, } = require('../get-shit-done/bin/lib/install-profiles.cjs'); const REAL_COMMANDS_DIR = path.join(__dirname, '..', 'commands', 'gsd'); @@ -36,6 +38,12 @@ function createFixtureAgentsDir() { return tmp; } +describe('stageSkillsForRuntimeAsSkills', () => { + test('is exported as a function', () => { + assert.strictEqual(typeof stageSkillsForRuntimeAsSkills, 'function'); + }); +}); + describe('stageSkillsForProfile', () => { test('full profile (skills === "*") returns srcDir unchanged', () => { const src = createFixtureSkillsDir();