Skip to content

Conversation

@ssncferreira
Copy link
Contributor

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.

@ssncferreira ssncferreira marked this pull request as ready for review October 1, 2025 11:36
@ssncferreira ssncferreira merged commit 516af76 into main Oct 1, 2025
30 of 32 checks passed
@ssncferreira ssncferreira deleted the ssncferreira/chore-dogfood-claude-system-prompt branch October 1, 2025 11:39
aslilac pushed a commit that referenced this pull request Oct 7, 2025
…pt 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.
ssncferreira added a commit that referenced this pull request Oct 15, 2025
## Description

Update `claude_code` module `system_prompt` variable in template "Write
Coder on Coder". Claude-code module now incorporates Coder's inner
system prompt for proper integration with task reporting.

Related to PRs:
* #20053
* coder/registry#443 and
coder/registry#461

---------

Co-authored-by: Atif Ali <atif@coder.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants