Skip to content

Commit d481060

Browse files
author
Developer
committed
Instruct agent to update issue checklists after completing items
1 parent 1c29984 commit d481060

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Commands/StartCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,10 @@ private function fetchIssuePromptContent(string $issueNumber): string
352352
exit(self::FAILURE);
353353
}
354354

355-
return "# GitHub Issue #{$issueNumber}: {$issue['title']}\n\n{$issue['body']}";
355+
return "# GitHub Issue #{$issueNumber}: {$issue['title']}\n\n{$issue['body']}"
356+
."\n\n---\n\nAfter completing each checklist item, update the GitHub issue to check it off."
357+
." Fetch the current body with `gh issue view {$issueNumber} --json body -q .body`,"
358+
.' then `gh issue edit '.$issueNumber." --body '...'` with the checkbox toggled from `- [ ]` to `- [x]`.";
356359
}
357360

358361
/**

0 commit comments

Comments
 (0)