2026-11-14 03:15:53 +00:00
|
|
|
<!doctype html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2026-11-15 14:46:00 +00:00
|
|
|
<title>Tiny Worlds</title>
|
2026-11-14 03:15:53 +00:00
|
|
|
<link rel="stylesheet" href="/style.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
2026-11-15 14:46:00 +00:00
|
|
|
<a id="home-link" href="/">Tiny Worlds</a>
|
2026-11-14 20:01:15 +00:00
|
|
|
<span id="who"></span>
|
2026-11-14 23:48:27 +00:00
|
|
|
<div id="session-info"></div>
|
2026-11-14 03:15:53 +00:00
|
|
|
<div id="context-meter" title="context usage of the last call">
|
|
|
|
|
<div id="context-bar"><div id="context-fill"></div></div>
|
|
|
|
|
<span id="context-label"></span>
|
|
|
|
|
</div>
|
2026-11-14 09:04:13 +00:00
|
|
|
<button id="diag-btn" title="diagnostics log">log</button>
|
2026-11-14 03:15:53 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<main>
|
2026-11-14 20:01:15 +00:00
|
|
|
<section id="view-claim" hidden>
|
|
|
|
|
<h1>claim an invite</h1>
|
|
|
|
|
<p class="hint" id="claim-hint"></p>
|
|
|
|
|
<form id="claim-form">
|
|
|
|
|
<label class="field">invite code <input id="claim-code" autocomplete="off"></label>
|
|
|
|
|
<label class="field">display name <input id="claim-name" autocomplete="off"></label>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button type="submit" class="primary">claim</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
|
2026-11-14 09:04:13 +00:00
|
|
|
<section id="view-home" hidden>
|
|
|
|
|
<h1>runs</h1>
|
|
|
|
|
<div id="run-list"></div>
|
|
|
|
|
<button id="new-run-btn" class="primary">new run</button>
|
2026-11-14 20:01:15 +00:00
|
|
|
<section id="admin" hidden>
|
|
|
|
|
<h2>admin</h2>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button id="invite-mint">mint invite</button>
|
|
|
|
|
<span id="invite-code"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="invite-list"></div>
|
|
|
|
|
<div id="user-list"></div>
|
|
|
|
|
</section>
|
2026-11-14 09:04:13 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="view-new" hidden>
|
|
|
|
|
<h1>new run</h1>
|
|
|
|
|
<div id="package-pick">
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<p class="hint">a run is a copy of the package -- everything stays editable until the session opens</p>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="package-list"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<form id="create-form" hidden>
|
|
|
|
|
<h2 id="create-title"></h2>
|
|
|
|
|
<label class="field">package name <input id="create-name" autocomplete="off"></label>
|
|
|
|
|
<label class="field">main character name <input id="create-pc" autocomplete="off"></label>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button type="button" id="create-back">back</button>
|
|
|
|
|
<button type="submit" class="primary">create</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="view-setup" hidden>
|
|
|
|
|
<div class="setup-head">
|
|
|
|
|
<h1 id="setup-title"></h1>
|
|
|
|
|
<span id="setup-state"></span>
|
|
|
|
|
<button id="setup-delete">delete draft</button>
|
|
|
|
|
<button id="setup-start" class="primary">start</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="setup-vars" hidden>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<h2>prompt variables -- declared by the prompts, filled per run</h2>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="setup-vars-list"></div>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button id="setup-vars-save">save variables</button>
|
|
|
|
|
<span id="setup-vars-state"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-11-14 23:48:27 +00:00
|
|
|
<div id="setup-models"></div>
|
2026-11-14 20:01:15 +00:00
|
|
|
<div id="setup-savepkg">
|
|
|
|
|
<input id="savepkg-name" placeholder="new package display name" autocomplete="off">
|
|
|
|
|
<button id="savepkg-btn">save as package</button>
|
|
|
|
|
<span id="savepkg-state"></span>
|
|
|
|
|
</div>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div class="setup-body">
|
|
|
|
|
<nav id="setup-files"></nav>
|
|
|
|
|
<div id="setup-editor">
|
|
|
|
|
<div id="edit-stack">
|
|
|
|
|
<pre id="edit-hl" aria-hidden="true"></pre>
|
|
|
|
|
<textarea id="setup-edit" spellcheck="false"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="setup-edit-bar">
|
|
|
|
|
<button id="setup-save">save</button>
|
|
|
|
|
<span id="setup-edit-state"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="view-play" hidden>
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
<nav id="table-tabs" hidden>
|
|
|
|
|
<button id="tab-table" class="tab">table</button>
|
|
|
|
|
<button id="tab-raw" class="tab">raw</button>
|
|
|
|
|
</nav>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="transcript" aria-live="polite"></div>
|
|
|
|
|
</section>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
|
|
|
|
|
<section id="view-story" hidden>
|
|
|
|
|
<div class="story-head">
|
|
|
|
|
<h1 id="story-title"></h1>
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
<button id="story-fork">fork this run</button>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<button id="story-back">back to the table</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="story"></div>
|
|
|
|
|
</section>
|
2026-11-14 03:15:53 +00:00
|
|
|
</main>
|
|
|
|
|
|
2026-11-14 09:04:13 +00:00
|
|
|
<aside id="play-aside">
|
2026-11-14 03:15:53 +00:00
|
|
|
<section id="status-pane">
|
2026-11-14 09:04:13 +00:00
|
|
|
<div class="pane-head">
|
2026-11-14 23:48:27 +00:00
|
|
|
<h2>her status</h2>
|
2026-11-14 09:04:13 +00:00
|
|
|
</div>
|
2026-11-14 23:48:27 +00:00
|
|
|
<div id="status"></div>
|
2026-11-14 03:15:53 +00:00
|
|
|
<div id="conflict" hidden></div>
|
|
|
|
|
</section>
|
2026-11-14 21:15:32 +00:00
|
|
|
<section id="agenda-pane">
|
|
|
|
|
<div class="pane-head">
|
|
|
|
|
<h2>her agenda</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="agenda"></div>
|
|
|
|
|
</section>
|
2026-11-14 09:04:13 +00:00
|
|
|
<section id="notes-pane">
|
|
|
|
|
<div class="pane-head">
|
|
|
|
|
<h2>gm notes</h2>
|
|
|
|
|
<span id="notes-state"></span>
|
|
|
|
|
</div>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<textarea id="gm-notes" placeholder="yours alone -- never sent to the model"></textarea>
|
2026-11-14 09:04:13 +00:00
|
|
|
</section>
|
2026-11-14 03:15:53 +00:00
|
|
|
<section id="housekeeping">
|
|
|
|
|
<h2>housekeeping</h2>
|
|
|
|
|
<div id="hk-state"></div>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<button id="hk-run" hidden>stop session</button>
|
|
|
|
|
<label id="hk-override-row" hidden><input type="checkbox" id="hk-override"> override: skip the unhousekept check</label>
|
|
|
|
|
<button id="session-open" hidden>start session</button>
|
|
|
|
|
<button id="hk-rerun" hidden title="a fresh pass over the finished predecessor -- the dormant session's rings are replaced">re-run housekeeping</button>
|
|
|
|
|
<button id="hk-replay" hidden title="run the housekeeper over a session log -- nothing applied">dry-run housekeeping</button>
|
2026-11-14 23:48:27 +00:00
|
|
|
<details id="hk-log" hidden><summary>session log</summary><pre id="hk-log-content"></pre></details>
|
2026-11-14 09:04:13 +00:00
|
|
|
<details id="hk-replay-log" hidden><summary>replay manifest</summary><pre id="hk-replay-content"></pre></details>
|
2026-11-14 03:15:53 +00:00
|
|
|
</section>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<section id="story-pane">
|
|
|
|
|
<h2>the story</h2>
|
|
|
|
|
<button id="story-link">read the story so far</button>
|
|
|
|
|
</section>
|
2026-11-14 20:01:15 +00:00
|
|
|
<section id="fork-pane">
|
|
|
|
|
<h2>fork</h2>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<p class="hint">a copy of this run -- yours to continue</p>
|
2026-11-14 20:01:15 +00:00
|
|
|
<button id="fork-btn">fork this run</button>
|
|
|
|
|
</section>
|
2026-11-14 23:48:27 +00:00
|
|
|
<section id="models-pane" hidden></section>
|
2026-11-14 03:15:53 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<footer>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<textarea id="gm-input" rows="2" placeholder="GM line -- Enter sends, Shift+Enter newlines" disabled></textarea>
|
|
|
|
|
<span id="busy" hidden>her turn...</span>
|
2026-11-14 03:15:53 +00:00
|
|
|
<button id="gm-send" disabled>send</button>
|
|
|
|
|
</footer>
|
|
|
|
|
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="banner" hidden></div>
|
|
|
|
|
<pre id="diag" hidden></pre>
|
|
|
|
|
|
2026-11-14 03:15:53 +00:00
|
|
|
<dialog id="ask-modal">
|
|
|
|
|
<h2>the player asks</h2>
|
|
|
|
|
<p id="ask-question"></p>
|
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
2026-11-15 14:35:00 +00:00
|
|
|
<textarea id="ask-answer" rows="3" placeholder="your ruling -- Enter sends"></textarea>
|
2026-11-14 03:15:53 +00:00
|
|
|
<button id="ask-send">answer</button>
|
|
|
|
|
</dialog>
|
|
|
|
|
|
|
|
|
|
<script type="module" src="/app.mjs"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|