Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .agents/rules/auto-generated-files.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
description: Rules for how to deal with auto-generated files
globs:
- ".codegen/openapi.json"
- ".codegen/cli.json"
- ".gitattributes"
- "acceptance/**/out*"
- "acceptance/**/output.txt"
- "acceptance/**/output.*.txt"
- "acceptance/**/output/**"
- "bundle/internal/tf/schema/*.go"
- "bundle/terraform_dabs_map/generated.go"
- "cmd/account/*.go"
- "cmd/account/**/*.go"
- "cmd/workspace/*.go"
Expand All @@ -20,12 +22,14 @@ globs:
- "python/databricks/bundles/*/__init__.py"
- "python/databricks/bundles/*/_models/*.py"
paths:
- ".codegen/openapi.json"
- ".codegen/cli.json"
- ".gitattributes"
- "acceptance/**/out*"
- "acceptance/**/output.txt"
- "acceptance/**/output.*.txt"
- "acceptance/**/output/**"
- "bundle/internal/tf/schema/*.go"
- "bundle/terraform_dabs_map/generated.go"
- "cmd/account/*.go"
- "cmd/account/**/*.go"
- "cmd/workspace/*.go"
Expand Down Expand Up @@ -65,6 +69,9 @@ Files matching this rule's glob pattern are most likely generated artifacts. Aut
- `./task generate-clijson` — refreshes `.codegen/cli.json` from the OpenAPI spec via genkit (requires universe repo); also updates `internal/genkit/tagging.py`.
- Direct engine generated YAML:
- `./task generate-direct` (or `./task generate-direct-apitypes`, `./task generate-direct-resources`)
- Terraform provider schema and DABs field map:
- `./task generate-tf-schema`
- `./task generate-schema-map`
- Bundle schemas:
- `./task generate-schema`
- Rewrites `bundle/internal/schema/annotations.yml` in place: upstream docs are sourced from `.codegen/cli.json` at generation time, and the file is synced with the config structure (placeholders added, stale entries dropped).
Expand Down
Loading