Skip to content

fix(assessors): support project-named directories and test-only repos in standard_layout check - #322

Merged
kami619 merged 8 commits into
ambient-code:mainfrom
kami619:bugfix/issue-246-305-standard-layout-flexibility
Mar 4, 2026
Merged

kami619 merged 8 commits into
ambient-code:mainfrom
kami619:bugfix/issue-246-305-standard-layout-flexibility

Conversation

@kami619

@kami619 kami619 commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Enhances StandardLayoutAssessor to recognize multiple valid Python project structures:

  • Project-named directories (flat layout like pandas/pandas/) now pass
  • Test-only repositories now receive NOT_APPLICABLE instead of failing

Related Issues

Root Cause

The original implementation hardcoded src/ as a required directory, following the research report's guidance for "src layout." However, this didn't account for:

  1. The equally valid "flat layout" pattern used by major Python packages (pandas, numpy, scikit-learn, vllm)
  2. Test-only repositories that contain no source code to organize

Changes

src/agentready/assessors/structure.py

  • Added _NON_SOURCE_DIRS blocklist to exclude non-source directories from detection
  • Added _find_source_directory() with three-strategy detection:
    1. Check for src/ (existing behavior)
    2. Parse pyproject.toml for project name, look for matching directory
    3. Fall back to any root directory with __init__.py not in blocklist
  • Added _get_package_name_from_pyproject() supporting PEP 621 and Poetry formats
  • Added _is_test_only_repository() to detect test repos by config files and naming
  • Updated _create_remediation() to provide context-aware guidance

tests/unit/test_assessors_structure.py

Added 11 new tests covering:

  • Project-named directory with pyproject.toml
  • Hyphen-to-underscore name normalization
  • Fallback detection without pyproject.toml
  • Blocklist exclusion
  • src/ precedence over project-named
  • Test-only repo detection (by config, by name, by pytest.ini)
  • Edge case: malformed pyproject.toml
  • Negative case: generic repo without indicators should still fail

Testing

Scenario Before After
opendatahub-tests (test-only repo) FAIL (50) NOT_APPLICABLE
Project with mypackage/ dir FAIL (50) PASS (100)
Project with src/ dir PASS (100) PASS (100)
# All 16 tests pass
uv run pytest tests/unit/test_assessors_structure.py -v

Breaking Changes

None. Backward compatible:

  • Repos with src/ layout continue to pass unchanged
  • Repos that previously failed now pass or get NOT_APPLICABLE

Checklist

  • Code follows project style guidelines
  • Unit tests added for new functionality
  • All existing tests pass
  • Real-world verification on reported repos
  • Documentation updated (docstrings, comments)
  • No breaking changes

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

… in standard_layout

Enhances StandardLayoutAssessor to recognize multiple valid Python project
structures instead of rigidly requiring src/:

- Project-named directories (e.g., pandas/pandas/) now pass the check
- Test-only repositories now receive NOT_APPLICABLE instead of failing
- Parses pyproject.toml for project name (PEP 621 and Poetry formats)
- Falls back to detecting any root directory with __init__.py
- Adds blocklist to exclude non-source directories (tests, docs, utils, etc.)
- Updates remediation to present both src/ and flat layout as valid options

Fixes ambient-code#246
Fixes ambient-code#305

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Feb 23, 2026 •

Copy link
Copy Markdown
Contributor

📈 Test Coverage Report

Branch Coverage
This PR 66.8%
Main 66.4%
Diff ✅ +0.4%

Coverage calculated from unit tests only

@github-actions

Copy link
Copy Markdown
Contributor

AgentReady Code Review — PR #322

Scope: StandardLayoutAssessor — support project-named directories and test-only repos
Files: src/agentready/assessors/structure.py (+275/-32), tests/unit/test_assessors_structure.py (+346/0)
Attribute Impact: standard_layout — Tier 1 Essential, 10% weight


Summary

