From 4641f48217e01e4b1d91caa2deba2fb596f6003c Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Tue, 30 Jun 2026 15:05:04 -0500 Subject: [PATCH 1/2] chore(skills): register recoup-platform-email-helper as a default sandbox skill MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provisions the new Node email helper (recoupable/skills) into every session sandbox at create time via installGlobalSkills, so task agents can send email through a tested script instead of hand-building JSON in bash. Merge order: the recoupable/skills PR adding the skill must land first — installGlobalSkills runs `npx skills add … --skill recoup-platform-email-helper`, which throws on an unknown name. Ref: recoupable/chat#1829 Co-Authored-By: Claude Opus 4.8 (1M context) --- lib/skills/defaultGlobalSkillRefs.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/skills/defaultGlobalSkillRefs.ts b/lib/skills/defaultGlobalSkillRefs.ts index f8adc8bd..b2cc1d6c 100644 --- a/lib/skills/defaultGlobalSkillRefs.ts +++ b/lib/skills/defaultGlobalSkillRefs.ts @@ -14,6 +14,8 @@ import type { GlobalSkillRef } from "@/lib/skills/globalSkillRef"; export const DEFAULT_GLOBAL_SKILL_REFS: readonly GlobalSkillRef[] = [ // API access + live data + send-email (was `recoup-api`). { source: "recoupable/skills", skillName: "recoup-platform-api-access" }, + // Reliable email send (Node helper) — pairs with the api-access skill. + { source: "recoupable/skills", skillName: "recoup-platform-email-helper" }, // Folder-tree / RECOUP.md scaffolding + roster ops (was `artist-workspace`). { source: "recoupable/skills", skillName: "recoup-platform-build-workspace" }, { source: "recoupable/skills", skillName: "recoup-roster-add-artist" }, From 96ce17848aa83578f42633f36bb26c3ab1387e7f Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Tue, 30 Jun 2026 19:16:29 -0500 Subject: [PATCH 2/2] test(skills): assert recoup-platform-email-helper is a default global skill Lock the entry #730 adds so its removal is caught. (skills#67 merged, so the npx skills add --skill recoup-platform-email-helper install now resolves.) Co-Authored-By: Claude Opus 4.8 (1M context) --- lib/skills/__tests__/defaultGlobalSkillRefs.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/skills/__tests__/defaultGlobalSkillRefs.test.ts b/lib/skills/__tests__/defaultGlobalSkillRefs.test.ts index a4b5371a..b4b481b7 100644 --- a/lib/skills/__tests__/defaultGlobalSkillRefs.test.ts +++ b/lib/skills/__tests__/defaultGlobalSkillRefs.test.ts @@ -5,6 +5,7 @@ describe("DEFAULT_GLOBAL_SKILL_REFS", () => { it("ships the current recoupable/skills slugs (post-rename) as platform defaults", () => { const sourceNames = DEFAULT_GLOBAL_SKILL_REFS.map(r => `${r.source}::${r.skillName}`); expect(sourceNames).toContain("recoupable/skills::recoup-platform-api-access"); + expect(sourceNames).toContain("recoupable/skills::recoup-platform-email-helper"); expect(sourceNames).toContain("recoupable/skills::recoup-platform-build-workspace"); expect(sourceNames).toContain("recoupable/skills::recoup-roster-add-artist"); expect(sourceNames).toContain("recoupable/skills::recoup-roster-list-artists");