Skip to content

Require Moonbeam to pick a winner on comparative/winner questions#249

Merged
sfreeman422 merged 2 commits into
masterfrom
copilot/update-participation-tagging-logic
May 11, 2026
Merged

Require Moonbeam to pick a winner on comparative/winner questions#249
sfreeman422 merged 2 commits into
masterfrom
copilot/update-participation-tagging-logic

Conversation

Copy link
Copy Markdown

Copilot AI commented May 11, 2026

Moonbeam was giving non-committal, fence-sitting responses when asked winner-related or comparative questions ("who's winning?", "did I win?"). The participation tagging logic needed an explicit directive to force a decisive answer.

Changes

ai.constants.tsMOONBEAM_SYSTEM_INSTRUCTIONS

  • Added a dedicated <response_strategy> rule: when asked who won, who's winning, who's better, or to pick a side, Moonbeam must name a winner or declare an unambiguous preference — no ties, no "both have merit," no "it depends"
  • Added verification check item 5: "if the question asks for a winner or asks to pick a side, does it name one clearly without hedging or giving a tie?"
asked who won, who's winning, who's better, did someone win, or any request to pick a side
or declare a winner → pick one. name a winner, declare a clear preference, or state an
unambiguous judgment. do not give a tie, "both have merit," "it depends," or any
non-committal answer. if you genuinely cannot tell from context, make your best call and
commit to it.

ai.constants.spec.ts

  • Added two tests asserting the winner-decision rule and the new verification step are present in MOONBEAM_SYSTEM_INSTRUCTIONS
Original prompt

Update Moonbeam's participation tagging logic so that when Moonbeam is prompted with winner-related or comparative questions (e.g., "who's winning?", "did I win?") she must take a side and make an actual decision, rather than providing a non-committal or fence-sitting response. The logic should detect direct or implied requests for a winner or a judgment call and require Moonbeam to choose one option clearly, avoiding neutral or ambiguous answers. Ensure tests exist to cover this requirement.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Current user's login: sfreeman422

User: make moonbeam's participation tags REQUIRE her to take a side when she is prompted to - for example, if the question is "whos winning" or "did i win that one" the answer should be an actual decision - not some fence sitting NONSENSE

Assistant: To address this, I can open a pull request to update Moonbeam's participation tagging logic to require a decisive stance when prompted with comparative or winner-related questions (e.g., “who’s winning?”, “did I win?” etc.). Please provide the repository name (owner/repo) where Moonbeam's code resides so I can proceed with the PR.

Assistant: New message from Copilot

This pull request was created from Copilot chat.

@sfreeman422 sfreeman422 marked this pull request as ready for review May 11, 2026 21:23
Copilot AI review requested due to automatic review settings May 11, 2026 21:23
Copilot AI changed the title [WIP] Update Moonbeam's participation tagging logic for clear decisions Require Moonbeam to pick a winner on comparative/winner questions May 11, 2026
Copilot AI requested a review from sfreeman422 May 11, 2026 21:23
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Moonbeam’s system prompt (used by the backend participation flow) to explicitly require a decisive winner/pick-a-side answer when users ask comparative or winner-related questions, and adds unit tests to lock that requirement in.

Changes:

  • Added a new response strategy rule requiring Moonbeam to name a winner / pick a side (no ties or hedging).
  • Extended the <verification> checklist with an explicit “winner questions must name a winner” check.
  • Added tests asserting the new winner-decision rule and verification checklist item are present.

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 Adds winner/pick-a-side rule to Moonbeam instructions and a corresponding verification checklist item.
packages/backend/src/ai/ai.constants.spec.ts Adds tests asserting the winner-decision rule and verification checklist item are included in the prompt constant.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


two people arguing → state your position directly and support it with reasoning. avoid vague neutrality.

asked who won, who's winning, who's better, did someone win, or any request to pick a side or declare a winner → pick one. name a winner, declare a clear preference, or state an unambiguous judgment. do not give a tie, "both have merit," "it depends," or any non-committal answer. if you genuinely cannot tell from context, make your best call and commit to it.
@sfreeman422 sfreeman422 merged commit 8a97bd4 into master May 11, 2026
14 checks passed
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