Skip to content

fix(pstack): kebab-case agent slugs with no spaces - #378

Open
joshrichards37 wants to merge 1 commit into
cursor:mainfrom
joshrichards37:fix/pstack-grok-spawn-types
Open

joshrichards37 wants to merge 1 commit into
cursor:mainfrom
joshrichards37:fix/pstack-grok-spawn-types

Conversation

@joshrichards37

@joshrichards37 joshrichards37 commented Sep 15, 2026

Copy link
Copy Markdown

Why

Spawn types must be kebab-case slugs that exist on this session's spawn tool. A space in the agent name makes lookup fail on some harnesses even when the type is listed.

The comments agent is comment-sicko. Use the type this session's spawn tool lists, including a plugin prefix when the enum has one.

Scope

  • Rename agent name to comment-sicko
  • Add poteto-mode/references/harness.md for slugs and lookup fallback
  • Point spawn call sites at that file

Verification

Spawned comment-sicko after the rename. Lookup succeeded.


Note

Low Risk
Documentation and skill routing only; no runtime code paths, but it changes how agents spawn across all pstack workflows.

Overview
Fixes subagent spawn lookup by standardizing agent names as kebab-case slugs (notably comment-sicko instead of a spaced display name) and documenting how every skill should spawn agents.

Adds poteto-mode/references/harness.md as the single source for type slugs (poteto-agent, comment-sicko, generic/explore/plan), plugin-prefix retry, poteto-with-markdown fallback, and model slug rules. README, poteto-mode, no-comments, and parallel workflow skills (how, why, interrogate, reflect, swarm, setup-pstack, opening-a-pr) now point at that file and use “this session’s spawn tool” wording instead of hardcoded Task / generalPurpose / quoted type strings.

/no-comments spawns via the harness slug (with fallback); interrogate drops reviewer defaults whose model slug the session does not list.

Reviewed by Cursor Bugbot for commit 9693d5c. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit 838f5bb. Configure here.

Comment thread pstack/skills/poteto-mode/SKILL.md
Comment thread pstack/skills/interrogate/SKILL.md
Comment thread pstack/skills/no-comments/SKILL.md
Spawn types must match this session's spawn tool enum. A space in the
agent name makes lookup fail on some harnesses. Comment Sicko is
comment-sicko. Slugs and fallbacks live in poteto-mode/references/harness.md.
@joshrichards37
joshrichards37 force-pushed the fix/pstack-grok-spawn-types branch from 838f5bb to 9693d5c Compare September 15, 2026 09:52
@joshrichards37 joshrichards37 changed the title fix(pstack): kebab-case spawn types for Grok Build fix(pstack): kebab-case agent slugs with no spaces Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant