Importregel der Schichten technisch prüfen #33

Merged
torben merged 3 commits from 13-import-contracts into main 2026-12-02 20:48:14 +00:00
3 Commits
Author SHA1 Message Date
torbenandClaude Sonnet 5.5 b6d9b9c2e4 Document the import-linter check
CI / checks (pull_request) Successful in 44s
Mention lint-imports in CLAUDE.md and the contract in the architecture doc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:33:00 +01:00
torbenandClaude Sonnet 5.5 121ee3fe55 Run import-linter as pre-commit hook
The CI already runs the pre-commit hooks, so the contract is enforced there too.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:33:00 +01:00
torbenandClaude Sonnet 5.5 81e05acd47 Add import-linter layer contract with tests
Enforce inward-only imports between domain, ports, application, adapters and evals; unlisted packages fail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:33:00 +01:00