← 返回
未分类 中文

Deps Mgmt

Deep dependency management workflow—inventory, upgrade policy, security patches, licensing, lockfiles, and supply-chain hygiene. Use when upgrading framework...
深度依赖管理流程——库存、升级策略、安全补丁、许可证、锁文件及供应链卫生。用于框架升级时。
codekungfu codekungfu 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 399
下载
💾 0
安装
1
版本
#latest

概述

Dependencies

Dependencies are supply-chain surface area: versions affect security, reproducibility, and upgrade cost.

When to Offer This Workflow

Trigger conditions:

  • Dependabot noise; major version upgrades
  • CVE response or license audit
  • “Works on my machine” due to unpinned dependencies

Initial offer:

Use six stages: (1) inventory & risk, (2) policy & cadence, (3) lockfiles & reproducibility, (4) upgrades & testing, (5) security & licensing, (6) governance & tooling). Confirm ecosystem (npm, pip, Maven, Go modules, etc.).


Stage 1: Inventory & Risk

Goal: Direct vs transitive dependencies; flag critical packages (crypto, auth, parsing, serialization).

Exit condition: SBOM or export for top applications; list of critical deps.


Stage 2: Policy & Cadence

Goal: When to upgrade (time-based vs on-demand); SemVer rules for libraries vs applications.


Stage 3: Lockfiles & Reproducibility

Goal: Committed lockfiles for deployable apps; libraries test against a compatibility matrix instead of one frozen lock.


Stage 4: Upgrades & Testing

Goal: Prefer one major bump per PR when feasible; CI matrix on supported language/runtime versions.


Stage 5: Security & Licensing

Goal: SCA scanning; patch SLA by severity; license allowlist for compliance.


Stage 6: Governance & Tooling

Goal: Renovate/Bot policies; pin internal packages; document exceptions and overrides.


Final Review Checklist

  • [ ] Inventory and risk hotspots known
  • [ ] Upgrade cadence and semver policy documented
  • [ ] Lockfiles or matrix strategy per repo type
  • [ ] CI validates upgrades
  • [ ] SCA and license policy enforced

Tips for Effective Guidance

  • Transitive CVEs may need overrides—trace the dependency graph.
  • Pin CI images and toolchains, not only application dependencies.

Handling Deviations

  • Monorepos: shared versions with Nx/Bazel/etc.—coordinate breaking upgrades.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 10:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 328,940
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 196 📥 67,886
business-ops

抖音电商

codekungfu
该技能介绍如何通过抖音电商实现变现;当你计划从事或优化抖音电商时调用。
★ 2 📥 1,934