release skill: add an npm audit step to the v1 procedure

オープン 初心者向け
#3,139 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

.claude/skills/release/SKILL.mdから始め、v1の手順とv2 PR 1の監査手順を比較し、その後、v1のリリースIssueのチェックリストとledgerの説明を確認してください。v1-1およびv1-2との指定された順序で監査を追加し、レポートと到達可能性に関する判断を記録して、npm run verify:skillsを実行してください。v1の手順、チェックリスト、ledgerの説明が受け入れ基準を満たせば完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation v2

Problem

The v1 release procedure (.claude/skills/release/SKILL.md, "The v1 line", steps v1-1 to v1-7) has no npm audit step. The v2 procedure runs one in PR 1 on every release: it audits each install, reports only (never npm audit fix), and fixes deliberately before the bump.

On v1, findings show up only incidentally. Releasing 1.0.8 (#3122), npm ci on the bump branch printed 34 vulnerabilities (16 moderate, 13 high, 5 critical). The procedure had no step to triage them, so they were neither looked at nor recorded anywhere durable.

Proposed change

Add an audit step to the v1 procedure, before or alongside v1-1, mirroring v2's PR 1:

  • Run npm audit --audit-level=high on v1/main (one install: v1 is a single npm workspace with one lockfile) and record the report in the v1 release ledger.
  • Same rules as v2: report only. Never run npm audit fix (it downgrades silently), with or without --force. Fix deliberately with a direct bump or an overrides entry, each as its own PR against v1/main, merged before the bump (v1-2).
  • v1 takes security fixes only, so a finding needs a reachability call: fix one that is reachable from a shipped package; for one that is not (dev-only, or never on a shipped code path), record why in the ledger rather than fix it. This follows the precedent of #2074 and #2938.
  • Add the step to the v1 release issue's checklist, so it can't be skipped silently.

Acceptance

  • release skill's v1 section has the audit step, with its place in the order relative to v1-1 / v1-2 stated.
  • The v1 ledger description names the audit report as one of the things it records.
  • npm run verify:skills passes.
主要言語
TypeScript
スター
11.4k
フォーク
1.6k
平均マージ
2時間 27分
マージ済み PR(30日)
121

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/inspector のほかの issue

modelcontextprotocol/inspector の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。