Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions UPSTREAM.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pvstack tracks Lauren Tan's pstack directly from Cursor's plugin repository.

- Repository: https://github.com/cursor/plugins
- Path: `pstack/`
- Commit: `ca782ed8b3c2c521cead8e1720d55c3a5dbf2347`
- Upstream version: 0.15.48
- Commit: `837719080ab799afe01f1ed142f0feb64a6302bf`
- Upstream version: 0.15.49

Update with `node tools/sync-upstream.mjs --ref main`, review the diff, then commit.
`node tools/sync-upstream.mjs --check` fails when the tree has drifted from this pin.
Expand Down
88 changes: 88 additions & 0 deletions plugins/pvstack/.upstream-files.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,28 @@
"skills/statechart/scripts/ir.ts",
"skills/statechart/scripts/janitor.ts",
"skills/statechart/scripts/kill.ts",
"skills/statechart/scripts/lean/Extract.lean",
"skills/statechart/scripts/lean/backends/lemma-chart.ts",
"skills/statechart/scripts/lean/backends/mermaid.ts",
"skills/statechart/scripts/lean/backends/proof-chart.ts",
"skills/statechart/scripts/lean/backends/report.ts",
"skills/statechart/scripts/lean/frontends/facts.ts",
"skills/statechart/scripts/lean/frontends/view.ts",
"skills/statechart/scripts/lean/ir.ts",
"skills/statechart/scripts/lean/passes/attribute.ts",
"skills/statechart/scripts/lean/passes/blocks.ts",
"skills/statechart/scripts/lean/passes/budget.ts",
"skills/statechart/scripts/lean/passes/check.ts",
"skills/statechart/scripts/lean/passes/contract.ts",
"skills/statechart/scripts/lean/passes/fold.ts",
"skills/statechart/scripts/lean/passes/inline.ts",
"skills/statechart/scripts/lean/passes/mark.ts",
"skills/statechart/scripts/lean/passes/reduce.ts",
"skills/statechart/scripts/lean/passes/trust.ts",
"skills/statechart/scripts/lean/passes/view-lemmas.ts",
"skills/statechart/scripts/lean/pipeline.ts",
"skills/statechart/scripts/lean/run.ts",
"skills/statechart/scripts/lean/toolchain.ts",
"skills/statechart/scripts/package.json",
"skills/statechart/scripts/passes/annotate.ts",
"skills/statechart/scripts/passes/label.ts",
Expand Down Expand Up @@ -498,6 +520,72 @@
"skills/statechart/scripts/test/grid/sany.out",
"skills/statechart/scripts/test/java.ts",
"skills/statechart/scripts/test/labels.ts",
"skills/statechart/scripts/test/lean-attribute.test.ts",
"skills/statechart/scripts/test/lean-cli.test.ts",
"skills/statechart/scripts/test/lean-corpus/BranchFold/BranchFold.lean",
"skills/statechart/scripts/test/lean-corpus/BranchFold/expected.exit",
"skills/statechart/scripts/test/lean-corpus/BranchFold/facts.json",
"skills/statechart/scripts/test/lean-corpus/BranchFold/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/BranchFold/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/BranchFold/report.md",
"skills/statechart/scripts/test/lean-corpus/Clean/Clean.lean",
"skills/statechart/scripts/test/lean-corpus/Clean/expected.exit",
"skills/statechart/scripts/test/lean-corpus/Clean/facts.json",
"skills/statechart/scripts/test/lean-corpus/Clean/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/Clean/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/Clean/report.md",
"skills/statechart/scripts/test/lean-corpus/CustomAxiom/CustomAxiom.lean",
"skills/statechart/scripts/test/lean-corpus/CustomAxiom/expected.exit",
"skills/statechart/scripts/test/lean-corpus/CustomAxiom/facts.json",
"skills/statechart/scripts/test/lean-corpus/CustomAxiom/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/CustomAxiom/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/CustomAxiom/report.md",
"skills/statechart/scripts/test/lean-corpus/EquationArms/EquationArms.lean",
"skills/statechart/scripts/test/lean-corpus/EquationArms/expected.exit",
"skills/statechart/scripts/test/lean-corpus/EquationArms/facts.json",
"skills/statechart/scripts/test/lean-corpus/EquationArms/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/EquationArms/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/EquationArms/report.md",
"skills/statechart/scripts/test/lean-corpus/ErrorTactic/ErrorTactic.lean",
"skills/statechart/scripts/test/lean-corpus/ErrorTactic/expected.exit",
"skills/statechart/scripts/test/lean-corpus/ErrorTactic/facts.json",
"skills/statechart/scripts/test/lean-corpus/ErrorTactic/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/ErrorTactic/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/ErrorTactic/report.md",
"skills/statechart/scripts/test/lean-corpus/InlineSubproof/InlineSubproof.lean",
"skills/statechart/scripts/test/lean-corpus/InlineSubproof/expected.exit",
"skills/statechart/scripts/test/lean-corpus/InlineSubproof/facts.json",
"skills/statechart/scripts/test/lean-corpus/InlineSubproof/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/InlineSubproof/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/InlineSubproof/report.md",
"skills/statechart/scripts/test/lean-corpus/Mutual/Mutual.lean",
"skills/statechart/scripts/test/lean-corpus/Mutual/expected.exit",
"skills/statechart/scripts/test/lean-corpus/Mutual/facts.json",
"skills/statechart/scripts/test/lean-corpus/Mutual/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/Mutual/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/Mutual/report.md",
"skills/statechart/scripts/test/lean-corpus/NativeDecide/NativeDecide.lean",
"skills/statechart/scripts/test/lean-corpus/NativeDecide/expected.exit",
"skills/statechart/scripts/test/lean-corpus/NativeDecide/facts.json",
"skills/statechart/scripts/test/lean-corpus/NativeDecide/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/NativeDecide/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/NativeDecide/report.md",
"skills/statechart/scripts/test/lean-corpus/TermMode/TermMode.lean",
"skills/statechart/scripts/test/lean-corpus/TermMode/expected.exit",
"skills/statechart/scripts/test/lean-corpus/TermMode/facts.json",
"skills/statechart/scripts/test/lean-corpus/TermMode/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/TermMode/report.md",
"skills/statechart/scripts/test/lean-corpus/WithSorry/WithSorry.lean",
"skills/statechart/scripts/test/lean-corpus/WithSorry/expected.exit",
"skills/statechart/scripts/test/lean-corpus/WithSorry/facts.json",
"skills/statechart/scripts/test/lean-corpus/WithSorry/lemmas.mmd",
"skills/statechart/scripts/test/lean-corpus/WithSorry/proof.mmd",
"skills/statechart/scripts/test/lean-corpus/WithSorry/report.md",
"skills/statechart/scripts/test/lean-deps.test.ts",
"skills/statechart/scripts/test/lean-live.test.ts",
"skills/statechart/scripts/test/lean-render.test.ts",
"skills/statechart/scripts/test/lean-steps.test.ts",
"skills/statechart/scripts/test/lean-view.test.ts",
"skills/statechart/scripts/test/messages.test.ts",
"skills/statechart/scripts/test/pipeline.test.ts",
"skills/statechart/scripts/test/plain-tlc.test.ts",
Expand Down
2 changes: 1 addition & 1 deletion plugins/pvstack/docs/upstream/guide/06-verify-and-ship.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ A counterexample in model terms convinces you. The PM or designer who owns the b
/statechart what the user sees when they edit a note offline
```

[`/statechart`](../../skills/statechart/SKILL.md) draws a Mermaid statechart of what the user sees, generated from a TLA+ model, so the picture and the checked model can't drift apart. The reader's rules ("you never see Synced while you're offline") become invariants. The chart marks each state that breaks a rule, and the report gives the shortest path to it in the reader's words. Before the hand-off, the agent reproduces each bug path in the real code, so a modeling error doesn't reach the reader as a bug.
[`/statechart`](../../skills/statechart/SKILL.md) draws a Mermaid statechart of what the user sees, generated from a TLA+ model, so the picture and the checked model can't drift apart. The reader's rules ("you never see Synced while you're offline") become invariants. The chart marks each state that breaks a rule, and the report gives the shortest path to it in the reader's words. Before the hand-off, the agent reproduces each bug path in the real code, so a modeling error doesn't reach the reader as a bug. It also compiles a Lean 4 proof into a lemma dependency flowchart and proof tree, flagging unproven gaps, failing steps, native code, and custom axioms.

## Open the PR

Expand Down
2 changes: 1 addition & 1 deletion plugins/pvstack/skills/poteto-help/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ The default answer is `/poteto-mode`, which runs most of the others when its ste
| Bring a verification skill and its feature map back in line with the app | [`/maintain-verification-skill`](../maintain-verification-skill/SKILL.md) |
| Formally verify a race, invariant, or other property that tests rarely reach | [`/create-formal-verification-skill`](../create-formal-verification-skill/SKILL.md) |
| Bring a formal verification back in line after the code it covers changed, and learn whether a failure is drift or a bug | [`/maintain-formal-verification-skill`](../maintain-formal-verification-skill/SKILL.md) |
| Show a PM or designer what the user sees as a chart checked by a TLA+ model, with the shortest path to each state that breaks a rule | [`/statechart`](../statechart/SKILL.md) |
| Show a TLA+ model or a Lean 4 proof as Mermaid charts, with the shortest path to each rule break or unproven gap | [`/statechart`](../statechart/SKILL.md) |
| Vet a performance number before reporting or acting on it | [`/benchmark-checklist`](../benchmark-checklist/SKILL.md) |
| Run a large or cross-cutting change, or one to review after stepping away | [`/figure-it-out`](../figure-it-out/SKILL.md) |
| Keep a decision log during a run, and review it afterward | [`/show-me-your-work`](../show-me-your-work/SKILL.md) |
Expand Down
Loading
Loading