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

Joseph T. Lyons created

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.

Change summary

assets/prompts/assistant_system_prompt.hbs | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

assets/prompts/assistant_system_prompt.hbs 🔗

@@ -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.
 
+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>
 Editing code:
 - Make sure to take previous edits into account.