You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,9 +217,12 @@ The project heavily uses code generation:
217
217
-**Wire**: Dependency injection
218
218
-**Ent**: ORM models and queries
219
219
-**Buf**: Protobuf tooling and validation
220
+
-**Mockery v3**: Test mocks - add interface to `.mockery.yml`, run `mockery` from that directory
220
221
221
222
Always run `make generate` after modifying .proto files or Ent schemas.
222
223
224
+
**API Token Policies**: If modifying `DefaultAuthzPolicies` in `pkg/biz/apitoken.go`, create a migration to update existing tokens' `policies` field - they're stored in DB, not loaded dynamically.
225
+
223
226
## Contract-Based Development
224
227
225
228
Workflow Contracts define the structure and requirements for CI/CD attestations. They specify what materials must be collected and policies that must be evaluated.
0 commit comments