variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout

This commit is contained in:
2026-11-15 14:35:00 +00:00
parent c51d31078e
commit fa3f23b474
51 changed files with 3477 additions and 1719 deletions
+30 -14
View File
@@ -1,4 +1,4 @@
/* rp-test SPA — dark, quiet, fiction-first. Three registers: speech is
/* rp-test SPA -- dark, quiet, fiction-first. Three registers: speech is
plain, narration is italic (rendered dimmer), OOC is boxed. Machinery
(tools, notes, deltas) stays small and muted. Home / setup views are
workbenches: cards, a file editor, read-only context. */
@@ -100,11 +100,11 @@ button.primary { border-color: var(--accent); color: var(--accent); }
main { grid-area: main; overflow-y: auto; padding: 18px 22px; }
h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: normal; margin: 4px 0 14px; }
h1 { font-size: 15px; letter-spacing: 0.1em; color: var(--dim); font-weight: normal; margin: 4px 0 14px; }
.hint { color: var(--dim); font-size: 13px; font-style: italic; }
/* cards: runs on home, packages on /new — real buttons, left-aligned */
/* cards: runs on home, packages on /new -- real buttons, left-aligned */
.card {
display: block;
width: 100%;
@@ -137,7 +137,7 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
#admin { max-width: 560px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
#admin h2 {
margin: 0 0 10px; font-size: 11px; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--dim); font-weight: normal;
color: var(--dim); font-weight: normal;
}
#invite-code { font: 12px ui-monospace, Consolas, monospace; color: var(--accent); word-break: break-all; }
.admin-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); padding: 3px 0; }
@@ -157,6 +157,9 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
#fork-pane .hint { margin: 0 0 8px; }
#fork-pane button { width: 100%; }
#story-pane { margin-top: 22px; }
#story-pane button { width: 100%; }
#models-pane { margin-top: 22px; }
#models-pane .field { margin-bottom: 6px; }
#models-pane .field select { flex: 1; }
@@ -179,7 +182,7 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
}
#setup-vars h2, #setup-models h2 {
margin: 0 0 10px; font-size: 11px; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--dim); font-weight: normal;
color: var(--dim); font-weight: normal;
}
#setup-vars-state, .save-state { color: var(--dim); font-size: 12px; }
#setup-models .field select { flex: 1; }
@@ -220,12 +223,12 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
.file-item.current { border-color: var(--accent); }
.file-item.absent { color: var(--dim); font-style: italic; }
.file-item.ro { color: var(--dim); }
.file-item.dirty .file-dirty::after { content: "*"; color: var(--accent); }
.file-item.dirty .file-dirty { color: var(--accent); }
#setup-editor { display: flex; flex-direction: column; min-width: 0; }
#edit-stack { position: relative; flex: 1; min-height: 0; }
/* the highlight overlay: a pre behind a transparent-text textarea,
identical metrics, scroll-synced — sigils and vars light up in place */
identical metrics, scroll-synced -- sigils and vars light up in place */
#edit-hl, #setup-edit {
position: absolute;
inset: 0;
@@ -254,7 +257,7 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
/* --- transcript (play) --- */
.turn { margin: 0 0 20px; max-width: 760px; }
.turn .who { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.turn .who { font-size: 11px; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 3px; }
.turn.gm .who { color: var(--accent); }
.turn.player .who { color: var(--ok); }
@@ -279,7 +282,8 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
}
.machinery .head { color: var(--text); }
/* the opening beat, when the window opened but the beat never sent */
/* the dormant bar: the review window's banner over the carryover
preview, with the start button */
.beat {
display: flex; align-items: center; gap: 14px;
border: 1px solid var(--accent); border-radius: 6px;
@@ -288,7 +292,7 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
}
.beat button { margin-left: auto; }
/* the bundle: a collapsed card, per part — the system message is
/* the bundle: a collapsed card, per part -- the system message is
inspectable like the rest, read-only */
details.bundle {
margin: 14px 0; border: 1px solid var(--line); border-radius: 6px;
@@ -299,6 +303,18 @@ details.bundle pre { margin: 0; padding: 0 12px 10px; white-space: pre-wrap; fon
.error-line { color: var(--danger); }
/* --- the story view --- */
.story-head {
display: flex;
align-items: baseline;
gap: 14px;
margin-bottom: 14px;
}
.story-head h1 { margin: 0; }
#story { max-width: 760px; }
.session-break { margin: 26px 0 12px; border-top: 1px solid var(--line); }
/* --- aside (play) --- */
#play-aside {
@@ -314,7 +330,7 @@ body.play #play-aside { display: block; }
#play-aside h2 {
margin: 4px 0 8px; font-size: 11px; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--dim); font-weight: normal;
color: var(--dim); font-weight: normal;
}
.pane-head { display: flex; align-items: baseline; gap: 8px; }
@@ -325,7 +341,7 @@ body.play #play-aside { display: block; }
#status.empty { color: var(--dim); font-style: italic; }
#agenda-pane { margin-top: 16px; }
#agenda { margin: 0; line-height: 1.5; }
#agenda { margin: 0; line-height: 1.5; white-space: pre-wrap; }
#agenda.empty { color: var(--dim); font-style: italic; }
.pane-editor textarea { width: 100%; resize: vertical; font: 13px/1.5 inherit; }
.pane-editor-actions { display: flex; gap: 6px; margin-top: 6px; }
@@ -369,7 +385,7 @@ body.play footer { display: flex; }
#gm-send { padding: 5px 18px; }
#busy { color: var(--dim); font-size: 12px; font-style: italic; white-space: nowrap; align-self: center; }
/* in-page banner — replaces JS alert()/confirm() (they block the
/* in-page banner -- replaces JS alert()/confirm() (they block the
embedded pane); errors and notices land here instead */
#banner {
position: fixed; left: 50%; top: 12px; transform: translateX(-50%);
@@ -387,7 +403,7 @@ dialog {
min-width: 380px; max-width: 560px; padding: 18px 20px;
}
dialog::backdrop { background: rgba(0,0,0,0.6); }
dialog h2 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
dialog h2 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
dialog p { margin: 0 0 12px; }
dialog textarea { width: 100%; }
dialog button { margin-top: 10px; }