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: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ Run from repository root.
86
86
**Don’t** silently ignore these paths or convert them to soft failures.
87
87
-**Do** keep vendoring in sync when dependencies change (`go mod tidy`, `go mod vendor`, then verify diff).
88
88
**Don’t** submit dependency changes without updating `vendor/`.
89
+
**Don’t** manually delete or edit `vendor/modules.txt` or `vendor/.modules.stamp`; refresh vendoring via `go mod tidy && go mod vendor` (or `make vendor`) instead.
89
90
-**Do** regenerate generated artifacts after API changes (`make codegen`, `make manifests`).
90
91
**Don’t** hand-edit generated files like `zz_generated.deepcopy.go` or CRD/RBAC manifests.
91
92
-**Do** keep controller, aggregated API server, and storage changes paired with focused tests (`main_test.go`, `internal/controller/*_test.go`, and package tests under `internal/app/`/`internal/aggregated/`).
0 commit comments