Skip to content

Commit 1a08a8a

Browse files
gjkim42claude
andcommitted
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>
1 parent 0865697 commit 1a08a8a

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- **Better tests.** Always try to add or improve tests(including integration, e2e) when modifying code.
88
- **Logging conventions.** Start log messages with capital letters and do not end with punctuation.
99
- **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).
1011

1112
## Key Makefile Targets
1213
- `make verify` — run all verification checks (lint, fmt, vet, etc.).

self-development/agentconfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ spec:
3030
- Logging conventions: start log messages with capital letters and do not end with punctuation
3131
- Commit messages: do not include PR links in commit messages
3232
- When making structural changes (adding new files, configs, or components), update related documentation (especially README files) to stay in sync
33+
- Kubernetes resource comparison: use semantic `.Equal()` or `.Cmp()` methods for `resource.Quantity` comparisons, not `reflect.DeepEqual`

self-development/kelos-pr-responder.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ spec:
8585
- 3. Read the existing diff (git diff main...HEAD) to understand what has already been done. Do NOT start over or rewrite from scratch.
8686
- 4. Make only the incremental changes needed to address review feedback or remaining issues. Preserve existing work.
8787
- 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.
8989
- 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.
9191
9292
Post-checklist:
9393
- 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.

self-development/kelos-workers.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ spec:
104104
- 3a. Read the existing diff (git diff main...HEAD) to understand what has already been done. Do NOT start over or rewrite from scratch.
105105
- 4a. Make only the incremental changes needed to address review feedback or remaining issues. Preserve existing work.
106106
- 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.
108108
- 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.
110110
111111
If no PR exists:
112112
- 2b. Investigate the issue #{{.Number}}.
@@ -116,9 +116,9 @@ spec:
116116
- Only implement what the issue explicitly asks for. If you discover related improvements, create separate issues for them.
117117
- 3b. Create a commit that fixes the issue.
118118
- 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.
120120
- 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.
122122
123123
Post-checklist:
124124
- 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

Comments
 (0)