[GH-ISSUE #1964] [Issue]: Active persona fallback uses summary data and drops saved statuses #964

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/1964

Originally assigned to: @cha1latte on GitHub.

Summary

When a chat does not have an explicit personaId, the refactor active-persona fallback selects from persona summaries. That summary projection omits fields that consumers expect, including savedStatusOptions, long persona text fields, and description extensions.

Expected behavior

Fallback active persona resolution should provide a full persona row, or the summary projection should include every field needed by its consumers: savedStatusOptions, personality, scenario, backstory, appearance, and altDescriptions.

Actual behavior

src/features/catalog/personas/hooks/use-personas.ts implements useActivePersona with listPersonaSummaries(). PERSONA_SUMMARY_OPTIONS.fields omits savedStatusOptions, long persona text fields, and altDescriptions.

Consumers such as src/features/modes/conversation/components/ConversationInput.tsx and src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.ts then read the active persona as if those fields are present.

Steps to reproduce

  1. Create or edit a persona with saved statuses and long persona fields or active description extensions.
  2. Mark that persona active.
  3. Open a chat or mode state that relies on fallback active persona resolution instead of an explicit chat personaId.
  4. Open saved statuses or persona-info UI, or inspect prompt/context-dependent behavior.
  5. Observe missing or incomplete active-persona data.

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:

  • src/features/catalog/personas/hooks/use-personas.ts resolves the active persona from listPersonaSummaries().
  • PERSONA_SUMMARY_OPTIONS.fields does not include savedStatusOptions, personality, scenario, backstory, appearance, or altDescriptions.
  • src/features/modes/conversation/components/ConversationInput.tsx reads savedStatusOptions from the active persona.
  • src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.ts builds persona info from full persona fields.

Regression notes

Legacy packages/client/src/components/chat/ConversationInput.tsx resolved the active persona from full usePersonas() data, so saved statuses and long persona fields were available to the fallback path.

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/1964 Originally assigned to: @cha1latte on GitHub. ## Summary When a chat does not have an explicit `personaId`, the refactor active-persona fallback selects from persona summaries. That summary projection omits fields that consumers expect, including `savedStatusOptions`, long persona text fields, and description extensions. ## Expected behavior Fallback active persona resolution should provide a full persona row, or the summary projection should include every field needed by its consumers: `savedStatusOptions`, `personality`, `scenario`, `backstory`, `appearance`, and `altDescriptions`. ## Actual behavior `src/features/catalog/personas/hooks/use-personas.ts` implements `useActivePersona` with `listPersonaSummaries()`. `PERSONA_SUMMARY_OPTIONS.fields` omits `savedStatusOptions`, long persona text fields, and `altDescriptions`. Consumers such as `src/features/modes/conversation/components/ConversationInput.tsx` and `src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.ts` then read the active persona as if those fields are present. ## Steps to reproduce 1. Create or edit a persona with saved statuses and long persona fields or active description extensions. 2. Mark that persona active. 3. Open a chat or mode state that relies on fallback active persona resolution instead of an explicit chat `personaId`. 4. Open saved statuses or persona-info UI, or inspect prompt/context-dependent behavior. 5. Observe missing or incomplete active-persona data. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [x] Chat mode - [x] Roleplay mode - [ ] Game mode - [x] 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: - `src/features/catalog/personas/hooks/use-personas.ts` resolves the active persona from `listPersonaSummaries()`. - `PERSONA_SUMMARY_OPTIONS.fields` does not include `savedStatusOptions`, `personality`, `scenario`, `backstory`, `appearance`, or `altDescriptions`. - `src/features/modes/conversation/components/ConversationInput.tsx` reads `savedStatusOptions` from the active persona. - `src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.ts` builds persona info from full persona fields. ## Regression notes Legacy `packages/client/src/components/chat/ConversationInput.tsx` resolved the active persona from full `usePersonas()` data, so saved statuses and long persona fields were available to the fallback path. ## 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:10 +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#964
No description provided.