This PR correctly identifies two real shortcomings in the original StandardLayoutAssessor and the general approach is sound. The three-strategy source detection and context-aware remediation are meaningful improvements. However, there are several correctness and reliability issues that need addressing before merge.


Issues

Critical

1. setup.cfg is not a test-only indicator (structure.py:262)

setup.cfg is used across nearly all Python projects for mypy, flake8, coverage.py, setuptools, and many other tools. Including it in test_indicators will incorrectly classify regular Python projects that lack a src/ layout as test-only repos — returning not_applicable when they should fail and receive remediation guidance.

tox.ini is similarly risky — it is used by many non-test-only projects for linting, building, and docs. At minimum remove setup.cfg; consider also removing tox.ini.


2. Non-deterministic directory ordering in Strategy 3 (structure.py:214)

Path.iterdir() returns entries in filesystem-dependent order (hash-randomized on some filesystems, inode order on others). The first qualifying directory found becomes the reported source directory, producing inconsistent behaviour across runs and platforms.

Fix: for item in sorted(repository.path.iterdir()):


Significant

3. Strategy 3 fallback is too permissive (structure.py:204-220)

Any root-level directory with __init__.py not in _NON_SOURCE_DIRS qualifies as a source directory. This will match migrations/, alembic/, config/, middleware/, settings/, celery/ etc. — none of which are package source directories. A project with migrations/__init__.py and tests/ but no src/ and no pyproject.toml would pass when it should fail.

Consider whether Strategy 3 should exist at all without a pyproject.toml.


4. Name-based test-only detection is over-broad (structure.py:272)

Using pattern in repository.name.lower() with "test" matches "testimonial-service", "contest-platform", "latest-features", "manifest-testing-tool". These are normal Python projects that would silently get not_applicable instead of a failing score and remediation guidance.

Use word-boundary matching instead:

import re
name_suggests_tests = bool(
    re.search(r"(^\|[-_.])(test\|tests\|testing\|spec\|specs)($\|[-_.])", repository.name.lower())
)

5. _NON_SOURCE_DIRS is missing common entries (structure.py:14)

The blocklist omits migrations, alembic, config, settings, middleware, static, assets, data, ci, resources, locale, i18n. These are common root-level directories with __init__.py that Strategy 3 would pick up as false-positive source directories.


Minor

6. Redundant has_tests re-check in _is_test_only_repository (structure.py:249)

The caller only invokes this method when not has_source and has_tests is already True. The guard at the top of the method is dead code.

7. Empty strings in commands list create blank entries (structure.py:320)

Empty strings in the commands list render as blank command lines in the HTML report. Use a comment line or handle spacing in the template instead.


Positives

  • frozenset for _NON_SOURCE_DIRS: correct choice, O(1) lookup, immutable.
  • tomllib is stdlib in Python 3.11+ (project requires 3.11+), no new dependency.
  • OSError | tomllib.TOMLDecodeError handling is correct graceful degradation per CLAUDE.md principles.
  • Finding.not_applicable(reason=...) usage is correct — reason lands in evidence[0], test assertions check this correctly.
  • src/ precedence over project-named (Strategy 1 before 2) is the right call.
  • Context-aware _create_remediation(has_source, has_tests) is a meaningful improvement.
  • Updated PyPA citation URL (src-layout-vs-flat-layout) is more specific and relevant.
  • 11 new tests with good edge case coverage. test_malformed_pyproject_toml_handled_gracefully is exactly the kind of defensive test this codebase needs.
  • Backward compatible: src/ repos continue to pass unchanged.

AgentReady Attribute Compliance

Check Result
Inherits BaseAssessor pass
Implements attribute_id pass
Implements assess(repository) pass
Returns Finding (not raw data) pass
Graceful degradation on error pass
Proportional scoring via calculate_proportional_score() pass
Actionable remediation steps pass (improved)
Unit tests added pass (11 tests)
Follows CLAUDEmdAssessor patterns pass

Score Impact Assessment

Test-only repo case (not_applicable): Repos penalised for a non-applicable attribute will have it excluded from their denominator. This is the correct behaviour and improves score accuracy.

