[Foundry] Link pushed actors to journal backstory #157
Loading…
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?
Motivation/Context
Live push v1 (#150, #152, #154, #156) puts backstory only in the actor's biography field, deliberately deferring full journal-based backstory to Phase 3 per the live-push investigation (2026-07-15, §4.2: "Live push v1 should put backstory in the actor biography only and leave journals to #13"). Once #13 (
journal_to_entry, v4.3.0) lands full lore-entry-to-Foundry-journal sync, pushed actors should reference that journal page instead of duplicating backstory prose in the biography field, so a GM reading an NPC in Foundry gets the same rich content as the wiki article rather than a stale biography snapshot from whenever it was last pushed.Approach
When both a
foundry_links(#146) actor link and afoundry_linksjournal link (#13, once it exists) are present for the same sourceLoreEntry, wire the pushed actor to reference the correspondingJournalEntrypage — e.g. actor biography becomes a short summary plus a link/reference to the full journal page, rather than the full backstory text duplicated into the actor. Reuses #13'sjournal_to_entryoutput and #146's mapping table; no new document-mapping mechanism is needed, this issue is purely the cross-linking behavior.Dependencies
journal_to_entry, v4.3.0) — nothing to link to until journal push exists.foundry_links) — needed to look up both the actor link and the journal link for the same source entry.Out of scope
journal_to_entryitself (that's #13's job).Acceptance criteria
LoreEntry(viafoundry_links), pushing again links the actor to the journal page rather than duplicating full backstory into the actor biography.