mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6937] [Feature]: Add a campaign-scoped World History timeline to Game Mode #3887
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3887
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 @SirAdoni on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6937
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Game campaigns need a readable, durable chronology for events that span sessions. Existing Campaign Memory and the Campaign Wiki organize records, but staging does not provide a dedicated World History timeline with explicit in-world dates, eras, certainty, places, and participants. Chat branching also needs clear rules so a new branch does not silently lose or inherit history that falls on the wrong side of its fork point.
Proposed solution
Add a user-authored World History view to Game Mode using the existing Campaign Memory record and mutation infrastructure. Let players create and maintain dated or undated historical entries, organize them by era/order, and associate entries with campaign characters and locations.
When a player branches a chat, carry forward only history snapshots that can be proven to predate the selected message cutoff. Remap copied character/location references into the new branch, preserve the source unchanged, and report entries that cannot be copied safely rather than guessing or silently dropping them. Keep this as an extension of Campaign Memory and the Campaign Wiki, not a replacement for either.
Alternatives considered
Additional context
This request is scoped to an editable campaign history and safe behavior when branching chats. It reuses the existing Campaign Memory mutation journal for persistence and revision history. Entries with ambiguous timestamps, invalid ownership, or unresolved links should remain visible as held items with a reason, not be guessed into the branch.
Template check
@SpicyMarinara commented on GitHub (Oct 1, 2026):
@kolacheee? Want to take a look at this?
@kolacheee commented on GitHub (Oct 1, 2026):
@SirAdoni, this overlaps with the Game Mode world generation I'm working on. That work is local for now because of the release hold, so here's how it fits before you start.
What mine does
[world: deed=...],[world: fact=...]). The GM can ask for a place's or a group's past with[history: place=...]/[history: group=...].Where #6937 overlaps
worldIdon Game Mode's NPC records. If your entries link places and participants, keying on those ids where they exist (and on the stable NPC ids from #6696) would let an entry about a siege point at the actual town.historyis a reserved GM tag name in my work. If your feature adds GM tags, please use another name.Branching
Your copy rules sound right. Some pointers from how staging handles this already:
POST /chats/:id/branchcopies messages up to the cutoff with new ids. It keeps asourceToBranchedMessageIdmap, which is what you'd use to remap anchors.trimJournalForBranch, by copied message ids and the first left-out message'screatedAt).How they could work together
I'll open the world PRs after the release (history, the deed ledger, the living world, then the journal tab), and I'll tag you so the exact shapes are visible.