diff --git a/get-shit-done/bin/lib/runtime-artifact-layout.cjs b/get-shit-done/bin/lib/runtime-artifact-layout.cjs index 2aac59b93..ce62d827e 100644 --- a/get-shit-done/bin/lib/runtime-artifact-layout.cjs +++ b/get-shit-done/bin/lib/runtime-artifact-layout.cjs @@ -66,7 +66,7 @@ function findInstallSourceRoot(overrideRoot) { if (parent === dir) break; dir = parent; } - return path.join(__dirname, '..', '..', '..', 'commands', 'gsd'); + throw new Error(`findInstallSourceRoot: could not locate commands/gsd from ${__dirname}`); } /** @@ -85,7 +85,7 @@ function findAgentsSourceRoot(overrideRoot) { if (parent === dir) break; dir = parent; } - return null; + throw new Error(`findAgentsSourceRoot: could not locate agents/ from ${__dirname}`); } // ---------------------------------------------------------------------------