<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Convergence.Game%2FPROSE</id>
	<title>Convergence.Game/PROSE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Convergence.Game%2FPROSE"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Convergence.Game/PROSE&amp;action=history"/>
	<updated>2026-12-06T12:41:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=Convergence.Game/PROSE&amp;diff=2689&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Convergence.Game/PROSE&amp;diff=2689&amp;oldid=prev"/>
		<updated>2026-12-02T18:57:50Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Convergence and Prose: the story conduit (GG-T355) =&lt;br /&gt;
&lt;br /&gt;
Owner, 2026-11-07: &amp;lt;em&amp;gt;&amp;quot;the Game handles gameplay, and Prose handles narrative&amp;quot;&amp;lt;/em&amp;gt;; &amp;lt;em&amp;gt;&amp;quot;all dialog/conversations, descriptions, screen crawls, everything is sourced from prose&amp;quot;&amp;lt;/em&amp;gt;; &amp;lt;em&amp;gt;&amp;quot;everything will be assigned guids and retrieved at compile time … its not hard coded into the game its pulled from a dedicated literary system.&amp;quot;&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convergence is a consumer of the Prose narrative engine (&amp;lt;code&amp;gt;D:\Projects\MindAttic\Prose&amp;lt;/code&amp;gt;), universe &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;gridgame&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;quot;GridGame&amp;quot;). The standard is Prose&amp;#039;s RFC 0017 and docs/CONDUIT.md. Gameplay (numbers, rules, stages, AI, balance) lives in this repo. Story (canon entities and every word a player reads as story) lives in Prose. This repo never authors story.&lt;br /&gt;
&lt;br /&gt;
== The flow ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-text&amp;quot;&amp;gt;content JSON ──tools/prose_map.py──&amp;gt; Data/Prose/gridgame.universe.json ──kit push──&amp;gt; Prose &amp;#039;gridgame&amp;#039; (entities, edges)&lt;br /&gt;
                                                                                         │&lt;br /&gt;
                         the author writes and approves texts in Prose; agents only draft (RFC 0009)&lt;br /&gt;
                                                                                         │&lt;br /&gt;
