Skip to content

hookified - chore: defense - stage npm publishes from packed tarball - #193

Merged
jaredwray merged 2 commits into
mainfrom
cursor/defense-stage-publish-96ce
Aug 19, 2026
Merged

hookified - chore: defense - stage npm publishes from packed tarball#193
jaredwray merged 2 commits into
mainfrom
cursor/defense-stage-publish-96ce

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Summary

Switch the existing release workflow to pack a tarball and pnpm stage publish (section 5). Do not replace the rest of the pipeline; the Aikido gate is a later item.

Status update: DEFENSE_IN_DEPTH.md: stage publish → (PR #193 pending); setup-node cache off → PR #192. SECURITY.md: add the live §4 CI summary (SHA pins, Socket Firewall, zizmor).

Changes

  • Replace pnpm publish --provenance --access public --no-git-checks with:
    • pnpm pack --pack-destination packed
    • pnpm stage publish ./packed/*.tgz --access public --provenance --no-git-checks
  • Keep checkout, Socket Firewall, Corepack, tests, registry-url, and package-manager-cache: false.
  • Reconcile §4 as complete in the catalog and SECURITY.md. Do not claim stage-only OIDC / Drydock / 2FA yet (those are still manual).

Verification

  • pnpm pack --pack-destination packed produces packed/hookified-3.0.2.tgz
  • pnpm stage publish ./packed/*.tgz --access public --provenance --no-git-checks --dry-run succeeds
  • No pnpm publish remains in workflows

Reference: defense-in-depth-nodejs § 5

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
ci / security

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 19, 2026 22:31
Switch release.yaml from pnpm publish to pack + pnpm stage publish so CI
can only enqueue a staged version. The rest of the release pipeline is
unchanged. Record completed §4 Actions in SECURITY.md.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fae1dc3) to head (9afd9d9).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #193   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          433       433           
  Branches       109       109           
=========================================
  Hits           433       433           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 19, 2026 22:34
@jaredwray
jaredwray merged commit 84a774d into main Aug 19, 2026
16 checks passed
@jaredwray
jaredwray deleted the cursor/defense-stage-publish-96ce branch August 19, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants