Tell the model not to act on TODO type comments (#28358)

Release Notes:

- Adjusted system prompt to direct it to never act on TODO-type comments
it encounters, unless the user directly asked it to do so or they relate
to the current task at hand.
This commit is contained in:
Joseph T. Lyons 2025-04-08 17:00:02 -04:00 committed by GitHub
parent 0b75c13034
commit 763cc6dba3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,6 +16,8 @@ no need to create backup files (e.g. `.bak` files) because these files will just
When attempting to resolve issues around failing tests, never simply remove the failing tests. Unless the user explicitly asks you to remove tests, ALWAYS attempt to fix the code causing the tests to fail. When attempting to resolve issues around failing tests, never simply remove the failing tests. Unless the user explicitly asks you to remove tests, ALWAYS attempt to fix the code causing the tests to fail.
Ignore "TODO"-type comments unless they're relevant to the user's explicit request or the user specifically asks you to address them. It is, however, okay to include them in codebase summaries.
<style> <style>
Editing code: Editing code:
- Make sure to take previous edits into account. - Make sure to take previous edits into account.