New open-source tool 'align' auto-checks your code's architecture rules

Align is an tool that automatically verifies rules in a codebase, working like a linter (a tool that automatically checks code for style or rule violations) that plugs into your existing workflow. Teams can define rules such as 'a REST endpoint cannot talk to a database directly and must go through a ' or 'this library cannot import that other library,' and align catches violations automatically.

It is built to be easy for both human and to understand and follow. The project is available on GitHub as SpikedPunchVictim/align.

Key points

  • Align is a linter-style tool that automatically enforces rules
  • It can enforce layering rules, e.g. blocking a REST endpoint from talking to a database directly
  • Designed to be understandable by both human and
  • Goal is to let agents edit code freely without breaking architectural quality
  • GitHub: SpikedPunchVictim/align
Read original