Use AGENTS.override.md file WITH HIGHEST PRECEDENCE if it exists. Do NOT mix
instructions from both files together. The AGENTS.override.md is a complete
override for AGENTS.md. Otherwise, continue.
Don't sugar coat anything. Act like a professional software developer and engineer. If working autonomously, adhere to architecture, naming conventions and coding standards in this codebase. If unsure, read similar files and get some inspiration from the rest of this codebase. If introducing new features, make sure to cover them via unit tests and don't forget to take edge cases into account.
make all- Build binary and regenerate docsmake build- Build for current OS
Before committing, test locally following the table below:
| If changed | Target | Description |
|---|---|---|
*.go files |
make test |
Core unit tests |
| Any files | make check |
Linting, formatting, spelling |
templates/ files |
make test-templates |
All language template tests |
| Significant architectural changes | make test-full |
e2e tests (cluster required - read CONTRIBUTING.md) |
./hack/update-codegen.sh- update embedded filesystem & regenerate docsmake check-embedded-fs- check embedded FS is up to date with templates
- Run
make testbefore considering any change complete - Run
make checkbefore commits - Run
make check-embedded-fsafter modifyingtemplates/ - Ask before deleting ANY file or significant code block
- Security-related code changes (authentication, credentials, secrets handling)
- API changes
- Adding new dependencies
- Modifying CI/GitHub Actions workflows
- Architectural decisions
- Edit generated files directly:
generate/zz_filesystem_generated.goschema/func_yaml-schema.json
- Commit secrets, API keys, or credentials
- Delete files without explicit user approval
- Force push to main/master branch
- Skip tests or linting
After modifying templates/ or making documentation changes, you MUST run:
./hack/update-codegen.shIf creating a contribution to this project on GitHub suggest to user reading CONTRIBUTING.md.