
Evergreen
io.github.arminazimi由 GitHub 账号 arminazimi 发布v0.7.3更新于 Nov 7, 2026
Evidence-backed deprecation and end-of-life checks for dependencies, runtimes, and Actions.
概览
本地 MCP 服务器,让助手扫描仓库中已停止维护的运行时、已弃用的依赖包和已退役的 GitHub Actions,并给出依据与迁移步骤。
- 可以做什么
- 扫描仓库中的生命周期风险,列出问题所在文件、行号与严重程度
- 解释单条问题,给出权威来源、替代方案与迁移步骤
- 生成迁移上下文包并校验迁移结果
- 在添加依赖前单独检查某个包或 Action 的状态
- 覆盖 npm、Python、Go、Rust、Java/Kotlin、.NET、Ruby、PHP、Dart/Flutter、Elixir、Scala、Swift、容器镜像、CI 运行器镜像、Kubernetes API、Terraform 与无服务器运行时
- 适用场景
- 适合让编码助手在构建失败之前发现仓库中已弃用或已停止维护的依赖、运行时和 Actions,或在引入某个包之前先确认其生命周期状态。
- 运行要求
- 通过 npx 从 evergreen-deprecation npm 包以 stdio 方式在本机运行,需要 Node.js 22 或更高版本。未声明需要账号、API 密钥或环境变量。扫描是确定性的且离线进行,生命周期数据可从签名数据包更新。
安装
在 SourceWeft 中
- 打开 控制台中的 Evergreen,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Evergreen
[Evergreen — Know what breaks next.]
[CI] [Coverage] [npm] [Evergreen] [OpenSSF Scorecard] [OpenSSF Best Practices] [Slipway] [Seaworthy] [CodeQL] [skills.sh]
Evergreen finds end-of-life and deprecated runtimes, packages, and GitHub Actions in your repository, shows the exact file and line, and backs every finding with an authoritative source, a replacement, and migration steps. It runs on your machine as a CLI, a local MCP server, a GitHub Action (with SARIF for code scanning), and an Agent Skill, so people and coding agents can find lifecycle risk before it breaks a build, and check a dependency before adding it. Scans are deterministic and offline, and need no account.
Read this in: English · فارسی.
Read the public documentation, run the 90-second demo, or inspect the validation report. For AI tools, the docs are also published as llms.txt and llms-full.txt.
For coding agents
What it covers
The level in parentheses is the detector's maturity; the full list with each level is the ecosystem coverage matrix, and earned precision and recall per detector are on the accuracy dashboard. Each finding carries its rule's sources, review date, and migration steps; see Lifecycle rules. Other ecosystems are not guessed at: Evergreen reports a package it has no rule for as no-data, never as safe, and new ecosystems start from a generated detector skeleton. The compatibility matrix lists supported environments and hosts.
Why not just Renovate?
Renovate, Dependabot, and endoflife.date each answer a question Evergreen does not, and Evergreen answers one none of them does: what is ending in this repository, and where is it used. Most repositories gain from running one of them with Evergreen, so the table states what each covers and what it does better, and links the source of every claim. Details and sources per tool are in Evergreen compared with other tools.
Product principles
- Local-first: source code stays on the user's machine or CI runner.
- Deterministic core: findings do not require an LLM.
- Evidence-backed: every deprecation claim links to an authoritative source.
- Agent-ready: every human-readable report has a machine-readable equivalent.
- Extensible: ecosystems are added through detectors rather than core rewrites.
Quickstart
The five-step quickstart has copy-paste commands and expected output for each step.
Requirements: Node.js 22 or newer.
For coding agents, install the Agent Skill with one command. It teaches your agent to find, explain, and migrate these findings, and it is listed on skills.sh:
Give an agent a short answer instead of the full report: one line per finding with its id, location, severity, and replacement, most severe first, capped at 25 findings (the rest are counted) and under 8 KiB:
Verify that the CLI, local MCP server, Agent Skill, plugin foundations, and CI workspace are ready without changing configuration or uploading repository data:
See the public compatibility matrix for supported, experimental, and unsupported combinations.
Discover Evergreen's versioned capabilities and entry points programmatically:
The auto-discovery contract defines the shared identifiers used by the CLI, MCP server, Agent Skill, plugins, and CI integrations.
Create a baseline for accepted existing findings, then report only new lifecycle regressions:
Check a single dependency before adding it, without scanning a repository:
The command prints the lifecycle problem, replacement, and evidence, and exits 1 when a rule at or above --fail-on (default high) applies, 0 otherwise, 2 for a wrong command line, and 4 for a Package URL that cannot be parsed (see exit codes). A package Evergreen has no rule for reports no-data, which is not a claim that it is safe. Without a version, a package whose rules only cover some versions reports version-dependent; add a version to get a definite answer.
Lifecycle rules can be refreshed between releases from signed bundles, and scans stay offline unless you ask:
See Lifecycle data for the signing and trust model, pinning, and what happens when a download cannot be verified.
Inspect the evidence and migration direction for one result:
Generate portable migration context for a human or coding agent:
Migration packets contain rule-specific constraints and steps, exact affected files and usages, authoritative sources, and suggested verification commands. Evergreen never executes those commands automatically. See the migration packet guide.
Tell the coding agents working in a repository to check dependencies before adding them. This adds (or refreshes) a clearly marked section in AGENTS.md, or CLAUDE.md if that is the file you have; running it again changes nothing, and nothing outside the markers is touched:
To do this for every coding agent a repository is already set up for, run setup. It detects Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, and Kilo Code configuration, shows the change for each host's instruction file, and writes only after you confirm (or pass --yes). It uses the same marked section as init --agents, so existing rules are never overwritten:
Connect a coding agent through the local MCP server:
The stdio server exposes scan_repository, list_deprecations, explain_deprecation, create_migration_context, verify_migration, and check_dependency (check one package before adding it). See the local MCP guide for host configuration, the intended workflow, and privacy guarantees.
Agent Skill
Install the vendor-neutral Agent Skill from the monorepo:
Pull future revisions with:
The evergreen-deprecation Skill teaches discovery, explanation, migration, and verification while leaving detection and migration logic inside Evergreen. It is discoverable on skills.sh and has been install-validated for Codex, Claude Code, Cursor, GitHub Copilot, and Gemini CLI. See the Agent Skill guide for evaluation, compatibility, limits, and security assumptions.
Codex and Claude plugin packages are generated from that same Skill and MCP workflow. Their packaging architecture keeps host manifests thin and fails CI when either package drifts from the canonical sources.
The cross-host evaluation publishes shared-corpus results, context budgets, permission behavior, and security limitations; the same checks block release regressions in npm run check.
Evergreen runs locally and does not upload repository contents. Which commands read the filesystem, read the environment, spawn processes, or use the network is spelled out in the command and surface access table (also summarized in SECURITY.md).
Development
The initial detector reports unsupported major versions of five first-party actions with exact file and line locations:
actions/checkoutactions/setup-nodeactions/cacheactions/upload-artifactactions/download-artifact
Pinned commit SHAs and dynamic expressions are intentionally left unclassified until Evergreen can resolve them without guessing.
The npm detector also reads package.json, npm/pnpm/Yarn lockfiles, Node.js runtime declarations, and a small evidence-backed registry of deprecated direct dependencies. Use evergreen explain <finding-id> to inspect a finding and its sources. If a finding is wrong, evergreen report-issue <finding-id> prints a Markdown report with the rule, its evidence, and a few redacted lines of the declaring file, and never opens an issue or uses the network.
The Python detector reads PEP 621 and Poetry metadata from pyproject.toml, requirements*.txt, common runtime-version files, and uv/Poetry/PDM/Pipenv lockfiles. It reports unsupported Python declarations and lifecycle risks in direct dependencies while ignoring transitive-only lockfile entries.
Source usage analysis
Package lifecycle findings now include the concrete imports, calls, and configuration keys that make a migration necessary. Matching is language-aware and alias-aware for JavaScript, TypeScript, and Python, with configuration-key support for JSON, YAML, TOML, INI, and Python settings. Each match includes its exact file, line, column, and source excerpt, plus a migration-impact estimate based on affected usages and files.
The analyzer scans the repository once for a batch of detector contracts and ignores generated, dependency, build, and environment directories. Run the repeatable accuracy and scan-time benchmark with:
See the benchmark notes for the corpus and interpretation.
GitHub Action
Evergreen can annotate pull requests, suppress accepted findings with a baseline, fail on a chosen severity, and upload the complete JSON report:
Pin a full commit SHA instead of a version tag when your threat model requires immutable third-party action references. See the GitHub Action guide for setup, inputs, permissions, artifacts, and privacy boundaries.
Detector SDK
External detectors can use the versioned interface exported by evergreen-deprecation/sdk. The scan engine composes compatible detectors without importing any built-in implementation.
See the detector authoring guide and the minimal detector example.
Initial product shape
The CLI is the product. Detectors extend it, GitHub Actions automate it, and the local MCP server exposes it to agents. A hosted backend is intentionally outside the roadmap; lifecycle data updates through a signed, offline-verifiable data channel instead.
See the roadmap, architecture, brand guide, contribution guide, and security policy.
Community
Questions, ideas, and things you built with Evergreen belong in GitHub Discussions: use Q&A to ask, Ideas to propose, and Show and tell to share. Use issues for bugs, lifecycle rule requests, and ecosystem requests. How decisions are made, who reviews what, and what happens when a detector loses its owner is in GOVERNANCE.md. Who owns each detector is in MAINTAINERS.md.
License and brand
Evergreen source code is licensed under the Apache License 2.0. The
lifecycle dataset in packages/data (published as evergreen-data)
is licensed under CC BY 4.0; its attribution notice is in
packages/data/ATTRIBUTION.md. The
Evergreen name, logo, and files in brand/ are proprietary brand assets
and are covered by separate brand asset terms.
来源:README.md,提交 7cdd0e5
工具
0版本历史
7- v0.7.3最新Nov 7, 2026
- v0.7.2Nov 3, 2026
- v0.7.1Oct 29, 2026
- v0.6.0Oct 25, 2026
- v0.5.0Oct 25, 2026
- v0.3.0Oct 18, 2026
- v0.2.0Oct 18, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分