-
Notifications
You must be signed in to change notification settings - Fork 19
add initial, basic AGENTS.md #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
xrstf
wants to merge
1
commit into
kcp-dev:main
Choose a base branch
from
xrstf:agents
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,32 @@ | ||||||
| # AI Agent Configuration | ||||||
|
|
||||||
| ## Development | ||||||
|
|
||||||
| * Use `make imports` before committing any change to Go code. | ||||||
| * Use `go mod tidy` after any change to a `go.mod`. | ||||||
| * Run the e2e tests before submitting a pull request. | ||||||
| * When possible, try to keep pull-requests small and self-contained to make reviews easier. | ||||||
|
|
||||||
| ## SDK | ||||||
|
|
||||||
| * Do not update dependencies in `sdk/go.mod` unless necessary to keep the kcp-operator compiling. | ||||||
| * Specifically do not attempt to manually bump the Go version in any `go.mod` file in this project, | ||||||
| instead let `go mod tidy` take care of that. | ||||||
|
|
||||||
| ## Documentation | ||||||
|
|
||||||
| * Lines in Markdown files should not exceed 100 characters (use explicit line breaks). | ||||||
|
|
||||||
| ## Testing Instructions | ||||||
|
|
||||||
| * Any change that impacts the reconciled resources (Deployments, Certificates, Secrets, ...) | ||||||
| should have an accompanying e2e test. | ||||||
| * Use `make clean build test-e2e-with-kind` for running e2e tests. | ||||||
|
|
||||||
| ## Changelogs | ||||||
|
|
||||||
| * When generating a changelog for a new release, group all relevant pull requests based on their | ||||||
| `kind/...` label. Output these groups in descending order of importance. | ||||||
| * Only include pull requests in the changelog that have a `release-note` block in their descriptions | ||||||
| on GitHub that is not empty or `NONE`. | ||||||
| * List each pull request in the following form: `#<number>: <release note> (by @<author>)" | ||||||
|
||||||
| * List each pull request in the following form: `#<number>: <release note> (by @<author>)" | |
| * List each pull request in the following form: `#<number>: <release note> (by @<author>)` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this should also include
make fix-lint. Although it should be fine to do that only after finishing work/before creating a PR.