Skip to main content

harden-a-dependency-update-process

Harden dependency updates with provenance, review, compatibility, generated-lock control, staged testing, rollback, and monitoring. Use when automated or manual upgrades can alter production supply-chain risk.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
harden-a-dependency-update-process
category
code
description
Harden dependency updates with provenance, review, compatibility, generated-lock control, staged testing, rollback, and monitoring. Use when automated or manual upgrades can alter production supply-chain risk.
# harden-a-dependency-update-process ## When to use - Use for language packages, actions, images, toolchains, SDKs, or system libraries. - Never auto-merge high-risk updates solely because tests are green. ## Preconditions - Inventory manifests, locks, registries, sources, maintainers, update tools, consumers, and release gates. ## Procedure 1. Classify update by source, privilege, runtime reach, semantic change, and exploit urgency. 2. Verify publisher, provenance, signature or integrity, release notes, ownership, and compromise signals. 3. Regenerate locks only with the pinned package manager and review transitive changes. 4. Run unit, contract, integration, security, build, and representative behavior tests. 5. Stage rollout with immutable artifacts, monitoring, and rollback. 6. Track exceptions, ignored updates, expiry, and residual vulnerability. ## Failure plan - Pin or revert when provenance, compatibility, or behavior cannot be established. ## Worked example A patch update adds a new install script and publisher, so automation opens review instead of merging. ## Done - A dependency-update report records classification, provenance, lock diff, tests, approval, rollout, rollback, and residual risk - Publisher, source, integrity, transitive, script, compatibility, artifact, canary, and revert tests verify change
在 GitHub 查看