Commit c1bc5bc
chore(manager): enforce repositories/services layer deps in BUILD
Extend the manager __dependencies_rules__ to cover the repositories and
services layers, mirroring the existing data/views/models rules:
- repositories/** may depend on models/data/dto but not services or api
- services/** must not depend on api
This makes the documented layer order (api → services → repositories →
models) enforced at build time via Pants visibility instead of by review.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 891e393 commit c1bc5bc
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
88 | 113 | | |
89 | 114 | | |
90 | 115 | | |
| |||
0 commit comments