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
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Nested `AGENTS.md` files add directory-specific rules — read them when working
15
15
16
16
-`api/v1alpha1/` — CRD Go types (see nested AGENTS.md). **Codegen-sensitive.**
17
17
-`internal/controllers/` — reconciliation logic, one package per resource (see nested AGENTS.md).
18
+
-`internal/repository/` — git provider access (see nested AGENTS.md). `internal/runner/` — the Terraform runner binary (see nested AGENTS.md). `internal/datastore/` — artifact storage service (see nested AGENTS.md). `internal/server/` — dashboard server + API (see nested AGENTS.md). `internal/webhook/` — VCS webhook receiver (see nested AGENTS.md).
18
19
-`ui/` — React/Vite/TS dashboard (see nested AGENTS.md).
19
20
-`deploy/charts/burrito/` — Helm chart (see nested AGENTS.md).
@@ -40,10 +41,12 @@ To change CRDs: edit `api/v1alpha1/*_types.go`, then run `make manifests` (and `
40
41
41
42
- Always check errors explicitly. Never `_ = err` or silently ignored returns.
42
43
- No `panic()` in reconcilers — see `internal/controllers/AGENTS.md`.
44
+
-**Tests:** add new cases to the existing test suite for a package rather than creating a new suite from scratch. Controllers use BDD (ginkgo/gomega): each `controller_test.go` reads `Describe("When X …")` → `It("should Y …")` (run via `RunSpecs`) — add cases to that suite.
-**Scopes** (use the closest fit): `controller`, `api`, `ui`, `helm`, `ci`, `deps`, `docker`. Scope is optional when none applies.
51
+
-**Scopes** — suggested, not enforced. Prefer the closest fit (`controller`, `api`, `ui`, `helm`, `ci`, `deps`, `docker`); otherwise use another short, relevant scope or omit it.
52
+
- CI gates each commit with commitlint (`@commitlint/config-conventional`) — self-check a message with `npx commitlint`.
0 commit comments