[PR #7575] [MERGED] docs(avatars): a persona's mouth does not move for your own messages #7804

Closed
opened 2026-10-24 04:07:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7575
Author: @SpicyMarinara
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/avatars-tts-lipsync


📝 Commits (1)

  • 3ac7f94 docs(avatars): a persona's mouth does not move for your own messages

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/agents/avatars.md (+1 -1)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Refs #7537 (epic: 2D and 3D avatar agents), lane TTS lip sync. Follow-up to #7547, which is merged, so this fix needs its own PR.

Why this change

  • The integration review of the avatar lanes found that the lip sync guide promises something the code does not do. The "Lip sync with text-to-speech" section says: "Personas: a persona's mouth follows the text, not the voice."
  • In the director (#7555, director/avatar-director.ts), only chat characters speak. characters() leaves personas out, and nothing passes your sent message to the director. In Game Mode, director/game-line-feed.ts sends the player's own lines (sourceRole: "user") with empty text, so they change the face but not the mouth. Text to speech never reads a persona either. The voice lookup resolves only chat characters, and user messages have no Speak button.
  • So a persona's avatar never moves its mouth for your own messages. The guide should say so.

What changed

  • docs/agents/avatars.md, "Lip sync with text-to-speech" (this lane's section): the Personas bullet now reads "a persona's mouth does not move for your own messages, with or without text to speech."
  • No code changed. Making a persona's avatar speak your sent messages would be new director behaviour (director lane, #7555). It is left as a possible follow-up for Mari to decide.
  • The Game Mode bullet is unchanged. It already says that Game Mode voices play through Game Mode's own audio, so avatar mouths there follow the text for now. With the new Personas bullet, that applies to characters.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Commands run by the agent on 3ac7f94e5 (results as reported; the boxes above are for the human reviewer):

  • pnpm install --frozen-lockfile --prefer-offline (shared store) and pnpm build:shared: ok.
  • pnpm check: passed (impeccable, localization, Prettier, ESLint, e2e and token-estimation types, full build).
  • npx prettier --check docs/agents/avatars.md: passed.
  • node scripts/run-regressions.mjs --filter avatar: 8/8 passed, including avatar-tts-lipsync and avatar-contract. --filter open-issues: 1/1 passed.
  • This is a one-line docs change with no logic, so it has no new regression. Proof that the old sentence was wrong, read from #7555's head (3510bee81): characters() filters !owner.isPersona, readChatStore reads only the assistant stream buffers, and publishAvatarGameLine sets text: "" for sourceRole === "user". #7555's own regression asserts that the persona listens and never thinks, and it has no case where a persona talks.
  • Local CodeRabbit: not rerun for a one-line docs change.

Manual verification notes

These steps need #7555 (director) and #7556 (stage) on staging:

  • Desktop Chrome, Firefox and Safari: in a Roleplay chat with 2D or 3D Avatars on for both a character and your persona, send a message with dialogue in quotes. The persona's mouth stays still and the character's mouth moves while the reply streams. With text to speech on, press Speak on the reply: only the character's mouth moves.
  • Desktop Chrome: in a Game Mode chat with an avatar on for your persona, send a line of dialogue. When your line shows, the persona's face may change but its mouth stays still.
  • Android Chrome, the Android app WebView and iOS Safari: repeat the Roleplay check above.
  • Read the "Lip sync with text-to-speech" section of docs/agents/avatars.md and confirm the Personas bullet matches what you see.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Translation of docs/agents/avatars.md is tracked in #7540, which is scheduled for after the lanes fill the guide.

Summary by CodeRabbit

  • Documentation
    • Clarified that a persona’s mouth does not move for the user’s own messages, regardless of whether text-to-speech is enabled.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7575 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/avatars-tts-lipsync` --- ### 📝 Commits (1) - [`3ac7f94`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3ac7f94e5a5f79c6fc62b675f69d2eb19519d2d4) docs(avatars): a persona's mouth does not move for your own messages ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/agents/avatars.md` (+1 -1) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Refs #7537 (epic: 2D and 3D avatar agents), lane **TTS lip sync**. Follow-up to #7547, which is merged, so this fix needs its own PR. ## Why this change - The integration review of the avatar lanes found that the lip sync guide promises something the code does not do. The "Lip sync with text-to-speech" section says: "**Personas:** a persona's mouth follows the text, not the voice." - In the director (#7555, `director/avatar-director.ts`), only chat characters speak. `characters()` leaves personas out, and nothing passes your sent message to the director. In Game Mode, `director/game-line-feed.ts` sends the player's own lines (`sourceRole: "user"`) with empty text, so they change the face but not the mouth. Text to speech never reads a persona either. The voice lookup resolves only chat characters, and user messages have no **Speak** button. - So a persona's avatar never moves its mouth for your own messages. The guide should say so. ## What changed - `docs/agents/avatars.md`, "Lip sync with text-to-speech" (this lane's section): the Personas bullet now reads "a persona's mouth does not move for your own messages, with or without text to speech." - No code changed. Making a persona's avatar speak your sent messages would be new director behaviour (director lane, #7555). It is left as a possible follow-up for Mari to decide. - The Game Mode bullet is unchanged. It already says that Game Mode voices play through Game Mode's own audio, so avatar mouths there follow the text for now. With the new Personas bullet, that applies to characters. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Commands run by the agent on 3ac7f94e5 (results as reported; the boxes above are for the human reviewer): - `pnpm install --frozen-lockfile --prefer-offline` (shared store) and `pnpm build:shared`: ok. - `pnpm check`: passed (impeccable, localization, Prettier, ESLint, e2e and token-estimation types, full build). - `npx prettier --check docs/agents/avatars.md`: passed. - `node scripts/run-regressions.mjs --filter avatar`: 8/8 passed, including `avatar-tts-lipsync` and `avatar-contract`. `--filter open-issues`: 1/1 passed. - This is a one-line docs change with no logic, so it has no new regression. Proof that the old sentence was wrong, read from #7555's head (3510bee81): `characters()` filters `!owner.isPersona`, `readChatStore` reads only the assistant stream buffers, and `publishAvatarGameLine` sets `text: ""` for `sourceRole === "user"`. #7555's own regression asserts that the persona listens and never thinks, and it has no case where a persona talks. - Local CodeRabbit: not rerun for a one-line docs change. ### Manual verification notes These steps need #7555 (director) and #7556 (stage) on `staging`: - Desktop Chrome, Firefox and Safari: in a Roleplay chat with 2D or 3D Avatars on for both a character and your persona, send a message with dialogue in quotes. The persona's mouth stays still and the character's mouth moves while the reply streams. With text to speech on, press **Speak** on the reply: only the character's mouth moves. - Desktop Chrome: in a Game Mode chat with an avatar on for your persona, send a line of dialogue. When your line shows, the persona's face may change but its mouth stays still. - Android Chrome, the Android app WebView and iOS Safari: repeat the Roleplay check above. - Read the "Lip sync with text-to-speech" section of `docs/agents/avatars.md` and confirm the Personas bullet matches what you see. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Translation of `docs/agents/avatars.md` is tracked in #7540, which is scheduled for after the lanes fill the guide. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified that a persona’s mouth does not move for the user’s own messages, regardless of whether text-to-speech is enabled. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:07:39 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7804
No description provided.