Skip to content

Apply Prisma player mood cues to prompts - #737

Draft
RANGROO wants to merge 1 commit into
unstablefrom
codex/prisma-player-mood-cues
Draft

Apply Prisma player mood cues to prompts#737
RANGROO wants to merge 1 commit into
unstablefrom
codex/prisma-player-mood-cues

Conversation

@RANGROO

@RANGROO RANGROO commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Accept the trusted, allowlisted plugin_player_routing_v2 mood field from the CHIM plugin.
  • Translate supported moods into fixed player-name cues such as (RANGROO says with a smile on their face).
  • Append the cue only to the current player prompt input.
  • Keep mood cues out of stored and visible chat history.
  • Reject unsupported values and preserve legacy behavior when mood is blank.

Counterpart client PR: https://github.com/Dwemer-Dynamics/CHIM/pull/171

Validation

  • PHP lint passed.
  • Focused PHPUnit checks passed: 12 tests, 26 assertions.
  • Full suite comparison found no new failures:
    • Branch: 270 tests, 2624 assertions, 16 errors, 2 failures, 1 warning.
    • Base: 268 tests, 2617 assertions, the same 16 errors, 2 failures, and 1 warning.

Game Lab evidence

Prisma chat mood row with Happy selected

Game Lab result 20260825T150257312Z-01318a7c:

  • Exact client and server PR artifacts were deployed to the Skyrim test rig.
  • Prisma chat displayed the mood row, selected Happy, and reset to None after reopen.
  • The server gate was healthy.
  • The deployed helper generated the exact cue (RANGROO says with a smile on their face).
  • The test rig was fully restored after the run.

Limit: the live run did not submit a player message, so the end-to-end in-game prompt-only behavior remains unproven by the rig. Focused PHPUnit coverage validates allowlisting, cue generation, prompt-only insertion, and legacy behavior.

@RANGROO

RANGROO commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author
Prisma chat mood row with Happy selected

Game Lab 20260825T150257312Z-01318a7c: Prisma chat showed all six mood choices, defaulted to None, selected Happy visibly, and reset to None after close/reopen. The deployed server helper generated (RANGROO says with a smile on their face). The rig was fully restored.

Limit: no live player message was submitted, so the complete in-game send-to-prompt path remains unproven by this run; focused automated tests cover it.

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.

1 participant