Repository navigation
Ruas v1.3.0 - Systematic Fuzzy Logic, Architectural Boundary Linter, and MCP lint_architecture
🌿 Ruas v1.3.0: Systematic Fuzzy Logic & Architectural Boundary Linter
Ruas v1.3.0 introduces systematic approximate reasoning (Zadeh 1965 / Mamdani FIS), the first continuous Fuzzy Architectural Boundary Linter (ruas lint / ruas check), and the 8th native MCP tool lint_architecture for AI agents.
🌟 Key Highlights
-
Systematic Fuzzy Inference Engine (
FuzzyInferenceEngine):- Continuous triangular (
trimf), trapezoidal (trapmf), sigmoidal (sigmf), and Gaussian (gaussmf) membership functions. - Mamdani fuzzy rule evaluation and centroid defuzzification for structural code fragility, coupling metrics, and code smells.
- Linguistic membership profiles (
Clean,Fair,Fragile,Critical).
- Continuous triangular (
-
Fuzzy Architectural Boundary Linter (
ruas lint/ruas check):- Zero-dependency glob matcher resolving file paths into architectural layers (
domain,application,infrastructure,presentation). - Calculates continuous fuzzy violation degrees
$\mu_{\text{violation}}(e) \in [0, 1]$ blending edge coupling intensity (calls,extends,imports,references), Bayesian edge confidence, and destination afferent blast radius. - Continuous Architectural Purity Score (zsh-100%$) and letter grade (
A,B,C,D,F). - Automated Clean Architecture generator (
ruas lint --init). - Strict CI/CD quality gatekeeper mode (
ruas check --strict --json).
- Zero-dependency glob matcher resolving file paths into architectural layers (
-
Fuzzy-Weighted Dijkstra Traversal (
ruas path --fuzzy):- Computes minimal-friction dependency trajectories through Mamdani FIS edge resistance multipliers (e) \in [1.0, 3.5]$.
- Seamlessly finds optimal routes bypassing congested hubs and fragile boundary crossings.
-
Fuzzy Code Smell Detection (
ruas smell):- Multi-signal defuzzified certainty for dead code candidates and God Components.
-
AI Agent Tool #8:
lint_architecture(MCP):- Exposes automated architectural compliance checks directly to Claude Desktop, Cursor, Antigravity, Cline, and other MCP-enabled AI coding agents.
-
Quality & Test Coverage:
- 20/20 test suites passing (100/100 tests).
- 100% clean TypeScript strict typechecking.