mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #168] [MERGED] fix: purge retired visual_novel mode from captured sources and feature runtimes #838
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#838
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/168
Author: @kolacheee
Created: 7/31/2026
Status: ✅ Merged
Merged: 7/31/2026
Merged by: @kolacheee
Base:
staging← Head:fix/167-visual-novel-runtime-residue📝 Commits (2)
6430f80fix: purge retired visual_novel mode from captured sources and feature runtimes2e7c4a3fix: support legacy visual_novel chats in the World Maps home panel📊 Changes
57 files changed (+923 additions, -807 deletions)
View changed files
➕
artifacts/chess-1.0.4.zip(+0 -0)➕
artifacts/conversation-calls-1.0.7.zip(+0 -0)➕
artifacts/eightball-1.0.4.zip(+0 -0)➕
artifacts/hierarchical-maps-1.2.4.zip(+0 -0)➕
artifacts/long-term-memory-1.0.5.zip(+0 -0)➕
artifacts/poker-1.0.4.zip(+0 -0)➕
artifacts/rock-paper-scissors-1.0.4.zip(+0 -0)➕
artifacts/tic-tac-toe-1.0.4.zip(+0 -0)➕
artifacts/uno-1.0.4.zip(+0 -0)📝
catalog/catalog.json(+61 -61)📝
catalog/v2/catalog.json(+61 -61)📝
catalog/v3/catalog.json(+37 -37)📝
packages/chess/client.js(+29 -29)📝
packages/chess/manifest.json(+3 -3)📝
packages/conversation-calls/client.js(+29 -29)📝
packages/conversation-calls/manifest.json(+5 -5)📝
packages/conversation-calls/server.mjs(+149 -149)📝
packages/eightball/client.js(+29 -29)📝
packages/eightball/manifest.json(+3 -3)📝
packages/hierarchical-maps/client.js(+46 -46)...and 37 more files
📄 Description
Closes #167.
Why this change
Follow-up to #165/#166. The retired
visual_novelchat mode was still baked into the catalog below themodeAllowlistlayer: in the captured Engine sources (sources/engine/), the package-owned source trees of the two schemaVersion-2 features, and the compiledclient.js/server.mjsruntimes of all nine feature packages. Nothing was broken today, but any future rebuild from those stale sources could quietly reintroduce the retired mode into shipped metadata — reopening exactly the startup crash #166 closed.What changed
Captured sources (
sources/engine/):chat.schema.js/capability-package.schema.jsZod schemas from the current post-retirement Engine (import-compatible 1:1 file refreshes — the capture mechanism, applied by hand).chat.store.tsExclude<>cleanup,generate-route-utils.tsroleplay predicate,game-asset-generation.tssourceMode union) — mirroring the merged Engine changes line-for-line rather than pulling in unrelated new code.visual_novelentries from the captured chat-mode constants (chat-modes.js,chat-mode-capabilities.js, including the now-orphanedVISUAL_NOVEL_DEFAULT_AGENT_IDS) and from the seven captured agent manifests, aligning them with the #166agents.jsonfix.Package-owned source:
long-term-memory: removedvisual_novelfrom the LTM mode enum, extraction-mode lists, per-mode defaults (prompts/streams/descriptions/recall style), mode labels, the extraction-template picker, the sources-workspace filter, and the two locale keys. Legacy vaults stay loadable:ltmModeSchemanow folds the retired value toroleplaybefore the enum parse, the settings normalizer foldsvisual_novelkeys inactivePromptTemplateIdsByMode/systemPromptsByModeintoroleplay, and the summary normalizer keeps accepting it as roleplay-family — the same approach as the Engine's retired-chat-mode migration.hierarchical-maps: the mode-label helper now shows legacyvisual_novelchats as "Roleplay".Rebuilt all nine feature runtimes with patch bumps: chess/eightball/poker/rock-paper-scissors/tic-tac-toe/uno 1.0.3→1.0.4, conversation-calls 1.0.6→1.0.7, hierarchical-maps 1.2.3→1.2.4, long-term-memory 1.0.4→1.0.5.
What deliberately remains (and why grep is not zero)
The only
visual_novelreferences left anywhere are legacy-tolerance folds, mirroring the Engine's own end state:modeAllowlistfold fromcapability-package.schema.js(refreshed verbatim, embedded in the bundles),These are the code that handles old data — stable 2.3.5 Engines without the Engine-side migration can still hand these packages
visual_novelvalues from un-migrated chats and vaults, and dropping the folds would trade a cosmetic grep win for real parse failures.Build notes
stagingcheckout.builtAgainstprovenance for the schemaVersion-2 packages is preserved by the builder and validation passes.chess.js@^1.4.0no longer exists anywhere in the Engine's dependency tree (it was dropped when turn-games moved to this catalog), so the chess server bundle was built with a scratch-installedchess.js@1.4.0. This means the chess package is currently not rebuildable from a clean Engine + Agents checkout without manually providing that dependency — worth deciding whether to vendor or document it (happy to file a follow-up).zipand cannot spawnpnpmfrom Node, so the builders'zipstep ran through Python'szipfileandpnpm exec esbuildwas invoked as the Engine's esbuild directly (same binary, same flags, plus NODE_PATH covering the pnpm workspacenode_modules). All artifacts passvalidate-catalog(hashes, sizes, zip contents, generated-JS syntax).Validation
node scripts/test-catalog-lanes.mjs— passesnode scripts/validate-catalog.mjs— passes (31 packages,v2=31, v3=6; legacy=v2)git diff --check— cleanSummary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.