Project-named directory case: Repos using flat layout (numpy/pandas style) that were scoring 50/100 on this attribute will now score 100/100. This directly fixes the reported false negatives.

standard_layout carries 10% weight (Tier 1 Essential). A 50 to 100 correction on this attribute translates to a +5 point boost to the overall score for affected repos.


Recommendation

Request changes. The core approach is correct and the bugs being fixed are real. The critical issues (setup.cfg false positive, non-deterministic iteration, over-broad name matching, Strategy 3 false positives) need to be addressed before this is safe to merge. The risk is that the fix introduces a new class of false positives that silently suppress remediation guidance for repos that need it.

@github-actions

Copy link
Copy Markdown
Contributor

AgentReady Code Review — PR #322

Scope: StandardLayoutAssessor — support project-named directories and test-only repos
Files: src/agentready/assessors/structure.py (+275/-32), tests/unit/test_assessors_structure.py (+346/0)
Attribute Impact: standard_layout — Tier 1 Essential, 10% weight


Summary

This PR correctly identifies two real shortcomings in the original StandardLayoutAssessor and the general approach is sound. The three-strategy source detection and context-aware remediation are meaningful improvements. However, there are several correctness and reliability issues that need addressing before merge.


Issues

Critical

1. setup.cfg is not a test-only indicator (structure.py:262)

setup.cfg is used across nearly all Python projects for mypy, flake8, coverage.py, setuptools, and many other tools. Including it in test_indicators will incorrectly classify regular Python projects that lack a src/ layout as test-only repos — returning not_applicable when they should fail and receive remediation guidance.

tox.ini is similarly risky — it is used by many non-test-only projects for linting, building, and docs. At minimum remove setup.cfg; consider also removing tox.ini.


2. Non-deterministic directory ordering in Strategy 3 (structure.py:214)

Path.iterdir() returns entries in filesystem-dependent order. The first qualifying directory found becomes the reported source directory, producing inconsistent behaviour across runs and platforms.

Fix: for item in sorted(repository.path.iterdir()):


Significant

3. Strategy 3 fallback is too permissive (structure.py:204-220)

Any root-level directory with __init__.py not in _NON_SOURCE_DIRS qualifies as a source directory. This will match migrations/, alembic/, config/, middleware/, settings/, celery/ etc. A project with migrations/__init__.py and tests/ but no src/ and no pyproject.toml would pass when it should fail.

Consider whether Strategy 3 should exist at all without a pyproject.toml.


4. Name-based test-only detection is over-broad (structure.py:272)

Using pattern in repository.name.lower() with "test" matches "testimonial-service", "contest-platform", "latest-features". These are normal Python projects that would silently get not_applicable instead of a failing score and remediation guidance.

Use word-boundary matching:

name_suggests_tests = bool(
    re.search(r"(^|[-_.])(test|tests|testing|spec|specs)($|[-_.])", repository.name.lower())
)

5. _NON_SOURCE_DIRS is missing common entries (structure.py:14)

The blocklist omits migrations, alembic, config, settings, middleware, static, assets, data, ci, resources, locale, i18n. These are common root-level directories with __init__.py that Strategy 3 would pick up as false-positive source directories.


Minor

6. Redundant has_tests re-check in _is_test_only_repository (structure.py:249)

The caller only invokes this method when not has_source and has_tests is already True. The guard at the top of the method is dead code.

7. Empty strings in commands list (structure.py:320)

Empty strings in the commands list render as blank lines in the HTML report. Use a comment line instead.


