Skip to content

Commit 9f9dc1f

Browse files
gjkim42claude
andcommitted
Update agent config based on PR review feedback
- Remove redundant git checkout from pr-responder setup step since kelos handles branch checkout automatically via the task template branch field - Add explicit /kind label instruction to workers PR creation step to ensure generated PRs always include proper kind labels Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b85846b commit 9f9dc1f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

self-development/kelos-pr-responder.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,14 @@ spec:
6666
{{end}}
6767
6868
Task:
69-
- 0. Set up your working branch. Run this exactly:
69+
- 0. Set up your working branch. Kelos has already checked out {{.Branch}} for you. Run this exactly:
7070
```
7171
git fetch --unshallow || true
7272
if git remote get-url upstream >/dev/null 2>&1; then
7373
git fetch upstream main
74-
git checkout {{.Branch}}
7574
git rebase upstream/main
7675
else
7776
git fetch origin main
78-
git checkout {{.Branch}}
7977
git rebase origin/main
8078
fi
8179
```

self-development/kelos-workers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ spec:
113113
- Only implement what the issue explicitly asks for. If you discover related improvements, create separate issues for them.
114114
- 3b. Create a commit that fixes the issue.
115115
- 4b. Push your branch to origin kelos-task-{{.Number}}.
116-
- 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.
116+
- 5b. Create a PR with labels "generated-by-kelos", "ok-to-test", and one `/kind` label (bug, cleanup, docs, or feature) matching the change type (use `gh pr create --label generated-by-kelos --label ok-to-test --label kind/<type>`), then /review it. If changes are needed, make them, commit and push, then /review again. Repeat until the review passes.
117117
- 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.
118118
- 7b. Make sure the PR passes all CI tests.
119119

0 commit comments

Comments
 (0)