pstack-omp ports Lauren Tan's pstack from
Cursor to oh-my-pi (omp). It is for omp users who want
pstack's poteto-mode router, its playbooks for bug fixes, features, reviews, and shipping, and its
review panels. The plugin carries the full pstack skill set, its playbooks and principle leaves,
and two extensions.
/marketplace add negoro26/pstack-omp
/marketplace install pstack@pstack-omp
Then start a task:
/poteto-mode fix the flaky login test and prove it with a passing run
/poteto-mode pins the router for the session and sends the rest of the line as your first message.
It needs no configuration. Each agent runs on its frontmatter model, then on your chat model.
/poteto-mode off unpins the router.
The install loads the skills and both extensions, potetomode and pstackpolicy. It does not load
the two optional agents. The agent step is in plugins/pstack/README.md.
To give an agent its own model, add an entry under task.agentModelOverrides in
~/.omp/agent/config.yml. Choose models
in omp-mechanics gives the key, the value, and the optional modelRoles aliases. A review panel in
arena or interrogate gives a second opinion only when its agents resolve to different model
families. With no overrides, a panel agent without a frontmatter model runs on your chat model, so
check the model each panel agent resolves to before you trust a panel verdict.
- The plugin tree is a build, not a hand-kept copy.
omp-port/sync-upstream.shexports upstreamcursor/pluginsat the commit inomp-port/UPSTREAM, then appliesomp-port/rules.sedandomp-port/patches/.omp-port/check-port.shrebuilds that commit and fails when the tree differs. It also fails on a rule that drops upstream text nobody reviewed and on a rule that splices its match back into the line. .github/workflows/upstream-sync.ymlsyncs once a day. It runscheck-port.shonmainand against the new upstream commit, builds the sync, runs the gate again on the result, and merges the sync pull request only when the build and the gate pass.- The
pstackpolicyextension is active from install. It refuses two actions from upstream's pause list that a command can show: a force-push to the default branch or tomain,master, ortrunk, and deleting the repository. A forced push whose destination the shell fills in, such as$BRANCH, is refused too, because the command cannot show it is not trunk. Write the branch name out literally and it passes. Everything else passes, merges included, because the port follows upstream's pause list and your prompt is the permission to land. The extension reads the checked-out branch from the tool call's directory, the session cwd or the call's owncwd, and does not follow acd x && git pushinside the command line. It does not enforce the playbooks. The details are inplugins/pstack/README.md. - The
potetomodeextension pinspoteto-modeper session./poteto-mode on|off|status,alt+shift+t, andomp --potetoset the pin, and a resumed session keeps its saved state.
PORTING.md records every substitution and the re-sync procedure. Licensed MIT, same as upstream,
with Lauren Tan's copyright retained.