Refactor architecture into eight components and consolidate reliability work
Build and publish container images / images (push) Successful in 9m34s
Release container images / release (push) Successful in 36s

Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts.

Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation.

Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
This commit is contained in:
Anya Tokugawa committed 2026-11-01 15:23:31 +09:00
1 parent 9dd425f765
commit d5d21b7841
302 files changed
+20037 -3492

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
.wiki-command-bar[hidden],.wiki-command-suggestions[hidden]{display:none!important}
.wiki-command-bar{position:fixed;z-index:80;left:max(.65rem,env(safe-area-inset-left));bottom:max(.65rem,env(safe-area-inset-bottom));display:flex;align-items:center;gap:.4rem;box-sizing:border-box;width:min(34rem,calc(100vw - 1.3rem));padding:.35rem .55rem;border:1px solid var(--border);border-radius:.45rem;background:var(--input-bg,var(--bg));color:var(--fg);box-shadow:0 .2rem .7rem #0004;font: .9rem/1.4 monospace}
.wiki-command-bar:focus-within{border-color:var(--accent)}
.wiki-command-bar input{width:0;flex:1;min-width:0;padding:.35rem 0;border:0;background:transparent;color:inherit;font:inherit;outline:none}
.wiki-command-bar button{border:0;background:transparent;color:var(--link);padding:.2rem .4rem;font:inherit;cursor:pointer}
.wiki-command-bar small{position:absolute;bottom:100%;left:0;max-width:100%;background:var(--bg);color:var(--muted);font-size:.8rem;white-space:normal}
.wiki-command-bar small:empty{display:none}
.wiki-command-suggestions{position:absolute;bottom:calc(100% + 1.6rem);left:0;right:0;max-height:min(16rem,45vh);overflow:auto;background:var(--input-bg,var(--bg));border:1px solid var(--border);border-radius:.4rem}
.wiki-command-suggestions [role=option]{padding:.35rem .65rem;overflow-wrap:anywhere;cursor:pointer}
.wiki-command-suggestions [aria-selected=true]{background:var(--button-hover-bg);color:var(--link)}
@media(max-width:600px){.wiki-command-bar input{font-size:16px}.wiki-command-bar{width:calc(100vw - 1.3rem)}}
+7
View File
@@ -1,4 +1,11 @@
.mode-search .search-main{max-width:1200px;padding-top:1.1rem}
/* Keep navigation controls reachable without squeezing the mobile search
input into a zero-width gap between the brand and account icons. */
@media(max-width:700px){
.mode-search .topbar{flex-wrap:wrap;gap:.4rem;padding:.65rem}
.mode-search .topbar>.brand{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.mode-search .topbar>.topbar-search{order:2;flex:1 0 100%;max-width:none}
}
.mode-search .topbar-search{display:flex;align-items:center;gap:.4rem;flex:1;max-width:46rem;margin:0}.mode-search .topbar-search input{flex:1;min-width:0;width:auto;margin:0}.mode-search .topbar-search button{flex-shrink:0;margin:0;line-height:1;display:grid;place-items:center;padding:.55rem}.mode-search .topbar-search button svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8}
.mode-search .breadcrumb-bar{gap:1rem;margin-bottom:.4rem}
.mode-search .breadcrumb-bar h1{font-size:1.2rem;margin:0}
+9
View File
@@ -0,0 +1,9 @@
.theme-picker { position:relative; flex:none; margin-inline:.3rem; color:var(--fg); }
.theme-picker summary { display:grid; place-items:center; width:2rem; height:2rem; border-radius:50%; cursor:pointer; list-style:none; font-size:1.4rem; }
.theme-picker summary::-webkit-details-marker { display:none; }
.theme-picker summary:hover, .theme-picker summary:focus-visible { background:var(--button-hover-bg); outline:1px solid var(--border); }
.theme-picker-panel { position:absolute; z-index:100; right:0; top:calc(100% + .5rem); width:min(17rem,calc(100vw - 2rem)); box-sizing:border-box; padding:.8rem; background:var(--input-bg); color:var(--fg); border:1px solid var(--border); border-radius:.5rem; box-shadow:0 .4rem 1.2rem #0005; }
.theme-picker-panel label { display:grid; gap:.4rem; }
.theme-picker-panel select { width:100%; min-height:2.4rem; background:var(--input-bg); color:var(--input-fg); border:1px solid var(--input-border); }
.theme-picker-panel small { display:block; color:var(--muted); margin-top:.4rem; }
.theme-picker-panel [role="status"] { font-size:.85rem; color:var(--danger); }
+60
View File
@@ -16,17 +16,77 @@
--button-hover-bg: #222;
--danger: #ff6d6d;
--accent: #b077ff;
--editor-heading: #f2d278;
--editor-keyword: color-mix(in srgb, var(--accent) 55%, var(--fg));
--editor-type: #91d2f4;
--editor-string: #ade0b1;
--editor-number: #edc58c;
--editor-comment: #99a6b8;
--editor-selection: color-mix(in srgb, var(--accent) 26%, transparent);
--editor-caret: var(--link);
--scrollbar-track: color-mix(in srgb, var(--bg) 88%, var(--fg) 12%);
--scrollbar-thumb: color-mix(in srgb, var(--muted) 72%, var(--accent) 28%);
--scrollbar-thumb-hover: color-mix(in srgb, var(--muted) 38%, var(--accent) 62%);
}
/* Shared semantic tokens: CodeMirror editors, read-only file viewers and
projected HTML code blocks use the same palette, including live switches. */
.pw-syntax-heading{color:var(--editor-heading);font-weight:bold}
.pw-syntax-link{color:var(--link);text-decoration:underline}
.pw-syntax-emphasis{font-style:italic}.pw-syntax-strong{font-weight:bold}
.pw-syntax-keyword{color:var(--editor-keyword)}.pw-syntax-type{color:var(--editor-type)}
.pw-syntax-string{color:var(--editor-string)}.pw-syntax-number{color:var(--editor-number)}
.pw-syntax-comment{color:var(--editor-comment);font-style:italic}
.pw-syntax-variable{color:var(--editor-variable,var(--fg))}
.pw-syntax-function{color:var(--editor-function,var(--link))}
.pw-syntax-operator{color:var(--editor-operator,var(--editor-keyword))}
.pw-syntax-invalid{text-decoration:underline wavy var(--danger)}
html,
body {
background: var(--bg);
color: var(--fg);
}
/* Document code blocks share theme tokens across viewers and editor previews.
Keep overflow local: a long command must not widen the whole document. */
:where(.page-html, .periodical-body, .preview, #preview) pre {
box-sizing:border-box;
max-width:100%;
overflow:auto;
padding:.85rem 1rem;
border:1px solid var(--border);
border-inline-start:3px solid var(--accent);
border-radius:.35rem;
background:var(--code-bg,var(--input-bg));
color:var(--code-fg,var(--fg));
font: .9em/1.6 "JetBrains Mono", "Hack Nerd Font", monospace;
tab-size:4;
white-space:pre;
overscroll-behavior-inline:contain;
}
:where(.page-html, .periodical-body, .preview, #preview) pre code {
background:transparent;
color:inherit;
padding:0;
border:0;
font:inherit;
}
:where(.page-html, .periodical-body, .preview, #preview) :not(pre) > code {
padding:.1em .3em;
border-radius:.2em;
background:var(--code-bg,var(--input-bg));
color:var(--code-fg,var(--fg));
font-family:"JetBrains Mono", "Hack Nerd Font", monospace;
overflow-wrap:anywhere;
}
@media print {
:where(.page-html, .periodical-body, .preview, #preview) pre {
overflow:visible; white-space:pre-wrap; overflow-wrap:anywhere;
color:#000; background:#fff; border-color:#999;
}
}
/* Theme-aware global scrollbars. Firefox uses the standard properties;
Chromium/WebKit use the pseudo-elements below. */
* {
+6
View File
@@ -1,4 +1,10 @@
:root {
--editor-heading: #805600;
--editor-keyword: #8d2868;
--editor-type: #075b8b;
--editor-string: #27662f;
--editor-number: #854d0b;
--editor-comment: #586574;
--bg: #f8fbff;
--fg: #17253d;
--muted: #687b98;
+6
View File
@@ -1,4 +1,10 @@
:root {
--editor-heading: #805600;
--editor-keyword: #8d2868;
--editor-type: #075b8b;
--editor-string: #27662f;
--editor-number: #854d0b;
--editor-comment: #586574;
--bg: #f7f7f7;
--fg: #202020;
--muted: #666;
+6
View File
@@ -1,4 +1,10 @@
:root {
--editor-heading: #805600;
--editor-keyword: #8d2868;
--editor-type: #075b8b;
--editor-string: #27662f;
--editor-number: #854d0b;
--editor-comment: #586574;
--bg: #fffaf4;
--fg: #30241d;
--muted: #806d61;
+6
View File
@@ -1,4 +1,10 @@
:root {
--editor-heading: #805600;
--editor-keyword: #8d2868;
--editor-type: #075b8b;
--editor-string: #27662f;
--editor-number: #854d0b;
--editor-comment: #586574;
--bg: #fdf6e3;
--fg: #586e75;
--muted: #839496;