release skill: add an npm audit step to the v1 procedure
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- documentation, release
调研方向
从 .claude/skills/release/SKILL.md 开始,将 v1 步骤与 v2 PR 1 的审计流程进行比较,然后检查 v1 release issue 清单和 ledger 描述。按照相对于 v1-1 和 v1-2 的指定顺序添加审计,记录报告和可达性决策,并运行 npm run verify:skills;当 v1 流程、清单和 ledger 描述满足验收标准时,即为完成。
由索引模型根据 Issue 内容生成。
描述
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=highonv1/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 anoverridesentry, each as its own PR againstv1/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
releaseskill'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:skillspasses.
- 主要语言
- TypeScript
- 星标
- 11.4k
- 派生
- 1.6k
- 平均合并
- 2 小时 27 分钟
- 30 天内合并 PR
- 121
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/inspector 的其他 Issue
-
bug v2
难度 2/5 1-3 小时 新手友好度 76/100
modelcontextprotocol/inspector#3136 · 1 条评论 ·
维护者通常 1 天内回复
-
bug v2
难度 2/5 1-3 小时 新手友好度 67/100
modelcontextprotocol/inspector#3133 · 2 条评论 ·
维护者通常 1 天内回复
-
bug v2
难度 1/5 1 小时以内 新手友好度 86/100
modelcontextprotocol/inspector#3132 · 1 条评论 ·
维护者通常 1 天内回复
-
bug v2
难度 2/5 1-3 小时 新手友好度 80/100
modelcontextprotocol/inspector#3131 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
modelcontextprotocol/inspector#3111 ·
维护者通常 1 天内回复
查看 modelcontextprotocol/inspector 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 95/100
amosblomqvist/learnharness#1141 ·
维护者通常 4 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
ranxianglei/billion-context#8319 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
tencent-connect/dsh-qqbot#148 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
JimLiu/open-artifact#126 ·
-
难度 2/5 1-3 小时 新手友好度 78/100