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:
+5
-2
@@ -1,8 +1,9 @@
|
||||
// web/app.mjs — the SPA entry: view registration and boot.
|
||||
// web/app.mjs -- the SPA entry: view registration and boot.
|
||||
//
|
||||
// The SPA is strictly a client of the REST API. Path-routed views
|
||||
// (router.mjs): / (home: runs to pick up), /new (package picker),
|
||||
// /runs/<id>/setup (the editor; start = open session + send turn-0),
|
||||
// /runs/<id>/setup (the dormancy editor; start freezes the bundle and
|
||||
// consumes the carryover),
|
||||
// /runs/<id> (play). The server serves the shell for any
|
||||
// extensionless path.
|
||||
|
||||
@@ -15,6 +16,7 @@ import * as home from './view-home.mjs';
|
||||
import * as newRun from './view-new.mjs';
|
||||
import * as setup from './view-setup.mjs';
|
||||
import * as play from './view-play.mjs';
|
||||
import * as story from './view-story.mjs';
|
||||
|
||||
$('home-link').addEventListener('click', (e) => { e.preventDefault(); navigate('/'); });
|
||||
|
||||
@@ -24,6 +26,7 @@ registerViews({
|
||||
new: { el: 'view-new', enter: newRun.enter },
|
||||
setup: { el: 'view-setup', enter: setup.enter },
|
||||
play: { el: 'view-play', enter: play.enter, leave: play.leave },
|
||||
story: { el: 'view-story', enter: story.enter },
|
||||
});
|
||||
|
||||
// boot: restore the session from the stored token; a rejected or
|
||||
|
||||
Reference in New Issue
Block a user