Skip to content

Commit 3478c02

Browse files
committed
🤖 docs: clarify vendor stamp-file handling
1 parent 4a7e191 commit 3478c02

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Run from repository root.
8686
**Don’t** silently ignore these paths or convert them to soft failures.
8787
- **Do** keep vendoring in sync when dependencies change (`go mod tidy`, `go mod vendor`, then verify diff).
8888
**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.
8990
- **Do** regenerate generated artifacts after API changes (`make codegen`, `make manifests`).
9091
**Don’t** hand-edit generated files like `zz_generated.deepcopy.go` or CRD/RBAC manifests.
9192
- **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/`).

‎vendor/.modules.stamp‎

Whitespace-only changes.

0 commit comments

Comments
 (0)