ci: enforce ui/→data/ layer boundary (A5) #53

Merged
guettlibot merged 1 commits from task/a5-layer-boundary-lint into main 2026-05-14 09:41:35 +00:00
guettlibot commented 2026-05-14 09:28:38 +00:00 (Migrated from codeberg.org)

Summary

  • Add check-layers Taskfile task that greps lib/ui/ for any package:sharedinbox/data/ imports and fails if any are found
  • Wire it into check-fast so it runs on every commit and in CI
  • No current violations; the check protects against future regressions where the UI layer bypasses the core/ interface boundary

Test plan

  • task check-layers exits 0 with no violations
  • task check-fast green

🤖 Generated with Claude Code

## Summary - Add `check-layers` Taskfile task that greps `lib/ui/` for any `package:sharedinbox/data/` imports and fails if any are found - Wire it into `check-fast` so it runs on every commit and in CI - No current violations; the check protects against future regressions where the UI layer bypasses the `core/` interface boundary ## Test plan - [x] `task check-layers` exits 0 with no violations - [x] `task check-fast` green 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.