fix: add cursor to AGENT_SKILLS and add pi/cursor to spawn-skill tests (#3164)

cursor was missing from the AGENT_SKILLS map in spawn-skill.ts, causing
spawn skill injection to silently skip cursor VMs when --beta recursive
is active. pi was present in AGENT_SKILLS but missing from all test
arrays in spawn-skill.test.ts.

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
A 2026-04-03 17:59:11 -07:00 committed by GitHub
parent a31a821e8a
commit e26d65cd65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

View file

@ -119,6 +119,11 @@ const AGENT_SKILLS: Record<string, SkillConfig> = {
content: HERMES_SNIPPET,
append: true,
},
cursor: {
remotePath: "~/.cursor/rules/spawn.md",
content: SKILL_BODY,
append: false,
},
junie: {
remotePath: "~/.junie/AGENTS.md",
content: SKILL_BODY,