pstack eval playbook: isolate each candidate's plugin copy and user state
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- ai-infra-agents, documentation
Research direction
Find the eval playbook and read steps 2 and 6. Update them to disable the installed plugin copy for Claude Code and Codex, verify which copy loaded from each run's record, probe once before running all candidates, and restore changed user state by subtracting candidate Skill calls. Done means both steps explain these safeguards and stop the run if the variant did not load.
Written by the indexing model from the issue text.
Description
The eval playbook's step 2 gives each candidate its own working directory with the variant in
place. Candidates still run in the user's own harness, though, where the installed copy of the
plugin under test and user-level state can leak into a run:
- The installed copy loads too. With the variant loaded through
--plugin-dir(Claude Code) or a
workspace.agents/skills(Codex), the installed plugin of the same name also loads unless it is
turned off. Runs then measure the wrong text, or both texts. - Runs write user state. Claude Code counts each skill call in
~/.claude.json(skillUsage).
When the skill listing is over budget, it uses those counts, weighted by how recent they are, to
choose which skills keep their descriptions. Each eval run that calls the variant's skills raises
the user's counts, and they stay raised after the eval.
Proposal. Add to step 2 and step 6:
- Turn the installed copy off for each candidate: in Claude Code,
--settings '{"enabledPlugins":{"<plugin>@<marketplace>":false}}'beside--plugin-dir; in Codex,
-c plugins.<plugin>@<marketplace>.enabled=false(the key unquoted) beside the workspace skills. - Before grading, check from each run's own record which copy loaded: the
pluginslist in Claude
Code'sstream-jsoninit event, and the skill paths in the skills section of the Codex rollout.
Probe once before starting all candidates, and stop if the variant didn't load. - Snapshot user state the runs change and restore it afterwards. For
skillUsage, subtract the
candidates' Skill calls, counted from their transcripts, so counts other sessions added
meanwhile stay.
- Dominant language
- TypeScript
- Stars
- 18.2k
- Forks
- 2k
- Avg merge
- 3h 56m
- Merged PRs (30d)
- 96
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cursor/plugins
-
pstack: interrogate asks the user, which worker.md forbids for delegates that reach itPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
cursor/plugins#1272 · 1 comment ·
Maintainers usually reply within 1 day
-
poteto-mode: multi-phase-plan Merge placeholder still appends every PR to a base-branch stackPossibly taken @mangeshraut712 claimed this 15 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
typescript-best-practices: schema example uses z.string().uuid(), deprecated in Zod 4Possibly taken @mangeshraut712 claimed this 14 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
cursor/plugins#1165 · 1 comment ·
Maintainers usually reply within 1 day
-
statechart: relative-symlink launcher test fails on macOS because /var is a symlinkPossibly taken @lnuxe claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cursor/plugins#1164 · 2 comments ·
Maintainers usually reply within 1 day
-
pstack docs/harness/claude-code.md: transcript slug replaces every non-alphanumeric character, not only / and .Possibly taken @isTuhin claimed this 9 days ago. Open
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
cursor/plugins#1155 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
infra needs-triage
Difficulty 2/5 Under an hour Newbie friendliness 82/100
LucasSantana-Dev/Lucky#3331 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kOaDT/oss-oopssec-store#381 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nocobase/nocobase#11669 · 1 comment ·
Maintainers usually reply within 1 day
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaudeOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Area: API Bug Difficulty: Low Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
Maintainers usually reply within 1 day