From 763cc6dba366d30bdefe90e4dc7257040e9a1b50 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Tue, 8 Apr 2025 17:00:02 -0400 Subject: [PATCH] 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. --- assets/prompts/assistant_system_prompt.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/prompts/assistant_system_prompt.hbs b/assets/prompts/assistant_system_prompt.hbs index 8948c129a8..1462a5e516 100644 --- a/assets/prompts/assistant_system_prompt.hbs +++ b/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. +