Skip to content

mono - chore: defense - space-free test checks and record manuals - #1706

Merged
jaredwray merged 3 commits into
mainfrom
cursor/defense-record-manuals-7da5
Aug 25, 2026
Merged

mono - chore: defense - space-free test checks and record manuals#1706
jaredwray merged 3 commits into
mainfrom
cursor/defense-record-manuals-7da5

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

Record maintainer-confirmed npm / 2FA manuals (defense-in-depth § 5 / § 7) and give the Node test matrix space-free check names so the branch ruleset can require them.

Status update

DEFENSE_IN_DEPTH.md: remaining § 5 / § 7 manuals → — PR #1706. Matrix checks are now test-22 / test-24 / test-26 plus a test gate.

Changes

  • Check off the remaining § 5 and § 7 manuals from maintainer confirmation
  • Expand SECURITY.md for stage-only trusted publisher, Drydock, package 2FA / no tokens, and phishing-resistant account 2FA
  • tests.yml: matrix job name: test-${{ matrix.node-version }} (no spaces). Gate job test so the current required check still reports
  • codecov.yml: drop the one-value matrix; job id is codecov

After this lands, a repo admin should re-apply lockdown-repo.sh (never committed here) with:

--required-checks "test,test-22,test-24,test-26,zizmor" --allowed-actions "pnpm/*,codecov/*,cloudflare/*"

Do not pass test (22) — the script rejects spaces.

Verification

  • Maintainer confirmed § 5 / § 7 manuals
  • Matrix check names are kebab-case (test-22, test-24, test-26)
  • Gate job test still exists for the current ruleset

Reference: defense-in-depth-nodejs § 4 / § 5 / § 7

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 24, 2026 23:47
Maintainer confirmed § 5 trusted publisher / Drydock / 2FA and § 7
account 2FA plus offline recovery codes are done.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
@jaredwray
jaredwray marked this pull request as ready for review August 24, 2026 23:48
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (21892be) to head (360ba06).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1706   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines         3513      3513           
  Branches       795       808   +13     
=========================================
  Hits          3513      3513           

☔ 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.

GitHub matrix jobs were reporting "test (22)" which the ruleset
cannot require. Name each leg test-22/24/26 and keep a test gate
so the existing required check still reports.

Co-authored-by: Jared Wray <me@jaredwray.com>
@cursor cursor Bot changed the title mono - chore: defense - record npm stage-only and 2FA manuals mono - chore: defense - space-free test checks and record manuals Aug 25, 2026
@jaredwray
jaredwray merged commit 0783bdd into main Aug 25, 2026
15 checks passed
@jaredwray
jaredwray deleted the cursor/defense-record-manuals-7da5 branch August 25, 2026 18:44
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