Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf597639

Browse files
authored
ci(.github/workflows/traiage.yaml): adjust TASK_PROMPT (#20733)
Adjusts instructions for the trAIage workflow to balance autonomy andcorrectness.
1 parent6dbde52 commitf597639

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

‎.github/workflows/traiage.yaml‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,15 @@ jobs:
133133
issue_number="$(gh issue view "${ISSUE_URL}" --json number --jq '.number')"
134134
context_key="gh-${issue_number}"
135135
136-
# Fetch issue description using `gh` CLI
137-
#shellcheck disable=SC2016 # The template string should not be subject to shell expansion
138-
issue_description=$(gh issue view "${ISSUE_URL}" \
139-
--json 'title,body,comments' \
140-
--template '{{printf "%s\n\n%s\n\nComments:\n" .title .body}}{{range $k, $v := .comments}} - {{index $v.author "login"}}: {{printf "%s\n" $v.body}}{{end}}')
141-
142136
TASK_PROMPT=$(cat <<EOF
143137
Fix ${ISSUE_URL}
144138
145-
Analyze the below GitHub issue description, understand the root cause, and make appropriate changes to resolve the issue.
146-
---
147-
${issue_description}
139+
1. Use the gh CLI to read the issue description and comments.
140+
2. Think carefully and try to understand the root cause. If the issue is unclear or not well defined, ask me to clarify and provide more information.
141+
3. Write a proposed implementation plan to PLAN.md for me to review before starting implementation. Your plan should use TDD and only make the minimal changes necessary to fix the root cause.
142+
4. When I approve your plan, start working on it. If you encounter issues with the plan, ask me for clarification and update the plan as required.
143+
5. When you have finished implementation according to the plan, commit and push your changes, and create a PR using the gh CLI for me to review.
144+
148145
EOF
149146
)
150147
@@ -173,7 +170,7 @@ jobs:
173170
coder-organization:"default"
174171
coder-template-name:coder
175172
coder-template-preset:${{ steps.determine-inputs.outputs.template_preset }}
176-
coder-task-name-prefix:traiage
173+
coder-task-name-prefix:gh-coder
177174
coder-task-prompt:${{ steps.extract-context.outputs.task_prompt }}
178175
github-user-id:${{ steps.determine-inputs.outputs.github_user_id }}
179176
github-token:${{ github.token }}

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,6 @@ __debug_bin*
9191
**/.claude/settings.local.json
9292

9393
/.env
94+
95+
# Ignore plans written by AI agents.
96+
PLAN.md

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp