fix(pstack): kebab-case agent slugs with no spaces - #378
Open
joshrichards37 wants to merge 1 commit into
Open
joshrichards37 wants to merge 1 commit into
joshrichards37 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
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.
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
force-pushed
the
fix/pstack-grok-spawn-types
branch
from
September 15, 2026 09:52
838f5bb to
9693d5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why
Spawn types must be kebab-case slugs that exist on this session's spawn tool. A space in the agent
namemakes 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
nametocomment-sickopoteto-mode/references/harness.mdfor slugs and lookup fallbackVerification
Spawned
comment-sickoafter 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-sickoinstead of a spaced display name) and documenting how every skill should spawn agents.Adds
poteto-mode/references/harness.mdas 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 hardcodedTask/generalPurpose/ quoted type strings./no-commentsspawns 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.