This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
Summary
AI summaryAdds contextlevy scan, fix, badge, hooks installation, full init scaffold, GitHub Check Run with annotations, and SARIF upload.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Low |
Adds `contextlevy scan` command for repo context debt scoring. Adds `contextlevy scan` command for repo context debt scoring. Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds `contextlevy fix` to suggest or append ignore patterns for indexable junk. Adds `contextlevy fix` to suggest or append ignore patterns for indexable junk. Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds `contextlevy badge` to generate shields.io markdown/URL badges for risk and debt. Adds `contextlevy badge` to generate shields.io markdown/URL badges for risk and debt. Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds `contextlevy hook install` to install pre-push or pre-commit hooks (Husky, lefthook, plain). Adds `contextlevy hook install` to install pre-push or pre-commit hooks (Husky, lefthook, plain). Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds `contextlevy init --full` to scaffold config, workflow, hook, and branch‑protection checklist. Adds `contextlevy init --full` to scaffold config, workflow, hook, and branch‑protection checklist. Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds GitHub Check Run **ContextLevy** with file annotations (default on). Adds GitHub Check Run **ContextLevy** with file annotations (default on). Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds SARIF upload for Code Scanning plus workspace artifact (default on). Adds SARIF upload for Code Scanning plus workspace artifact (default on). Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds action outputs: `risk-level`, `check-conclusion`, `badge-url`, `badge-markdown`, `sarif-path`, `sarif-uploaded`. Adds action outputs: `risk-level`, `check-conclusion`, `badge-url`, `badge-markdown`, `sarif-path`, `sarif-uploaded`. Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds shared category severity helpers (`isHardFailCategory`) aligned with `HARD_FAIL_CATEGORIES`. Adds shared category severity helpers (`isHardFailCategory`) aligned with `HARD_FAIL_CATEGORIES`. Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Feature | Low |
Adds Git repo/ref guards with friendly CLI error messages (`assertGitRepo`, `assertGitRef`). Adds Git repo/ref guards with friendly CLI error messages (`assertGitRepo`, `assertGitRef`). Source: llm_adapter@2026-06-15 Confidence: high |
— |
| Refactor | Low |
`analyzePullRequestFiles` and `analyzeRepositoryFiles` now share `resolveFileClassification` for consistent rules. `analyzePullRequestFiles` and `analyzeRepositoryFiles` now share `resolveFileClassification` for consistent rules. Source: granite4.1:30b@2026-06-15-audit Confidence: low |
— |
| Refactor | Low |
`loadAnalysis` centralizes config resolution and returns `trackedFileCount` / `settings`. `loadAnalysis` centralizes config resolution and returns `trackedFileCount` / `settings`. Source: granite4.1:30b@2026-06-15-audit Confidence: low |
— |
Full changelog
ContextLevy v2.5.0
Added
contextlevy scan— baseline scan of tracked files with repo context debt score (0–100) and grade.contextlevy fix— suggest or append.gitignore/.cursorignorepatterns for indexable junk (dry-run by default).contextlevy badge— generate shields.io markdown/URL badges for PR risk, repo debt, or token delta.contextlevy hook install— install pre-push or pre-commit hooks (Husky, lefthook, or plain.git/hooks).contextlevy init --full— scaffold config, workflow, pre-push hook, and branch-protection checklist.- GitHub Check Run named ContextLevy with file annotations (
create-checkinput, default on). - SARIF upload for Code Scanning plus workspace artifact (
upload-sarifinput, default on). - Action outputs:
risk-level,check-conclusion,badge-url,badge-markdown,sarif-path,sarif-uploaded. - Shared category severity helpers (
isHardFailCategory, SARIF/check annotation levels) aligned withHARD_FAIL_CATEGORIES. - Git repo/ref guards with friendly CLI errors (
assertGitRepo,assertGitRef).
Changed
analyzePullRequestFilesandanalyzeRepositoryFilesshareresolveFileClassificationfor consistent rules.loadAnalysiscentralizes config resolution and returnstrackedFileCount/settingsfor scan-based commands.- Init workflow template and README examples use
actions/checkout@v6and includechecks: write/security-events: write. - CLI and Action docs expanded for new commands, inputs, outputs, and hook install flags.
Full changelog: https://github.com/nonlooped/contextlevy/compare/v2.4.0...v2.5.0
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About unloopedmido/contextlevy](https:
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]