mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-09-22 16:01:31 +00:00
This commit introduces a new script, `check-architecture-boundaries.sh`, which enforces architectural boundaries within the project. The script checks for dependencies between different components, ensuring that low-level crates remain independent of higher-level presentation code. It also validates that certain fields and methods are accessed only through designated state management methods, preventing direct mutations that could lead to inconsistencies. Key features of the script include: - Dependency checks between crates. - Validation of access patterns for state management. - Enforcement of limits on specific code patterns to maintain architectural integrity. - Reporting of violations with detailed output for easier debugging. This addition aims to improve code quality and maintainability by enforcing architectural guidelines.