[GH-ISSUE #163] [Issue]: World Maps user-command movement and discovery are model-sensitive #82

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

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

Originally assigned to: @thetopham on GitHub.

Summary

World Maps automatic movement and discovery are highly sensitive to model choice and exact phrasing. Direct user commands sometimes work, while semantically equivalent user-authored movement can fail silently. The current runtime contract also asks the assistant to decide from narrated arrival, which conflicts with the stated product intent that explicit user text—not AI-authored narration—should authorize map changes.

Affected package

World Maps (hierarchical-maps) v1.2.3

Expected behavior

  • Explicit user-authored movement such as “We go to the Kitchen and Dining section” should reliably move to a matching known location.
  • Explicit user-authored discovery such as “We discover a hidden room” should create and enter an appropriate durable new location when no known location matches.
  • Reasonable paraphrases that establish the user's party entering a location should behave consistently across supported chat models.
  • AI narration alone must not invent or commit a location change that the user did not establish.
  • Intentions, mentions, NPC-only movement, failed/incomplete travel, temporary spaces, and ambiguous non-arrivals should remain non-authoritative.
  • When a command is not recognized or cannot be resolved, provide debug-visible evidence and preferably user-facing non-disruptive feedback rather than silently doing nothing.
  • Known-location matching should prefer the existing stable location rather than creating a duplicate.

Actual behavior

Beta observations:

  • “We go to the Kitchen and Dining section” successfully moved the story location in one test.
  • A slightly more ambiguous phrasing failed with DeepSeek v4 Flash, while a comparable test using Opus 4.6 succeeded.
  • “We go to the outdoor section of the store” created and moved to a new location.
  • “She moves into the outdoor section of the store. We follow her loosely into the section” did not move or create the location, including with a stronger model.
  • Earlier in the session, automatic movement/discovery appeared completely unavailable while manual map editing and manual movement still worked.
  • Failures are silent, leaving users unsure whether the wording, model, route state, or Maps feature is responsible.

Steps to reproduce

  1. Install or update World Maps to v1.2.3.
  2. Enable it for a Roleplay or Game chat with at least one known destination.
  3. Test direct phrasing: “We go to [exact known location name].”
  4. Test an equivalent party-arrival paraphrase.
  5. Test explicit discovery: “We discover [new durable location].”
  6. Test AI-only narration that introduces or enters an unrequested place.
  7. Repeat with more than one supported model/provider.
  8. Compare the resulting current location, map definition, visible feedback, and debug prompt/output.

Environment

  • Marinara Engine version: v2.3.5
  • Engine build: a121d12
  • Package version: World Maps v1.2.3
  • Models explicitly mentioned during testing: DeepSeek v4 Flash and Opus 4.6
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Screenshots of successful and unsuccessful phrasing were provided in the original beta-review conversation but are not attached to this issue yet.

Additional context

The stated product intent is user-led map definition: explicit user commands may move or discover locations, while AI narration must not hallucinate them.

Current package source instead tells the assistant to emit hidden spatial_move / spatial_discover commands when the narrated scene arrives, and Engine extracts those commands only from the assistant's generated fullResponse. There is no direct package input path that parses user prose. This makes the behavior dependent on whether each model converts the user's wording into the hidden assistant directive.

The smallest package-side correction is to make the hidden-command prompt explicitly conditional on the latest user message establishing the move/discovery, with positive and negative examples and provider-spanning regression fixtures. If reliable user-input resolution requires a new host contract, open a paired Marinara Engine issue rather than moving Maps-specific semantics into core without review.

Related: the separate route/pending-transition regression tracks failures in explicitly queued manual movement.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/163 Originally assigned to: @thetopham on GitHub. ## Summary World Maps automatic movement and discovery are highly sensitive to model choice and exact phrasing. Direct user commands sometimes work, while semantically equivalent user-authored movement can fail silently. The current runtime contract also asks the assistant to decide from narrated arrival, which conflicts with the stated product intent that explicit user text—not AI-authored narration—should authorize map changes. ## Affected package World Maps (`hierarchical-maps`) v1.2.3 ## Expected behavior - Explicit user-authored movement such as **“We go to the Kitchen and Dining section”** should reliably move to a matching known location. - Explicit user-authored discovery such as **“We discover a hidden room”** should create and enter an appropriate durable new location when no known location matches. - Reasonable paraphrases that establish the user's party entering a location should behave consistently across supported chat models. - AI narration alone must not invent or commit a location change that the user did not establish. - Intentions, mentions, NPC-only movement, failed/incomplete travel, temporary spaces, and ambiguous non-arrivals should remain non-authoritative. - When a command is not recognized or cannot be resolved, provide debug-visible evidence and preferably user-facing non-disruptive feedback rather than silently doing nothing. - Known-location matching should prefer the existing stable location rather than creating a duplicate. ## Actual behavior Beta observations: - **“We go to the Kitchen and Dining section”** successfully moved the story location in one test. - A slightly more ambiguous phrasing failed with DeepSeek v4 Flash, while a comparable test using Opus 4.6 succeeded. - **“We go to the outdoor section of the store”** created and moved to a new location. - **“She moves into the outdoor section of the store. We follow her loosely into the section”** did not move or create the location, including with a stronger model. - Earlier in the session, automatic movement/discovery appeared completely unavailable while manual map editing and manual movement still worked. - Failures are silent, leaving users unsure whether the wording, model, route state, or Maps feature is responsible. ## Steps to reproduce 1. Install or update World Maps to v1.2.3. 2. Enable it for a Roleplay or Game chat with at least one known destination. 3. Test direct phrasing: **“We go to [exact known location name].”** 4. Test an equivalent party-arrival paraphrase. 5. Test explicit discovery: **“We discover [new durable location].”** 6. Test AI-only narration that introduces or enters an unrequested place. 7. Repeat with more than one supported model/provider. 8. Compare the resulting current location, map definition, visible feedback, and debug prompt/output. ## Environment - Marinara Engine version: v2.3.5 - Engine build: a121d12 - Package version: World Maps v1.2.3 - Models explicitly mentioned during testing: DeepSeek v4 Flash and Opus 4.6 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Screenshots of successful and unsuccessful phrasing were provided in the original beta-review conversation but are not attached to this issue yet. ## Additional context The stated product intent is user-led map definition: explicit user commands may move or discover locations, while AI narration must not hallucinate them. Current package source instead tells the assistant to emit hidden `spatial_move` / `spatial_discover` commands when **the narrated scene** arrives, and Engine extracts those commands only from the assistant's generated `fullResponse`. There is no direct package input path that parses user prose. This makes the behavior dependent on whether each model converts the user's wording into the hidden assistant directive. The smallest package-side correction is to make the hidden-command prompt explicitly conditional on the latest user message establishing the move/discovery, with positive and negative examples and provider-spanning regression fixtures. If reliable user-input resolution requires a new host contract, open a paired Marinara Engine issue rather than moving Maps-specific semantics into core without review. Related: the separate route/pending-transition regression tracks failures in explicitly queued manual movement. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@thetopham commented on GitHub (Jul 31, 2026):

I’m taking the smallest package-owned correction in draft PR #164: make the turn prompt explicitly key hidden movement/discovery commands to completed movement established by the latest user message, including party-following paraphrases, and forbid commands based only on assistant-authored narration. I’m also adding exact-artifact prompt assertions. This improves cross-model compliance without claiming deterministic natural-language parsing; a direct user-input parser would require a separate Engine host contract.

<!-- gh-comment-id:5147734614 --> @thetopham commented on GitHub (Jul 31, 2026): I’m taking the smallest package-owned correction in draft PR #164: make the turn prompt explicitly key hidden movement/discovery commands to completed movement established by the latest user message, including party-following paraphrases, and forbid commands based only on assistant-authored narration. I’m also adding exact-artifact prompt assertions. This improves cross-model compliance without claiming deterministic natural-language parsing; a direct user-input parser would require a separate Engine host contract.
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#82
No description provided.