Positives

  • frozenset for _NON_SOURCE_DIRS: correct choice, O(1) lookup, immutable.
  • tomllib is stdlib in Python 3.11+ (project requires 3.11+), no new dependency introduced.
  • OSError | tomllib.TOMLDecodeError handling is correct graceful degradation per CLAUDE.md principles.
  • Finding.not_applicable(reason=...) usage is correct — reason lands in evidence[0], test assertions check this correctly.
  • src/ precedence over project-named (Strategy 1 before 2) is the right call.
  • Context-aware _create_remediation(has_source, has_tests) is a meaningful improvement.
  • Updated PyPA citation URL (src-layout-vs-flat-layout) is more specific and relevant.
  • 11 new tests with good edge case coverage; test_malformed_pyproject_toml_handled_gracefully is exactly the kind of defensive test this codebase needs.
  • Backward compatible: src/ repos continue to pass unchanged.

AgentReady Attribute Compliance

Check Result
Inherits BaseAssessor pass
Implements attribute_id pass
Implements assess(repository) pass
Returns Finding (not raw data) pass
Graceful degradation on error pass
Proportional scoring via calculate_proportional_score() pass
Actionable remediation steps pass (improved)
Unit tests added pass (11 tests)
Follows CLAUDEmdAssessor patterns pass

Score Impact Assessment

Test-only repo case (not_applicable): Excluded from denominator — correct behaviour, improves score accuracy for repos like opendatahub-tests.

Project-named directory case: Repos using flat layout (numpy/pandas style) that were scoring 50/100 will now score 100/100. Directly fixes reported false negatives.

standard_layout carries 10% weight (Tier 1 Essential). A 50→100 correction translates to a +5 point boost to the overall score for affected repos.


Recommendation

Request changes. The core approach is correct and the bugs being fixed are real. The critical issues (setup.cfg false positive, non-deterministic iteration, over-broad name matching, Strategy 3 false positives) need to be addressed before this is safe to merge. The risk is that the fix introduces a new class of false positives that silently suppress remediation guidance for repos that genuinely need it.

Changes based on code review:

Critical:
- Remove setup.cfg from test_indicators (false positive risk)
- Sort directory iteration for deterministic cross-platform behavior

Significant:
- Limit Strategy 3 (fallback detection) to repos with pyproject.toml
- Use word-boundary regex for test-only repo name detection
- Expand _NON_SOURCE_DIRS blocklist with migrations, config, etc.

Minor:
- Remove redundant has_tests check (caller already verifies)
- Replace empty strings in commands with comment separators

Updated test to expect failure for project-named directory without
pyproject.toml, matching the new stricter detection behavior.

All 16 tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

AgentReady Code Review — PR #322

Attribute: standard_layout (Tier 1, 10% weight)
Files changed: src/agentready/assessors/structure.py, tests/unit/test_assessors_structure.py


Summary

