Remove quip/humor guidance from Moonbeam prompts and enforce neutral prompt tone#248
Merged
sfreeman422 merged 2 commits intoMay 11, 2026
Merged
Conversation
Copilot
AI
changed the title
[WIP] Remove humoristic content from Moonbeam prompts
Remove quip/humor guidance from Moonbeam prompts and enforce neutral prompt tone
May 11, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates Moonbeam’s prompt constants to remove explicit humor/quip guidance and adds a regression test to keep the system instructions and redeploy prompt phrasing neutral, professional, and direct.
Changes:
- Rewrites sections of
MOONBEAM_SYSTEM_INSTRUCTIONS(identity/tone/personality/memory/strategy/verification) to remove wit/sarcasm-oriented directives. - Updates
REDPLOY_MOONBEAM_TEXT_PROMPTfrom “cryptic” to “concise, professional”. - Adds a Vitest spec to assert professional wording is present and prior quip-like phrases are absent.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/backend/src/ai/ai.constants.ts | Removes humor-oriented tone guidance and updates the redeploy text prompt to professional wording. |
| packages/backend/src/ai/ai.constants.spec.ts | Adds regression tests to prevent reintroduction of quip-like phrasing in the prompt constants. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moonbeam prompt definitions included explicit guidance for wit, sarcasm, and joke-like responses. This update removes that behavior from prompt generation so outputs are consistently clear, professional, and direct.
System prompt tone and behavior cleanup
MOONBEAM_SYSTEM_INSTRUCTIONSsections (identity,tone,personality,memory_behavior,response_strategy,verification) to remove playful/quip-like directives.Redeploy prompt normalization
REDPLOY_MOONBEAM_TEXT_PROMPTfrom “cryptic message” wording to a concise, professional directive.Prompt regression guardrails
packages/backend/src/ai/ai.constants.spec.tsto assert the prompt includes professional wording and excludes prior quip-like phrases.Original prompt
This pull request was created from Copilot chat.