Skip to content

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents code-review context-window developer-tools pull-requests

Summary

AI summary

Adds contextlevy scan, fix, badge, hooks installation, full init scaffold, GitHub Check Run with annotations, and SARIF upload.

Changes in this release

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 / .cursorignore patterns 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-check input, default on).
  • SARIF upload for Code Scanning plus workspace artifact (upload-sarif input, 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 with HARD_FAIL_CATEGORIES.
  • Git repo/ref guards with friendly CLI errors (assertGitRepo, assertGitRef).

Changed

  • analyzePullRequestFiles and analyzeRepositoryFiles share resolveFileClassification for consistent rules.
  • loadAnalysis centralizes config resolution and returns trackedFileCount / settings for scan-based commands.
  • Init workflow template and README examples use actions/checkout@v6 and include checks: 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

Track unloopedmido/contextlevy](https:

Get notified when new releases ship.

Sign up free

About unloopedmido/contextlevy](https:

All releases →

Related context

Beta — feedback welcome: [email protected]