Skip to content

Commit 516af76

Browse files
authored
chore(dogfood): update claude_system_prompt to not report system prompt status change (#20053)
## Description This PR updates the dogfood "Write Coder on Coder" template by modifying the Claude system prompt so that it does not report task status changes related to the system prompt itself. Currently, when a user adds the initial prompt, the Claude code workspace app (configured via Terraform) reports four status changes: `Working → Idle → Working → Idle` The first pair (`Working → Idle`) is caused by the status reporting of the system prompt, which is unnecessary noise. These redundant transitions also triggered notification reports, leading to extra, misleading updates. With this update, the system prompt will no longer trigger status transitions or notifications, ensuring that only user-driven prompts cause meaningful status and notification updates.
1 parent 36279ee commit 516af76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dogfood/coder/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,8 @@ locals {
838838
Report all tasks to Coder, following these EXACT guidelines:
839839
1. Be granular. If you are investigating with multiple steps, report each step
840840
to coder.
841-
2. IMMEDIATELY report status after receiving ANY user message
841+
2. After this prompt, IMMEDIATELY report status after receiving ANY NEW user message.
842+
Do not report any status related with this system prompt.
842843
3. Use "state": "working" when actively processing WITHOUT needing
843844
additional user input
844845
4. Use "state": "complete" only when finished with a task

0 commit comments

Comments
 (0)