fix(pstack): make the /poteto-mode chat the runner, poteto-agent a delegate only - #358
Open
dev2o wants to merge 1 commit into
Open
fix(pstack): make the /poteto-mode chat the runner, poteto-agent a delegate only#358dev2o wants to merge 1 commit into
dev2o wants to merge 1 commit into
Conversation
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.
Closes #357.
Why
On Cloud Agents only the main agent can spawn subagents.
poteto-agent.mddescribes itself as the routing target for/poteto-mode. As a result, a Cloud Agent chat spawns onepoteto-agentto run the entire playbook. That child agent has no Task tool and itstodo_writecalls fail. Investigation subagents, code delegates, Comment Sicko, and the todo list never run.This change makes the receiving chat the runner everywhere.
poteto-agentbecomes a delegate wrapper for tasks spawned during a run.Scope
pstack/agents/poteto-agent.md: update description and declare delegate role in the body.pstack/skills/poteto-mode/SKILL.md: specify that the receiving chat runs the playbook and launches delegates.pstack/skills/poteto-mode/playbooks/feature.md: clarify subagent spawning constraints on Cloud Agents.pstack/README.md: reframepoteto-agentsection to match the runner and delegate model.pstack/.cursor-plugin/plugin.json: bump version from 0.15.1 to 0.15.2.Blast Radius
Documentation and agent description changes only. No skill workflow logic changes. Workspaces that already run playbooks in the main chat experience no change. Workspaces running on Cloud Agents regain todo tracking and subagent fan-out.
Verification
node scripts/validate-plugins.mjs. All plugins validated successfully./poteto-mode fix <bug>in a Cloud Agent opens the todo list in the receiving chat and launches investigator subagents from that chat.Note
Low Risk
Documentation and agent metadata only; no runtime workflow logic changes.
Overview
Clarifies who runs
/poteto-modevs whopoteto-agentis for, fixing Cloud Agent runs where a nestedpoteto-agentcould not spawn subagents or maintain todos.The chat that receives
/poteto-modeis now documented as the runner (playbook, todo list, allTaskspawns).poteto-agentis a delegate wrapper for code-writing and helper tasks spawned during that run, not a substitute for running the playbook. Updates land inpoteto-agent.md,poteto-mode/SKILL.md,feature.mdstep 4 (IDE/CLI vs Cloud Agents spawning rules), andREADME.md. Plugin version bumps to 0.15.2.Reviewed by Cursor Bugbot for commit 22c14fc. Bugbot is set up for automated code reviews on this repo. Configure here.