This PR addresses two real issues (#246, #305) with solid overall design: the three-strategy source detection and the not_applicable path for test-only repos are both correct approaches. The test coverage for new functionality is thorough. There are a few issues that need attention before merging.


Issues

[Bug] pytest.ini is not a reliable test-only indicator

pytest.ini at the project root is standard configuration for virtually any Python project using pytest — not a marker of a test-only repo. A project with tests/ + pytest.ini but whose source directory wasn't detected by Strategy 1–3 will incorrectly receive not_applicable instead of fail.

# _is_test_only_repository: current
test_indicators = [
    repository.path / "conftest.py",
    repository.path / "pytest.ini",
]

Same concern applies to conftest.py: it's routinely placed at the project root for shared fixtures in mixed projects.

Recommendation: Rely primarily on the name regex (which is well-designed) and require both config files plus the absence of pyproject.toml as a combined signal — test-only repos rarely have pyproject.toml with a [project] section.


[Bug] celery in _NON_SOURCE_DIRS would fail the Celery project itself

The actual Celery package has celery/ as its source directory. Blocking it by name means any assessment of the Celery repo will fail standard_layout even though it follows the flat layout pattern this PR intends to support.

The blocklist rationale is sound for generic terms, but framework/package proper names (celery, middleware, alembic) are risky inclusions. These should be removed from the blocklist, or the strategy should be inverted to an allowlist of known non-source patterns.


[Design concern] Strategy 3 has broad false-positive exposure

When pyproject.toml exists but the project name doesn't match a root directory, Strategy 3 scans all root directories with __init__.py. In a Django project with api/, users/, payments/ packages, this returns whichever comes first alphabetically — which may not be the primary source package.

# Inside `if package_name:` block — runs when pyproject.toml exists but name doesn't match
for item in sorted(repository.path.iterdir(), key=lambda p: p.name):
    if (item / "__init__.py").exists():
        return {"found": True, "type": "project-named", "directory": ...}

Recommendation: Surface this as a heuristic in the evidence (e.g., "source directory: heuristic match — verify") rather than silently returning a pass.


[Style] Self-referential PR comments should be cleaned up

Comments like # PR #322 feedback: ... appear throughout the diff. These look like iterative review notes that weren't removed. They add noise and are confusing as permanent comments.

# PR #322 feedback: Sort for deterministic behavior across platforms

Replace with direct rationale (e.g., # Sort for deterministic behavior across platforms).


Positives

  • Three-strategy detection is well-structured with clear precedence: src/ → name-matched → fallback.
  • Hyphen-to-underscore normalization (my-package → my_package/) correctly handles PEP 508 naming.
  • src/ precedence over project-named is the right call.
  • TOML exception handling covers both OSError and TOMLDecodeError.
  • Name regex (^|[-_.])(?:test|tests|testing|spec|specs)($|[-_.]) correctly avoids false matches on testimonial-service and contest-platform.
  • Test coverage is thorough: 11 new tests covering happy path, edge cases, and negative cases.
  • Remediation guidance is now context-aware and the updated citation URL is more specific.
  • Backward compatibility: repos that previously passed continue to pass.

Score Impact

Scenario Before After
Flat-layout project (pandas-style) FAIL (50) — false negative PASS (100) ✓
Test-only repo (opendatahub-tests) FAIL (50) — false positive NOT_APPLICABLE ✓
Project with pytest.ini, no detectable src FAIL (50) NOT_APPLICABLE — possible false skip ⚠️
Celery project assessment PASS (100) FAIL (50) — regression ⚠️

Verdict

Request changes on the pytest.ini/conftest.py test-only indicators and the celery blocklist entry before merging. The core design is sound and most changes are clear improvements.


Review generated by AgentReady code review skill

Fixes based on code review comment #3948171727:

Bug fixes:
- pytest.ini/conftest.py only indicate test-only repos when pyproject.toml
  is absent; mixed projects typically have pyproject.toml so these files
  alone are not reliable test-only indicators
- Remove celery, middleware, alembic from blocklist since these are
  legitimate package names for their respective projects (Celery, etc.)

Design improvement:
- Strategy 3 (heuristic fallback) now returns type "heuristic" and evidence
  shows "— verify" suffix to flag that this is a best-guess match, not an
  exact name match from pyproject.toml

Style cleanup:
- Remove self-referential "PR ambient-code#322 feedback:" comments; replaced with
  direct rationale where still needed

Added 3 new tests:
- test_pytest_ini_with_pyproject_is_not_test_only
- test_celery_directory_not_blocked
- test_heuristic_match_shows_verify_in_evidence

All 19 tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

AgentReady Code Review - PR #322

Summary

This PR addresses two real-world correctness bugs (#246, #305) in StandardLayoutAssessor by extending source directory detection beyond the hard-coded src/ assumption and adding graceful handling for test-only repositories. The implementation is well-structured and includes 11 new unit tests. There is one documentation inaccuracy in the Strategy 3 comment and a handful of minor items worth addressing before merge.


AgentReady Attribute Analysis

Attribute Impact Details
claude_md Improves Issue references (#246, #305) and fix markers in docstrings make the change auditable
readme Neutral No README changes needed for an internal assessor fix
type_annotations Concerns _find_source_directory returns dict without a typed return signature; a TypedDict or dataclass would align with the codebase's typing standards
test_coverage Improves 11 new focused tests covering happy paths, edge cases, Poetry support, malformed TOML, and heuristic detection
error_handling Improves tomllib.TOMLDecodeError and OSError are caught, malformed TOML falls through safely
code_organization Improves Three private helper methods cleanly separate the three detection strategies
llm_friendly_naming Improves _find_source_directory, _get_package_name_from_pyproject, _is_test_only_repository are all self-documenting
input_validation Concerns Strategy 3 (heuristic) can produce a false positive when pyproject.toml declares name A but only package B (unrelated to A) exists at root; the assessor passes with a "heuristic" tag but the tag is easy to overlook in reports
security_scanning Neutral No new untrusted input surfaces introduced

Security Review

No security issues found. The PR reads only local filesystem paths derived from the already-trusted repository.path. TOML parsing uses the stdlib tomllib, which is memory-safe and does not evaluate code.


Code Quality

Strategy 3 gating comment is inaccurate.

Strategy 3 executes inside the if package_name: branch. This means it only runs when pyproject.toml exists and _get_package_name_from_pyproject returned a non-empty name. The inline comment says "Only do this when pyproject.toml exists to avoid false positives," but the actual guard is stricter: it also requires a parseable project name. A pyproject.toml containing only [build-system] with no [project].name or [tool.poetry].name would silently skip Strategy 3 and return not-found. The test test_heuristic_match_shows_verify_in_evidence passes precisely because its fixture pyproject.toml does contain [project].name = "myproject". This behavior may be intentional (requiring a name further reduces false positives), but the comment should document the actual condition accurately.

Untyped return value from _find_source_directory.

The method returns a plain dict. Callers access source_info["found"], source_info["type"], and source_info["directory"] with no IDE-checkable types. A TypedDict would align with the codebase's typing standards:

from typing import TypedDict

class SourceDirectoryResult(TypedDict):
    found: bool
    type: str
    directory: str

Latent fragility in _create_remediation.

Remediation.__post_init__ raises ValueError if steps is empty. If _create_remediation were ever called in a state where both has_source=True and has_tests=True, the steps list would be empty and cause a runtime error. The status == "fail" call-site guard prevents this today, but a defensive assertion inside _create_remediation would make the invariant explicit and safe under future refactoring.

Test assertion is missing an explanatory comment.

In test_test_only_repo_returns_not_applicable, the assertion checks finding.evidence for the reason string. Finding.not_applicable stores the reason string inside evidence (see finding.py line 107), not in error_message. A brief comment explaining this would help future contributors understand why the assertion targets evidence rather than error_message.

_NON_SOURCE_DIRS blocklist is reasonable but incomplete.

Common directories like lib, app, core, and pkg are used as source roots in some Python projects and are absent from the blocklist. This is an acceptable scope limitation for this PR -- worth a follow-up issue.

Python version compatibility -- confirmed safe.

tomllib is stdlib since Python 3.11. The project requires Python 3.11+, so the import is correct with no compatibility shim needed.


Recommendations

P0 -- Address before merge:

  1. Clarify the Strategy 3 gating comment -- update the inline comment to accurately state that Strategy 3 requires both pyproject.toml to exist and a parseable project name, not just file existence. The current comment says "Only do this when pyproject.toml exists" but the actual condition is stricter.

  2. Add a test for pyproject.toml with no parseable project name -- a fixture pyproject.toml containing only [build-system] should be tested to confirm whether Strategy 3 is reached and the resulting behavior is intentional and documented.

P1 -- Strong recommendations:

  1. Return a TypedDict from _find_source_directory instead of a plain dict to improve type safety and IDE/linter support.

  2. Add a defensive guard in _create_remediation to assert at least one of has_source or has_tests is False before building the steps list, preventing a future ValueError from Remediation.__post_init__.

P2 -- Nice to have:

  1. Add a comment in test_test_only_repo_returns_not_applicable explaining why the reason appears in finding.evidence rather than finding.error_message.

  2. Open a follow-up issue to track gaps in _NON_SOURCE_DIRS for lib/, app/, core/, pkg/ patterns.


Score Impact Estimate

The standard_layout attribute is Tier 1 Essential with default_weight = 0.10 (10% of total score). Repositories with flat layouts (pandas-style) that previously incorrectly scored 50/100 will now score 100/100 when a matching project-named directory is detected. Test-only repositories that previously failed (50/100) will be marked not_applicable and excluded from scoring, eliminating unfair penalty.

Estimated impact: affected repositories could see a +5 to +10 point improvement in overall AgentReady score, depending on which other Tier 1 attributes were previously passing. This directly improves assessor correctness and reduces false negatives for real-world Python project layouts.


Review generated by the AgentReady Development Agent.

Ambient Code Bot and others added 2 commits February 24, 2026 23:43
High Priority Fixes:
- Add TypedDict (SourceDirectoryInfo) for _find_source_directory return type
  to provide type safety and prevent runtime key typos
- Fix Strategy 3 scoping bug: heuristic fallback now runs whenever
  pyproject.toml exists, not just when a package name is found. This allows
  repos with pyproject.toml containing only [build-system] to still benefit
  from heuristic source directory detection.

Medium Priority (Tests):
- Add test for pyproject.toml without name field (only [build-system])
- Add test for project-named directory without __init__.py (namespace packages)
  verifying Strategy 2 falls through to Strategy 3 correctly

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add missing blank line after TypedDict class definition.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kami619

kami619 commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator Author

@dgutride did you want to add any requirements for this PR ? This addresses some open issues on the standard_layout check.

@kahowell kahowell 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.

Change makes sense. Just a few suggestions.

Comment thread src/agentready/assessors/structure.py Outdated
# These are generic pattern names that almost never serve as primary source.
# Avoid blocking package proper names (celery, alembic, etc.) which are
# legitimate source directories for their respective projects.
_NON_SOURCE_DIRS = frozenset(

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This starts to feel like a http://github.com/github/gitignore situation...

Suggestions:

  1. Capture common conventions in a default files in their own files. (Start in this PR with a Python.arsrc)
  2. Provide a mechanism to override in a per-repo basis. (.arsrc; defer to after this PR).
  3. Implement gitignore syntax support (defer to after this PR).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@kahowell I have fixed it in the latest commit. can you please give it a second look ?

Comment thread src/agentready/assessors/structure.py Resolved
Ambient Code Bot and others added 2 commits March 3, 2026 23:14
Addresses PR ambient-code#322 review Comment 1:
- Create Python.arsrc config file with gitignore-like format
- Add _load_arsrc_file() with @lru_cache for efficient config loading
- Add UserWarning when config file is missing (helps detect packaging issues)
- Update pyproject.toml to include *.arsrc in package-data
- Add 7 new tests covering config loading, parsing, and packaging

The blocklist is now externalized following the reviewer's suggestion to
adopt a github/gitignore-like pattern for managing language conventions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kami619
kami619 requested a review from kahowell March 3, 2026 23:16
Remove conflicting entries and standardize package data.
@kami619
kami619 merged commit 2fbb733 into ambient-code:main Mar 4, 2026
17 checks passed
@kami619
kami619 deleted the bugfix/issue-246-305-standard-layout-flexibility branch March 4, 2026 18:28
github-actions Bot pushed a commit that referenced this pull request Mar 5, 2026
## [2.29.6](v2.29.5...v2.29.6) (2026-03-05)

### Bug Fixes

* **assessors:** support project-named directories and test-only repos in standard_layout check ([#322](#322)) ([2fbb733](2fbb733)), closes [#246](#246) [#305](#305)
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.29.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

rhuss pushed a commit to rhuss/agentready that referenced this pull request Aug 19, 2026
… in standard_layout check (ambient-code#322)

* fix(assessors): support project-named directories and test-only repos in standard_layout

Enhances StandardLayoutAssessor to recognize multiple valid Python project
structures instead of rigidly requiring src/:

- Project-named directories (e.g., pandas/pandas/) now pass the check
- Test-only repositories now receive NOT_APPLICABLE instead of failing
- Parses pyproject.toml for project name (PEP 621 and Poetry formats)
- Falls back to detecting any root directory with __init__.py
- Adds blocklist to exclude non-source directories (tests, docs, utils, etc.)
- Updates remediation to present both src/ and flat layout as valid options

Fixes ambient-code#246
Fixes ambient-code#305

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(assessors): address PR ambient-code#322 review feedback

Changes based on code review:

Critical:
- Remove setup.cfg from test_indicators (false positive risk)
- Sort directory iteration for deterministic cross-platform behavior

Significant:
- Limit Strategy 3 (fallback detection) to repos with pyproject.toml
- Use word-boundary regex for test-only repo name detection
- Expand _NON_SOURCE_DIRS blocklist with migrations, config, etc.

Minor:
- Remove redundant has_tests check (caller already verifies)
- Replace empty strings in commands with comment separators

Updated test to expect failure for project-named directory without
pyproject.toml, matching the new stricter detection behavior.

All 16 tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(assessors): address PR ambient-code#322 second review feedback

Fixes based on code review comment #3948171727:

Bug fixes:
- pytest.ini/conftest.py only indicate test-only repos when pyproject.toml
  is absent; mixed projects typically have pyproject.toml so these files
  alone are not reliable test-only indicators
- Remove celery, middleware, alembic from blocklist since these are
  legitimate package names for their respective projects (Celery, etc.)

Design improvement:
- Strategy 3 (heuristic fallback) now returns type "heuristic" and evidence
  shows "— verify" suffix to flag that this is a best-guess match, not an
  exact name match from pyproject.toml

Style cleanup:
- Remove self-referential "PR ambient-code#322 feedback:" comments; replaced with
  direct rationale where still needed

Added 3 new tests:
- test_pytest_ini_with_pyproject_is_not_test_only
- test_celery_directory_not_blocked
- test_heuristic_match_shows_verify_in_evidence

All 19 tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(assessors): address PR ambient-code#322 third review feedback

High Priority Fixes:
- Add TypedDict (SourceDirectoryInfo) for _find_source_directory return type
  to provide type safety and prevent runtime key typos
- Fix Strategy 3 scoping bug: heuristic fallback now runs whenever
  pyproject.toml exists, not just when a package name is found. This allows
  repos with pyproject.toml containing only [build-system] to still benefit
  from heuristic source directory detection.

Medium Priority (Tests):
- Add test for pyproject.toml without name field (only [build-system])
- Add test for project-named directory without __init__.py (namespace packages)
  verifying Strategy 2 falls through to Strategy 3 correctly

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* style: fix black formatting in structure.py

Add missing blank line after TypedDict class definition.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(assessors): externalize non-source dirs blocklist to Python.arsrc

Addresses PR ambient-code#322 review Comment 1:
- Create Python.arsrc config file with gitignore-like format
- Add _load_arsrc_file() with @lru_cache for efficient config loading
- Add UserWarning when config file is missing (helps detect packaging issues)
- Update pyproject.toml to include *.arsrc in package-data
- Add 7 new tests covering config loading, parsing, and packaging

The blocklist is now externalized following the reviewer's suggestion to
adopt a github/gitignore-like pattern for managing language conventions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Refactor package data entries in pyproject.toml

Remove conflicting entries and standardize package data.

---------

Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
rhuss pushed a commit to rhuss/agentready that referenced this pull request Aug 19, 2026
## [2.29.6](ambient-code/agentready@v2.29.5...v2.29.6) (2026-03-05)

### Bug Fixes

* **assessors:** support project-named directories and test-only repos in standard_layout check ([ambient-code#322](ambient-code#322)) ([740923b](ambient-code@740923b)), closes [ambient-code#246](ambient-code#246) [ambient-code#305](ambient-code#305)
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.

[BUG] standard_layout check does not consider test repos [DISCUSSION] Reconsider src/ directory requirement?

2 participants