[ui] LetterSlot: Add the page for A Letter from the Gardener, shown once the author writes it
docs/LETTER.md holds slots as comments only, so the player sees no change
until the author writes. The app bundles the letter at build time, a small
Markdown subset renders without {@html}, only https: and tel: become links,
and lint:copy now reads the letter. Review found turbo replaying a stale
build after the letter changed; docs/LETTER.md is now in its cache key.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<!--
|
||||
A Letter from the Gardener: the author's own words, signed by the author.
|
||||
Agents scaffold this file and never write in it (CLAUDE.md preamble and §1).
|
||||
|
||||
How it reaches the player: the app bundles this file at build time and shows
|
||||
it at #letter, offline included. While this file holds nothing but comments,
|
||||
the player sees no way to the page.
|
||||
|
||||
Markdown that works: # and ## headings, paragraphs, lists with - or *,
|
||||
*emphasis*, and links to https:// pages or tel: numbers. Anything else is
|
||||
shown as plain text. `pnpm lint:copy` checks every word outside comments,
|
||||
as it does for all player-facing text.
|
||||
|
||||
The slots below are what GAMEPLAY.md and CLAUDE.md say the letter carries.
|
||||
Keep, reorder or delete them as you like: comments never reach the player.
|
||||
-->
|
||||
|
||||
<!-- Slot: the one sentence of inspiration (GAMEPLAY §7). -->
|
||||
|
||||
<!-- Slot: the river of life and its whirlpools (GAMEPLAY §8, CLAUDE.md §1). -->
|
||||
|
||||
<!-- Slot: why the art looks as it does (GAMEPLAY §7). -->
|
||||
|
||||
<!-- Slot: what in Rosea was never in the book: berries and rose hips, the
|
||||
lanterns, the paths, the real sunset, the shared sky, Amicitia (GAMEPLAY §7). -->
|
||||
|
||||
<!-- Slot: every feature and every principle, taught (CLAUDE.md §1). -->
|
||||
|
||||
<!-- Slot: how the game leads to Amicitia Domi (GAMEPLAY §5, §7). -->
|
||||
|
||||
<!-- Slot: the quiet door to real help: verified support lines, as links
|
||||
(CLAUDE.md §5.6 rule 5, G0.27). Not advice, no clinical claim. -->
|
||||
|
||||
<!-- Slot: the signature. -->
|
||||
Reference in New Issue
Block a user