Samir Boulahtit
228163d920
feat(arch): add API-007 rule to enforce layered architecture
...
Add architecture rule that detects when API routes import database
models directly, enforcing Routes → Services → Models pattern.
Changes:
- Add API-007 rule to .architecture-rules/api.yaml
- Add _check_no_model_imports() validation to validator script
- Update customer imports to use canonical module location
- Add storefront module restructure implementation plan
The validator now detects 81 violations across 67 API files where
database models are imported directly instead of going through
services. This is Phase 1 of the storefront restructure plan.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 22:23:00 +01:00
..
2026-01-29 21:28:56 +01:00
2025-09-09 21:27:58 +02:00
2025-12-06 18:34:41 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-24 21:28:46 +01:00
2026-01-24 19:49:40 +01:00
2025-12-06 18:34:41 +01:00
2026-01-27 23:06:23 +01:00
2025-11-28 19:30:17 +01:00
2026-01-24 21:49:58 +01:00
2026-01-29 21:28:56 +01:00
2025-11-28 19:30:17 +01:00
2026-01-29 21:28:56 +01:00
2025-11-28 19:30:17 +01:00
2025-12-26 20:51:13 +01:00
2025-12-24 23:41:20 +01:00
2026-01-29 21:28:56 +01:00
2025-12-13 22:59:51 +01:00
2025-11-28 19:30:17 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 22:23:00 +01:00
2026-01-03 20:00:10 +01:00
2025-12-31 22:03:50 +01:00
2025-12-25 22:21:14 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2025-12-13 22:59:51 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2025-10-11 12:14:49 +02:00
2026-01-06 22:40:10 +01:00
2026-01-25 21:42:44 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2025-11-28 19:30:17 +01:00
2025-11-28 19:30:17 +01:00
2026-01-11 17:52:28 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2026-01-29 21:28:56 +01:00
2025-11-28 19:30:17 +01:00
2026-01-13 20:37:34 +01:00
2025-12-27 13:30:52 +01:00
2026-01-27 20:34:58 +01:00
2026-01-02 21:26:12 +01:00
2025-12-28 18:10:18 +01:00
2026-01-11 17:52:28 +01:00
2025-11-28 19:30:17 +01:00
2026-01-28 22:22:28 +01:00
2026-01-11 19:44:59 +01:00
2026-01-27 23:06:23 +01:00
2026-01-27 23:06:23 +01:00
2025-12-06 18:34:41 +01:00
2026-01-29 21:28:56 +01:00
2026-01-28 22:22:28 +01:00
2025-12-06 18:34:41 +01:00
2026-01-11 17:52:28 +01:00
2026-01-08 02:16:55 +01:00
2026-01-19 18:42:30 +01:00
2026-01-03 20:00:10 +01:00
2025-12-06 18:34:41 +01:00