[PR #166] [MERGED] fix: drop retired visual_novel mode from eight package modeAllowlists #834

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/166
Author: @kolacheee
Created: 7/31/2026
Status: ✅ Merged
Merged: 7/31/2026
Merged by: @kolacheee

Base: staging ← Head: fix/165-retired-visual-novel-mode


📝 Commits (2)

  • dc74b41 fix: drop retired visual_novel mode from eight package modeAllowlists
  • aaea5dc fix: drop Visual Novel from Long-Term Memory activation guidance

📊 Changes

29 files changed (+138 additions, -146 deletions)

View changed files

➕ artifacts/combat-1.0.2.zip (+0 -0)
➕ artifacts/cyoa-1.0.2.zip (+0 -0)
➕ artifacts/expression-1.0.3.zip (+0 -0)
➕ artifacts/knowledge-retrieval-1.0.2.zip (+0 -0)
➕ artifacts/knowledge-router-1.0.2.zip (+0 -0)
➕ artifacts/long-term-memory-1.0.4.zip (+0 -0)
➕ artifacts/quest-1.0.2.zip (+0 -0)
➕ artifacts/world-state-1.0.2.zip (+0 -0)
📝 catalog/catalog.json (+50 -50)
📝 catalog/v2/catalog.json (+50 -50)
📝 catalog/v3/catalog.json (+1 -1)
📝 packages/combat/agents.json (+1 -2)
📝 packages/combat/manifest.json (+3 -3)
📝 packages/cyoa/agents.json (+1 -2)
📝 packages/cyoa/manifest.json (+3 -3)
📝 packages/expression/agents.json (+1 -2)
📝 packages/expression/manifest.json (+3 -3)
📝 packages/knowledge-retrieval/agents.json (+1 -2)
📝 packages/knowledge-retrieval/manifest.json (+3 -3)
📝 packages/knowledge-router/agents.json (+1 -2)

...and 9 more files

📄 Description

Closes #165.

Why this change

Marinara Engine removed the visual_novel chat mode (Pasta-Devs/Marinara-Engine#4369), so recent Engine builds only accept conversation, roleplay, and game. Eight packages in this catalog still listed the retired visual_novel value in their agent modeAllowlist, baked into their shipped agents.json and artifacts. When a recent Engine reads an installed package that still declares it, the manifest 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 the Engine startup crash Pasta-Devs/Marinara-Engine#4375 (reported for world-state, but it's eight packages — anyone with any of them installed can hit it). The Engine is separately adding tolerance for legacy data on read (Pasta-Devs/Marinara-Engine#4377); this PR stops the retired value shipping from the catalog so fresh installs and updates are clean.

What changed

Dropped visual_novel from the supported modes of all eight packages. Every one already listed roleplay, so the supported modes are unchanged — this only removes a dead value:

Package Kind Version modeAllowlist
combat agent 1.0.1 → 1.0.2 ["roleplay", "visual_novel"] → ["roleplay"]
cyoa agent 1.0.1 → 1.0.2 ["roleplay", "visual_novel"] → ["roleplay"]
expression agent 1.0.2 → 1.0.3 ["roleplay", "visual_novel"] → ["roleplay"]
knowledge-retrieval agent 1.0.1 → 1.0.2 ["roleplay", "visual_novel"] → ["roleplay"]
knowledge-router agent 1.0.1 → 1.0.2 ["roleplay", "visual_novel"] → ["roleplay"]
quest agent 1.0.1 → 1.0.2 ["roleplay", "visual_novel"] → ["roleplay"]
world-state agent 1.0.1 → 1.0.2 ["roleplay", "visual_novel"] → ["roleplay"]
long-term-memory feature 1.0.3 → 1.0.4 ["conversation", "roleplay", "visual_novel", "game"] → ["conversation", "roleplay", "game"]
  • The seven agent-only packages: edited packages/<id>/agents.json, bumped the manifest patch version, and rebuilt with node scripts/build-agent-catalog.mjs <ids>.
  • long-term-memory (feature): edited the modes: array in scripts/build-feature-packages.mjs and rebuilt with MARINARA_REUSE_FEATURE_RUNTIME=1 so the existing runtime bundle is reused — server.mjs and client.js are byte-for-byte unchanged, and builtAgainst (Engine 2.3.5 / 4e651e9c) stays accurate. Only the metadata (agents.json, manifest, artifact, catalog) regenerated.

Manifests, artifacts, and all catalog lanes were regenerated by the builders; no generated bundle, checksum, size, or lane entry was hand-edited.

Validation

All three PR checks pass locally on staging + this change:

  • node scripts/test-catalog-lanes.mjs — passes (lane routing + build provenance)
  • node scripts/validate-catalog.mjs — passes (31 packages, v2=31, v3=6; legacy=v2)
  • git diff --check — clean

Notes

  • Focused on the modeAllowlist regression only; the retired string still appears inside some frozen compiled feature bundles (client.js/server.mjs) but not in any modeAllowlist, so it does not affect mode parsing or startup.
  • Build environment lacked Info-ZIP zip, so the builders' archive step used Python's zipfile to produce the ZIPs. They are standard archives that pass validate-catalog (hashes verified against the catalog). If you prefer artifacts produced by your own zip toolchain, a rebuild on a machine with zip will regenerate byte-identical-format archives.

Summary by CodeRabbit

  • Package Updates

    • Released updated versions of Combat, CYOA Choices, Expression Engine, Knowledge Retrieval, Knowledge Router, Long-Term Memory, Quest Tracker, and World State.
    • Refreshed package metadata and catalog records for improved artifact consistency.
  • Compatibility

    • Long-Term Memory no longer supports the visual_novel mode.
  • Maintenance

    • Updated catalog timestamps and package integrity information across supported catalog versions.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/166 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 7/31/2026 **Status:** ✅ Merged **Merged:** 7/31/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `fix/165-retired-visual-novel-mode` --- ### 📝 Commits (2) - [`dc74b41`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dc74b41c5f4e07bbcf7bad679f09732831d63765) fix: drop retired visual_novel mode from eight package modeAllowlists - [`aaea5dc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/aaea5dc0c050f86099a5b4ca286d2adb5e18897c) fix: drop Visual Novel from Long-Term Memory activation guidance ### 📊 Changes **29 files changed** (+138 additions, -146 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/combat-1.0.2.zip` (+0 -0) ➕ `artifacts/cyoa-1.0.2.zip` (+0 -0) ➕ `artifacts/expression-1.0.3.zip` (+0 -0) ➕ `artifacts/knowledge-retrieval-1.0.2.zip` (+0 -0) ➕ `artifacts/knowledge-router-1.0.2.zip` (+0 -0) ➕ `artifacts/long-term-memory-1.0.4.zip` (+0 -0) ➕ `artifacts/quest-1.0.2.zip` (+0 -0) ➕ `artifacts/world-state-1.0.2.zip` (+0 -0) 📝 `catalog/catalog.json` (+50 -50) 📝 `catalog/v2/catalog.json` (+50 -50) 📝 `catalog/v3/catalog.json` (+1 -1) 📝 `packages/combat/agents.json` (+1 -2) 📝 `packages/combat/manifest.json` (+3 -3) 📝 `packages/cyoa/agents.json` (+1 -2) 📝 `packages/cyoa/manifest.json` (+3 -3) 📝 `packages/expression/agents.json` (+1 -2) 📝 `packages/expression/manifest.json` (+3 -3) 📝 `packages/knowledge-retrieval/agents.json` (+1 -2) 📝 `packages/knowledge-retrieval/manifest.json` (+3 -3) 📝 `packages/knowledge-router/agents.json` (+1 -2) _...and 9 more files_ </details> ### 📄 Description Closes #165. ## Why this change Marinara Engine removed the `visual_novel` chat mode (Pasta-Devs/Marinara-Engine#4369), so recent Engine builds only accept `conversation`, `roleplay`, and `game`. Eight packages in this catalog still listed the retired `visual_novel` value in their agent `modeAllowlist`, baked into their shipped `agents.json` and artifacts. When a recent Engine reads an installed package that still declares it, the manifest 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 the Engine startup crash Pasta-Devs/Marinara-Engine#4375 (reported for `world-state`, but it's eight packages — anyone with any of them installed can hit it). The Engine is separately adding tolerance for legacy data on read (Pasta-Devs/Marinara-Engine#4377); this PR stops the retired value shipping from the catalog so fresh installs and updates are clean. ## What changed Dropped `visual_novel` from the supported modes of all eight packages. Every one already listed `roleplay`, so the **supported modes are unchanged** — this only removes a dead value: | Package | Kind | Version | `modeAllowlist` | |---|---|---|---| | combat | agent | 1.0.1 → 1.0.2 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | cyoa | agent | 1.0.1 → 1.0.2 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | expression | agent | 1.0.2 → 1.0.3 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | knowledge-retrieval | agent | 1.0.1 → 1.0.2 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | knowledge-router | agent | 1.0.1 → 1.0.2 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | quest | agent | 1.0.1 → 1.0.2 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | world-state | agent | 1.0.1 → 1.0.2 | `["roleplay", "visual_novel"]` → `["roleplay"]` | | long-term-memory | feature | 1.0.3 → 1.0.4 | `["conversation", "roleplay", "visual_novel", "game"]` → `["conversation", "roleplay", "game"]` | - The seven agent-only packages: edited `packages/<id>/agents.json`, bumped the manifest patch version, and rebuilt with `node scripts/build-agent-catalog.mjs <ids>`. - `long-term-memory` (feature): edited the `modes:` array in `scripts/build-feature-packages.mjs` and rebuilt with `MARINARA_REUSE_FEATURE_RUNTIME=1` so the existing runtime bundle is reused — `server.mjs` and `client.js` are byte-for-byte unchanged, and `builtAgainst` (Engine 2.3.5 / `4e651e9c`) stays accurate. Only the metadata (`agents.json`, manifest, artifact, catalog) regenerated. Manifests, artifacts, and all catalog lanes were regenerated by the builders; no generated bundle, checksum, size, or lane entry was hand-edited. ## Validation All three PR checks pass locally on `staging` + this change: - [x] `node scripts/test-catalog-lanes.mjs` — **passes** (lane routing + build provenance) - [x] `node scripts/validate-catalog.mjs` — **passes** (`31 packages`, `v2=31, v3=6; legacy=v2`) - [x] `git diff --check` — clean ## Notes - Focused on the modeAllowlist regression only; the retired string still appears inside some frozen compiled feature bundles (`client.js`/`server.mjs`) but not in any `modeAllowlist`, so it does not affect mode parsing or startup. - Build environment lacked Info-ZIP `zip`, so the builders' archive step used Python's `zipfile` to produce the ZIPs. They are standard archives that pass `validate-catalog` (hashes verified against the catalog). If you prefer artifacts produced by your own `zip` toolchain, a rebuild on a machine with `zip` will regenerate byte-identical-format archives. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Package Updates** - Released updated versions of Combat, CYOA Choices, Expression Engine, Knowledge Retrieval, Knowledge Router, Long-Term Memory, Quest Tracker, and World State. - Refreshed package metadata and catalog records for improved artifact consistency. - **Compatibility** - Long-Term Memory no longer supports the `visual_novel` mode. - **Maintenance** - Updated catalog timestamps and package integrity information across supported catalog versions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:27 +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#834
No description provided.