AGENT SKILL

dep-radar

Load to run or tune a dependency sweep.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 93
Forks
37

01 前言 Front Matter

name
dep-radar
license
MIT
metadata
{ "bugs": "https://github.com/vanillagreencom/kendex/issues", "author": "vanillagreen", "source": "kendex", "repository": "https://github.com/vanillagreencom/kendex" }
description
Load to run or tune a dependency sweep.
user-invocable
true

02 资源文件 2

03 SKILL.md 正文

<!-- kendex:project-instructions:start -->

Project Instructions

<!-- kendex:shared-instructions:start --> Problems with a kendex-owned skill go through kendex report; check ownership in the file first. <!-- kendex:shared-instructions:end --> <!-- kendex:project-instructions:end -->

dep-radar

inventory → detect → research → classify → upgrade-with-fixes → report the owner tier.

Generic engine only: concrete package names, pinned binaries, and fork lists live in the per-repo inventory, never here.

Load github before workflows/sweep.md § Phase 4 (PR creation, CI status, merges). Load worktree when a run applies more than one surface, one working copy per surface branch.

Operating policy (the contract with the product owner)

Rule keys are the contract; an inventory owner-rule cites them. Dropping or renaming a key changes the contract.

Rule Contract
auto-with-fixes The default. Security fixes; patch/minor bumps; pinned-binary version+SHA refreshes from OFFICIAL manifests only; SDK, agent-tooling, and runtime-binary bumps and npm/cargo majors, doing the bump AND fixing its fallout (API migrations, re-vendored bundled-extension bridges, tests, CI) in the SAME per-surface workstream; bundled-extension fork updates and local patch rebases when the consuming repo's full test suite gates the sync.
report-never-auto Model-weight swaps; changes to durable/recorded data scope; anything an inventory owner-rule explicitly demotes. Nothing else is report-by-default.
uncertain Attempt the upgrade; report only what actually failed, with error output.
defer Only on a strong concrete blocker you actually hit, such as a dropped capability with no migration path or a transitive that does not support the new version. Never a generic "it's a major" risk or any other anticipated one.
one-pr-per-surface One PR per surface; never batch surfaces. A surface's fallout fixes go in THAT surface's PR.
upstream-check-required Every pinned surface must have a wired upstream check command; a surface lacking one is an inventory defect the run must fix.
dated-report Every run ends with a dated report.
demote-only Inventory owner-rules may demote auto→report, never promote report→auto.

Sweep

When running a dependency sweep, follow workflows/sweep.md.

Technology playbooks

The inventory records which apply and every concrete package, binary, and fork name.

Surface Upstream check Tier and handling Verify
Pinned AI/agent SDK Registry latest + release notes Auto-with-fixes, majors included: migrate changed auth, runtime, and tooling APIs in the same PR. New provider models a bump exposes are report-tier; the bump itself ships. Build + test suites; confirm expected models and features appear
Pinned runtime binary with SHA constants Official release manifest for the exact version, never a third party, never hand-computed from a local download alone Auto-with-fixes: migrate auth, protocol, and contract changes Pin unit tests + a live download smoke on the host platform
npm/pnpm deps pnpm -r outdated, pnpm audit Auto-with-fixes, including majors: fix the mechanical fallout (renamed APIs, config, broken tests) in the same PR Typecheck + tests
cargo deps cargo update --dry-run, cargo audit when installed Auto-with-fixes, including majors Workspace tests at the repo's CI feature parity
Bundled-extension forks, a small upstream synced in by script, provenance tracked, local patches on top The sync script's upstream ref Auto-with-fixes only when the consuming repo's full test suite gates the sync: take the update, rebase the local patches, fix fallout in the same PR. That full test suite plus the sync script's own checks
Patched vendor forks of large upstreams, with no script-gated sync Upstream releases Report, owner-decided none
Model weights and artifact SHA pins Upstream manifest Report, never swap weights automatically The repo's own integrity-verify scripts
Pinned GitHub Actions SHAs Tag → SHA for the same action Auto for patch/minor tag moves, refreshing the SHA comment too; majors auto-with-fixes, migrating the workflow in the same PR Workflow run

Guardrails

  • Migration-bearing dep bumps (DB or storage tooling) carry merge-order and version-gap hazards; check the repo's before merging.
  • Shell commands follow orch SKILL.md § Harness-Safe Shell.

04 同仓库更多 Skills