Repository navigation
fix(cli): check .pre-commit-config.yaml for conventional commit - #310
Conversation
AgentReady Code ReviewSummaryThis PR extends Attribute Impact Analysis
The Security ReviewNo security issues found. The file read is wrapped in a broad Code QualityIssues to address: 1. Overly broad exception type ( except Exception:
passSince the only operation inside the # Suggested fix
except OSError:
pass2. Misleading test name ( The test writes Suggested rename: 3. Remediation steps not updated for the new detection scope The remediation=Remediation(
summary="Configure conventional commits with commitlint",
steps=["Install commitlint", "Configure husky for commit-msg hook"],
tools=["commitlint", "husky"],
commands=["npm install --save-dev @commitlint/cli @commitlint/config-conventional husky"],
...
)Now that the assessor detects Python-native steps=[
"Option A (Python/pre-commit): Add conventional-pre-commit to .pre-commit-config.yaml",
"Option B (JS/commitlint): Install commitlint and configure husky for commit-msg hook",
],
tools=["pre-commit", "conventional-pre-commit", "commitlint", "husky"],
commands=[
"# Python (pre-commit):",
"pip install pre-commit && pre-commit install --hook-type commit-msg",
"# JS (commitlint + husky):",
"npm install --save-dev @commitlint/cli @commitlint/config-conventional husky",
],4. PR description is empty All checkboxes are unchecked and the description fields contain only the template placeholders. This makes it harder to review intent and blocks automated PR comment generation in CI. Please fill in the description, type of change, and testing notes. AgentReady Pattern Compliance
Coordination NoteRelated PR #308 ( Recommendations
VerdictREQUEST CHANGES — The core detection logic is correct and the test coverage is thorough. Items 1–4 above should be addressed before merge, with item 2 (remediation update) being the most impactful for end users. Generated by AgentReady Review Agent |
7884f7a to
4bd482e
Compare
AgentReady Code Review
SummaryThis PR extends Attribute Impact Analysis
Prior Review Status
Remaining Issues1. Empty PR description (minor, process) All description fields are still template placeholders. At a minimum, fill in the "Changes Made" section and the "Related Issues" field. This blocks traceability and makes the automated CI comment generation less useful. 2. Test docstring/name mismatch
"""Test that invalid YAML in pre-commit config is handled gracefully."""But since the implementation uses string matching (not YAML parsing), the test is actually verifying that content without the target patterns returns """Test that pre-commit config without conventional commit patterns fails."""3.
# Note: This test is a no-op when run as root (root ignores file permissions)4. Pattern-matching scope The three patterns cover the main pre-commit hook libraries:
Not covered: 5. Rebase conflict risk with PR #308 PR #308 ( Code Quality
Security ReviewNo issues. File content is read and matched against static string patterns — no execution, no user-controlled input, no subprocess calls. The VerdictAPPROVE with minor comments — The core logic is correct, exception handling is appropriately scoped, and test coverage is thorough (10 cases). The two items to address before merge are:
Neither blocks correctness. Coordinate merge order with PR #308 to avoid a rebase collision. Generated by AgentReady Review Agent |
4bd482e to
0dbfa79
Compare
AgentReady Code Review — PR #310Reviewer: Claude Code (AgentReady Development Agent) SummaryThis PR extends Overall verdict: Approve with minor issues noted below. AgentReady Attribute Impact
Issues🔴 Conflict with PR #308 — Expanded commitlint formats not includedPR #310 still only checks for Recommendation: One PR should absorb the other. Specifically, PR #310 should incorporate the expanded commitlint format list from PR #308 before merging. If both land separately, whichever is second will need a rebase. # PR #310 currently has (line ~240):
has_commitlint = (repository.path / ".commitlintrc.json").exists()
# Should be (incorporating PR #308's list):
commitlint_configs = [
".commitlintrc", ".commitlintrc.json", ".commitlintrc.yaml",
".commitlintrc.yml", ".commitlintrc.js", ".commitlintrc.cjs",
".commitlintrc.mjs", ".commitlintrc.ts", ".commitlintrc.cts",
"commitlint.config.js", "commitlint.config.cjs", "commitlint.config.mjs",
"commitlint.config.ts", "commitlint.config.cts",
]
has_commitlint = any((repository.path / cfg).exists() for cfg in commitlint_configs)🟡
|
Outdated review (click to expand)Outdated review (click to expand)Outdated review (click to expand)Outdated review (click to expand)Outdated review (click to expand)Outdated review (click to expand)🤖 AgentReady Code ReviewPR Status: 6 issues found (3 🔴 Critical, 2 🟡 Major, 1 🔵 Minor)
🔴 Critical Issues (Confidence ≥90) — Auto-Fix Recommended1.
|
| # | Issue | Attribute | Tier | Confidence | Status |
|---|---|---|---|---|---|
| 1 | import os inside function |
code_quality |
3 | 95% | 🔴 Unresolved from prior review |
| 2 | Docstring mismatch | inline_documentation |
3 | 92% | 🔴 Unresolved from prior review |
| 3 | Merge conflict with PR #308 | conventional_commits |
2 | 93% | 🔴 Unresolved from prior review |
| 4 | Missing encoding="utf-8" |
code_quality |
3 | 85% | 🟡 New finding |
| 5 | Pattern false positives | conventional_commits |
2 | 88% | 🟡 New finding |
| 6 | Empty PR description | documentation |
3 | 99% | 🔵 Unresolved from prior review |
Prior review items confirmed resolved ✅: except OSError (not bare except), remediation updated with Python-native pre-commit path, test renamed to test_precommit_no_matching_patterns.
- Auto-Fix Candidates: 3 critical issues flagged for resolution
- Manual Review: 2 major issues require human judgment
- Net Score Improvement Potential: +3.0 points from
conventional_commitsfix → 83.0/100 (Gold) - AgentReady Assessment: Run
agentready assess .after merge to verify score
🤖 Generated with Claude Code
If this review was useful, react with 👍. Otherwise, react with 👎.
There was a problem hiding this comment.
AgentReady Code Review
Summary
PR #310 extends ConventionalCommitsAssessor to detect conventional commit tooling configured via .pre-commit-config.yaml, broadening coverage to Python-first repos. The implementation is largely correct and well-tested, but there are a few issues worth addressing before merge — including a latent conflict with PR #308 and a false-positive risk in the pattern-matching approach.
AgentReady Attribute Impact
| Attribute | Impact | Notes |
|---|---|---|
test_coverage |
✅ Positive | 10 new unit tests added covering all meaningful branches |
pre_commit_hooks |
✅ Positive | Assessor now correctly recognises Python pre-commit ecosystem |
type_annotations |
➡️ Neutral | No new unannotated functions introduced |
code_complexity |
Text-based pattern matching is fragile; see below |
Estimated Score Impact: +1–2 points (improved detection reduces false-fail penalty for Python repos)
Issues Found
🔴 Critical
- Latent merge conflict with PR #308 (
stub_assessors.py:236): PR #310 retainshas_commitlint = (repository.path / ".commitlintrc.json").exists(), checking only one config format. PR #308 (open) expands this to all 14 official commitlint formats by modifying the exact same lines. These two PRs will conflict at merge time and the fix from #308 will be lost if #310 merges first. Coordinate merge order or incorporate #308's commitlint list directly.
🟡 Warnings
-
False-positive risk from substring matching (
stub_assessors.py:248–255): The check usesany(pattern in content for pattern in [...]). A comment like# We chose NOT to use conventional-precommit-linterwould trigger a false positive pass. Prefer checking theid:field values after YAML-parsing the config, or at minimum narrow the pattern toid: conventional-precommit-linter(with theid:prefix) to reduce false matches. -
Missing
package.jsoncommitlint field: Both this PR and the original code ignorepackage.jsonwith a"commitlint"key, which is an officially supported config location per the commitlint docs. Low urgency but worth noting for completeness. -
Non-standard import placement (
tests/unit/test_assessors_stub.py:1049):import osis declared inside the test functiontest_precommit_file_permission_error. Move to the top of the file per PEP 8 / project style.
🟢 Suggestions
-
Misleading test name (
test_precommit_no_matching_patterns): The docstring says "invalid YAML" but the test name says "no matching patterns." Since the implementation uses text search (not YAML parsing), invalid YAML isn't actually tested as an error condition — it just fails to match patterns. Rename totest_precommit_no_conventional_patterns_invalid_yamlor split into two distinct tests to clarify intent. -
Cosmetic-only diff noise: Many of the changes in
test_assessors_stub.pyare pure formatting rewrites of multi-line string calls (e.g.,write_text("""...""")→write_text(\n"""..."""\n)). These inflate the diff significantly and obscure the functional changes. Separate formatting-only commits from functional ones, or omit reformatting unrelated code. -
Pattern list coverage: The three patterns checked (
conventional-precommit-linter,conventional-pre-commit,commitlint-pre-commit-hook) are reasonable, butjorisroovers/gitlintwithconventional-commitstype is also widely used in Python repos and worth adding.
Security Assessment
No security issues identified. The OSError catch on read_text() is appropriate; the code does not execute the config file contents.
Positive Changes
- Strong test coverage with both happy-path and edge-case scenarios (permission error, empty config, invalid YAML, multiple tools configured simultaneously)
- Remediation guidance updated to present both Python (pre-commit) and JS (commitlint + husky) options — improves actionability for Python-first users
- Evidence message in the fail path correctly updated to reflect expanded detection scope
Recommendation
REQUEST_CHANGES — Coordinate with PR #308 to avoid losing the multi-format commitlint fix, and tighten the pattern-matching to reduce false positives. The test suite is solid; the implementation just needs the two targeted fixes above before merge.
0dbfa79 to
18742ad
Compare
📈 Test Coverage Report
Coverage calculated from unit tests only |
AgentReady Code Review — PR #310Reviewer: Claude Code (AgentReady Review Agent) SummaryThis PR extends Strengths
IssuesMedium1. Conflict with PR #308 ( PR #308 replaces the single 2. String-based pattern matching can produce false positives (line 246–252) has_precommit_conventional = any(
pattern in content
for pattern in [
"conventional-precommit-linter",
"conventional-pre-commit",
"commitlint-pre-commit-hook",
]
)A commented-out hook or a documentation string containing import yaml
try:
data = yaml.safe_load(content)
repos = data.get("repos", []) if isinstance(data, dict) else []
for repo in repos:
for hook in repo.get("hooks", []):
if hook.get("id", "") in {"conventional-precommit-linter", ...}:
has_precommit_conventional = True
except yaml.YAMLError:
pass # fall back to string matching or return FalseMinor3. Incomplete tool coverage Common conventional-commit tools not detected:
These could be follow-up issues rather than blocking this PR. 4. Misleading test name ( def test_precommit_no_matching_patterns(self, tmp_path):
"""Test that invalid YAML in pre-commit config is handled gracefully."""The test name says "no matching patterns" but the docstring says "invalid YAML". The file 5. Permission test may fail as root (line ~895) os.chmod(precommit_config, 0o000)If tests run as root (e.g., some CI containers), AgentReady Attribute Compliance
RecommendationRequest changes on the conflict with PR #308 before merging. The string-matching false-positive risk is medium severity and worth addressing. The other items are minor and acceptable as follow-up issues. |
702ba37 to
18b8b4f
Compare
AgentReady Code Review — PR #310Reviewed by: Claude Code (AgentReady Review Agent) SummaryThis PR extends AgentReady Attribute Impact
Score Impact: This fix directly benefits Python-first repositories (the primary AgentReady target audience) that use Code QualityStrengths:
Issues: 1. False positive risk with string matching (medium) The assessor reads the YAML file as raw text and does substring matching: has_precommit_conventional = any(
pattern in content
for pattern in [
"conventional-precommit-linter",
"conventional-pre-commit",
"commitlint-pre-commit-hook",
]
)This will match on:
A YAML-parse approach would be more accurate, though it adds a dependency. Alternatively, restricting the pattern match to known YAML structure (e.g., checking for the pattern only in 2. content = precommit_config.read_text()Should be explicit: 3. Conflict with PR #308 (blocking for one of them) This PR's diff is based on the original code (
4. Limited pre-commit hook coverage (minor) The three patterns detected are reasonable but incomplete. Notable missing hooks:
This is acceptable as a first pass — the attribute description says "≥80% of recent commits follow convention", so this is still an improvement over the status quo. 5. Test: The test is named "no matching patterns" but the docstring says "invalid YAML" and uses malformed YAML as input. These are two different scenarios. Consider splitting or renaming. SecurityNo security concerns. File access is limited to Best Practices
Specific Change Requests# 1. Add encoding parameter
content = precommit_config.read_text(encoding="utf-8")
# 2. Consider adding a comment explaining the string-match trade-off
# Note: Using string matching rather than YAML parsing to avoid adding
# a pyyaml dependency. This may match commented-out entries.VerdictApprove with minor changes — This is a valuable contribution that addresses a real gap for Python repositories. The test suite is thorough and the logic is sound. Address the encoding parameter and coordinate with PR #308 before final merge. The false-positive risk from string matching is acceptable as a documented trade-off. |
AgentReady Code ReviewPR: fix(cli): check .pre-commit-config.yaml for conventional commit SummaryThis PR extends Overall: Strong implementation with good test coverage, but has a few false-positive risks and one CI-reliability concern. AgentReady Attribute Compliance
Issues🔴 CriticalNone. 🟡 Important1.
conventional_patterns = {
"conventional-precommit-linter",
"conventional-pre-commit",
"commitlint-pre-commit-hook",
"gitlint", # ← concern
"committed", # ← concern
}
Recommendation: Remove 2. String fallback can match comments The YAML error fallback uses content-level string matching: except yaml.YAMLError:
has_precommit_conventional = any(
pattern in content for pattern in conventional_patterns
)A 3. Permission error test is a no-op when running as root def test_precommit_file_permission_error(self, tmp_path):
os.chmod(precommit_config, 0o000)
# "Note: This test is a no-op when run as root"CI containers often run as root, making this test silently pass regardless of the import pytest
@pytest.mark.skipif(os.getuid() == 0, reason="chmod has no effect as root")
def test_precommit_file_permission_error(self, tmp_path):
...🟢 Suggestions4. Conflict with PR #308 Both this PR and PR #308 modify the same 5. Missing A common pattern in Node.js monorepos: commitlint config lives in 6. Empty PR description The "Changes Made" section has three empty bullets ( Strengths
VerdictRequest changes — small issues to address before merge:
The core logic and test coverage are solid. |
18b8b4f to
e6d0d86
Compare
There was a problem hiding this comment.
AgentReady Code Review — PR #310
fix(cli): check .pre-commit-config.yaml for conventional commit
Summary
This PR meaningfully expands ConventionalCommitsAssessor to detect conventional commit tooling in Python-first workflows — specifically package.json commitlint config and pre-commit hooks. The YAML-based parsing approach (vs. naive string matching) is the right call and avoids false positives from comments. Test coverage is excellent at 14 new cases. One required change: this PR should also incorporate the full commitlint config format list from PR #308 to avoid a regression.
AgentReady Attribute Compliance
Attribute affected: conventional_commits (Tier 2, weight ~0.03)
| Aspect | Assessment |
|---|---|
| Fix correctness | ✅ Correct detection logic for both new paths |
| YAML parsing approach | ✅ Correctly uses yaml.safe_load not string matching |
| Error handling | ✅ JSONDecodeError, OSError, YAMLError all caught |
| pyyaml dependency | ✅ Already in pyproject.toml (pyyaml>=6.0) |
| Test coverage | ✅ 14 new test cases covering all key paths |
| Remediation quality | ✅ Improved with language-specific options (Python vs JS) |
| Score impact | conventional_commits 0 → 100 for pre-commit users (+~0.9 overall) |
Security
No security issues found.
- File reads are wrapped in
OSErrorexception handlers yaml.safe_load()used (notyaml.load()— avoids arbitrary code execution)- No subprocess calls, no user-controlled execution paths
Code Quality
Strengths:
- YAML-parsed URL matching is more robust than string/regex matching against raw file content
yaml.safe_load()is correctly chosen overyaml.load()- The
conventional_patternsset accurately avoids generic linters (gitlint,committed) that don't enforce conventional format by default — the inline comment explains this decision well test_precommit_file_permission_errorwith@pytest.mark.skipif(os.getuid() == 0, ...)is a thoughtful edge case
Issues:
1. [Required] Missing commitlint config formats from PR #308
This PR only checks .commitlintrc.json, but PR #308 identified 14 valid formats (.commitlintrc, .commitlintrc.yaml, .commitlintrc.ts, commitlint.config.js, etc.). If this PR merges without those additions, false negatives for those formats remain. Either rebase on top of PR #308 or incorporate the full list.
2. [Minor] Redundant assignment in except yaml.YAMLError block
has_precommit_conventional is already initialized to False before the try block. The explicit reset inside except yaml.YAMLError is dead code. Remove it or replace with pass.
3. [Minor] Misleading test docstring
test_precommit_invalid_yaml_fallback says 'falls back to string matching' but the implementation does not fall back to string matching — it fails gracefully with False. Update the docstring.
4. [Non-blocking] conventional_patterns as a class-level constant
The patterns set is redefined inside assess() on every call. Since it is a fixed constant, a class-level attribute would be cleaner.
5. [Non-blocking] Pass evidence doesn't identify which tool was detected
All pass paths return 'Commit linting configured' regardless of detection method. Including the specific detection path in evidence would help with diagnostics.
Best Practices
- ✅ Library-first: no global state introduced
- ✅ Strategy pattern preserved
- ✅ Graceful degradation: missing/unreadable files do not crash
- ✅ Conventional commit style in PR title (
fix(cli):) - ✅ Tests confirm behavior, not just execution
Required Changes
- Incorporate the full commitlint config format list (14 formats from PR #308) to avoid false negatives for
.commitlintrc.yaml,.commitlintrc.ts,commitlint.config.js, etc.
Suggestions (non-blocking)
- Remove redundant
has_precommit_conventional = Falseinexcept yaml.YAMLError - Fix misleading docstring in
test_precommit_invalid_yaml_fallback - Extract
conventional_patternsto a class-level constant - Add evidence specificity to identify which config method was detected
Verdict
REQUEST CHANGES — The core logic is sound and the test coverage is a significant improvement. One required change before merge: incorporate the full commitlint config format list from PR #308. The remaining items are minor/non-blocking.
AgentReady Code Review — PR #310
SummaryGood implementation that expands conventional commit detection to Python-ecosystem tooling. Proper YAML parsing (avoiding false positives from string matching), solid error handling, and thorough test coverage. A few things to address. IssuesMediumMisleading test docstring for The docstring says "falls back to string matching" but the implementation returns Tests in Tests using Minor
Notable missing tools:
This correctly detects No detection of Commitizen is configured in What's Good
Attribute Impact
Verdict: Approve with minor fixes. Fix the misleading docstring before merge. Consider adding |
kami619
left a comment
There was a problem hiding this comment.
apart from that nit, this lgtm.
Co-authored-by: Kamesh Akella <kakella@redhat.com>
|
🎉 This PR is included in version 2.29.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
…ent-code#310) * fix(cli): check .pre-commit-config.yaml for conventional commit * Update tests/unit/test_assessors_stub.py Co-authored-by: Kamesh Akella <kakella@redhat.com> --------- Co-authored-by: Kamesh Akella <kakella@redhat.com>
## [2.29.2](ambient-code/agentready@v2.29.1...v2.29.2) (2026-02-23) ### Bug Fixes * **cli:** check .pre-commit-config.yaml for conventional commit ([ambient-code#310](ambient-code#310)) ([b9e37b3](ambient-code@b9e37b3)) * remove incorrect dbasunag/opendatahub-tests submission ([ambient-code#321](ambient-code#321)) ([e8062a3](ambient-code@e8062a3)), closes [ambient-code#301](ambient-code#301)
# [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))
Description
Add support for conventional commit check via pre-commit config.
Type of Change
Related Issues
Fixes #
Relates to #
Changes Made
Conventional_commit check now identifies
Testing
pytest)Checklist
Screenshots (if applicable)
Additional Notes