-
Notifications
You must be signed in to change notification settings - Fork 23
feat(assessors): support AGENTS.md and @ references in CLAUDEmdAssessor #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(assessors): support AGENTS.md and @ references in CLAUDEmdAssessor #265
Conversation
Add comprehensive support for cross-tool compatibility and flexible configuration: - Support CLAUDE.md as symlink to AGENTS.md - Support @ reference syntax (@AGENTS.md) for content indirection - Accept AGENTS.md as alternative to CLAUDE.md (90/100 score) - Detect cross-tool compatibility when both files present - Implement path traversal security protection (reject ../ and absolute paths) - Add 14 comprehensive unit tests including security validation - Add type hints and performance improvements This enhancement enables repositories to: 1. Share configuration across multiple AI coding assistants 2. Use flexible @ reference indirection for minimal CLAUDE.md files 3. Maintain backward compatibility with existing CLAUDE.md workflows Closes ambient-code#244 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Chris Hambridge <[email protected]>
📈 Test Coverage Report
Coverage calculated from unit tests only |
AgentReady Code Review - PR #265SummaryStatus: ✅ APPROVE with minor suggestions This PR adds comprehensive support for AGENTS.md and @ reference syntax to the CLAUDEmdAssessor, enabling cross-tool compatibility while maintaining security. 🎯 AgentReady Attribute Compliance✅ Strengths1. Test Coverage (test_coverage) - Score: 95/100
2. Type Annotations (type_annotations) - Score: 100/100
3. Inline Documentation (inline_documentation) - Score: 100/100
4. Code Complexity (code_complexity) - Score: 90/100
5. Standard Project Layout (standard_layout) - Score: 100/100
🔒 Security Analysis✅ Excellent Path Traversal ProtectionLocation: src/agentready/assessors/documentation.py:216-220 Assessment:
💎 Code Quality✅ Excellent Practices
📝 Minor Suggestions (Optional)
🧪 Testing Assessment✅ Comprehensive Test CoverageTest Categories:
Test Quality: 10/10
📊 Scoring Logic Review✅ Well-Designed Scoring Strategy
Assessment: Scoring is fair, incentivizes best practices, and provides partial credit appropriately. ✅ Final VerdictRecommendation: APPROVEThis PR demonstrates excellent software engineering practices: ✅ Security: Robust path traversal protection Risk Assessment: LOW
📈 AgentReady Score ImpactBefore: CLAUDEmdAssessor only recognized CLAUDE.md Impact: Enables more flexible repository configurations and encourages cross-tool compatibility Estimated Score Improvement: +5-10 points for repos with AGENTS.md Reviewed by: AgentReady Code Review (Claude Sonnet 4.5) |
|
🎉 This PR is included in version 2.23.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Add comprehensive support for cross-tool compatibility and flexible configuration:
This enhancement enables repositories to:
Type of Change
Related Issues
Fixes #244
Changes Made
Testing
pytest)Checklist
Screenshots (if applicable)
Additional Notes