[GH-ISSUE #4375] [Issue]: Invalid enum value. Expected 'conversation' | 'roleplay' | 'game', received 'visual_novel' #2375

Closed
opened 2026-10-21 05:47:43 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @JurijPietrowicz on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4375

Summary

The latest staging commit removes visual_novel from supported enums without migrating existing data. An installed World State agent still declares that mode, causing startup validation to fail.

Expected behavior

Existing installations should start successfully, with legacy visual_novel values normalized to roleplay or otherwise handled compatibly.

Actual behavior

Startup fails with:

Invalid enum value. Expected 'conversation' | 'roleplay' | 'game', received 'visual_novel'

Steps to reproduce

  1. Use an existing installation containing the world-state capability package.
  2. Update Marinara Engine to staging commit b3c184be6.
  3. Start Marinara Engine.

Environment

  • Marinara Engine version: 2.3.5 / staging commit b3c184be6
  • Install type: source

Logs, screenshots, or video

Invalid enum value. Expected 'conversation' | 'roleplay' | 'game', received 'visual_novel'

The installed package file contains:

"modeAllowlist": [
  "roleplay",
  "visual_novel"
]

Additional context

The active package is world-state@1.0.1. The same compatibility gap also leaves legacy visual_novel chat settings profiles unmigrated.

Template check

Please uncheck (untick) 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 @JurijPietrowicz on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4375 ## Summary The latest staging commit removes `visual_novel` from supported enums without migrating existing data. An installed World State agent still declares that mode, causing startup validation to fail. ## Expected behavior Existing installations should start successfully, with legacy `visual_novel` values normalized to `roleplay` or otherwise handled compatibly. ## Actual behavior Startup fails with: ```text Invalid enum value. Expected 'conversation' | 'roleplay' | 'game', received 'visual_novel' ``` ## Steps to reproduce 1. Use an existing installation containing the `world-state` capability package. 2. Update Marinara Engine to staging commit `b3c184be6`. 3. Start Marinara Engine. ## Environment - Marinara Engine version: `2.3.5` / staging commit `b3c184be6` - Install type: source ## Logs, screenshots, or video ```text Invalid enum value. Expected 'conversation' | 'roleplay' | 'game', received 'visual_novel' ``` The installed package file contains: ```json "modeAllowlist": [ "roleplay", "visual_novel" ] ``` ## Additional context The active package is `world-state@1.0.1`. The same compatibility gap also leaves legacy `visual_novel` chat settings profiles unmigrated. ## Template check Please **uncheck (untick)** 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:47:43 +07:00
Author
Owner

@Gunterlie commented on GitHub (Jul 31, 2026):

Picking this up — root cause is stale modeAllowlist: ["visual_novel"] in installed capability package manifests failing the strict enum parse in readInstalledAgentDefinitions, which kills server bootstrap. Draft PR: #4377

<!-- gh-comment-id:5147613630 --> @Gunterlie commented on GitHub (Jul 31, 2026): Picking this up — root cause is stale `modeAllowlist: ["visual_novel"]` in installed capability package manifests failing the strict enum parse in `readInstalledAgentDefinitions`, which kills server bootstrap. Draft PR: #4377
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#2375
No description provided.