Assets/Convergence/Resources/Content/Text/*.json &amp;amp;lt;──tools/prose_apply.py── pending/ &amp;amp;lt;──kit pull── published texts&lt;br /&gt;
                └──────────────── Data/Prose/applied.jsonl {id, version, hash, key, kind} ────────────────┘&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Piece&lt;br /&gt;
! File&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Config&lt;br /&gt;
| &amp;lt;code&amp;gt;Data/Prose/prose.config.json&amp;lt;/code&amp;gt;&lt;br /&gt;
| consumer and universe &amp;lt;code&amp;gt;gridgame&amp;lt;/code&amp;gt;, kinds, choice tags; committed&lt;br /&gt;
|-&lt;br /&gt;
| Key scheme&lt;br /&gt;
| &amp;lt;code&amp;gt;tools/prose_keys.py&amp;lt;/code&amp;gt;&lt;br /&gt;
| shared by the mapper, the seed and the applier&lt;br /&gt;
|-&lt;br /&gt;
| Mapper&lt;br /&gt;
| &amp;lt;code&amp;gt;tools/prose_map.py&amp;lt;/code&amp;gt;&lt;br /&gt;
| content JSON (read only) → interchange file (gitignored), deterministic, no balance numbers&lt;br /&gt;
|-&lt;br /&gt;
| Seed&lt;br /&gt;
| &amp;lt;code&amp;gt;tools/prose_seed.py&amp;lt;/code&amp;gt;&lt;br /&gt;
| the game&amp;#039;s words → &amp;lt;code&amp;gt;prose-text/1&amp;lt;/code&amp;gt; drafts (the first seed, RFC 0017 §7); reads Content/Text since Phase 2&lt;br /&gt;
|-&lt;br /&gt;
| Text tool&lt;br /&gt;
| &amp;lt;code&amp;gt;tools/prose_text.py&amp;lt;/code&amp;gt;&lt;br /&gt;
| Phase 2: &amp;lt;code&amp;gt;check&amp;lt;/code&amp;gt; (no story in gameplay JSON, every key has a text), the one-time &amp;lt;code&amp;gt;snapshot&amp;lt;/code&amp;gt;, the Python join, &amp;lt;code&amp;gt;upsert_seed&amp;lt;/code&amp;gt; for generators&lt;br /&gt;
|-&lt;br /&gt;
| Loader join&lt;br /&gt;
| &amp;lt;code&amp;gt;Core/Content/ProseText.cs&amp;lt;/code&amp;gt;&lt;br /&gt;
| reads Content/Text into the models, placeholders and &amp;lt;code&amp;gt;TextRef&amp;lt;/code&amp;gt; (id, GUID, version)&lt;br /&gt;
|-&lt;br /&gt;
| Applier&lt;br /&gt;
| &amp;lt;code&amp;gt;tools/prose_apply.py&amp;lt;/code&amp;gt; (+ &amp;lt;code&amp;gt;tools/test_prose_apply.py&amp;lt;/code&amp;gt;, fixture &amp;lt;code&amp;gt;tools/fixtures/prose/&amp;lt;/code&amp;gt;)&lt;br /&gt;
| pending texts → &amp;lt;code&amp;gt;Content/Text/&amp;amp;lt;kind&amp;gt;.json&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Build-time pull&lt;br /&gt;
| &amp;lt;code&amp;gt;tools/prose-sync.ps1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tools/build.ps1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ConvergenceBuild.SyncProse&amp;lt;/code&amp;gt;&lt;br /&gt;
| kit pull + apply before every build&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Gitignored (local): &amp;lt;code&amp;gt;Data/Prose/*.universe.json&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;pending/&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;drafts/&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;outbox.jsonl&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.kit/&amp;lt;/code&amp;gt;. Committed: the config, &amp;lt;code&amp;gt;applied.jsonl&amp;lt;/code&amp;gt; and the applied texts under &amp;lt;code&amp;gt;Content/Text&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Commands ==&lt;br /&gt;
&lt;br /&gt;
The kit runs by path from the Prose checkout (one copy, never vendored):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;$kit = &amp;#039;D:\Projects\MindAttic\Prose\consumer-kit\kit.ps1&amp;#039;&lt;br /&gt;
&amp;amp; $kit validate                 # the universe file and any pending texts&lt;br /&gt;
&amp;amp; $kit push --map               # map, import (replace mode: retires game entities the content no longer has), round trip&lt;br /&gt;
&amp;amp; $kit pull --status published  # published texts newer than applied.jsonl -&amp;gt; Data/Prose/pending/&lt;br /&gt;
&amp;amp; $kit apply                    # tools/prose_apply.py writes Content/Text, the kit records applied.jsonl&lt;br /&gt;
&amp;amp; $kit status                   # entity and text counts on the Hub&lt;br /&gt;
&lt;br /&gt;
python tools/prose_seed.py &amp;amp;lt;dir&amp;gt;          # draft the game&amp;#039;s current words (Content/Text joined on) for Prose&lt;br /&gt;
python tools/prose_text.py check         # no story text in gameplay JSON, every key has a text, no orphans&lt;br /&gt;
python tools/prose_text.py seed-missing --drafts &amp;amp;lt;dir&amp;gt;   # seed only keys with no text yet; drafts for Prose&lt;br /&gt;
python ../GridGame.Studio/tools/prose_lorem.py --drafts &amp;amp;lt;dir&amp;gt;              # GG-T387: every conversation&amp;#039;s lines and labels as lorem ipsum&lt;br /&gt;
prose --texts-draft gridgame &amp;amp;lt;dir&amp;gt;        # drafts; identical content changes nothing&lt;br /&gt;
python -m unittest tools/test_prose_apply.py   # the applier&amp;#039;s tests (run only when the owner asks)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Approval is the owner&amp;#039;s&amp;lt;/strong&amp;gt; (RFC 0009; agents never approve or publish). One kind at a time, dry run first:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;prose --texts-approve-all gridgame --kind crawl --by &amp;amp;lt;name&amp;gt; --dry-run&lt;br /&gt;
prose --texts-approve-all gridgame --kind crawl --by &amp;amp;lt;name&amp;gt; --publish&lt;br /&gt;
# likewise --kind conversation &amp;amp;#124; description &amp;amp;#124; quest &amp;amp;#124; glossary &amp;amp;#124; bark; narrow with --prefix item: or --about class-lich&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dialogue trees (GG-T1295, GG-T1589) ==&lt;br /&gt;
&lt;br /&gt;
A conversation is authored in one readable file, &amp;lt;code&amp;gt;Data/Dialogue/&amp;amp;lt;id&amp;gt;.tree&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;tools/dialogue_tree.py&amp;lt;/code&amp;gt; (standard library only) moves it between that file and the game&amp;#039;s data. The tool&amp;#039;s docstring is the format reference; this is the summary.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Command&lt;br /&gt;
! Does&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;python tools/dialogue_tree.py compile [TREE ...] [--drafts DIR]&amp;lt;/code&amp;gt;&lt;br /&gt;
| Tree to its &amp;lt;code&amp;gt;dialogues.json&amp;lt;/code&amp;gt; entry (merged by &amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt;, the rest of the file untouched), its words as &amp;lt;strong&amp;gt;seed&amp;lt;/strong&amp;gt; texts in &amp;lt;code&amp;gt;Content/Text&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;prose-text/1&amp;lt;/code&amp;gt; drafts in &amp;lt;code&amp;gt;DIR&amp;lt;/code&amp;gt; (default &amp;lt;code&amp;gt;Data/Prose/drafts/dialogue&amp;lt;/code&amp;gt;). Lints first and refuses a tree with an error.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;python tools/dialogue_tree.py decompile ID [ID ...] [--out Data/Dialogue]&amp;lt;/code&amp;gt;&lt;br /&gt;
| A &amp;lt;code&amp;gt;dialogues.json&amp;lt;/code&amp;gt; entry plus its texts back to &amp;lt;code&amp;gt;&amp;amp;lt;out&amp;gt;/&amp;amp;lt;id&amp;gt;.tree&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;python tools/dialogue_tree.py lint [TREE ...]&amp;lt;/code&amp;gt;&lt;br /&gt;
| Unreachable nodes, dangling &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt;, stranded choices, farmable effects on a loop, the Trust and cohesion range each path reaches, orphaned Prose dialogue keys.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
With no &amp;lt;code&amp;gt;TREE&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;Data/Dialogue/*.tree&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;dialogue talk_quiz_knight&lt;br /&gt;
title: Advice&lt;br /&gt;
trigger: Talk knight                 Kind [Id] [Other] [level=N]&lt;br /&gt;
when: QuestAvailable q_bridge         a dialogue condition (one per line)&lt;br /&gt;
once                                  Talk only: play once&lt;br /&gt;
backdrop: desert&lt;br /&gt;
crawl: A paragraph of the opening crawl (one per line; any crawl line sets HasCrawl)&lt;br /&gt;
speaker hero $with                    Id Class [name=&amp;quot;Display name&amp;quot;] [portrait=class]; Class &amp;quot;-&amp;quot; for none&lt;br /&gt;
start: ask                            defaults to the first node&lt;br /&gt;
&lt;br /&gt;
node ask hero                         Id Speaker&lt;br /&gt;
  The line, wrapped over as many lines as it needs.&lt;br /&gt;
  do: AddTrust $with 5                an effect when the node is reached&lt;br /&gt;
  -&amp;gt; next                             auto-advance (no choices); none ends the dialogue&lt;br /&gt;
  * A reply -&amp;gt; right                  a choice: label, then where it goes (no arrow ends the dialogue)&lt;br /&gt;
    if: TrustAtLeast $with 20         a condition for offering it&lt;br /&gt;
    do: GrantSkillPoint $with         an effect of taking it&lt;br /&gt;
    wit: 1                            Wanderer talks only&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Indentation is two spaces; &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; starts a comment line. A condition or effect is &amp;lt;code&amp;gt;Type [Id] [Other] [Amount] [role=Role]&amp;lt;/code&amp;gt;: the first word is &amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt;, a second is &amp;lt;code&amp;gt;Other&amp;lt;/code&amp;gt; (the pair&amp;#039;s second hero for &amp;lt;code&amp;gt;AddCohesion&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;CohesionAtLeast&amp;lt;/code&amp;gt;), an integer is &amp;lt;code&amp;gt;Amount&amp;lt;/code&amp;gt;. The words are the game&amp;#039;s (&amp;lt;code&amp;gt;DialogueRunner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ContentModels&amp;lt;/code&amp;gt;; BIBLE 27.1). A node&amp;#039;s text and a choice&amp;#039;s label go to Prose, never to &amp;lt;code&amp;gt;dialogues.json&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Trigger kinds: &amp;lt;code&amp;gt;ThemeStart&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;StageCleared&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Talk&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Recruit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LevelReached&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;StageStart&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Wanderer&amp;lt;/code&amp;gt;, and the bond and roster kinds &amp;lt;code&amp;gt;Trust&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt; hero, tier in &amp;lt;code&amp;gt;level=&amp;lt;/code&amp;gt;, GG-T1298), &amp;lt;code&amp;gt;Cohesion&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Other&amp;lt;/code&amp;gt;, tier in &amp;lt;code&amp;gt;level=&amp;lt;/code&amp;gt;, GG-T1298), &amp;lt;code&amp;gt;Founding&amp;lt;/code&amp;gt; (no &amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;Joined&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt; a hero class or faction, or none; binds &amp;lt;code&amp;gt;$hero&amp;lt;/code&amp;gt;, GG-T1593) and &amp;lt;code&amp;gt;Prologue&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;Id&amp;lt;/code&amp;gt; a prologue onboarding step from &amp;lt;code&amp;gt;DialogueDef.PrologueSteps&amp;lt;/code&amp;gt;, a drill&amp;#039;s number in &amp;lt;code&amp;gt;level=&amp;lt;/code&amp;gt;, GG-T2066; the trees are &amp;lt;code&amp;gt;Data/Dialogue/prologue_*.tree&amp;lt;/code&amp;gt;, the beats in [[Convergence.Game/STORY_SLICE|STORY_SLICE.md]]).  A &amp;lt;code&amp;gt;Cohesion&amp;lt;/code&amp;gt; tree writes &amp;lt;code&amp;gt;trigger: Cohesion knight mage level=2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Placeholder conversations (GG-T387, 2026-11-16) ==&lt;br /&gt;
&lt;br /&gt;
Owner: &amp;quot;set up all the lorem ipsum for story crawls and conversations&amp;quot;. Every &amp;lt;code&amp;gt;dialogue:&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; text (story beats, Camp talks, Advice quizzes, wanderer talks) is lorem ipsum, written by &amp;lt;code&amp;gt;GridGame.Studio/tools/prose_lorem.py&amp;lt;/code&amp;gt;: the game&amp;#039;s own records give the node ids, speakers, &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt;, choice order and tags (via &amp;lt;code&amp;gt;prose_seed.conversation&amp;lt;/code&amp;gt;), so the game plays the same flow; each line keeps roughly its old word count, and each choice label is a short phrase behind a marker (&amp;lt;code&amp;gt;A ·&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;B ·&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;C ·&amp;lt;/code&amp;gt;). It writes seeds through &amp;lt;code&amp;gt;prose_text.upsert_seed&amp;lt;/code&amp;gt; (never over a Prose-applied text) and drafts that went to Prose as batch &amp;lt;code&amp;gt;lorem-387&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;prose --texts-draft gridgame &amp;amp;lt;dir&amp;gt; --by claude --batch lorem-387&amp;lt;/code&amp;gt;): v2 of every conversation (v3 for one). &amp;lt;strong&amp;gt;Why the build&amp;#039;s pull can&amp;#039;t bring the retired words back:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;prose-sync&amp;lt;/code&amp;gt; pulls only published texts, nothing is approved or published yet, and approval in Prose only ever takes a text&amp;#039;s newest draft, which is now the lorem one. The retired words survive only as older versions in Prose&amp;#039;s history. Dialogue crawls (&amp;lt;code&amp;gt;crawl:dialogue/*&amp;lt;/code&amp;gt;) are crawls and are not touched by it.&lt;br /&gt;
&lt;br /&gt;
== Keys ==&lt;br /&gt;
&lt;br /&gt;
A text&amp;#039;s &amp;lt;code&amp;gt;key&amp;lt;/code&amp;gt; is the game&amp;#039;s lookup handle; it keeps the game&amp;#039;s own ids verbatim. The text id is the kind plus those ids slugged. A key exists exactly when the gameplay record it names exists (&amp;lt;code&amp;gt;prose_keys.game_keys&amp;lt;/code&amp;gt;), which is how the applier tells an orphan from a text to apply.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Kind&lt;br /&gt;
! Key&lt;br /&gt;
! Text id&lt;br /&gt;
! Gameplay record (the words were here before Phase 2)&lt;br /&gt;
|-&lt;br /&gt;
| conversation&lt;br /&gt;
| &amp;lt;code&amp;gt;dialogue:&amp;amp;lt;dialogueId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;conversation-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| dialogues.json, every dialogue (title, nodes, choices)&lt;br /&gt;
|-&lt;br /&gt;
| crawl&lt;br /&gt;
| &amp;lt;code&amp;gt;crawl:opening/&amp;amp;lt;n&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;crawl:ending&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;crawl-opening-&amp;amp;lt;n&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;crawl-ending&amp;lt;/code&amp;gt;&lt;br /&gt;
| campaign.json Opening.Pages (one key per page) / Ending&lt;br /&gt;
|-&lt;br /&gt;
| crawl&lt;br /&gt;
| &amp;lt;code&amp;gt;crawl:&amp;amp;lt;themeId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;crawl-&amp;amp;lt;themeId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| campaign.json Themes[].Crawl&lt;br /&gt;
|-&lt;br /&gt;
| crawl&lt;br /&gt;
| &amp;lt;code&amp;gt;crawl:dialogue/&amp;amp;lt;dialogueId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;crawl-dialogue-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| a dialogue&amp;#039;s Crawl (the level-10 interlude)&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;class:&amp;amp;lt;classId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-class-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| classes.json Description (short) and Lore (long): hero blurbs, enemy and Bestiary text&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;item:&amp;amp;lt;itemId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-item-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| items.json Description, every item&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;armorset:&amp;amp;lt;setId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-armorset-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| armorsets.json Description&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;skilltree:&amp;amp;lt;treeId&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;skillnode:&amp;amp;lt;nodeId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-skilltree-…&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;description-skillnode-…&amp;lt;/code&amp;gt;&lt;br /&gt;
| skilltrees.json&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;npc:&amp;amp;lt;npcId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-npc-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| the camp NPC&amp;#039;s blurb (innkeeper, blacksmith, alchemist, enchantress, merchant)&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;place:&amp;amp;lt;themeId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-place-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| a campaign region (GG-T374), shown under its expedition header on the stage select; seeded from the crawl&amp;#039;s first paragraph&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;place:&amp;amp;lt;stageId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-place-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| a campaign stage (in a theme&amp;#039;s Stages, not &amp;lt;code&amp;gt;IsTest&amp;lt;/code&amp;gt;); seeded &amp;quot;A battlefield of &amp;amp;lt;region&amp;gt;.&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;faction:&amp;amp;lt;factionId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-faction-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| factions.json, every faction; shown in the post-battle wanderer box; seeded from the mapper&amp;#039;s summary&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| &amp;lt;code&amp;gt;character:&amp;amp;lt;crew&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;description-character-&amp;amp;lt;crew&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| caravan.json &amp;lt;code&amp;gt;Crew&amp;lt;/code&amp;gt;, a named character with no class or npc key; &amp;lt;code&amp;gt;&amp;amp;lt;crew&amp;gt;&amp;lt;/code&amp;gt; is the crew name slugged (its entity id without &amp;lt;code&amp;gt;character-&amp;lt;/code&amp;gt;); shown on the Caravan card&lt;br /&gt;
|-&lt;br /&gt;
| quest&lt;br /&gt;
| &amp;lt;code&amp;gt;quest:&amp;amp;lt;questId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;quest-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| quests.json Name, Giver, Summary, TurnIn&lt;br /&gt;
|-&lt;br /&gt;
| glossary&lt;br /&gt;
| &amp;lt;code&amp;gt;glossary:&amp;amp;lt;glossaryId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;glossary-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| glossary.json Term, Aliases, Text&lt;br /&gt;
|-&lt;br /&gt;
| bark&lt;br /&gt;
| &amp;lt;code&amp;gt;bark:caravan/&amp;amp;lt;upgradeId&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;bark-caravan-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| caravan.json Barks (the wagon&amp;#039;s crew)&lt;br /&gt;
|-&lt;br /&gt;
| bark&lt;br /&gt;
| &amp;lt;code&amp;gt;bark:merc/&amp;amp;lt;classId&amp;gt;/pitch&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;…/renewal&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;bark-merc-&amp;amp;lt;class&amp;gt;-pitch&amp;lt;/code&amp;gt;&lt;br /&gt;
| mercenaries.json Pitch, Renewal&lt;br /&gt;
|-&lt;br /&gt;
| bark&lt;br /&gt;
| &amp;lt;code&amp;gt;bark:bossphase/&amp;amp;lt;classId&amp;gt;/&amp;amp;lt;n&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;bark-bossphase-&amp;amp;lt;class&amp;gt;-&amp;amp;lt;n&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| classes.json BossPhases[n].Announce&lt;br /&gt;
|-&lt;br /&gt;
| bark&lt;br /&gt;
| &amp;lt;code&amp;gt;bark:surprise/&amp;amp;lt;stageId&amp;gt;/&amp;amp;lt;wave&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;bark-surprise-&amp;amp;lt;stage&amp;gt;-&amp;amp;lt;wave&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| stages.json Waves[wave].SurpriseLine&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Stays in the game&amp;lt;/strong&amp;gt; (UI and mechanics, not story): unit, item, ability, theme and stage names (Prose holds them as entity names; the game owns the ids), ability Description and Trigger.Callout, class Card and Support.Label, item PassiveName/PassiveDescription, caravan Description and level text, pickups, bounties, encounters, the battle tutorial and Credits.txt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Conversations carry words and shape only.&amp;lt;/strong&amp;gt; Node ids, &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt;, and choice order are kept so the game can join the text back onto its own records. Triggers, conditions, effects, speaker classes and portraits stay in dialogues.json. Speakers are &amp;lt;code&amp;gt;$placeholders&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;$hero&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$with&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$lead&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$recruit&amp;lt;/code&amp;gt;) or entity ids (&amp;lt;code&amp;gt;class-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;character-&amp;amp;lt;npc&amp;gt;&amp;lt;/code&amp;gt;). Choice &amp;lt;strong&amp;gt;tags&amp;lt;/strong&amp;gt; carry the meaning the game&amp;#039;s logic keys on:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;right-answer&amp;lt;/code&amp;gt;: a wanderer reply that wins its exchange in the game of wits (&amp;lt;code&amp;gt;Wit&amp;lt;/code&amp;gt; +1, &amp;lt;code&amp;gt;Wanderers.RightAnswers&amp;lt;/code&amp;gt;, GG-T387), or the Advice-quiz answer that grants a skill point.&lt;br /&gt;
* &amp;lt;code&amp;gt;conditional&amp;lt;/code&amp;gt;: a choice the game shows only when its Conditions hold.&lt;br /&gt;
&lt;br /&gt;
== Entities ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tools/prose_map.py&amp;lt;/code&amp;gt; writes the game-owned entities. Ids are stable and type-prefixed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;class-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; for every class: team, role, boss and traits. A hero is &amp;lt;code&amp;gt;member-of&amp;lt;/code&amp;gt; its faction, an enemy is &amp;lt;code&amp;gt;found-in&amp;lt;/code&amp;gt; the regions whose stages field it, and a boss &amp;lt;code&amp;gt;guards&amp;lt;/code&amp;gt; its finale stage.&lt;br /&gt;
* &amp;lt;code&amp;gt;faction-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; for each hero faction in factions.json.&lt;br /&gt;
* &amp;lt;code&amp;gt;place-&amp;amp;lt;theme&amp;gt;&amp;lt;/code&amp;gt; for each region, and &amp;lt;code&amp;gt;place-&amp;amp;lt;stage&amp;gt;&amp;lt;/code&amp;gt; for each stage, which is &amp;lt;code&amp;gt;part-of&amp;lt;/code&amp;gt; its region.&lt;br /&gt;
** &amp;lt;strong&amp;gt;Travel geography:&amp;lt;/strong&amp;gt; each region is &amp;lt;code&amp;gt;road-to&amp;lt;/code&amp;gt; the next in campaign order (the main route, then into the postgame) and &amp;lt;code&amp;gt;contains&amp;lt;/code&amp;gt; its stages.&lt;br /&gt;
** A postgame region &amp;lt;code&amp;gt;extends&amp;lt;/code&amp;gt; the main region its stages belong to.&lt;br /&gt;
** The stated facts in &amp;lt;code&amp;gt;ADJACENCY&amp;lt;/code&amp;gt;: the Still is &amp;lt;code&amp;gt;foot-of&amp;lt;/code&amp;gt; Halcyon, the Cathedral &amp;lt;code&amp;gt;top-of&amp;lt;/code&amp;gt; it, and the Underspire &amp;lt;code&amp;gt;beneath&amp;lt;/code&amp;gt; it.&lt;br /&gt;
** All of this is derived from campaign order, so it stays right as chapters are added.&lt;br /&gt;
* &amp;lt;code&amp;gt;character-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; for the camp NPCs and the caravan crew.&lt;br /&gt;
* &amp;lt;code&amp;gt;concept-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; for each glossary term.&lt;br /&gt;
* &amp;lt;code&amp;gt;armorset-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; for each armor set, and &amp;lt;code&amp;gt;item-&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; for every item (a set piece is &amp;lt;code&amp;gt;part-of&amp;lt;/code&amp;gt; its set).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Every place, faction and character has a description&amp;lt;/strong&amp;gt; (GG-T374). Prose&amp;#039;s verifier raises &amp;lt;code&amp;gt;TEXT-OBLIGATION [undescribed]&amp;lt;/code&amp;gt; when a story text names an entity that no &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; text is &amp;lt;code&amp;gt;about&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;prose_keys.description_keys&amp;lt;/code&amp;gt; gives each place, faction and character entity its key (&amp;lt;code&amp;gt;place:&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;faction:&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;npc:&amp;lt;/code&amp;gt; for camp NPCs, &amp;lt;code&amp;gt;character:&amp;lt;/code&amp;gt; for the crew); the mapper refuses to write an entity without one, and &amp;lt;code&amp;gt;prose_text.py check&amp;lt;/code&amp;gt; reports it. The game joins them into &amp;lt;code&amp;gt;ContentDb.PlaceBlurbs&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FactionBlurbs&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;CrewBlurbs&amp;lt;/code&amp;gt; (a missing key shows the placeholder). New keys get their seed with &amp;lt;code&amp;gt;python tools/prose_text.py seed-missing --drafts &amp;amp;lt;dir&amp;gt;&amp;lt;/code&amp;gt;, which only fills keys that have no text yet, then &amp;lt;code&amp;gt;prose --texts-draft gridgame &amp;amp;lt;dir&amp;gt; --batch &amp;amp;lt;tag&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The universe record&amp;#039;s setting, logline and rules (&amp;lt;code&amp;gt;UNIVERSE_RECORD&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;tools/prose_map.py&amp;lt;/code&amp;gt;) are a short seed of the owner&amp;#039;s canon, &amp;quot;the Somnolith&amp;quot; (2026-11-21, amended GG-T577), which retires &amp;quot;Under Morrow&amp;quot; and &amp;quot;A War in Heaven&amp;quot;. The canon itself is Prose&amp;#039;s UniverseCanon sections for &amp;lt;code&amp;gt;gridgame&amp;lt;/code&amp;gt; (preamble, GG-SOMNOLITH, GG-ONE-LIGHT, GG-WHY-NOW, GG-PEOPLES, GG-ARC), written with &amp;lt;code&amp;gt;prose --set-canon-section&amp;lt;/code&amp;gt; (no approval step); &amp;lt;code&amp;gt;Data/Prose/canon/&amp;lt;/code&amp;gt; is the staging copy.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Canon is Prose-authored.&amp;lt;/strong&amp;gt; The Somnolith, mana, the Choir and its orders (the Red Seal, the Bulwark, the Kiln Guard), the Watch, the Infernalists, the tithe, the Hollow, the Anchors, the Arks, the reservoir, the Bloom, the Hierarch (the Choir&amp;#039;s human leader, the villain), the party (&amp;quot;the Crew&amp;quot;) and Saltmoss were created in Prose with its own authoring tools, not the interchange file, so a pruning push never retires them. They are tagged &amp;lt;code&amp;gt;DECIDED&amp;lt;/code&amp;gt;; the Hierarch &amp;lt;code&amp;gt;appears-as&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;class-hierarch&amp;lt;/code&amp;gt;. GG-T577 archived the old-premise entities (the old white order, the Bright Host, the celestials, the Herald as the Host&amp;#039;s messenger, the breaches, the falls, the old ending, the v1 to v3 premises), tagged &amp;lt;code&amp;gt;RETIRED&amp;lt;/code&amp;gt;; the hero Herald is &amp;lt;code&amp;gt;class-herald&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Because the universe now holds entities the game does not own, &amp;lt;code&amp;gt;kit push&amp;lt;/code&amp;gt;&amp;#039;s round-trip check reports them as &amp;quot;only in theirs&amp;quot; and as a leak. The import itself is unaffected (&amp;lt;code&amp;gt;retired 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;relations invalidated 0&amp;lt;/code&amp;gt;). Teaching the kit to set Prose-authored entities aside is Prose&amp;#039;s fix. Until then, read the diff as clean when it lists only canon entities.&lt;br /&gt;
&lt;br /&gt;
== GUIDs ==&lt;br /&gt;
&lt;br /&gt;
The owner wants every text and entity to carry its Prose GUID through the conduit.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;What the applier does.&amp;lt;/strong&amp;gt; It writes &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt; beside the readable key in every &amp;lt;code&amp;gt;Content/Text&amp;lt;/code&amp;gt; entry (&amp;lt;code&amp;gt;{&amp;quot;key&amp;quot;: &amp;quot;crawl:swamp&amp;quot;, &amp;quot;id&amp;quot;: &amp;quot;crawl-swamp&amp;quot;, &amp;quot;guid&amp;quot;: …, &amp;quot;version&amp;quot;: n, &amp;quot;hash&amp;quot;: …}&amp;lt;/code&amp;gt;). It takes the value from the pulled document&amp;#039;s &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;entityId&amp;lt;/code&amp;gt;) field.&lt;br /&gt;
* &amp;lt;strong&amp;gt;The gap, as of 2026-11-07:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;prose-text/1&amp;lt;/code&amp;gt; documents expose only the slug &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;, and interchange entities only their slug. Prose stores both as entity rows with GUIDs, but neither pull nor export returns them, so &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt; is null today.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Also in the kit:&amp;lt;/strong&amp;gt; it writes &amp;lt;code&amp;gt;applied.jsonl&amp;lt;/code&amp;gt; itself (id, version, hash, key, kind), and since Prose PRS-T923 it records a pulled text&amp;#039;s &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt; there too.&lt;br /&gt;
* &amp;lt;strong&amp;gt;In the game&amp;lt;/strong&amp;gt; (Phase 2): the GUID and version reach &amp;lt;code&amp;gt;ContentDb.TryText(key)&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;TextRef.Guid&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TextRef.Version&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;strong&amp;gt;The fix belongs in Prose.&amp;lt;/strong&amp;gt; Add &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;prose-text/1&amp;lt;/code&amp;gt; and to the interchange export, and have the kit log it. The applier needs no change.&lt;br /&gt;
&lt;br /&gt;
== Build-time pull ==&lt;br /&gt;
&lt;br /&gt;
Every build ships the latest &amp;lt;strong&amp;gt;published&amp;lt;/strong&amp;gt; Prose text.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Where the pull runs:&amp;lt;/strong&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;tools/build.ps1&amp;lt;/code&amp;gt; runs &amp;lt;code&amp;gt;tools/prose-sync.ps1&amp;lt;/code&amp;gt; (kit pull with &amp;lt;code&amp;gt;--status published&amp;lt;/code&amp;gt;, then kit apply) before Unity.&lt;br /&gt;
** &amp;lt;code&amp;gt;ConvergenceBuild.Build&amp;lt;/code&amp;gt; calls &amp;lt;code&amp;gt;SyncProse()&amp;lt;/code&amp;gt;, which does the same for menu and batch builds.&lt;br /&gt;
** &amp;lt;code&amp;gt;ConvergenceProsePreBuild&amp;lt;/code&amp;gt; (an &amp;lt;code&amp;gt;IPreprocessBuildWithReport&amp;lt;/code&amp;gt;) covers File &amp;gt; Build.&lt;br /&gt;
** Each pull runs once per build. After &amp;lt;code&amp;gt;build.ps1&amp;lt;/code&amp;gt; has pulled, Unity does not pull again (&amp;lt;code&amp;gt;GG_PROSE_SYNCED=1&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;strong&amp;gt;When Prose can&amp;#039;t be reached&amp;lt;/strong&amp;gt; (the Hub is offline, the kit is missing, or a kit step fails), the step logs a warning and the build uses the committed &amp;lt;code&amp;gt;Content/Text&amp;lt;/code&amp;gt; snapshot. A build never fails because Prose is down.&lt;br /&gt;
* &amp;lt;strong&amp;gt;To skip the pull&amp;lt;/strong&amp;gt; (offline or CI builds), use &amp;lt;code&amp;gt;tools/build.ps1 -SkipProse&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GG_SKIP_PROSE=1&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;-skipProse&amp;lt;/code&amp;gt; on Unity&amp;#039;s command line.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Defaults&amp;lt;/strong&amp;gt; can be overridden with &amp;lt;code&amp;gt;PROSE_KIT&amp;lt;/code&amp;gt; (the path to &amp;lt;code&amp;gt;kit.ps1&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;PROSE_HUB&amp;lt;/code&amp;gt; (the Hub URL).&lt;br /&gt;
&lt;br /&gt;
== Phase 2 (done 2026-11-07): the game reads every story string from Content/Text ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;The seed snapshot.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;python tools/prose_text.py snapshot&amp;lt;/code&amp;gt; (one-time, refuses to run again) wrote &amp;lt;code&amp;gt;Content/Text/*.json&amp;lt;/code&amp;gt; from the text the gameplay JSON held, &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; from Prose: nothing is approved yet and only the owner approves. Each entry is exactly what the applier writes (same key, text id and payload as the Prose draft), with &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt; null, &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; 0 and &amp;lt;code&amp;gt;source&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;&amp;quot;seed&amp;quot;&amp;lt;/code&amp;gt; (an applied text says &amp;lt;code&amp;gt;&amp;quot;prose&amp;quot;&amp;lt;/code&amp;gt;). The seed is recorded in &amp;lt;code&amp;gt;Data/Prose/applied.jsonl&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;status&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;&amp;quot;seed&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; 0), which the kit&amp;#039;s format allows: any published version is higher, so the next build-time pull replaces each seed as soon as the owner publishes its text. 1976 texts: conversation 132, crawl 18, description 1671, quest 13, bark 28, glossary 114. The game reads the same words as before.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Stripped from gameplay JSON&amp;lt;/strong&amp;gt; (2802 fields; &amp;lt;code&amp;gt;ProseText.NarrativeFields&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;prose_text.NARRATIVE&amp;lt;/code&amp;gt;):&amp;lt;br&amp;gt;&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;File&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Fields moved to Prose&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Kept (gameplay, UI)&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;classes.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Description&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Lore&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;BossPhases[].Announce&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Name, Card, Support.Label, everything else&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;dialogues.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;node &amp;lt;code&amp;gt;Text&amp;lt;/code&amp;gt;, choice &amp;lt;code&amp;gt;Label&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Crawl&amp;lt;/code&amp;gt; (now the &amp;lt;code&amp;gt;HasCrawl&amp;lt;/code&amp;gt; marker)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Id, Title (the Talk row label), Trigger, Conditions, Effects, Speakers, node ids, Next, choice order&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;campaign.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Prologue.Crawl&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Ending.Crawl&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Themes[].Crawl&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;titles, theme names, backdrops, stages&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;quests.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Summary&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TurnIn&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Name, Giver, objective, rewards&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;glossary.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Text&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Term, Aliases, link&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;items.json, armorsets.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Description&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Name, PassiveName/PassiveDescription, stats&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;skilltrees.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;tree and node &amp;lt;code&amp;gt;Description&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;names, grants, costs&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;caravan.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Barks&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Description and level text (mechanics), Crew&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;mercenaries.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Pitch&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Renewal&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;rate, terms, temperament&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;stages.json&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Waves[].SurpriseLine&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;SurpriseSpeaker&amp;lt;/code&amp;gt; (the marker for its key)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;A key exists exactly when its gameplay record does; the optional ones hang on a marker: a dialogue&amp;#039;s crawl on &amp;lt;code&amp;gt;HasCrawl&amp;lt;/code&amp;gt;, a surprise line on &amp;lt;code&amp;gt;SurpriseSpeaker&amp;lt;/code&amp;gt;, caravan barks on &amp;lt;code&amp;gt;Crew&amp;lt;/code&amp;gt;; every boss phase announces.&lt;br /&gt;
# &amp;lt;strong&amp;gt;The join&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ProseText.Join&amp;lt;/code&amp;gt;, called by &amp;lt;code&amp;gt;ContentLoader.Load&amp;lt;/code&amp;gt;) reads &amp;lt;code&amp;gt;Content/Text/&amp;amp;lt;kind&amp;gt;.json&amp;lt;/code&amp;gt; and fills the same model fields consumers always read, so no screen changed. Conversations join by node id (lines) and choice order (choice texts); crawls are their paragraphs joined by a blank line; a bark&amp;#039;s first line is a one-liner.&lt;br /&gt;
#* &amp;lt;strong&amp;gt;A missing key&amp;lt;/strong&amp;gt; shows &amp;lt;code&amp;gt;(missing text: &amp;amp;lt;key&amp;gt;)&amp;lt;/code&amp;gt; (a dialogue node &amp;lt;code&amp;gt;(missing text: dialogue:&amp;amp;lt;id&amp;gt;#&amp;amp;lt;node&amp;gt;)&amp;lt;/code&amp;gt;), is recorded in &amp;lt;code&amp;gt;ContentDb.TextProblems&amp;lt;/code&amp;gt;, reported by &amp;lt;code&amp;gt;ContentLoader.Validate&amp;lt;/code&amp;gt; and logged as a &amp;lt;code&amp;gt;[Content]&amp;lt;/code&amp;gt; warning by &amp;lt;code&amp;gt;GameApp&amp;lt;/code&amp;gt;. It never throws, nor does an unreadable text file.&lt;br /&gt;
#* &amp;lt;strong&amp;gt;Debugging and telemetry:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;ContentDb.TryText(key)&amp;lt;/code&amp;gt; gives a &amp;lt;code&amp;gt;TextRef&amp;lt;/code&amp;gt; (key, kind, Prose text id, GUID, version, source, hash, missing). NPC blurbs (&amp;lt;code&amp;gt;npc:&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;) are in &amp;lt;code&amp;gt;ContentDb.NpcBlurbs&amp;lt;/code&amp;gt;.&lt;br /&gt;
#* A hand-built fixture with no Content/Text at all is not joined (&amp;lt;code&amp;gt;TextJoined&amp;lt;/code&amp;gt; false) and keeps the words it was given.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Validation&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ContentLoader.Validate&amp;lt;/code&amp;gt;, via the join): every key resolves; no orphan text; no story text in gameplay JSON (a field put back is reported and Prose&amp;#039;s text wins); conversation shape agrees (nodes, choice count, each choice&amp;#039;s &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt;); the &amp;lt;code&amp;gt;right-answer&amp;lt;/code&amp;gt; tag sits exactly on the answers the game rewards (&amp;lt;code&amp;gt;ProseText.RewardsRightAnswer&amp;lt;/code&amp;gt;: a wanderer reply with &amp;lt;code&amp;gt;Wit&amp;lt;/code&amp;gt; +1, which is &amp;lt;code&amp;gt;Wanderers.RightAnswers&amp;lt;/code&amp;gt;, or a choice that grants a skill point). &amp;lt;em&amp;gt;(Tests: &amp;lt;code&amp;gt;TextSourcingTests&amp;lt;/code&amp;gt; (C#) and &amp;lt;code&amp;gt;TextSourcingTests&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;tools/test_prose_apply.py&amp;lt;/code&amp;gt;; written, run when the owner asks.)&amp;lt;/em&amp;gt;&lt;br /&gt;
# &amp;lt;strong&amp;gt;New content gets a key, its words go to Prose.&amp;lt;/strong&amp;gt; A new record&amp;#039;s key exists as soon as the record does; until its text is approved it shows the placeholder and Validate names it. Draft the words in Prose (&amp;lt;code&amp;gt;prose --texts-draft gridgame &amp;amp;lt;dir&amp;gt;&amp;lt;/code&amp;gt;). Generators use &amp;lt;code&amp;gt;prose_text.upsert_seed&amp;lt;/code&amp;gt;, which writes a seed entry (never over a Prose-applied text) and a draft in &amp;lt;code&amp;gt;Data/Prose/drafts/&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;GridGame.Studio/tools/weapons.py&amp;lt;/code&amp;gt; does this for weapon descriptions). BIBLE §20 has the new-unit steps.&lt;br /&gt;
# &amp;lt;strong&amp;gt;docs/STORY.md&amp;lt;/strong&amp;gt; is a pointer to the &amp;lt;code&amp;gt;gridgame&amp;lt;/code&amp;gt; universe.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Still open (Prose side):&amp;lt;/strong&amp;gt; GUIDs in &amp;lt;code&amp;gt;prose-text/1&amp;lt;/code&amp;gt; pulls (the kit already records a pulled &amp;lt;code&amp;gt;guid&amp;lt;/code&amp;gt;), and the owner&amp;#039;s approval, kind by kind (see Commands). Then &amp;lt;code&amp;gt;tools/prose-sync.ps1&amp;lt;/code&amp;gt; replaces the seed text by text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[Convergence.Game]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/Convergence.Game/blob/main/docs/PROSE.md Convergence.Game/docs/PROSE.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Convergence.Game]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>