Repository navigation
port pstack 0.15.42 - #69
Conversation
Bring in the new role defaults, one-file how and why, statechart fixes, and the sharpen and reflect text, translated onto the Droid seats. Co-authored-by: Kaitian Xie <caelaxie@users.noreply.github.com>
|
Exact-head harness proof for Installed plugin version: Validation reported by the run:
Runtime limitation: |
caelaxie
left a comment
There was a problem hiding this comment.
pass. ports cursor/plugins#1236 (bf0c7cd, pstack 0.15.42), the only pstack commit since c742dd. versions match in plugin.json, .factory-plugin/plugin.json, and the readme header.
minimum changes and parity hold: statechart mermaid/run/tests/drawn.ts/Login chart match upstream byte for byte; why is verbatim; how differs only by the sanctioned generalPurpose+readonly → explorer map. seat, panel, effort, and path translations follow COMPATIBILITY.md, including the seat default update (code opus 5.5 xhigh, judgment fable 5.2 max), dropping gemini, why off the spawn list, and the # defaults: 2 migration. no cursor-team-kit mention added. embedded deslop/control-cli/control-ui untouched.
layout is the droid skills/ + .factory-plugin layout. ci "Validate plugin" is green. harness proof is droid plugin marketplace add + droid plugin install + list on 38ce983, plus installed-skill inspect; droid exec died only on missing FACTORY_API_KEY, which is accepted here. no issue to link.
squash-merging.
Upstream
Ports cursor/plugins#1236 (
bf0c7cd80abdbf7fe47b634978a7d1b4071f71a7,feat(pstack): new default models, one-file why and how, statechart fixes, sharpen and reflect text). That is the onlypstack/commit since the last ported upstream commitc742dd61706f. Version is0.15.42inplugin.json,.factory-plugin/plugin.json, and the README header.docs/harness/claude-code.mdis not in this repo, so that file was not added.What landed
/setup-pstackwrites a# defaults: 2marker and replaces recognized old defaults on the next run.howandwhyare one-file skills. Theirreferences/trees are deleted.run.ts, and the chart, cli, corpus, labels, and render tests, includingdrawn.tsand the Login chart. Those files match upstream byte for byte. The package name stays@droid-skill/statechart.Droid deviations
Task has no per-spawn model field, so the new slugs land on the two seat droids.
poteto-agent(andpoteto-agent-readonly) isclaude-opus-5-5atxhigh. It wasgrok-4.7atxhigh. This seat coversfeature, refactoring,bug-fix,perf-issue,hillclimb,judgment and prose, both reflect lenses, andswarm workers.poteto-judgment(andpoteto-judgment-readonly) isclaude-fable-5-2atmax. It covershardest tasksand one panel runner. Prose no longer uses this seat, becausejudgment and proseis Opus.claude-fable-5-2-high,claude-opus-5-5-high-fast, andgemini-4-carbon-high. There is no Gemini seat. The default panel is the two seats, and a list entry that names any other model id is dropped. The README says the default panel is fable 5.2 / opus 5.5.high, some with-fast. A seat has onereasoningEffort. The code seat staysxhighand the judgment seat staysmax. Setup never writes a-fastslug. Fable has no fast mode.howspawnssubagent_type: "explorer". Upstream spawnsgeneralPurposewithreadonly: trueand no model.whydoes not spawn. It is the upstream one-file text, verbatim, and it is off the spawn list, so a subagent may run it inline.comment-sickotraces a claim or runs/why.recallspawns one writableworkerper source, because a read-only subagent has no MCP access./setup-pstackwrites the pstack-models section of~/.factory/AGENTS.md, pins seats with personal droids, and uses AskUser. The section stores model ids without an effort suffix. It namesgrok-*once, to recognize an old default. In a panel list that is not the old Opus-plus-Grok pair, each old slug becomesclaude-opus-5-5(upstream writesclaude-opus-5-5-high-fast).xhigh, judgmentmax) rather than a per-rolehighand a Gemini cap.xhighvshigh-fast) is the seat's singlexhigh.Harness
node scripts/validate-plugin.mjs: OK (61 skills, 5 droids).bun run typecheckandbun run testinskills/poteto-mode/scripts: typecheck clean, 61 pass, 0 fail.TLA2TOOLS=/tmp/tlc/tla2tools.jar npm testinskills/statechart/scripts(tla2tools.jar 1.7.4, checksum936a262061c914694dfd669a543be24573c45d5aa0ff20a8b96b23d01e050e88): 373 pass, 0 fail, 0 skipped.Installed
plugin.jsonversion is0.15.42. Cache root:/home/ubuntu/.factory/plugins/cache/droid-pstack@cursor-port-pstack-1236-5196-bed404193dc9/pstack-7171b73fae68/38ce983d1f4dFACTORY_API_KEYwas not available. Eachdroid execactivated the skill, then exited 1 with this error:Ran that way for
setup-pstack,how,why,statechart,sharpen,reflect,architect,arena,blast-radius,no-comments,poteto-help,poteto-mode,recall,swarm, andteach. Every installedSKILL.mdunder the cache root is byte-identical to the same path in38ce983, as are the changed statechart scripts (backends/mermaid.ts,run.ts,test/drawn.ts, and the other updated tests) and the three Benny skill files.Installed
skills/how/SKILL.md:Installed
skills/why/SKILL.md:Installed
skills/sharpen/SKILL.md:Installed seat pins, from
droids/poteto-agent.mdanddroids/poteto-judgment.mdin that cache:poteto-agent:model: claude-opus-5-5,reasoningEffort: xhighpoteto-judgment:model: claude-fable-5-2,reasoningEffort: max