mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #74] [Issue]: Explain how to preserve location IDs when importing a replacement map #36
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#36
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 (Jul 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/74
Originally assigned to: @thetopham on GitHub.
What problem does this solve?
Once a Hierarchical Map has committed campaign history, importing a replacement that omits existing location IDs fails with:
Campaign history uses this map. Imported maps must retain every existing location ID.That protection is necessary because messages, swipes, branches, and checkpoints reference stable location IDs. The current error explains the rule but does not tell users how to repair an externally edited or AI-generated replacement map.
Users have confirmed that preserving or remapping the existing IDs into the replacement map is an acceptable workflow. The missing piece is actionable guidance and diagnostics.
Proposed package or change
Keep the stable-ID protection and improve the blocked-import workflow:
The package must not silently bypass the guard, discard snapshots, or overwrite campaign history. A future destructive map-history reset can remain a separate feature if users need it later.
Why should this be optional?
Stable-ID repair guidance is specific to the downloadable Hierarchical Maps import workflow. Engine should continue to provide only generic persistence and history contracts.
Alternatives considered
Additional context
User follow-up: they successfully imported a replacement by matching new entries to existing location IDs and requested clearer information about how to resolve the error.
Template check