mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #167] Retired visual_novel still baked into captured Engine sources and feature-package runtime bundles #86
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/167
Originally assigned to: @kolacheee on GitHub.
Follow-up to #165. That issue removes the retired
visual_novelmode from the eight packages' agentmodeAllowlist— the values that actually crash a recent Engine. This issue is about the deeper residue:visual_novelis still baked into the catalog's captured Engine sources and compiled feature-package runtimes. It doesn't crash anything today, but it's a seed for the same regression coming back, so it's worth cleaning separately.Why this can bite us later
The captured Engine baseline under
sources/engine/(and the per-packagesrc/engine/trees) is a pre-removal snapshot — it still knows aboutvisual_novel. Feature packages reproduce their bundles and manifests from that baseline. So a future rebuild of any feature package that derives mode metadata, schema, or boundary checks from this stale source can quietly re-introducevisual_novelinto an emittedmodeAllowlist— reopening exactly the startup crash #165 just closed. The shipped runtime bundles also still carry dead "Visual Novel" mode labels.Where it is
1. Captured Engine baseline (
sources/engine/, 16 files) — pre-removal Engine code, e.g.:sources/engine/packages/server/src/db/schema/chats.tsandchat-presets.ts— the old four-value enum["conversation", "roleplay", "visual_novel", "game"]sources/engine/packages/server/src/routes/generate/generate-route-utils.ts— live branchingchatMode === "roleplay" || chatMode === "visual_novel"sources/engine/packages/client/src/stores/chat.store.ts—Exclude<ChatMode, "visual_novel">sources/engine/packages/shared/dist/constants/chat-modes.js,chat-mode-capabilities.js— compiled constants2. Per-package vendored source (
packages/<id>/src/engine/):hierarchical-maps,long-term-memory(mode-label maps likevisual_novel: "Visual Novel"and locale strings).3. Compiled, shipped runtime bundles (
client.js/server.mjs) in nine feature packages:chess,conversation-calls,eightball,hierarchical-maps,long-term-memory,poker,rock-paper-scissors,tic-tac-toe,uno.See it yourself
Suggested fix
Refresh the captured Engine sources (
sources/engine/and the per-packagesrc/engine/trees) from a current, post-visual_novel-removal Engine, then rebuild the affected feature runtimes withnode scripts/build-feature-packages.mjsso the regeneratedclient.js/server.mjsand boundary metadata no longer reference the retired mode. Bump the rebuilt package versions. Success check:git grep visual_novel sources/ packages/returns nothing (outside git history).This is lower-urgency than #165 (nothing is broken right now), but doing it removes the last way
visual_novelcan creep back into a shipped package.