mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #218] [Issue]: Balanced malformed World Map JSON is reported as a token-limit truncation #109
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#109
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 @thetopham on GitHub (Aug 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/218
Originally assigned to: @thetopham on GitHub.
Summary
A World Map draft generated through the Game Mode setup guide failed JSON parsing and was reported as a token-limit truncation. The captured response is structurally complete but contains malformed JSON, so the current error message gives unsupported Max Output Tokens guidance and hides the actual parse failure.
Affected package
World Maps (
hierarchical-maps), v1.3.0.Expected behavior
Actual behavior
The route catches every
parseJsonishfailure and returns:In the supplied 33,716-character response, the object and arrays close, but one location contains an invalid unquoted property:
This proves a parse error in the captured response. The provider finish reason was not included, so an actual output-limit finish cannot be confirmed.
Steps to reproduce
Environment
Logs, screenshots, or video
Relevant debug excerpt:
The full 38 KB debug log is available from the reporter if provider-specific context is needed.
Additional context
The current
spatial-context.routes.tscatch path labels every parse failure as likely truncation without checking the generation finish reason.This was observed through Game Mode setup; previous large map generations outside that flow reportedly succeeded. That difference may help reproduction, but it does not establish the cause.
Template check