Skip to content

About

pstack (poteto's engineering methodology) ported to oh-my-pi. Model-agnostic omp marketplace: /marketplace add negoro26/pstack-omp

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Repository files navigation

pstack-omp

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.

Install

/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.

Choose models

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.

Why this port

  • The plugin tree is a build, not a hand-kept copy. omp-port/sync-upstream.sh exports upstream cursor/plugins at the commit in omp-port/UPSTREAM, then applies omp-port/rules.sed and omp-port/patches/. omp-port/check-port.sh rebuilds 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.yml syncs once a day. It runs check-port.sh on main and 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 pstackpolicy extension 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 to main, master, or trunk, 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 own cwd, and does not follow a cd x && git push inside the command line. It does not enforce the playbooks. The details are in plugins/pstack/README.md.
  • The potetomode extension pins poteto-mode per session. /poteto-mode on|off|status, alt+shift+t, and omp --poteto set the pin, and a resumed session keeps its saved state.

More

PORTING.md records every substitution and the re-sync procedure. Licensed MIT, same as upstream, with Lauren Tan's copyright retained.

About

pstack (poteto's engineering methodology) ported to oh-my-pi. Model-agnostic omp marketplace: /marketplace add negoro26/pstack-omp

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages