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
Update agent config: address review feedback from recent PRs
- Add KELOS_UPSTREAM_REPO to CI check commands in kelos-pr-responder
- Require make verify and make test in re-review loops
- Add Kubernetes resource.Quantity comparison convention
- Active CI status checking instead of passive instruction
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
-**Better tests.** Always try to add or improve tests(including integration, e2e) when modifying code.
8
8
-**Logging conventions.** Start log messages with capital letters and do not end with punctuation.
9
9
-**Commit messages.** Do not include PR links in commit messages.
10
+
-**Kubernetes resource comparison.** Use semantic `.Equal()` or `.Cmp()` methods for `resource.Quantity` comparisons, not `reflect.DeepEqual` — structurally different Quantity values can be semantically identical (e.g., `1000m` vs `1` CPU).
10
11
11
12
## Key Makefile Targets
12
13
-`make verify` — run all verification checks (lint, fmt, vet, etc.).
Copy file name to clipboardExpand all lines: self-development/kelos-pr-responder.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,9 @@ spec:
85
85
- 3. Read the existing diff (git diff main...HEAD) to understand what has already been done. Do NOT start over or rewrite from scratch.
86
86
- 4. Make only the incremental changes needed to address review feedback or remaining issues. Preserve existing work.
87
87
- 5. Commit and push your changes to origin {{.Branch}}.
88
-
- 6. /review the PR to verify your changes address the feedback. If changes are needed, make them, commit and push, then /review again. Repeat until the review passes.
88
+
- 6. /review the PR to verify your changes address the feedback. If changes are needed, make them, run `make verify` and `make test`, commit and push, then /review again. Repeat until the review passes.
89
89
- 7. Update the PR title and description to reflect the final diff. The PR body MUST contain a standard closing keyword reference on its own line (e.g., `Fixes #123` or `Closes #123`). Do not embed the issue number in natural language. Ensure the PR has labels "generated-by-kelos" and "ok-to-test" (use `gh pr edit {{.Number}} --add-label generated-by-kelos --add-label ok-to-test` if missing). If `KELOS_UPSTREAM_REPO` is set, include `--repo "$KELOS_UPSTREAM_REPO"`.
90
-
- 8. Make sure the PR passes all CI tests.
90
+
- 8. After pushing, actively check CI status with `gh pr checks {{.Number}}` (if `KELOS_UPSTREAM_REPO` is set, add `--repo "$KELOS_UPSTREAM_REPO"`). If any checks fail, investigate the failures, fix them, commit and push, then check again. Do not request review until CI passes.
91
91
92
92
Post-checklist:
93
93
- If the PR is ready for human review, you need more information, or you cannot make progress, post a PR comment whose first line is `/kelos needs-input` and explain why below it. Maintainers can resume the PR later with `/kelos pick-up`. When all review feedback was already addressed in previous commits and no new comments require action, keep the explanation brief (e.g. "All review feedback was addressed in previous commits. Ready for re-review.") instead of repeating a full status breakdown. Never post duplicate or near-identical status messages.
Copy file name to clipboardExpand all lines: self-development/kelos-workers.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -104,9 +104,9 @@ spec:
104
104
- 3a. Read the existing diff (git diff main...HEAD) to understand what has already been done. Do NOT start over or rewrite from scratch.
105
105
- 4a. Make only the incremental changes needed to address review feedback or remaining issues. Preserve existing work.
106
106
- 5a. Commit and push your changes to origin kelos-task-{{.Number}}.
107
-
- 6a. /review the PR to verify your changes address the feedback. If changes are needed, make them, commit and push, then /review again. Repeat until the review passes.
107
+
- 6a. /review the PR to verify your changes address the feedback. If changes are needed, make them, run `make verify` and `make test`, commit and push, then /review again. Repeat until the review passes.
108
108
- 7a. Update the PR title and description to reflect the final diff. The PR body MUST contain a standard closing keyword reference on its own line (e.g., `Fixes #{{.Number}}` or `Closes #{{.Number}}`). Do not embed the issue number in natural language. Ensure the PR has labels "generated-by-kelos" and "ok-to-test" (use `gh pr edit {{.Number}} --add-label generated-by-kelos --add-label ok-to-test` if missing).
109
-
- 8a. Make sure the PR passes all CI tests.
109
+
- 8a. After pushing, actively check CI status with `gh pr checks`. If any checks fail, investigate the failures, fix them, commit and push, then check again. Do not request review until CI passes.
110
110
111
111
If no PR exists:
112
112
- 2b. Investigate the issue #{{.Number}}.
@@ -116,9 +116,9 @@ spec:
116
116
- Only implement what the issue explicitly asks for. If you discover related improvements, create separate issues for them.
117
117
- 3b. Create a commit that fixes the issue.
118
118
- 4b. Push your branch to origin kelos-task-{{.Number}}.
119
-
- 5b. Create a PR with labels "generated-by-kelos" and "ok-to-test" (use `gh pr create --label generated-by-kelos --label ok-to-test`), then /review it. If changes are needed, make them, commit and push, then /review again. Repeat until the review passes.
119
+
- 5b. Create a PR with labels "generated-by-kelos" and "ok-to-test" (use `gh pr create --label generated-by-kelos --label ok-to-test`), then /review it. If changes are needed, make them, run `make verify` and `make test`, commit and push, then /review again. Repeat until the review passes.
120
120
- 6b. Update the PR title and description to reflect the final diff. The PR body MUST contain a standard closing keyword reference on its own line (e.g., `Fixes #{{.Number}}` or `Closes #{{.Number}}`). Do not embed the issue number in natural language.
121
-
- 7b. Make sure the PR passes all CI tests.
121
+
- 7b. After pushing, actively check CI status with `gh pr checks`. If any checks fail, investigate the failures, fix them, commit and push, then check again. Do not request review until CI passes.
122
122
123
123
Post-checklist:
124
124
- Post a `/kelos needs-input` comment on the issue (gh issue comment {{.Number}} --body "/kelos needs-input") and leave a comment for the reason if any of the following applies:
0 commit comments