feat(pstack): port explain-the-number, fresh subagents, hourly autopilot tick, PR headings, schema-first cast (0.15.6) - #491
Merged
Conversation
…lot tick, PR headings, schema-first cast (0.15.6) Co-authored-by: lauren <poteto@users.noreply.github.com>
…PR headings, schema-first cast; bump 0.15.6 Co-authored-by: lauren <poteto@users.noreply.github.com>
…tadata Co-authored-by: lauren <poteto@users.noreply.github.com>
Co-authored-by: lauren <poteto@users.noreply.github.com>
Co-authored-by: lauren <poteto@users.noreply.github.com>
…ush cadence to autopilot-stack Co-authored-by: lauren <poteto@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 790b45c. Configure here.
Co-authored-by: lauren <poteto@users.noreply.github.com>
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
pstack drifted behind the source mode skill on five changes. This port brings them over in genericized form.
What changed
A. Explain the number. New
principle-explain-the-numberandbenchmark-checklistskills. Adds the trigger and index lines in poteto-mode, perf-issue step 1 and hillclimb step 2 now vet numbers with the checklist, and the README rows and guide count go from 23 to 24.B. Fresh subagents by default. Adds a poteto-mode paragraph about spawning a fresh subagent for each task. The AskQuestion trigger now says to explain each alternative in plain words. Updates the
poteto-agentdescription, and swarm Phase C now says "respawn" instead of "rerun".C. Hourly autopilot tick. autopilot-full, autopilot-stack, and multi-phase-plan drop
/goaland move the tick from 30 minutes to/loop 1h. The owner pushes after every verifiable unit, the tick checks unrelated trunk moves, and the operator judges the owner by the pushed branch and the decisions trail.check-plan.mjsdrops the/goalmarker and the 30-minute pattern and adds/loop 1h.D. PR body headings.
opening-a-pr.mdnow uses##Why / What changed / Scope / Tradeoffs / Blast Radius / Verification and adds concision rules. The built-in PR tool rule is merged with the existingdraft: falsenote, and the forge section (ghby default,originwhen available) stays. One line in multi-phase-plan now follows the same rule.E. Schema-first cast.
typescript-best-practices/references/patterns.mdreplaces the hand-validatedparseUser"earned cast" with a Zod schema plusz.infer, and adds thez.ZodType<User>annotation rule for a type declared first.Version bump: 0.15.5 to 0.15.6.
Scope
18 files under
pstack/. Unslop, model routing, and the audit's "needs a decision" items are not touched.Tradeoffs
/loop, so one/loop 1hinstruction covers local and cloud runs./poteto-modechat the runner andpoteto-agenta delegate only, and it edits the samepoteto-agent.mdandpoteto-mode/SKILL.md. Only one of the two directions can land.poteto-agent.mdfrontmatter and the README.opening-a-pr.md(D), poteto-mode, and the README.08-principles.mdand the README principles table (A).poteto-mode/SKILL.md.plugin.json(fix(pstack): make the /poteto-mode chat the runner, poteto-agent a delegate only #358 does), it needs a new version number.Blast Radius
Text-only skill and playbook changes plus one marker list in
check-plan.mjs. Plans written against the old checker that contain/goalor a 30-minute tick now fail the check until they say/loop 1h.Verification
node scripts/validate-plugins.mjswithajvandajv-formats:All plugins validated successfully.check-plan.mjson a filled plan from the new template:0 problems, exit 0.tsc --strict. The schema-first file passes, and a mismatchedz.ZodType<User>fails with TS2322.grep -i -E) over every added line of the diff: 0 hits. Over the wholepstack/tree, no hits beyond the hits thatmainalready has (the LICENSE and manifest author, the standard.cursor/skills/paths, the publishedbennyautomation, a "magnifying glass" image alt text, aglint-482example in a script comment, and the existing public model names). Patterns:\blauren\blauren-modelauren-agent\bTan\b\bDylan\bdgattey\.cursor/skills/check-glass-perf-regression\bGlass\banytool/in-cloud\bbcId\bdev check\bsand\b\bSand\b\bbenny\b\bsandy\bfetch_cloud_agent_debug_infocursor-subscriptionssubscribe_timercursor\.com/codebasecursor\.com/canvascursor\.com/agentsslack\.comlinear\.appGLINT-everysphereanysphereorigin\.cursor\.comopus-5-5-xhigh\bFable\brainierTahomaGPT-5\.6\bSol\bablationsign testp = 0\.\.buildkite