[GH-ISSUE #165] Eight packages still ship the retired visual_novel mode in modeAllowlist (crashes recent Engine) #83

Closed
opened 2026-10-20 17:24:12 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @kolacheee on GitHub.

Marinara Engine removed the visual_novel chat mode (Engine PR Pasta-Devs/Marinara-Engine#4369), so the Engine now only accepts conversation, roleplay, and game. But eight official packages in this catalog still list the retired visual_novel value in their agent modeAllowlist, and that stale value is baked into their shipped agents.json and .zip artifacts.

When a recent Engine reads an installed package that still declares visual_novel, its schema parse throws and the server fails to start:

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

This is the catalog-side root cause of Engine issue Pasta-Devs/Marinara-Engine#4375 (reported for world-state, but it's actually eight packages — anyone who has any of them installed can hit the crash). The Engine is separately adding tolerance for legacy data on read (Pasta-Devs/Marinara-Engine#4377), but the retired value should also stop shipping from the catalog so fresh installs and updates are clean.

Affected packages

Every one of these already lists roleplay, so dropping visual_novel is behavior-preserving — the agents stay available in exactly the modes they already were:

Package Current modeAllowlist Should be
combat ["roleplay", "visual_novel"] ["roleplay"]
cyoa ["roleplay", "visual_novel"] ["roleplay"]
expression ["roleplay", "visual_novel"] ["roleplay"]
knowledge-retrieval ["roleplay", "visual_novel"] ["roleplay"]
knowledge-router ["roleplay", "visual_novel"] ["roleplay"]
quest ["roleplay", "visual_novel"] ["roleplay"]
world-state ["roleplay", "visual_novel"] ["roleplay"]
long-term-memory ["conversation", "roleplay", "visual_novel", "game"] ["conversation", "roleplay", "game"]

See it yourself

git grep -n visual_novel packages/*/agents.json

Or, for the feature package, the source of truth is the modes: field in scripts/build-feature-packages.mjs (around line 123), which emits into long-term-memory/agents.json.

Fix

Drop visual_novel from each package's supported modes, then rebuild through the normal pipeline so the manifests, artifacts, and catalog lanes regenerate with correct hashes:

  • The seven agent-only packages: edit packages/<id>/agents.json, bump the manifest patch version, and run node scripts/build-agent-catalog.mjs <ids>.
  • long-term-memory (feature package): edit the modes: array in scripts/build-feature-packages.mjs, bump the version, and run node scripts/build-feature-packages.mjs long-term-memory.

Then node scripts/test-catalog-lanes.mjs, node scripts/validate-catalog.mjs, and git diff --check.

Originally created by @kolacheee on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/165 Originally assigned to: @kolacheee on GitHub. Marinara Engine removed the `visual_novel` chat mode (Engine PR Pasta-Devs/Marinara-Engine#4369), so the Engine now only accepts `conversation`, `roleplay`, and `game`. But eight official packages in this catalog still list the retired `visual_novel` value in their agent `modeAllowlist`, and that stale value is baked into their shipped `agents.json` and `.zip` artifacts. When a recent Engine reads an installed package that still declares `visual_novel`, its schema parse throws and the **server fails to start**: ``` Invalid enum value. Expected 'conversation' | 'roleplay' | 'game', received 'visual_novel' ``` This is the catalog-side root cause of Engine issue Pasta-Devs/Marinara-Engine#4375 (reported for `world-state`, but it's actually eight packages — anyone who has *any* of them installed can hit the crash). The Engine is separately adding tolerance for legacy data on read (Pasta-Devs/Marinara-Engine#4377), but the retired value should also stop shipping from the catalog so fresh installs and updates are clean. ## Affected packages Every one of these already lists `roleplay`, so dropping `visual_novel` is **behavior-preserving** — the agents stay available in exactly the modes they already were: | Package | Current `modeAllowlist` | Should be | |---|---|---| | combat | `["roleplay", "visual_novel"]` | `["roleplay"]` | | cyoa | `["roleplay", "visual_novel"]` | `["roleplay"]` | | expression | `["roleplay", "visual_novel"]` | `["roleplay"]` | | knowledge-retrieval | `["roleplay", "visual_novel"]` | `["roleplay"]` | | knowledge-router | `["roleplay", "visual_novel"]` | `["roleplay"]` | | quest | `["roleplay", "visual_novel"]` | `["roleplay"]` | | world-state | `["roleplay", "visual_novel"]` | `["roleplay"]` | | long-term-memory | `["conversation", "roleplay", "visual_novel", "game"]` | `["conversation", "roleplay", "game"]` | ## See it yourself ```bash git grep -n visual_novel packages/*/agents.json ``` Or, for the feature package, the source of truth is the `modes:` field in `scripts/build-feature-packages.mjs` (around line 123), which emits into `long-term-memory/agents.json`. ## Fix Drop `visual_novel` from each package's supported modes, then rebuild through the normal pipeline so the manifests, artifacts, and catalog lanes regenerate with correct hashes: - The seven agent-only packages: edit `packages/<id>/agents.json`, bump the manifest patch version, and run `node scripts/build-agent-catalog.mjs <ids>`. - `long-term-memory` (feature package): edit the `modes:` array in `scripts/build-feature-packages.mjs`, bump the version, and run `node scripts/build-feature-packages.mjs long-term-memory`. Then `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-catalog.mjs`, and `git diff --check`.
bsakaguchi 2026-10-20 17:24:12 +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-Agents#83
No description provided.