[GH-ISSUE #1963] [Issue]: Persona editor does not honor global quote-format setting #965

Closed
opened 2026-10-21 05:24:10 +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/1963

Originally assigned to: @cha1latte on GitHub.

Summary

The refactor persona editor saves description, personality, scenario, backstory, appearance, and description-extension text exactly as typed. Legacy applied the global quote formatter to those persona fields, so edited persona text no longer gets normalized the same way.

Expected behavior

Editing persona long-text fields should apply the configured quote-format setting before saving, matching legacy behavior.

Actual behavior

src/features/catalog/personas/components/editor/PersonaEditor.tsx writes raw values through updateField. Legacy packages/client/src/components/personas/PersonaEditor.tsx used useQuoteFormatter plus formatPersonaFieldValue for the same fields and description-extension content.

Steps to reproduce

  1. Configure a non-default quote-format setting.
  2. Edit a persona Description, Personality, Scenario, Backstory, Appearance field, or a description extension with text that should be normalized.
  3. Save and reopen or export the persona.
  4. Observe that the saved text remains raw instead of matching the configured quote format.

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 branch; observed on 7801a73a during #1904 target 6 Personas parityscan
  • Run mode: static parity inspection
  • OS + version: not relevant
  • Node + pnpm versions: not relevant
  • 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 logs. Static evidence:

  • Refactor: src/features/catalog/personas/components/editor/PersonaEditor.tsx writes raw field values.
  • Legacy: packages/client/src/components/personas/PersonaEditor.tsx formats persona fields through the configured quote formatter before save.

Regression notes

This worked before in legacy Marinara. The legacy persona editor formatted these fields before persisting them.

Additional context

Found while auditing #1904 target 6, Personas parity coverage.

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/1963 Originally assigned to: @cha1latte on GitHub. ## Summary The refactor persona editor saves description, personality, scenario, backstory, appearance, and description-extension text exactly as typed. Legacy applied the global quote formatter to those persona fields, so edited persona text no longer gets normalized the same way. ## Expected behavior Editing persona long-text fields should apply the configured quote-format setting before saving, matching legacy behavior. ## Actual behavior `src/features/catalog/personas/components/editor/PersonaEditor.tsx` writes raw values through `updateField`. Legacy `packages/client/src/components/personas/PersonaEditor.tsx` used `useQuoteFormatter` plus `formatPersonaFieldValue` for the same fields and description-extension content. ## Steps to reproduce 1. Configure a non-default quote-format setting. 2. Edit a persona Description, Personality, Scenario, Backstory, Appearance field, or a description extension with text that should be normalized. 3. Save and reopen or export the persona. 4. Observe that the saved text remains raw instead of matching the configured quote format. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [x] 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 branch; observed on `7801a73a` during #1904 target 6 Personas parityscan - Run mode: static parity inspection - OS + version: not relevant - Node + pnpm versions: not relevant - 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 logs. Static evidence: - Refactor: `src/features/catalog/personas/components/editor/PersonaEditor.tsx` writes raw field values. - Legacy: `packages/client/src/components/personas/PersonaEditor.tsx` formats persona fields through the configured quote formatter before save. ## Regression notes This worked before in legacy Marinara. The legacy persona editor formatted these fields before persisting them. ## Additional context Found while auditing #1904 target 6, Personas parity coverage. ## 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:11 +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#965
No description provided.