spa modules and terminology: app.mjs split into flat es modules (router lifecycle, shared widgets, views own their state), mock smoke in test/; DICTIONARY.md rules the terms, four renames swept clean through the machinery - paper->status (run summary command is report now), window->session, wrap->housekeeping, context window->contwin; no dual-accepts by ruling, old data migrates once in the clerk (restore self-heals old dumps)

This commit is contained in:
2026-11-14 23:48:27 +00:00
parent 89a2c161b3
commit c51d31078e
36 changed files with 2643 additions and 1779 deletions
+7 -11
View File
@@ -56,7 +56,7 @@ header {
#home-link { color: var(--accent); text-decoration: none; font-weight: 600; letter-spacing: 0.04em; }
#home-link:hover { text-decoration: underline; }
#window-info { color: var(--dim); font-size: 13px; margin-left: auto; white-space: nowrap; }
#session-info { color: var(--dim); font-size: 13px; margin-left: auto; white-space: nowrap; }
#context-meter { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); visibility: hidden; }
body.play #context-meter { visibility: visible; }
@@ -131,7 +131,6 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
/* --- identity + admin --- */
#who { color: var(--dim); font-size: 13px; }
#logout-btn { font-size: 11px; padding: 1px 8px; color: var(--dim); }
#claim-form { max-width: 480px; }
@@ -162,7 +161,6 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
#models-pane .field { margin-bottom: 6px; }
#models-pane .field select { flex: 1; }
#models-pane button { width: 100%; margin-top: 4px; }
#pm-state { color: var(--dim); font-size: 11px; }
/* the naming form (new run) and the vars box (setup) */
#create-form { max-width: 560px; }
@@ -183,7 +181,7 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
margin: 0 0 10px; font-size: 11px; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--dim); font-weight: normal;
}
#setup-vars-state, #models-state { color: var(--dim); font-size: 12px; }
#setup-vars-state, .save-state { color: var(--dim); font-size: 12px; }
#setup-models .field select { flex: 1; }
/* --- setup: the editor --- */
@@ -323,15 +321,13 @@ body.play #play-aside { display: block; }
.pane-head h2 { flex: 1; margin: 4px 0 8px; }
.pane-head button { font-size: 11px; padding: 1px 8px; color: var(--dim); }
#paper { margin: 0; line-height: 1.5; }
#paper.empty { color: var(--dim); font-style: italic; }
#status { margin: 0; line-height: 1.5; }
#status.empty { color: var(--dim); font-style: italic; }
#agenda-pane { margin-top: 16px; }
#agenda { margin: 0; line-height: 1.5; }
#agenda.empty { color: var(--dim); font-style: italic; }
#agenda-editor textarea { width: 100%; resize: vertical; font: 13px/1.5 inherit; }
#paper-editor textarea { width: 100%; resize: vertical; font: 13px/1.5 inherit; }
.pane-editor textarea { width: 100%; resize: vertical; font: 13px/1.5 inherit; }
.pane-editor-actions { display: flex; gap: 6px; margin-top: 6px; }
.pane-editor-actions button { font-size: 12px; padding: 2px 12px; }
@@ -358,13 +354,13 @@ body.play #play-aside { display: block; }
#hk-log pre { white-space: pre-wrap; font-size: 12px; max-height: 40vh; overflow-y: auto; }
#housekeeping button { width: 100%; margin-top: 6px; }
#hk-override-wrap { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; }
#hk-override-row { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; }
/* --- footer (play) --- */
footer {
grid-area: footer;
display: flex; gap: 8px; padding: 10px 14px;
gap: 8px; padding: 10px 14px;
background: var(--panel); border-top: 1px solid var(--line);
display: none;
}