Skip to content

feat(assessors): add lint suppression density assessor - #518

Merged
kami619 merged 1 commit into
ambient-code:mainfrom
msu8:510
Jul 28, 2026
Merged

kami619 merged 1 commit into
ambient-code:mainfrom
msu8:510

Conversation

@msu8

@msu8 msu8 commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add LintSuppressionAssessor to detect overuse of lint suppression directives
across the codebase. A repo can have a comprehensive lint config and still
render it meaningless through blanket //nolint, # noqa, or
// eslint-disable usage — lint passes, but not because the code is clean.
This gives AI agents a false signal that the codebase is healthy.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Test coverage improvement

Related Issues

Fixes #510

Changes Made

  • New LintSuppressionAssessor (lint_suppression_density, Tier 3, 2% weight)
  • Scans source files for suppression directives across 11 languages: Go (//nolint), Python (# noqa, # type: ignore, # pylint: disable), JavaScript/TypeScript (// eslint-disable, // @ts-ignore), Ruby (# rubocop:disable), Java (@SuppressWarnings), Terraform (# tflint-ignore:), Shell (# shellcheck disable=), Dockerfile (# hadolint ignore=), YAML (# yamllint disable, # kube-linter disable), Markdown (<!-- markdownlint-disable -->)
  • Normalizes count per 1,000 LOC; scores 100 at ≤5/1k, 0 at ≥15/1k, linear in between
  • Thresholds and test-file exclusion configurable via .agentready-config.yaml::assessor_options
  • Excludes vendor/, node_modules/, and other generated directories from scanning
  • 47 unit tests covering all 11 languages, pass/fail/partial scoring, custom thresholds, test exclusion, excluded dirs, evidence content, and attribute metadata
  • docs/attributes.md updated with scoring rules, language coverage, and remediation examples
  • default-weights.yaml updated (v2.5.0, 30 total attributes)
  • Consolidated into code_quality.py — no separate module

Testing

  • Unit tests pass (pytest)
  • Integration tests pass
  • Manual testing performed
  • No new warnings or errors

Manual test: assessed psf/black (Python), golangci/golangci-lint (Go) and others

image image

Checklist

  • My code follows the project's code style
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Summary by CodeRabbit

  • New Features
    • Added “Lint Suppression Density” assessment with multi-language scanning, suppression density scoring, evidence reporting, and remediation guidance.
  • Documentation
    • Expanded the attributes overview to 30 total, updated tier counts/weights, and updated implementation status for the full assessor set.
  • Tests
    • Added unit coverage for suppression detection, scoring thresholds (including boundary cases), test-file exclusions, and assessor registration.
  • Chores
    • Updated default weights and rebalanced related tier weight contributions.
    • Enhanced language detection to recognize additional extensions and extensionless filenames (e.g., Dockerfile).

@coderabbitai

coderabbitai Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a configurable LintSuppressionAssessor that scans tracked source files, calculates suppression density per KLOC, reports evidence and remediation, registers a weighted Tier 3 attribute, and updates documentation and tests.

Changes

Lint suppression density

Layer / File(s) Summary
Configuration and language detection
src/agentready/models/config.py, .agentready-config.example.yaml, src/agentready/data/.agentready-config.example.yaml, src/agentready/services/language_detector.py
Adds validated thresholds, test exclusion options, and detection for additional extensions and named files.
Suppression scanning and scoring
src/agentready/assessors/code_quality.py
Scans git-tracked source files, applies exclusions and scan-health checks, calculates suppression density, and returns evidence-backed findings.
Registration and weighting
src/agentready/assessors/__init__.py, src/agentready/data/default-weights.yaml, src/agentready/assessors/structure.py
Registers the Tier 3 assessor and rebalances cyclomatic-complexity and architectural-boundary weights.
Documentation and validation
docs/attributes.md, tests/unit/test_assessors_code_quality.py, tests/unit/test_assessors_structure.py, tests/unit/test_language_detector.py
Documents the 30-assessor lineup and tests detection, scoring, filtering, configuration, evidence, robustness, metadata, and registration.

Sequence Diagram(s)

sequenceDiagram
  participant Repository
  participant LanguageDetector
  participant LintSuppressionAssessor
  participant Git
  participant Finding
  Repository->>LanguageDetector: detect tracked repository languages
  LanguageDetector-->>LintSuppressionAssessor: return applicable languages
  LintSuppressionAssessor->>Git: list tracked source files
  Git-->>LintSuppressionAssessor: return file inventory
  LintSuppressionAssessor->>LintSuppressionAssessor: count suppressions and LOC
  LintSuppressionAssessor->>Finding: return score, evidence, and remediation
Loading

Possibly related PRs

Suggested labels: released

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 21.11% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title uses the required Conventional Commits format and accurately describes the new lint suppression density assessor.
Linked Issues check ✅ Passed The PR implements the required language coverage, per-1,000 LOC scoring, configurable thresholds, optional test exclusion, and top-file evidence.
Out of Scope Changes check ✅ Passed The docs, tests, weight updates, and language-detection changes all support the new assessor, so no unrelated changes stand out.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@msu8
msu8 force-pushed the 510 branch 2 times, most recently from f32905b to 3962946 Compare July 16, 2026 14:25
@github-actions

github-actions Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

📈 Test Coverage Report

Branch Coverage
This PR 76.1%
Main 75.8%
Diff ✅ +0.3%

Coverage calculated from unit tests only

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/attributes.md`:
- Line 6: Update the attribute counts in docs/attributes.md to match the weights
catalog: report 30 total attributes, 10 Tier 2 attributes, and 9 Tier 3
attributes. Adjust the affected summary and section text while leaving the
attribute definitions unchanged.

In `@src/agentready/assessors/code_quality.py`:
- Around line 2149-2161: Update the suppression assessor flow around
_count_file_suppressions to retain each file’s line count, rank file_stats by
suppressions divided by LOC rather than absolute counts, and use
calculate_proportional_score() for proportional scoring. Replace direct Finding
construction and manual score interpolation with Finding.create_pass() or
Finding.create_fail() while preserving the assessor’s existing pass/fail
criteria and output details.
- Around line 1943-1950: Update the JavaScript and TypeScript rule patterns in
the code-quality assessor to detect canonical block-form /* eslint-disable */
directives alongside existing line comments, while retaining `@ts-ignore`
detection. Add a regression test covering block-form ESLint suppression and
confirming it is counted.

In `@src/agentready/data/default-weights.yaml`:
- Around line 76-81: Update
CyclomaticComplexityAssessor.attribute.default_weight and
ArchitecturalBoundaryAssessor.attribute.default_weight from 0.02 to 0.01 so
assessor fallback values match the corresponding entries in
default-weights.yaml.

In `@src/agentready/models/config.py`:
- Around line 112-118: Add a typed LintSuppressionOptions model near the
configuration models and change assessor_options to use it instead of
unvalidated Any dictionaries. Configure strict boolean fields, finite
non-negative numeric thresholds, and validation requiring fail_per_kloc to
exceed pass_per_kloc, so invalid assessor settings are rejected during
configuration parsing.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 007af8eb-0b73-4298-aec6-3d28976b37ae

📥 Commits

Reviewing files that changed from the base of the PR and between 108e5aa and b4eec9d.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock, !uv.lock
📒 Files selected for processing (8)
  • .agentready-config.example.yaml
  • docs/attributes.md
  • src/agentready/assessors/__init__.py
  • src/agentready/assessors/code_quality.py
  • src/agentready/data/.agentready-config.example.yaml
  • src/agentready/data/default-weights.yaml
  • src/agentready/models/config.py
  • tests/unit/test_assessors_code_quality.py

Comment thread docs/attributes.md Resolved
Comment thread src/agentready/models/config.py Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/agentready/assessors/code_quality.py`:
- Around line 2119-2127: Update the traversal loop around os.walk in the
relevant assessor to use the repository’s tracked, ignore-aware file inventory
instead of scanning every directory. Preserve the existing
_SUPPRESSION_EXCLUDED_DIRS filtering and filename matching for bare_names and
dot_exts, while retaining explicit generated/vendor exclusions and yielding the
same abs_path, rel_path pairs.
- Around line 2135-2140: Update the suppression-counting logic around the
lines-processing function to ignore directive text inside string literals,
including test fixtures and statements such as print calls. Tokenize comment
content or mask string literals before applying patterns, while preserving
counting of actual suppression directives in comments and the existing return
values.
- Around line 2096-2103: Update the JavaScript/TypeScript branch in the
test-file detection logic to recognize both JSX and TSX test/spec suffixes in
addition to JS and TS. Ensure exclude_tests correctly filters Component.test.jsx
and Component.spec.tsx while preserving the existing directory and root-prefix
checks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: f728a4b2-731f-461b-b068-6702d5837e7c

📥 Commits

Reviewing files that changed from the base of the PR and between b4eec9d and 3962946.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock, !uv.lock
📒 Files selected for processing (8)
  • .agentready-config.example.yaml
  • docs/attributes.md
  • src/agentready/assessors/__init__.py
  • src/agentready/assessors/code_quality.py
  • src/agentready/data/.agentready-config.example.yaml
  • src/agentready/data/default-weights.yaml
  • src/agentready/models/config.py
  • tests/unit/test_assessors_code_quality.py

@msu8
msu8 force-pushed the 510 branch 4 times, most recently from 5f9c4bb to 476098c Compare July 17, 2026 06:45

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (2)
src/agentready/assessors/code_quality.py (2)

2080-2087: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Exclude JSX and TSX test files.

Component.test.jsx and Component.spec.tsx are scanned even when exclude_tests=True. Derive suffixes from _LANG_EXTENSIONS[lang] and add regressions for both forms.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/agentready/assessors/code_quality.py` around lines 2080 - 2087, Update
the test-file detection logic in the JavaScript/TypeScript branch to derive test
suffixes from _LANG_EXTENSIONS[lang], covering JSX and TSX alongside JS and TS.
Preserve the existing directory and root-prefix checks, and add regression
coverage confirming Component.test.jsx and Component.spec.tsx are excluded when
exclude_tests=True.

2159-2173: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Rank files by suppression concentration, not count.

A large file with more suppressions can outrank a small file with much higher density. Retain each file’s LOC and sort by suppressions / LOC, as required by the feature objective.

Also applies to: 2200-2207

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/agentready/assessors/code_quality.py` around lines 2159 - 2173, Update
the suppression file-statistics flow around _count_file_suppressions to retain
each file’s line count alongside its suppression count and rank files by
suppression concentration (sup_count divided by line_count), rather than
absolute suppression count. Apply the same change to the related statistics
handling around the additional referenced section, while preserving existing
test-file exclusion and zero-suppression behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/attributes.md`:
- Line 29: Update the attribute-count statements in docs/attributes.md to report
30 instead of 28, keeping them consistent with the 30-entry weights catalog and
the count stated on Line 6.

In `@src/agentready/models/config.py`:
- Around line 152-165: Unify lint-suppression configuration so the documented
assessor_options entry is not ignored: in src/agentready/models/config.py lines
152-165, expose one canonical path or validate/map the nested configuration into
LintSuppressionOptions; in src/agentready/assessors/code_quality.py lines
2061-2066, update the lint-suppression assessor to consume that canonical path
consistently; and in docs/attributes.md lines 1524-1532, document the same path
and configuration contract.

---

Duplicate comments:
In `@src/agentready/assessors/code_quality.py`:
- Around line 2080-2087: Update the test-file detection logic in the
JavaScript/TypeScript branch to derive test suffixes from
_LANG_EXTENSIONS[lang], covering JSX and TSX alongside JS and TS. Preserve the
existing directory and root-prefix checks, and add regression coverage
confirming Component.test.jsx and Component.spec.tsx are excluded when
exclude_tests=True.
- Around line 2159-2173: Update the suppression file-statistics flow around
_count_file_suppressions to retain each file’s line count alongside its
suppression count and rank files by suppression concentration (sup_count divided
by line_count), rather than absolute suppression count. Apply the same change to
the related statistics handling around the additional referenced section, while
preserving existing test-file exclusion and zero-suppression behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 0dbc6cd0-9e24-414d-aaaa-db0f3f0c65ae

📥 Commits

Reviewing files that changed from the base of the PR and between 3962946 and 476098c.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock, !uv.lock
📒 Files selected for processing (9)
  • .agentready-config.example.yaml
  • docs/attributes.md
  • src/agentready/assessors/__init__.py
  • src/agentready/assessors/code_quality.py
  • src/agentready/assessors/structure.py
  • src/agentready/data/.agentready-config.example.yaml
  • src/agentready/data/default-weights.yaml
  • src/agentready/models/config.py
  • tests/unit/test_assessors_code_quality.py

Comment thread docs/attributes.md Resolved
Comment thread src/agentready/models/config.py Resolved
@msu8
msu8 force-pushed the 510 branch 2 times, most recently from cf2229e to 47fe732 Compare July 17, 2026 06:59

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/agentready/assessors/code_quality.py`:
- Around line 2068-2094: Update _is_test_file to apply the shared
_TEST_DIR_FRAGMENTS and _TEST_ROOT_PREFIXES checks for every supported language
before language-specific filename rules. Add Java handling and ensure Java files
under test directories are excluded, while preserving existing Go, Python,
JavaScript, TypeScript, and Ruby filename detection; extend tests to cover the
additional supported languages.
- Around line 2111-2137: Update the file-discovery logic around
safe_subprocess_run and the os.walk fallback so Git failures, missing Git, or
timeouts do not trigger ignore-unaware traversal. Instead, return the assessor’s
established skipped/error finding for unavailable discovery, or replace the
fallback with an ignore-aware mechanism while preserving normal git ls-files
behavior.
- Around line 1937-1953: Extend _SUPPRESSION_PATTERNS for Python to recognize
whole-file # ruff: noqa and # flake8: noqa directives, and for TypeScript to
recognize // `@ts-nocheck` and // `@ts-expect-error`. Add regression tests covering
each directive and confirming they contribute to suppression density.
- Around line 2121-2125: The source-file discovery loop should reject symlinks
and other non-regular files before yielding paths, and downstream assessment
reads must be bounded. Update the logic around the visible rel_path filtering
and its corresponding read path to validate regular files without following
symlinks, then stream each file with a strict maximum byte limit instead of
unbounded read_text().
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: fbd34c4b-2f0e-4211-8ac8-260ab1093670

📥 Commits

Reviewing files that changed from the base of the PR and between 476098c and cf2229e.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock, !uv.lock
📒 Files selected for processing (9)
  • .agentready-config.example.yaml
  • docs/attributes.md
  • src/agentready/assessors/__init__.py
  • src/agentready/assessors/code_quality.py
  • src/agentready/assessors/structure.py
  • src/agentready/data/.agentready-config.example.yaml
  • src/agentready/data/default-weights.yaml
  • src/agentready/models/config.py
  • tests/unit/test_assessors_code_quality.py

@msu8

msu8 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jwm4, could you PTAL?

@kami619 kami619 self-assigned this Jul 28, 2026
@kami619

kami619 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

@jwm4 and @msu8 I am taking a look at this PR.

@kami619

kami619 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

🤖 AI-assisted review

Disclosure. This review was produced by an AI agent, not a human reviewer. Every finding below was reproduced empirically against commit 6b3581f before being reported — but treat the analysis as a starting point for human judgment, not as a verdict. Reproduction commands are included so you can verify each claim yourself.

Model Claude Opus 4.6 (claude-opus-4-6)
Harness Claude Code CLI
Skill /pr-review-toolkit:review-pr
Sub-agents code-reviewer, pr-test-analyzer, silent-failure-hunter, type-design-analyzer, comment-analyzer (5, run independently in parallel)
Scope git diff main..HEAD @ 6b3581f4f470a5f7feab345ccc98684598468656

Five specialist agents reviewed independently and converged on the same core defect from four different angles. Findings are deduplicated and ranked below.


🔴 Critical — merge blockers

1. The branch breaks CI

tests/unit/test_assessors_structure.py:1513 still asserts default_weight == 0.02, but structure.py:1403 was changed to 0.01 to fund the new attribute.

$ pytest tests/unit/test_assessors_structure.py -q
E   AssertionError: assert 0.01 == 0.02
1 failed, 74 passed

Green on main (75/75), red here. One-line fix.

2. Terraform and Dockerfile support is unreachable dead code

Found independently by all five agents.

LanguageDetector.EXTENSION_MAP has no .tf entry, and detection is suffix-only (path.suffix), so an extensionless Dockerfile can never match. repository.languages therefore can never contain "Terraform" or "Dockerfile" — making the pattern entries at code_quality.py:1961,1963 inert, since both is_applicable() and the scan loop intersect against that dict.

Reproduced end-to-end on a repo containing 20 # tflint-ignore and 3 # hadolint ignore= directives:

detected languages: {'Python': 3}
pass 100.0  '0 suppressions / 3 LOC (0.0/1k)'

This is advertised in three user-facing places that are now false:

The tests certify the broken behavior. test:1324 and :1344 hand-construct languages={"Terraform": 1} / {"Dockerfile": 1} — a state the scanner cannot emit, at a count below minimum_file_threshold = 3. They pass, and prove nothing about production.

3. Markdown/YAML in the denominator inverts the metric

Markdown and YAML are first-class scanned languages. Both are near-universally present (threshold is only 3 files) and both contribute their full line count to total_lines while carrying essentially zero suppressions. The metric is documented as "per 1,000 lines of source code".

Synthetic Go repo at a genuine 100 suppressions/1k lines, plus 24k lines of Markdown docs:

Scope Result
As shipped (Go + Markdown) pass, score 100.0 — 4.0/1k
Go source only fail, score 0.0 — 100.0/1k

The score flips 0 → 100 purely because the project is documented — the exact inverse of the intended signal. On this repo the dilution is 3x (0.2/1k as shipped vs 0.6/1k Python-only).

Compounding it: code_quality.py:2158 uses len(text.splitlines()), counting blank lines, whereas LanguageDetector.count_total_lines() deliberately excludes them — a further 15–25% denominator inflation. splitlines() also splits on \v \f \x1c \x1d \x1e \x85 
 
; a file with 100 form-feed separators counted 302 lines against 202 real ones. Every one of these errors pushes toward a passing score.

4. Three silent-failure paths under-count the numerator while still reporting pass/100

All reproduced:

  • lstat() OSError → continue (:2136-2139). A sparse checkout lists index entries that aren't on disk; every one is silently discarded. A repo at a true 714/1k (maximal fail) reported pass, score 100.0, 0 suppressions / 1 LOC.
  • The 1 MB read cap (:2152). A 1.79 MiB big.go with 2000 //nolint past the cap → pass, 0 suppressions / 17,139 LOC (true: 32,001 lines). Large files are precisely where generated/vendored suppressions cluster.
  • _count_file_suppressions returns (0,0) on OSError — byte-identical to "a clean empty file". A mode-000 file holding 50 # noqa vanished entirely: absent from the count, the denominator, and the top-offenders list.

Note that test_file_read_is_byte_bounded asserts this silence is correct — it hides 20 real suppressions past a patched cap and asserts status == "pass" and "Total suppressions: 0". It should assert that truncation is disclosed.

For a density metric, a swallowed read is worse than a crash: it produces a falsely good certification, and nobody reads a passing finding's evidence.

5. AGENTS.md Guideline 7 — docs not synced for the two defunded weights

The diff does touch docs/attributes.md, but misses the two attributes it defunded.


🟡 Important

# Finding Location
6 All three threshold comparisons survive mutation. <=→< at :2210 and :2217, >=→> at :2212 each leave 63/63 green — no test sits on a boundary. A flip at :2217 silently converts every threshold-exact repo from pass to fail. Confirmed current behavior: density exactly 5.0 → pass/100, exactly 15.0 → fail/0. code_quality.py:2210-2217
7 .mjs, .cjs, .pyi, .pyx, .zsh trigger language detection but are never scanned — _LANG_EXTENSIONS is a hand-maintained second copy of EXTENSION_MAP that has already drifted. An ESM-only JS repo scores 100 regardless of eslint-disable count. Also .mdx is in the assessor table but not the detector. code_quality.py:1972-1984
8 Config.assessor_options is dead public schema — zero readers in src/, tests/, docs/, and absent from both example configs. It punches a hole in extra="forbid": config written under it validates cleanly and does nothing, which is strictly worse than the loud typo it would otherwise be. It also serializes into every report via assessment.py:128 while CURRENT_SCHEMA_VERSION stays 1.0.0. Config schemas are one-way doors. models/config.py:159
9 Total measurement failure reports as not_applicable ("No source files found for supported languages") — on a repo the scanner just reported as 100% Go. Contradicts the scan and misdirects debugging. is_applicable() has already established the language is present. code_quality.py:2194
10 The bare except Exception around git ls-files hardcodes "missing git, not a git repo, or timeout" — but the likeliest real trigger is SubprocessSecurityError from safe_subprocess_run's 10 MB stdout cap, which git ls-files clears on a ~200k-path monorepo. The user is told to install git, which is installed. safe_subprocess_run_stream already exists for exactly this. ("not a git repo" is near-unreachable — Repository.__post_init__ rejects those already.) code_quality.py:2124
11 git ls-files is re-invoked once per detected language for identical output — 4 spawns on this repo, 9 on a polyglot monorepo, each with a 30s timeout. Hoist it out of the loop. code_quality.py:2116
12 Attribute.criteria hardcodes _SUPPRESSION_DEFAULTS while Finding.threshold honors config → a repo setting pass_per_kloc: 10.0 gets one report containing both "≤5.0" and "≤10.0/1k". code_quality.py:2056

🔵 Suggestions

  • The class docstring's "Other languages always include all files" (:2029) is false — _TEST_DIR_FRAGMENTS is checked before the per-language branch, so tests/foo.sh and spec/values.yaml are excluded. Only the filename-suffix heuristics are language-specific.
  • docs/attributes.md:1504 breaks house style — no **ID**/**Tier**/**Weight**/**Category**/**Status** block, no #### Definition / Why It Matters / Measurable Criteria, no **Tools** / **Citations**. Compare ### Threat Model immediately above. The inline-(id, weight) heading format is the convention for the bullet lists, not for full ### sections.
  • The example-config comment exclude_tests: false # set true to exclude test files from LOC count describes the wrong effect — the flag skips files entirely (numerator and denominator). Opposite-signed from what someone tuning it would predict. The LintSuppressionOptions docstring gets this right; the YAML comments contradict it.
  • _MAX_SUPPRESSION_FILE_BYTES = 1_000_000 # 1 MiB — that's 1 MB. Same in docs/attributes.md:1510. Either say "1 MB" or use 1 << 20.
  • default-weights.yaml:12 and :72 still say Tier 3 has 8 attributes; it's 9. (Line 3 was correctly bumped to 30.)
  • The changelog block labels this v2.5.0, but pyproject.toml is at 2.50.0 and lint_config_coverage — labeled v2.4.0 — actually shipped in 2.50.0. The version numbering in that block has drifted from real releases; consider keying entries by branch/issue instead.
  • pass_per_kloc uses gt=0, forbidding 0.0 — the legitimate strictest policy ("no suppressions tolerated"). ge=0 on pass, gt=0 on fail.
  • _get_options unpacks the validated model into tuple[float, float, bool] — two positionally-adjacent floats of identical type, reintroducing the transposition hazard the validator exists to prevent. Return the LintSuppressionOptions instead.
  • Consider frozen=True on LintSuppressionOptions: pydantic v2 doesn't re-run mode="after" validators on assignment, and _SUPPRESSION_DEFAULTS is a process-wide shared mutable instance.

✅ Strengths

  • The security posture is genuinely strong. git-only discovery with a deliberate no-fallback policy (well-commented at :2113 — exactly the kind of "why" comment that stops a future maintainer from helpfully adding the fallback back), lstat + stat.S_ISREG symlink rejection, bounded reads. Mutation probes confirmed the symlink and gitignore tests each catch their regression, and the symlink test's use of a gitignored target to isolate the behavior is well-judged.
  • _GitInventoryUnavailable is the best-designed type in the diff — it cleanly separates "cannot measure" (skipped) from "measured zero" (not_applicable) from "bug" (error), and makes the no-silent-fallback decision greppable.
  • Weight arithmetic is correct: 30 attributes summing to exactly 1.0, tiers 58/27/13/2, and the new attribute is properly funded by reductions elsewhere.
  • black, isort, ruff check all clean. Line coverage of the new code is ~97%.
  • Assessor registration follows the AGENTS.md 4-step checklist correctly.
  • The custom two-threshold interpolation instead of calculate_proportional_score() is a defensible deviation — the helper models a single threshold and can't express a pass/fail band.

Recommended sequence

  1. Fix the red test ([P0] Create Automated Demo #1) — unblocks CI.
  2. Decide Terraform/Dockerfile ([P0] Fix Critical Security & Logic Bugs from Code Review #2): add .tf + a filename rule to EXTENSION_MAP, or strip them from the pattern tables, the Attribute.description, the docs, and the two tests. Then add the guard that would have caught this pre-merge:
    def test_suppression_tables_agree_with_detector():
        assert set(_SUPPRESSION_PATTERNS) == set(_LANG_EXTENSIONS)
        assert set(_SUPPRESSION_PATTERNS) <= set(LanguageDetector.EXTENSION_MAP.values())
  3. Fix the denominator ([P0] Bootstrap AgentReady Repository on GitHub #3): exclude Markdown/YAML from LOC (or report per-language), and stop counting blank lines. This is the change that most affects what the assessor actually measures.
  4. Make silent skips visible ([P0] Report Header with Repository Metadata #4): thread a scan-health tally (files_missing, files_unreadable, files_truncated) through the walk, and emit it in evidence unconditionally — on pass as well as fail. If the un-scanned ratio exceeds ~10%, downgrade to skipped rather than reporting a density at all. A density computed over an unknown fraction of the codebase isn't a measurement.
  5. Derive _LANG_EXTENSIONS from EXTENSION_MAP ([P4] Research Report Generator/Updater Utility #7) — structurally eliminates this entire drift class.
  6. Drop assessor_options ([P4] Repomix Integration #8) — re-add it in the PR that first needs it, with a reader, a precedence rule, and a test.
  7. Sync the two weight docs ([P0] Improve HTML Report Design (Font Size & Color Scheme) #5), add boundary tests ([P3] Report Schema Versioning #6), re-run.

The security-critical paths here were clearly thought about carefully, and the no-fallback discipline around git ls-files is a good instinct. The gap is that the measurement paths weren't held to the same standard: the language table was written without checking it against the detector, and several tests confirm the implementation's assumptions rather than the behavior users will get.

Posted by an AI agent (Claude Opus 4.6 via Claude Code, /pr-review-toolkit:review-pr). Findings are reproducible — please verify before acting, and correct anything that's wrong.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/unit/test_language_detector.py`:
- Around line 23-33: Rename test_bare_dockerfile_detected to reflect that a bare
Dockerfile below the reporting threshold is not reported, while preserving its
existing setup and assertion.
- Line 17: Update the four git staging subprocess.run calls in
test_language_detector.py and the corresponding staging call in
test_assessors_code_quality.py to pass an explicit check argument, matching the
existing _git_init convention; preserve their current commands and
capture_output behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: f8083bd5-512e-49a3-bcaa-1ed9fe8effad

📥 Commits

Reviewing files that changed from the base of the PR and between cf2229e and 1c4f41f.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock, !uv.lock
📒 Files selected for processing (12)
  • .agentready-config.example.yaml
  • docs/attributes.md
  • src/agentready/assessors/__init__.py
  • src/agentready/assessors/code_quality.py
  • src/agentready/assessors/structure.py
  • src/agentready/data/.agentready-config.example.yaml
  • src/agentready/data/default-weights.yaml
  • src/agentready/models/config.py
  • src/agentready/services/language_detector.py
  • tests/unit/test_assessors_code_quality.py
  • tests/unit/test_assessors_structure.py
  • tests/unit/test_language_detector.py

Comment thread tests/unit/test_language_detector.py Resolved
Comment thread tests/unit/test_language_detector.py Resolved
Heavy use of suppression directives (//nolint, # noqa, eslint-disable,
@SuppressWarnings, etc.) degrades lint as a quality signal for AI agents
— lint passes, but not because the code is clean.

New LintSuppressionAssessor (Tier 3, 2% weight) scans source files for
suppression directives across 10 languages, normalized per 1,000 LOC:
- ≤5/1k  → score 100, pass
- 5–15/1k → linear 100→0, fail
- ≥15/1k → score 0, fail

Thresholds and test-file exclusion are configurable via
.agentready-config.yaml::assessor_options.lint_suppression_density.

Closes ambient-code#510
@msu8

msu8 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Hmm, a very suspicious CI fail with 7k lines

@kami619

kami619 commented Jul 28, 2026 •

Copy link
Copy Markdown
Collaborator

Hmm, a very suspicious CI fail with 7k lines

@msu8 ignore that, it was from a bad merge. I overlooked this CI failure from a different PR., I shall post a fix soon and you can rebase on your end.

@msu8

msu8 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Got it. Anyway, I think I addressed both your review and the coderabbit stuff in the last two commits.

@kami619
kami619 merged commit 56f3c00 into ambient-code:main Jul 28, 2026
5 of 6 checks passed
github-actions Bot pushed a commit that referenced this pull request Jul 28, 2026
# [2.52.0](v2.51.0...v2.52.0) (2026-07-28)

### Features

* **assessors:** add lint suppression density assessor ([#518](#518)) ([56f3c00](56f3c00)), closes [#510](#510)
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.52.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions Bot pushed a commit to kami619/agentready that referenced this pull request Nov 19, 2026
# [2.14.0](v2.13.0...v2.14.0) (2026-11-19)

### Bug Fixes

* add additional directory paths to ADR assessor ([ambient-code#414](https://github.com/kami619/agentready/issues/414)) ([ambient-code#416](https://github.com/kami619/agentready/issues/416)) ([ad551a8](ad551a8))
* add bounded retry logic for LLM rate limit handling ([ambient-code#205](https://github.com/kami619/agentready/issues/205)) ([6ecb786](6ecb786)), closes [ambient-code#104](https://github.com/kami619/agentready/issues/104)
* address CodeRabbit review feedback ([cb9785a](cb9785a))
* address CodeRabbit review feedback on Husky detection ([0ec0a07](0ec0a07))
* address CodeRabbit review feedback on test-assess skill ([74dbc1b](74dbc1b))
* address CodeRabbit review findings on PR [ambient-code#382](https://github.com/kami619/agentready/issues/382) ([5d78cd8](5d78cd8))
* address final open PR [ambient-code#382](https://github.com/kami619/agentready/issues/382) review comments ([0ea562b](0ea562b))
* address final PR [ambient-code#382](https://github.com/kami619/agentready/issues/382) review findings — scoring gates, pattern strictness, doc consistency ([ee3b0a6](ee3b0a6))
* address PR [ambient-code#382](https://github.com/kami619/agentready/issues/382) review findings — harden assessors and add missing tests ([4da6982](4da6982))
* address PR review findings for Go assessor accuracy ([72d8e81](72d8e81))
* address PR review findings for Go support ([168ac29](168ac29)), closes [ambient-code#10](https://github.com/kami619/agentready/issues/10)
* address remaining open PR [ambient-code#382](https://github.com/kami619/agentready/issues/382) review comments ([3bb1622](3bb1622))
* address remaining PR [ambient-code#382](https://github.com/kami619/agentready/issues/382) review findings ([56f7689](56f7689))
* address review feedback on context file assessor PR ([7e0ba3e](7e0ba3e))
* address second round of CodeRabbit feedback on test-assess skill ([4cbaf9c](4cbaf9c))
* align docs/attributes.md tier model with default-weights.yaml ([2400911](2400911))
* **assessors:** FileSizeLimitsAssessor now respects .gitignore ([ambient-code#248](https://github.com/kami619/agentready/issues/248)) ([eaaecc2](eaaecc2)), closes [ambient-code#245](https://github.com/kami619/agentready/issues/245)
* **assessors:** recognize Go package dirs, versioned golangci-lint, and gofmt -l ([ambient-code#540](https://github.com/kami619/agentready/issues/540)) ([60740c0](60740c0))
* **assessors:** recognize go vet, yamllint, shellcheck, bash -n in single-file verification ([ambient-code#537](https://github.com/kami619/agentready/issues/537)) ([0646eb1](0646eb1))
* **assessors:** support all YAML file naming conventions in dbt assessors ([3ff475a](3ff475a))
* **assessors:** support project-named directories and test-only repos in standard_layout check ([ambient-code#322](https://github.com/kami619/agentready/issues/322)) ([2fbb733](2fbb733)), closes [ambient-code#246](https://github.com/kami619/agentready/issues/246) [ambient-code#305](https://github.com/kami619/agentready/issues/305)
* black formatting for test_research_updater.py ([ae7f693](ae7f693))
* broaden design_intent keywords, remove orphaned SemanticNamingAssessor ([e007586](e007586))
* **cache,scoring:** implement cache deserialization and fix doc scoring precision ([6f69be4](6f69be4))
* **cache:** catch pydantic ValidationError in cache get() ([0e8cc76](0e8cc76))
* case-insensitive file lookups and GNUmakefile support ([960e005](960e005)), closes [ambient-code#387](https://github.com/kami619/agentready/issues/387) [ambient-code#380](https://github.com/kami619/agentready/issues/380) [ambient-code#379](https://github.com/kami619/agentready/issues/379)
* Check for all official commitlint config file formats ([ambient-code#308](https://github.com/kami619/agentready/issues/308)) ([50588cf](50588cf))
* **ci:** add permissions for leaderboard PR comment posting ([ambient-code#276](https://github.com/kami619/agentready/issues/276)) ([33252e4](33252e4))
* **ci:** pin ruff to prevent unpinned upgrade breaking lint checks ([cea1217](cea1217))
* **ci:** use gh pr view for fork PR number lookup in coverage comment ([ambient-code#253](https://github.com/kami619/agentready/issues/253)) ([1688362](1688362))
* **cli:** check .pre-commit-config.yaml for conventional commit ([ambient-code#310](https://github.com/kami619/agentready/issues/310)) ([61c44d9](61c44d9))
* **cli:** Honor excluded_attributes from config file ([ambient-code#306](https://github.com/kami619/agentready/issues/306)) ([ffda546](ffda546)), closes [ambient-code#302](https://github.com/kami619/agentready/issues/302) [ambient-code#302](https://github.com/kami619/agentready/issues/302)
* **cli:** Use removesuffix instead of rstrip for .git URL stripping ([ambient-code#292](https://github.com/kami619/agentready/issues/292)) ([6bd08cf](6bd08cf))
* complete backward-compat migration for renamed attribute IDs and add missing tests ([0d5f6cd](0d5f6cd))
* consider renovate for dependency_security check ([ambient-code#317](https://github.com/kami619/agentready/issues/317)) ([35bfbbf](35bfbbf))
* convert Path.glob() generators to lists before concatenation ([8c3b1cd](8c3b1cd))
* correct 3 citation-claim mismatches in research report (v2.0.1) ([0b91f44](0b91f44))
* correct attribute count from 24 to 25 ([ee504cb](ee504cb))
* correct broken Tier Definitions link in Markdown report ([ambient-code#468](https://github.com/kami619/agentready/issues/468)) ([aa04bcd](aa04bcd))
* correct default-weights.yaml dead key, add repomix_config, document branch_protection ([3c818d3](3c818d3)), closes [ambient-code#405](https://github.com/kami619/agentready/issues/405) [ambient-code#403](https://github.com/kami619/agentready/issues/403)
* correct indentation of submit entry in lazy_subcommands ([eb8bd32](eb8bd32))
* correct IssuePRTemplatesAssessor to Tier 4 / 1% weight ([6084c28](6084c28)), closes [ambient-code#382](https://github.com/kami619/agentready/issues/382)
* Correct pre-commit template path in PrecommitHooksFixer ([ambient-code#269](https://github.com/kami619/agentready/issues/269)) ([c42a3c9](c42a3c9))
* correct Zhang et al. citation title and broken URL (v2.0.1) ([e674953](e674953)), closes [ambient-code#429](https://github.com/kami619/agentready/issues/429)
* couple gate detection to PR-triggered workflows, add GET fallback for URL validation, fix path-bearing priority matching ([c316c9b](c316c9b))
* **dbt:** resolve assessor bugs and test fixture issues ([1972c4a](1972c4a)), closes [ambient-code#353](https://github.com/kami619/agentready/issues/353) [ambient-code#354](https://github.com/kami619/agentready/issues/354) [ambient-code#355](https://github.com/kami619/agentready/issues/355) [ambient-code#356](https://github.com/kami619/agentready/issues/356)
* detection of Golang project layout ([1ec4312](1ec4312))
* downgrade docker/metadata-action to v5 and fix shellcheck warnings ([12f5509](12f5509))
* drop support for typescript projects without tsconfig.json ([3635148](3635148))
* enable Harbor task filtering for smoketest support ([ambient-code#222](https://github.com/kami619/agentready/issues/222)) ([f780188](f780188))
* Enable workflow_dispatch for leaderboard update and regenerate data ([ambient-code#299](https://github.com/kami619/agentready/issues/299)) ([091d9dd](091d9dd)), closes [ambient-code#298](https://github.com/kami619/agentready/issues/298)
* ensure pytest imports from local src/ not installed package ([11225c9](11225c9))
* Exclude .tox from separation of concerns check ([c2d8f8f](c2d8f8f))
* guarantee all sampler patterns get slots, use recursive glob for skill paths ([9be9fec](9be9fec))
* Improve CLAUDE.md generation prompt and add prompt loading for future LLM integrations [ambient-code#283](https://github.com/kami619/agentready/issues/283)  ([ambient-code#284](https://github.com/kami619/agentready/issues/284)) ([c0aeae4](c0aeae4))
* **leaderboard:** add GitLab repository support for URLs and display names ([ambient-code#350](https://github.com/kami619/agentready/issues/350)) ([47d8e71](47d8e71)), closes [#2](#2) [ambient-code#11](https://github.com/kami619/agentready/issues/11) [ambient-code#347](https://github.com/kami619/agentready/issues/347)
* **leaderboard:** use upstream schema for fork PR validation ([ambient-code#335](https://github.com/kami619/agentready/issues/335)) ([5939b59](5939b59)), closes [ambient-code#312](https://github.com/kami619/agentready/issues/312) [ambient-code#332](https://github.com/kami619/agentready/issues/332)
* make E2E test timeouts configurable and add sensitive directory test ([ambient-code#206](https://github.com/kami619/agentready/issues/206)) ([27e87e5](27e87e5)), closes [ambient-code#104](https://github.com/kami619/agentready/issues/104) [ambient-code#192](https://github.com/kami619/agentready/issues/192)
* **metadata:** use Windows-compatible strftime token for human timestamp ([ambient-code#291](https://github.com/kami619/agentready/issues/291)) ([faf536d](faf536d))
* post leaderboard validation comments via workflow_run for fork PRs ([308afc4](308afc4))
* prevent unauthorized message for non-command comments ([ambient-code#262](https://github.com/kami619/agentready/issues/262)) ([84c6f69](84c6f69))
* properly indent multi-line fix previews in align output ([ambient-code#289](https://github.com/kami619/agentready/issues/289)) ([4e36cb5](4e36cb5)), closes [ambient-code#285](https://github.com/kami619/agentready/issues/285) [ambient-code#285](https://github.com/kami619/agentready/issues/285)
* recognize compiled-language build steps as type-check gates ([ambient-code#473](https://github.com/kami619/agentready/issues/473)) ([ambient-code#483](https://github.com/kami619/agentready/issues/483)) ([991d839](991d839))
* register RepomixConfigAssessor in create_all_assessors ([82b22aa](82b22aa)), closes [ambient-code#400](https://github.com/kami619/agentready/issues/400)
* remove hardcoded attribute count limits from assessment schema ([54456cf](54456cf))
* remove incorrect dbasunag/opendatahub-tests submission ([ambient-code#321](https://github.com/kami619/agentready/issues/321)) ([e6aecf8](e6aecf8)), closes [ambient-code#301](https://github.com/kami619/agentready/issues/301) [ambient-code#314](https://github.com/kami619/agentready/issues/314)
* rename research report in data directory ([b8ddfdc](b8ddfdc))
* replace .coderabbit.yaml with platform-aligned config ([ambient-code#418](https://github.com/kami619/agentready/issues/418)) ([3538a91](3538a91))
* require PR triggers for ci_quality_gates, runner for test_execution, wire deterministic_enforcement ([978a4a8](978a4a8))
* resolve all broken links failing CI lychee check ([ambient-code#288](https://github.com/kami619/agentready/issues/288)) ([4412c27](4412c27))
* resolve all test suite failures - achieve zero failures ([ambient-code#180](https://github.com/kami619/agentready/issues/180)) ([990fa2d](990fa2d)), closes [ambient-code#148](https://github.com/kami619/agentready/issues/148) [ambient-code#147](https://github.com/kami619/agentready/issues/147) [ambient-code#145](https://github.com/kami619/agentready/issues/145) [ambient-code#149](https://github.com/kami619/agentready/issues/149) [ambient-code#150](https://github.com/kami619/agentready/issues/150) [ambient-code#151](https://github.com/kami619/agentready/issues/151) [ambient-code#152](https://github.com/kami619/agentready/issues/152) [ambient-code#153](https://github.com/kami619/agentready/issues/153) [ambient-code#154](https://github.com/kami619/agentready/issues/154) [ambient-code#155](https://github.com/kami619/agentready/issues/155) [ambient-code#159](https://github.com/kami619/agentready/issues/159) [ambient-code#160](https://github.com/kami619/agentready/issues/160) [ambient-code#163](https://github.com/kami619/agentready/issues/163) [ambient-code#162](https://github.com/kami619/agentready/issues/162) [ambient-code#161](https://github.com/kami619/agentready/issues/161) [ambient-code#164](https://github.com/kami619/agentready/issues/164) [ambient-code#165](https://github.com/kami619/agentready/issues/165) [ambient-code#168](https://github.com/kami619/agentready/issues/168) [ambient-code#171](https://github.com/kami619/agentready/issues/171) [ambient-code#172](https://github.com/kami619/agentready/issues/172) [ambient-code#170](https://github.com/kami619/agentready/issues/170) [ambient-code#173](https://github.com/kami619/agentready/issues/173) [ambient-code#177](https://github.com/kami619/agentready/issues/177)
* resolve CodeQL incomplete URL substring sanitization alerts ([8a6cba7](8a6cba7)), closes [ambient-code#382](https://github.com/kami619/agentready/issues/382)
* resolve merge conflict in CLAUDE.md ([ec334b1](ec334b1))
* resolve YAML syntax error in continuous-learning workflow ([ambient-code#172](https://github.com/kami619/agentready/issues/172)) ([3d40fcc](3d40fcc))
* resolve YAML syntax error in update-docs workflow and add actionlint ([ambient-code#173](https://github.com/kami619/agentready/issues/173)) ([97b06af](97b06af))
* rework _primary_language method ([d4295f2](d4295f2))
* scan AGENTS.md/CLAUDE.md for Go test commands ([ambient-code#470](https://github.com/kami619/agentready/issues/470)) ([ambient-code#487](https://github.com/kami619/agentready/issues/487)) ([15dad46](15dad46))
* schema backwards compat for attributes_skipped key ([ambient-code#277](https://github.com/kami619/agentready/issues/277)) ([841bcc4](841bcc4))
* **schema:** allow assessments with excluded attributes ([ambient-code#312](https://github.com/kami619/agentready/issues/312)) ([81b999f](81b999f)), closes [ambient-code#301](https://github.com/kami619/agentready/issues/301) [ambient-code#309](https://github.com/kami619/agentready/issues/309)
* **security:** replace pull_request_target with pull_request trigger ([ambient-code#328](https://github.com/kami619/agentready/issues/328)) ([3c5d31b](3c5d31b)), closes [ambient-code#324](https://github.com/kami619/agentready/issues/324)
* simplify submitter access check per review feedback ([10309b2](10309b2))
* skip test files and test functions in Python type annotations check ([ambient-code#493](https://github.com/kami619/agentready/issues/493)) ([08710c7](08710c7)), closes [ambient-code#385](https://github.com/kami619/agentready/issues/385)
* sort README candidates for determinism and guard iterdir OSErrors ([fd2be32](fd2be32))
* support JSONC comments and monorepo tsconfig.json discovery ([ambient-code#485](https://github.com/kami619/agentready/issues/485)) ([1086255](1086255)), closes [ambient-code#431](https://github.com/kami619/agentready/issues/431) [ambient-code#383](https://github.com/kami619/agentready/issues/383)
* sync assessor default_weight values with default-weights.yaml ([82b08c3](82b08c3)), closes [ambient-code#407](https://github.com/kami619/agentready/issues/407) [ambient-code#407](https://github.com/kami619/agentready/issues/407)
* tighten partial-credit gate to require section heading AND external link ([feda57d](feda57d))
* tighten single-file verification, fix CodeQL findings, align docs ([dcde1ab](dcde1ab))
* treat unverifiable submitter access as warning instead of error ([246fde3](246fde3)), closes [ambient-code#448](https://github.com/kami619/agentready/issues/448)
* update --version flag to show correct version and research report date ([ambient-code#221](https://github.com/kami619/agentready/issues/221)) ([5a85abb](5a85abb))
* update CLAUDE.md with accurate codebase info, add BOOKMARKS.md ([ambient-code#336](https://github.com/kami619/agentready/issues/336)) ([99ab035](99ab035)), closes [ambient-code#327](https://github.com/kami619/agentready/issues/327)
* update research template title to match report rename ([ed3d113](ed3d113))
* update stale attribute counts in default-weights.yaml header ([49c3340](49c3340))
* update stale weight comments for Cyclomatic and StructuredLogging assessors ([8ac286a](8ac286a))
* Use GitHub URL instead of local one ([ambient-code#297](https://github.com/kami619/agentready/issues/297)) ([5abc7c2](5abc7c2))
* use HTTPS for ArXiv API, validate sitemap origins, remove placeholder regex ([9a9e9a6](9a9e9a6))
* use root manifest tiebreaker for primary language detection ([fbe01fb](fbe01fb))
* wire orphaned repomix-update.yml.j2 template and fix output paths ([84806a3](84806a3)), closes [ambient-code#410](https://github.com/kami619/agentready/issues/410)
* **workflows:** ensure post-comment step runs after Claude Code Action ([b087e5c](b087e5c))
* **workflows:** handle all event types in agentready-dev workflow ([9b942bf](9b942bf))
* **workflows:** improve error handling and logging for comment posting ([9ea1e6b](9ea1e6b))
* **workflows:** improve issue number extraction and add debug step ([ecd896b](ecd896b))
* **workflows:** remove if:always() to test step execution ([ff0bb12](ff0bb12))
* **workflows:** simplify post-comment step condition ([1bbf40a](1bbf40a))

### Features

* accept .containerignore as alias for .dockerignore in container assessor ([6b35fae](6b35fae))
* add __main__.py for local CLI execution ([eb4ceba](eb4ceba))
* add architectural boundary and threat model assessors (ADR B.1, B.2) ([ambient-code#503](https://github.com/kami619/agentready/issues/503)) ([c32325d](c32325d)), closes [ambient-code#463](https://github.com/kami619/agentready/issues/463)
* add comprehensive Go repository support with monorepo detection ([5900184](5900184))
* add dbasunag/opendatahub-tests to leaderboard ([ambient-code#301](https://github.com/kami619/agentready/issues/301)) ([be7a55f](be7a55f))
* add dgutride/odh-dashboard to leaderboard ([ambient-code#268](https://github.com/kami619/agentready/issues/268)) ([f4911b2](f4911b2))
* add feast-dev/feast to leaderboard ([ambient-code#293](https://github.com/kami619/agentready/issues/293)) ([c894ce9](c894ce9))
* add Harbor Terminal-Bench comparison for agent effectiveness ([ambient-code#199](https://github.com/kami619/agentready/issues/199)) ([a56e318](a56e318))
* add industry source fetching to research updater (RSS, sitemaps, curated) ([a7b00a4](a7b00a4))
* add Memory MCP server allow list to repository settings ([ambient-code#203](https://github.com/kami619/agentready/issues/203)) ([41d87bb](41d87bb))
* add opendatahub-io/opendatahub-tests to leaderboard ([ambient-code#314](https://github.com/kami619/agentready/issues/314)) ([7a52466](7a52466))
* add opendatahub-io/opendatahub-tests to leaderboard ([ambient-code#332](https://github.com/kami619/agentready/issues/332)) ([b92713b](b92713b))
* add pdm.lock to recognized lockfiles ([4ede2d3](4ede2d3))
* add python-wheel-build/fromager to leaderboard ([083ef28](083ef28))
* add python-wheel-build/fromager to leaderboard ([ambient-code#346](https://github.com/kami619/agentready/issues/346)) ([6a9fab1](6a9fab1))
* add Red-Hat-AI-Innovation-Team/sdg_hub to leaderboard ([ambient-code#279](https://github.com/kami619/agentready/issues/279)) ([5b71392](5b71392))
* add red-hat-data-services/agentic-starter-kits to leaderboard ([7a166e6](7a166e6))
* add red-hat-data-services/agentic-starter-kits to leaderboard ([8c8a899](8c8a899))
* add redhat/builder to leaderboard ([ambient-code#348](https://github.com/kami619/agentready/issues/348)) ([480a4a4](480a4a4))
* add redhat/rhai-pipeline to leaderboard ([ambient-code#349](https://github.com/kami619/agentready/issues/349)) ([e305a0f](e305a0f))
* add redhat/rhel-ai AIPCC productization repos to leaderboard ([ambient-code#347](https://github.com/kami619/agentready/issues/347)) ([9b07e37](9b07e37))
* add test-assess skill for validating assessors against real repos ([a12ef7b](a12ef7b))
* **assessors:** add adr_frontmatter_completeness assessor with central ADR repo support ([ambient-code#512](https://github.com/kami619/agentready/issues/512), [ambient-code#513](https://github.com/kami619/agentready/issues/513)) ([ambient-code#514](https://github.com/kami619/agentready/issues/514)) ([5e607cd](5e607cd))
* **assessors:** add first-class dbt SQL repository support ([8660e6b](8660e6b))
* **assessors:** add lint config coverage assessor ([ambient-code#516](https://github.com/kami619/agentready/issues/516)) ([ae3fabd](ae3fabd)), closes [ambient-code#511](https://github.com/kami619/agentready/issues/511)
* **assessors:** add lint suppression density assessor ([ambient-code#518](https://github.com/kami619/agentready/issues/518)) ([56f3c00](56f3c00)), closes [ambient-code#510](https://github.com/kami619/agentready/issues/510)
* **assessors:** support AGENTS.md and @ references in CLAUDEmdAssessor ([ambient-code#265](https://github.com/kami619/agentready/issues/265)) ([450ec25](450ec25)), closes [ambient-code#244](https://github.com/kami619/agentready/issues/244)
* centralize Claude instructions via AGENTS.md and add init redirect tests ([ambient-code#273](https://github.com/kami619/agentready/issues/273)) ([92c8f3f](92c8f3f))
* code quality assessor enhancements (ADR A.6, A.7) ([ambient-code#491](https://github.com/kami619/agentready/issues/491)) ([3ec84ef](3ec84ef))
* consolidate GitHub Actions workflows by purpose ([ambient-code#217](https://github.com/kami619/agentready/issues/217)) ([717ca6b](717ca6b)), closes [ambient-code#221](https://github.com/kami619/agentready/issues/221)
* container support ([ambient-code#171](https://github.com/kami619/agentready/issues/171)) ([c6874ea](c6874ea))
* context file assessor improvements (ADR A.1, A.9, A.4) ([3b52e79](3b52e79)), closes [ambient-code#459](https://github.com/kami619/agentready/issues/459)
* convert AgentReady assessment to on-demand workflow ([ambient-code#213](https://github.com/kami619/agentready/issues/213)) ([b5a1ce0](b5a1ce0)), closes [ambient-code#191](https://github.com/kami619/agentready/issues/191)
* enforcement and intent assessor improvements (ADR A.5, A.8) ([ambient-code#484](https://github.com/kami619/agentready/issues/484)) ([efe7507](efe7507))
* enhance assessors with multi-language support and security ([ambient-code#200](https://github.com/kami619/agentready/issues/200)) ([85712f2](85712f2)), closes [ambient-code#10](https://github.com/kami619/agentready/issues/10)
* extend ADR detection paths and add CLAUDE.md partial credit ([2a38344](2a38344)), closes [ambient-code#414](https://github.com/kami619/agentready/issues/414) [ambient-code#392](https://github.com/kami619/agentready/issues/392)
* Harbor framework integration for Terminal-Bench evaluations ([ambient-code#202](https://github.com/kami619/agentready/issues/202)) ([d73a8c8](d73a8c8)), closes [#4](#4) [ambient-code#178](https://github.com/kami619/agentready/issues/178) [#1](#1) [#2](#2) [#3](#3) [#4](#4) [ambient-code#192](https://github.com/kami619/agentready/issues/192)
* integrate ACL file with Claude Code Action allowed_users ([ambient-code#261](https://github.com/kami619/agentready/issues/261)) ([fe52489](fe52489))
* Redesign homepage features with two-column layout and research links ([ambient-code#189](https://github.com/kami619/agentready/issues/189)) ([570087d](570087d)), closes [ambient-code#187](https://github.com/kami619/agentready/issues/187)
* remove benchmark and harbor commands ([1300c82](1300c82)), closes [ambient-code#394](https://github.com/kami619/agentready/issues/394)
* remove learn and extract-skills commands ([3350fab](3350fab)), closes [ambient-code#395](https://github.com/kami619/agentready/issues/395)
* replace markdown-link-check with lychee for link validation ([ambient-code#177](https://github.com/kami619/agentready/issues/177)) ([f1a4545](f1a4545))
* **submit:** add --gh flag for gh CLI-based submission ([ambient-code#278](https://github.com/kami619/agentready/issues/278)) ([48bb624](48bb624))
* support Husky as equivalent pre-commit hook framework ([ambient-code#433](https://github.com/kami619/agentready/issues/433)) ([c7d80a0](c7d80a0))
* support org-level issue/PR templates from .github repo ([67ec7ec](67ec7ec)), closes [ambient-code#430](https://github.com/kami619/agentready/issues/430)
* Terminal-Bench eval harness (MVP Phase 1) ([ambient-code#178](https://github.com/kami619/agentready/issues/178)) ([d06bab4](d06bab4)), closes [ambient-code#171](https://github.com/kami619/agentready/issues/171)
* test assessor enhancements for command documentation and organization (ADR A.2, A.3) ([51030ec](51030ec)), closes [ambient-code#460](https://github.com/kami619/agentready/issues/460)
* update recommendations with evidence-based priorities from 2025-2026 research ([d2baec6](d2baec6)), closes [#1](#1) [#6](#6)
* **workflows:** add comment posting for [@agentready-dev](https://github.com/agentready-dev) agent ([5dff614](5dff614))

### Reverts

* remove assessor default_weight fixes (moving to separate PR) ([08fb431](08fb431))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add lint suppression density check to detect backpressure erosion

2 participants