Skip to content

ci: gate npm tarball exports, provenance, and clean installation #27

Closed

Description

@abruption

Priority

P1 — package boundary and release integrity.

Problem

The package currently ships all generated dist files, allowing accidental deep imports even though no library API is supported. Release verification should prove the explicit export boundary, clean installation behavior, artifact allowlist, and provenance expectations.

Scope

  • enforce the package files and exports allowlist selected by feat: define the supported package and JSON API boundary #15
  • install the packed tarball in a clean temporary project
  • verify the supported bin and JSON integration surface
  • verify unsupported internal deep imports fail
  • retain npm audit gates and document provenance/registry-signature verification at release time
  • ensure no credentials, local environment files, packed tarballs, or unbuilt source leak into the artifact

Acceptance criteria

  • npm pack contents are asserted exactly or by a deliberately narrow allowlist
  • a clean offline tarball install passes --version, --help, and representative --json smoke tests
  • unsupported deep imports are rejected
  • release guidance distinguishes package provenance from dependency-tree signature counts
  • the gate runs on macOS and Linux

Dependencies

Implement after the public boundary in #15 is decided.

Activity

  1. added
    enhancement
    on Sep 22, 2026
  2. abruption commented on Sep 22, 2026

    @abruption
    OwnerAuthor

    PR #31 implements the package export boundary, tarball allowlist, clean install, representative JSON smoke, and rejected internal imports. Keep this issue open for the remaining cross-platform release provenance/signature gate.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions