Repository navigation
Closed
Labels
Description
Summary
I installed bigpowers via pi install npm:bigpowers (pi.dev's package mechanism). Every lifecycle skill I run in a consumer project heads up that scripts/*.sh files don't exist there. Before filing this as a bug I want to confirm: for
the pi installation path specifically, is a project-local scripts/ supposed to exist — and if so, how is it provisioned?
What pi actually did (verified on my machine, v2.87.5):
- Installed the package to
~/.pi/agent/npm/node_modules/bigpowers/— including its fullscripts/tree (105 scripts, e.g.run-skill-verify.sh,run-verification-gates.sh). - Registered the package's resources. Its manifest (
package.json→pikey) declares only skills + prompts:"pi": { "skills": ["./.pi/skills"], "prompts": ["./.pi/prompts"] }
— no scripts, and there is no postinstall hook.
- pi's package contract (per pi's docs, packages.md: "Pi packages bundle extensions, skills, prompt templates, and themes") has no resource type for arbitrary project files — so pi install can't provision a scripts/ dir into a consumer project,
even in principle.
Meanwhile the skills call bash scripts/... project-relative (e.g. fix-bug/SKILL.md:67 → → verify: test -d specs/bugs && test -f scripts/run-skill-verify.sh), so the scripts sitting inside ~/.pi/agent/npm/node_modules/bigpowers/scripts/ are
unreachable from any project.
### Reproduction
```bash
pi install npm:bigpowers # my actual install step
cd <any consumer project> # no bigpowers checkout inside it
# ask the agent to run fix-bug (or verify-work, plan-work, survey-context, …)
Observed: skill's verify/HARD GATE probes scripts/X.sh → No such file or directory → agent heads up and either skips the gate or hand-vendors the script from the npm package.
Activity
danielvm-git commentedon Sep 1, 2026
Thanks for the detailed report — you didn't miss a step. It was a real gap, and your analysis was exactly right on every point:
scripts/into a consumer project — even in principle.bash scripts/*.shproject-relative (20 with→ verify:gates probing them), so the 105 scripts sitting in~/.pi/agent/npm/node_modules/bigpowers/scripts/were unreachable from any consumer project. The paths only ever resolved in the bigpowers repo itself (the dev/dogfood flow), which masked the gap since inception.npm i -g/npx bigpowers setupconsumers had the same hole — skills get linked,scripts/never does.Fix: a new
bigpowers initcommand — run once per consumer project, it symlinks the installed package'sscripts/into the project and scaffoldsspecs/bugs/+specs/verifications/(the other thing verify gates probe). It refuses (never clobbers) ascripts/you already own, andbigpowers init --removeundoes it.Once the fix ships (tracked in #117), the pi flow becomes:
…after which
fix-bug,verify-work,wire-cietc. resolve their scripts and verify gates in your project.chore(bugs): file BUG-2026-08-31 — npm token release failure + pi scr…
test(install): bigpowers init provisions scripts/ + specs/ — RED
fix(cli): bigpowers init provisions scripts/ + specs/ into consumer p…
fix(cli): bigpowers init provisions scripts/ + specs/ into consumer p…
chore(release): 2.87.8 [skip ci]
github-actions commentedon Sep 1, 2026
🎉 This issue has been resolved in version 2.87.8 🎉
The release is available on:
Your semantic-release bot 📦🚀
chore(bugs): close BUG-2026-08-31 — npm token + pi scripts provisioni…