sveredyuk/axr
64.2
Adequate · 9 November 2026
272
lines of production code
Ruby
primary language
7
measurements over time
What this system is
AxR is a Ruby-based static analysis tool designed to enforce layer isolation and detect architectural violations in codebases. It provides a command-line interface to scan Ruby files, identify dependency issues, and report warnings. The system includes a DSL for defining layer relationships and integrates with automated testing workflows via Guard and RSpec.
Features
Add Guardfile for automated test and code quality monitoring
A new Guardfile is introduced to automate the execution of RSpec tests and Rubocop checks on file changes, streamlining the development workflow. The configuration specifies watching spec files, Ruby source files, and Rails-specific directories to trigger appropriate test suites automatically.
(repo-wide) · high confidence
Add executable entry point for AxR CLI
A new executable script \exe/axr\ has been added to the repository. This Ruby script serves as the command-line interface entry point, requiring the \axr\ library and invoking \AxR::CLI.start\ with command-line arguments, enabling users to run the tool directly from the command line.
exe · high confidence
Introduce AxR static analysis tool with layer isolation and CLI
AxR is a new static analysis tool that scans Ruby code to detect layer violations. It provides a CLI interface to run scans, with an option to exit with a failure status code on warnings. The core logic enforces layer isolation, where layers can be marked as isolated or allowed to depend on others via a 'familiar\_with' relationship. The tool outputs a summary of scanned files and detected issues.
lib/axr · high confidence
Test coverage
Added test coverage for AxR core components; Added test fixtures for API, isolated, logic, and repo modules; Enhanced RSpec configuration and test helpers.
Dependencies
Upgrade to version 0.8.1 with new dependencies
The axr gem has been updated to version 0.8.1. This release introduces new runtime dependencies on colorize and thor, and updates development dependencies including guard-rspec, pry, and rake. The gemspec also specifies a minimum Ruby version of 2.4.0.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 64 → 64 (+0.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 75 → 75 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 60 → 60 (+0.0)
- Readiness 60 → 60 (+0.0)
- Security 100 → 100 (+0.0)
Resolved (1)
- Inconsistent constructor naming convention. Most types use initialize as the constructor method name, which is consistent with Ruby conventions, but the API surface exposes this as a public constructor. While consistent within itself, it is worth noting that AxR.App uses initialize while other languages might use new or a factory. However, strictly looking for internal inconsistency, all use initialize. There are no conflicting names like create vs new here. The only potential issue is the typo in AxR.Scanner.dependecies (missing 'n'), but that is a typo, not an API design inconsistency in naming operations.
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
sveredyuk/axr was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit b099606b99b4cda8dad9d20329aca517d29d130a — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-bb0cb800cd0f.