[GH-ISSUE #1959] [Issue]: Character editor skips configured quote-style formatting #962

Closed
opened 2026-10-21 05:24:08 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Xelvanis on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1959

Originally assigned to: @cha1latte on GitHub.

Summary

The refactor character editor saves character-card text directly. Legacy character editing applied the configured quote-style formatter to the same fields, so edited cards can now drift from the user's configured quotation style.

Expected behavior

If quote-style normalization remains part of character-card authoring, edits in character text fields should run through the configured quote formatter for the same field set legacy covered.

Actual behavior

src/features/catalog/characters/components/CharacterEditor.tsx uses updateField and updateExtension helpers that store values directly. No useQuoteFormatter or equivalent formatting path is present in the refactor character editor.

Steps to reproduce

  1. Configure a non-default quote style.
  2. Edit character-card text such as description, first message, alternate greetings, description extensions, or depth prompt text.
  3. Save the character and inspect the stored card fields.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor at 7801a73a
  • Run mode: Tauri desktop / catalog editor path
  • OS + version: Not OS-specific
  • Node + pnpm versions: Not checked; static parityscan
  • Rust version, if relevant: Not relevant
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: not relevant

Logs, screenshots, or video

No runtime log captured. Static evidence is the missing formatter path in CharacterEditor.tsx.

Regression notes

Legacy packages/client/src/components/characters/CharacterEditor.tsx imported useQuoteFormatter and applied formatCharacterFieldValue / formatCharacterExtensionValue to core fields, alternate greetings, backstory, appearance, alternate description content, and depth prompt text.

Additional context

Found during target 5 Characters parityscan for #1904.

Suggested follow-up: decide whether quote-style normalization should remain a character-card authoring behavior. If yes, reintroduce formatter coverage for description, personality, scenario, first message, example dialogue, system prompt, post-history instructions, creator notes, alternate greetings, backstory, appearance, description extensions, and depth prompt text.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (Jun 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1959 Originally assigned to: @cha1latte on GitHub. ## Summary The refactor character editor saves character-card text directly. Legacy character editing applied the configured quote-style formatter to the same fields, so edited cards can now drift from the user's configured quotation style. ## Expected behavior If quote-style normalization remains part of character-card authoring, edits in character text fields should run through the configured quote formatter for the same field set legacy covered. ## Actual behavior `src/features/catalog/characters/components/CharacterEditor.tsx` uses `updateField` and `updateExtension` helpers that store values directly. No `useQuoteFormatter` or equivalent formatting path is present in the refactor character editor. ## Steps to reproduce 1. Configure a non-default quote style. 2. Edit character-card text such as description, first message, alternate greetings, description extensions, or depth prompt text. 3. Save the character and inspect the stored card fields. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` at `7801a73a` - Run mode: Tauri desktop / catalog editor path - OS + version: Not OS-specific - Node + pnpm versions: Not checked; static parityscan - Rust version, if relevant: Not relevant - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: not relevant ## Logs, screenshots, or video No runtime log captured. Static evidence is the missing formatter path in `CharacterEditor.tsx`. ## Regression notes Legacy `packages/client/src/components/characters/CharacterEditor.tsx` imported `useQuoteFormatter` and applied `formatCharacterFieldValue` / `formatCharacterExtensionValue` to core fields, alternate greetings, backstory, appearance, alternate description content, and depth prompt text. ## Additional context Found during target 5 Characters parityscan for #1904. Suggested follow-up: decide whether quote-style normalization should remain a character-card authoring behavior. If yes, reintroduce formatter coverage for description, personality, scenario, first message, example dialogue, system prompt, post-history instructions, creator notes, alternate greetings, backstory, appearance, description extensions, and depth prompt text. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:24:08 +07:00
  • closed this issue
  • added the
    bug
    label
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#962
No description provided.