Problem
tools/build/scripts/prepare-core.sh copies the whole repo docs tree into the package:
rm -rf "${BUILD_DIR}/wheels/docs"
mkdir -p "${BUILD_DIR}/wheels/docs"
cp -r docs/* "${BUILD_DIR}/wheels/docs/"
The published wheels-core 4.0.3 zip (verified via unzip -l) therefore contains 75 files under docs/superpowers/ — internal AI planning artifacts such as docs/superpowers/specs/2026-04-20-wheels-deploy-kamal-port-design.md, docs/superpowers/artifacts/lucli-pr-1/cfml-exit-code.patch, and draft PR.md/ISSUE.md files — plus docs/plans/. These are working documents, not user documentation, and they're now distributed into every app's vendor/wheels/docs/ on box install wheels-core.
Suggested fix
Either curate the copy (e.g. cp -r docs/api docs/contributing ... allowlist) or exclude internal trees explicitly:
cp -r docs/* "${BUILD_DIR}/wheels/docs/"
rm -rf "${BUILD_DIR}/wheels/docs/superpowers" "${BUILD_DIR}/wheels/docs/plans"
Check whether prepare-base.sh / prepare-cli.sh / prepare-starterApp.sh have the same exposure, and consider a validation step in release.yml's "Validate Package Structure" that fails if docs/superpowers appears in any build dir.
🤖 Generated with Claude Code
Problem
tools/build/scripts/prepare-core.shcopies the whole repo docs tree into the package:The published wheels-core 4.0.3 zip (verified via
unzip -l) therefore contains 75 files underdocs/superpowers/— internal AI planning artifacts such asdocs/superpowers/specs/2026-04-20-wheels-deploy-kamal-port-design.md,docs/superpowers/artifacts/lucli-pr-1/cfml-exit-code.patch, and draftPR.md/ISSUE.mdfiles — plusdocs/plans/. These are working documents, not user documentation, and they're now distributed into every app'svendor/wheels/docs/onbox install wheels-core.Suggested fix
Either curate the copy (e.g.
cp -r docs/api docs/contributing ...allowlist) or exclude internal trees explicitly:Check whether
prepare-base.sh/prepare-cli.sh/prepare-starterApp.shhave the same exposure, and consider a validation step in release.yml's "Validate Package Structure" that fails ifdocs/superpowersappears in any build dir.🤖 Generated with Claude Code