GeezerVison is showing github.com — feat(pstack): port upstream 0.15.29 prompt sharpening for Codex · ScriptedAlchemy/pstack-codex@139e929
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: FILE-COVERAGE.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # Upstream file coverage | 2 | 2 |
| 3 | | -Pinned source: `d457567332aa6989e753ea289f30ea2bfbc80bc0`. | | 3 | +Pinned source: `190d28736eff128ec94f502a22c7fe0c4b56cd37`. | 4 | 4 |
| 5 | 5 | Every source file is checked; content adaptation is not a claim of tested runtime equivalence. | 6 | 6 |
| |
Collapse file Copy file name to clipboardExpand all lines: INTEGRATION-TESTS.md +9Lines changed: 9 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 3 | 3 | These results distinguish real host/service tests from local fixture coverage. | 4 | 4 | They do not certify arbitrary production repositories or connected services. | 5 | 5 |
| | 6 | +## Observed on 2026-10-20 (America/Los_Angeles) | | 7 | + | | 8 | +Ported upstream 0.15.29: `$sharpen` now rewrites a prompt without executing the task, with matching help and guide text. | | 9 | + | | 10 | +- Package validation passed for 58 skills and all 172 upstream files; documentation checks passed. | | 11 | +- 27 Node tests passed, with two optional host tests skipped. All 68 Bun tests and TypeScript checks passed. Three Bun tests timed out at the default five seconds on the first run; the complete Bun suite passed with a 30-second per-test limit. | | 12 | +- The quality delta reported no regressions. The graph test gate identified only documentation headings without test links; documentation checks cover those links, not model behavior. | | 13 | +- This run did not validate model-driven prompt rewriting in a fresh Codex task or live external integrations. | | 14 | + | 6 | 15 | ## Observed on 2026-10-19 (America/Los_Angeles) | 7 | 16 |
| 8 | 17 | Ported upstream 0.15.28 at `d457567` into the Codex source checkout. | |
Collapse file Copy file name to clipboardExpand all lines: PARITY.md +2Lines changed: 2 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -48,3 +48,5 @@ Codex additions: `automate-maintainer` restores the generator from [ScriptedAlch | 48 | 48 | The 0.15.17 port adds `$ketchup`, distills prompts and evidence frameworks, and uses two-entry default panels at `xhigh`. Codex defaults map judgment to `gpt-6-astra`, fast code to `gpt-6-luna`, and exploration/tooling to `gpt-6.1-sol`. Host validation and inheritance fallback still apply; configured panel lists and model overrides are preserved. These Codex variants do not provide upstream's cross-provider model diversity. The maintainer/team additions use concise entrypoints with linked scope, mining, synthesis, roster, and held-out evaluation procedures. | 49 | 49 |
| 50 | 50 | The 0.15.28 port adds `in-your-own-words`, `sharpen`, and the formal verification generator and maintenance skills. It brings upstream's PR review pagination, fenced-plan checks, forge-based stack discovery, and default-branch worktree audits. The audit still reads cached refs only and holds untracked or unpreserved work. Codex's native manifest replaces both upstream manifests, and `CODEX.md` replaces the Claude harness adapter; this repo does not package the separate generated Claude distribution. Effort tuning uses supported Codex fields without fabricating model slugs or speed controls. Custom maintainer/team skills and their resources remain unchanged. | | 51 | + | | 52 | +The 0.15.29 port changes `$sharpen` to return a rewritten prompt without executing the task, and updates its guide and help entries. It preserves explicit-only Codex invocation and the runtime contract. |
Collapse file Copy file name to clipboardExpand all lines: README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -76,4 +76,4 @@ The audit fetches upstream Git objects and prints pstack-only changes since the | 76 | 76 |
| 77 | 77 | ## License and attribution | 78 | 78 |
| 79 | | -MIT. Original pstack copyright © 2026 Lauren Tan; original license is retained in [LICENSE](LICENSE) and the plugin. Codex adaptation changes are distributed under the same license. Upstream version: 0.15.28, source commit `d457567332aa6989e753ea289f30ea2bfbc80bc0`. | | 79 | +MIT. Original pstack copyright © 2026 Lauren Tan; original license is retained in [LICENSE](LICENSE) and the plugin. Codex adaptation changes are distributed under the same license. Upstream version: 0.15.29, source commit `190d28736eff128ec94f502a22c7fe0c4b56cd37`. |
Collapse file Copy file name to clipboard +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "repository": "https://github.com/cursor/plugins.git", | 3 | 3 | "subdirectory": "pstack", | 4 | | - "commit": "d457567332aa6989e753ea289f30ea2bfbc80bc0", | 5 | | - "version": "0.15.28" | | 4 | + "commit": "190d28736eff128ec94f502a22c7fe0c4b56cd37", | | 5 | + "version": "0.15.29" | 6 | 6 | } |
Collapse file Copy file name to clipboardExpand all lines: plugins/pstack/.codex-plugin/plugin.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "pstack", | 3 | | - "version": "0.15.28+codex.202610190001", | | 3 | + "version": "0.15.29+codex.202610200001", | 4 | 4 | "description": "Rigorous engineering workflows for writing less, higher-quality code, ported from Lauren Tan's Cursor pstack plugin.", | 5 | 5 | "author": { | 6 | 6 | "name": "Lauren Tan", | |
Collapse file Copy file name to clipboardExpand all lines: plugins/pstack/README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -143,7 +143,7 @@ $interrogate review this pr. | 143 | 143 | | [`$bro`](./skills/bro/SKILL.md) | you want the last message restated in plain human language, no jargon. | | 144 | 144 | | [`$technical-writing`](./skills/technical-writing/SKILL.md) | layered doc standard (Diátaxis + Google developer style + STE + Global English) for docs, RFCs, readmes, PR descriptions, commit messages. | | 145 | 145 | | [`$in-your-own-words`](./skills/in-your-own-words/SKILL.md) | you want the agent to play back your goal and the problem before it starts. runs only when you type `$in-your-own-words`. | | 146 | | -| [`$sharpen`](./skills/sharpen/SKILL.md) | you want a task approached the way a top expert would, aimed at what you're really after, without overspecifying it or deciding your choices for you. | | | 146 | +| [`$sharpen`](./skills/sharpen/SKILL.md) | you want a prompt made deeper, not bigger, before you send it: what a top professional would do that you didn't ask for, the raw material they'd start from, their methods and tools, and an outside check that the result is right. hands back the rewritten prompt and leaves your choices open. doesn't do the task. runs only when you type `$sharpen`. | | 147 | 147 | | [`$create-formal-verification-skill`](./skills/create-formal-verification-skill/SKILL.md) | tests can't reach the case that breaks a race, retry, state machine, parser, or unsafe code. verifies one property with the tool that fits and generates a project-local skill to recheck it on every change. | | 148 | 148 | | [`$maintain-formal-verification-skill`](./skills/maintain-formal-verification-skill/SKILL.md) | code your formal verification covers has changed since it was last checked. updates the model, harness, or properties to match the code, reruns, and says whether each failure is drift in the verification or a bug in the code. | | 149 | 149 |
| |
Collapse file Copy file name to clipboardExpand all lines: plugins/pstack/UPSTREAM.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 3 | 3 | This Codex port tracks Lauren Tan's MIT-licensed `pstack` plugin from the official | 4 | 4 | [`cursor/plugins`](https://github.com/cursor/plugins/tree/main/pstack) repository. | 5 | 5 |
| 6 | | -- Upstream version: `0.15.28` | 7 | | -- Upstream commit: `d457567332aa6989e753ea289f30ea2bfbc80bc0` | | 6 | +- Upstream version: `0.15.29` | | 7 | +- Upstream commit: `190d28736eff128ec94f502a22c7fe0c4b56cd37` | 8 | 8 | - Upstream subtree: `pstack/` | 9 | 9 | - Port target: Codex skills, subagent collaboration tools, local session records, | 10 | 10 | Codex goals/automations, and Codex-native browser/computer-use verification. | |
Collapse file Copy file name to clipboardExpand all lines: plugins/pstack/docs/guide/02-poteto-mode.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -66,13 +66,13 @@ $poteto-mode read this thread. restate the underlying issue in your own words, i | 66 | 66 |
| 67 | 67 | A misreading shows up in the restatement, before any code exists. Correct it there, and it costs you one message instead of one wrong fix. For the restatement alone, with no playbook, run [`$in-your-own-words`](../../skills/in-your-own-words/SKILL.md). It restates what the agent thinks your goals are and what problem you're trying to solve. | 68 | 68 |
| 69 | | -When you're unsure whether a task is aimed right, put [`$sharpen`](../../skills/sharpen/SKILL.md) in front of it: | | 69 | +When you're unsure whether a prompt is aimed right, run [`$sharpen`](../../skills/sharpen/SKILL.md) on it before you send it: | 70 | 70 |
| 71 | 71 | ```text | 72 | 72 | $sharpen write a migration guide for the v2 config format. | 73 | 73 | ``` | 74 | 74 |
| 75 | | -Before it starts, the agent asks how a top expert would do the task, what you're really after, and whether the ask is over- or underspecified. It drops constraints that don't serve the goal as readily as it adds ones that do, leaves your choices open, and keeps one outside check that the result is right. Then it does the work. | | 75 | +The agent says what a top professional would do that you didn't ask for, the rawest material they would start from, the methods and tools they would use, and what other than you or the agent would show the result is right. Then it rewrites your prompt to ask for exactly that, deeper but not bigger, and leaves your choices open. It doesn't do the task. Read the rewrite, then send it, for example with `$poteto-mode`. | 76 | 76 |
| 77 | 77 | ## Follow up short | 78 | 78 |
| |
Collapse file Copy file name to clipboardExpand all lines: plugins/pstack/docs/guide/10-recipes-and-pitfalls.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -20,13 +20,13 @@ $poteto-mode read this thread. restate the underlying issue in your own words, i | 20 | 20 |
| 21 | 21 | A misreading shows up in the restatement, where it costs one message to correct. Keep your own theory to yourself until the agent has stated its own. `$in-your-own-words` asks for the restatement alone, with no playbook. | 22 | 22 |
| 23 | | -## Aim a task before it starts | | 23 | +## Sharpen a prompt before you send it | 24 | 24 |
| 25 | 25 | ```text | 26 | 26 | $sharpen write the onboarding doc for the new billing service. | 27 | 27 | ``` | 28 | 28 |
| 29 | | -The agent asks how an expert would do the task, what you're really after, and whether the ask says too much or too little. It keeps one outside check that the result is right, then does the work. | | 29 | +The agent names what an expert would do that you didn't ask for, the raw material they'd start from, their methods and tools, and an outside check that the result is right. It hands back your prompt rewritten to ask for that and doesn't do the task. Send the rewrite when it reads right. | 30 | 30 |
| 31 | 31 | ## Prototype before you pick | 32 | 32 |
| |
|