Skip to content

ForgeBox wheels-core artifact ships internal docs/superpowers planning files (specs, PR drafts, patches) #3179

Description

@bpamiri

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions