The showcase prompt, Gemini 4 Argon

agent (cont.)

+0:59
  • write_file{"Content":"<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"citadel\">\n<head>\n<meta charset=\"UTF-8\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n<title>CITADEL // Severian's Multi-Model Orchestration & Capability Surface</title>\n<style>\n :root, [data-theme=\"citadel\"] {\n --bg-0: #090a0c;\n --bg-1: #101216;\n --bg-2: #171a20;\n --bg-3: #20242d;\n --ink-0: #f3f0e6;\n --ink-1: #b8b4a8;\n --ink-2: #76746d;\n --accent: #ff5500;\n --accent-2: #b8ff01;\n --accent-3: #00e5ff;\n --accent-4: #b388ff;\n --accent-5: #ffb300;\n --danger: #ff2a55;\n --ok: #00e676;\n --border: #2a2f3a;\n --border-strong: #3e4554;\n --grid-line: rgba(243, 240, 230, 0.04);\n --decal-bg: rgba(255, 85, 0, 0.11);\n --shadow: 0 20px 50px rgba(0, 0, 0, 0.65);\n --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;\n --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;\n }\n\n [data-theme=\"bloom\"] {\n --bg-0: #09130f;\n --bg-1: #0f1f19;\n --bg-2: #162b23;\n --bg-3: #1f3b30;\n --ink-0: #eef7f1;\n --ink-1: #a7c4b5;\n --ink-2: #698a7a;\n --accent: #3dff98;\n --accent-2: #f4d06f;\n --accent-3: #64dfdf;\n --accent-4: #ff8fa3;\n --accent-5: #ffd166;\n --danger: #ff5c77;\n --ok: #3dff98;\n --border: #254639;\n --border-strong: #396a57;\n --grid-line: rgba(61, 255, 152, 0.05);\n --decal-bg: rgba(61, 255, 152, 0.1);\n }\n\n [data-theme=\"hearthwynd\"] {\n --bg-0: #120d0b;\n --bg-1: #1c1411;\n --bg-2: #271c17;\n --bg-3: #352620;\n --ink-0: #faede3;\n --ink-1: #cbb2a1;\n --ink-2: #8a7262;\n --accent: #ff7733;\n --accent-2: #ffcc4d;\n --accent-3: #ff9e7d;\n --accent-4: #e07a5f;\n --accent-5: #f2cc8f;\n --danger: #ff4747;\n --ok: #52b788;\n --border: #3d2c24;\n --border-strong: #5c4236;\n --grid-line: rgba(255, 119, 51, 0.05);\n --decal-bg: rgba(255, 119, 51, 0.12);\n }\n\n [data-theme=\"baldanders\"] {\n --bg-0: #111110;\n --bg-1: #191917;\n --bg-2: #22221f;\n --bg-3: #2d2d29;\n --ink-0: #eae6df;\n --ink-1: #a6a29a;\n --ink-2: #6e6b64;\n --accent: #eae6df;\n --accent-2: #ff3b30;\n --accent-3: #d4af37;\n --accent-4: #a8a29e;\n --accent-5: #ff9500;\n --danger: #ff3b30;\n --ok: #34c759;\n --border: #33332e;\n --border-strong: #4d4d46;\n --grid-line: rgba(234, 230, 223, 0.04);\n --decal-bg: rgba(255, 59, 48, 0.12);\n }\n\n * {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n }\n\n body {\n background: var(--bg-0);\n color: var(--ink-0);\n font-family: var(--font-sans);\n line-height: 1.45;\n -webkit-font-smoothing: antialiased;\n overflow-x: hidden;\n padding: 12px;\n background-image:\n linear-gradient(to right, var(--grid-line) 1px, transparent 1px),\n linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);\n background-size: 24px 24px;\n }\n\n /* Main Container */\n .citadel-shell {\n max-width: 1220px;\n margin: 0 auto;\n background: var(--bg-1);\n border: 1px solid var(--border-strong);\n box-shadow: var(--shadow);\n position: relative;\n overflow: hidden;\n transition: background 0.25s ease, border-color 0.25s ease;\n }\n\n /* Corner Registration Marks (Decal-Pack Language) */\n .reg-mark {\n position: absolute;\n width: 10px;\n height: 10px;\n pointer-events: none;\n z-index: 30;\n }\n .reg-mark::before, .reg-mark::after {\n content: '';\n position: absolute;\n background: var(--accent);\n }\n .reg-mark::before { width: 10px; height: 1.5px; top: 4px; left: 0; }\n .reg-mark::after { width: 1.5px; height: 10px; top: 0; left: 4px; }\n .reg-tl { top: 6px; left: 6px; }\n .reg-tr { top: 6px; right: 6px; }\n .reg-bl { bottom: 6px; left: 6px; }\n .reg-br { bottom: 6px; right: 6px; }\n\n /* Astra Redline Critique Overlay Mode */\n .citadel-shell.astra-critique-on {\n outline: 1px dashed var(--accent-3);\n }\n .astra-badge-overlay {\n display: none;\n position: absolute;\n z-index: 40;\n pointer-events: none;\n font-family: var(--font-mono);\n font-size: 10px;\n line-height: 1.2;\n padding: 3px 6px;\n background: rgba(0, 229, 255, 0.14);\n border: 1px solid var(--accent-3);\n color: var(--accent-3);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n white-space: nowrap;\n backdrop-filter: blur(4px);\n }\n .citadel-shell.astra-critique-on .astra-badge-overlay {\n display: block;\n }\n .citadel-shell.astra-critique-on .panel-box {\n box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.22);\n }\n\n /* Top Decal & Telemetry Strip */\n .top-decal-bar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n padding: 8px 16px;\n background: var(--bg-0);\n border-bottom: 1px solid var(--border);\n font-family: var(--font-mono);\n font-size: 11px;\n }\n\n .decal-left {\n display: flex;\n align-items: center;\n gap: 10px;\n flex-wrap: wrap;\n }\n\n .hazard-pill {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 2px 8px;\n background: var(--accent);\n color: #090a0c;\n font-weight: 800;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n font-size: 10px;\n clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));\n }\n\n .status-dot {\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: var(--ok);\n box-shadow: 0 0 8px var(--ok);\n display: inline-block;\n animation: pulseDot 2s infinite;\n }\n\n @keyframes pulseDot {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.45; transform: scale(0.88); }\n }\n\n .tele-item {\n color: var(--ink-1);\n display: inline-flex;\n align-items: center;\n gap: 5px;\n }\n .tele-item strong {\n color: var(--ink-0);\n font-weight: 600;\n }\n\n .decal-controls {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n }\n\n .mini-btn {\n background: var(--bg-2);\n color: var(--ink-1);\n border: 1px solid var(--border);\n padding: 3px 8px;\n font-family: var(--font-mono);\n font-size: 10px;\n cursor: pointer;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n transition: all 0.15s ease;\n }\n .mini-btn:hover {\n color: var(--ink-0);\n border-color: var(--accent);\n }\n .mini-btn.active {\n background: var(--decal-bg);\n color: var(--accent);\n border-color: var(--accent);\n font-weight: 700;\n }\n\n /* Desktop Buddies Interactive Track */\n .buddy-rail {\n position: relative;\n height: 34px;\n background: linear-gradient(90deg, var(--bg-0) 0%, var(--bg-2) 50%, var(--bg-0) 100%);\n border-bottom: 1px solid var(--border);\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 16px;\n overflow: hidden;\n user-select: none;\n }\n #buddy-canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n }\n .buddy-hud {\n position: relative;\n z-index: 2;\n pointer-events: none;\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n font-family: var(--font-mono);\n font-size: 10px;\n color: var(--ink-2);\n }\n .buddy-hud-actions {\n pointer-events: auto;\n display: flex;\n gap: 6px;\n align-items: center;\n }\n .buddy-speech {\n background: var(--bg-0);\n border: 1px solid var(--accent-2);\n color: var(--accent-2);\n padding: 1px 8px;\n font-size: 10px;\n border-radius: 2px;\n transition: opacity 0.2s;\n }\n\n /* Hero Section */\n .hero-header {\n padding: 18px 20px 14px;\n border-bottom: 1px solid var(--border);\n display: grid;\n grid-template-columns: 1fr auto;\n gap: 16px;\n align-items: end;\n position: relative;\n }\n @media (max-width: 860px) {\n .hero-header {\n grid-template-columns: 1fr;\n }\n }\n\n .eyebrow {\n font-family: var(--font-mono);\n font-size: 11px;\n color: var(--accent);\n text-transform: uppercase;\n letter-spacing: 0.1em;\n margin-bottom: 5px;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n .eyebrow span.code-tag {\n background: var(--decal-bg);\n border: 1px solid var(--accent);\n padding: 1px 6px;\n font-size: 10px;\n }\n\n .hero-title {\n font-family: var(--font-display);\n font-size: clamp(22px, 3.1vw, 34px);\n font-weight: 800;\n letter-spacing: -0.025em;\n line-height: 1.08;\n color: var(--ink-0);\n margin-bottom: 8px;\n }\n .hero-title .hl {\n color: var(--accent);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-underline-offset: 4px;\n }\n\n .hero-sub {\n color: var(--ink-1);\n font-size: 13.5px;\n max-width: 780px;\n line-height: 1.5;\n }\n .hero-sub strong {\n color: var(--ink-0);\n }\n\n .hero-stats {\n display: grid;\n grid-template-columns: repeat(4, auto);\n gap: 8px;\n font-family: var(--font-mono);\n }\n @media (max-width: 600px) {\n .hero-stats {\n grid-template-columns: repeat(2, 1fr);\n }\n }\n .stat-card {\n background: var(--bg-0);\n border: 1px solid var(--border);\n padding: 8px 11px;\n min-width: 92px;\n position: relative;\n }\n .stat-card::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 3px;\n height: 100%;\n background: var(--accent);\n }\n .stat-val {\n font-size: 17px;\n font-weight: 800;\n color: var(--ink-0);\n line-height: 1.1;\n }\n .stat-lbl {\n font-size: 9.5px;\n color: var(--ink-2);\n text-transform: uppercase;\n letter-spacing: 0.05em;\n margin-top: 2px;\n }\n\n /* Navigation Mode Tabs */\n .mode-nav {\n display: flex;\n background: var(--bg-0);\n border-bottom: 1px solid var(--border);\n overflow-x: auto;\n }\n .mode-tab {\n flex: 1;\n min-width: 175px;\n background: transparent;\n border: none;\n border-right: 1px solid var(--border);\n padding: 11px 14px;\n color: var(--ink-1);\n font-family: var(--font-mono);\n font-size: 11px;\n text-align: left;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: all 0.15s ease;\n position: relative;\n }\n .mode-tab:last-child {\n border-right: none;\n }\n .mode-tab:hover {\n background: var(--bg-2);\n color: var(--ink-0);\n }\n .mode-tab.active {\n background: var(--bg-1);\n color: var(--ink-0);\n font-weight: 700;\n }\n .mode-tab.active::after {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 2.5px;\n background: var(--accent);\n }\n .tab-num {\n color: var(--accent);\n font-weight: 700;\n margin-right: 6px;\n }\n .tab-pill {\n font-size: 9px;\n padding: 1px 5px;\n background: var(--bg-3);\n color: var(--ink-1);\n border-radius: 2px;\n }\n .mode-tab.active .tab-pill {\n background: var(--decal-bg);\n color: var(--accent);\n }\n\n /* Main Workspace Grid */\n .workspace-deck {\n display: none;\n }\n .workspace-deck.active {\n display: block;\n }\n\n .deck-split {\n display: grid;\n grid-template-columns: 1.08fr 0.92fr;\n min-height: 510px;\n }\n @media (max-width: 960px) {\n .deck-split {\n grid-template-columns: 1fr;\n }\n }\n\n .panel-box {\n padding: 16px;\n border-right: 1px solid var(--border);\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n .panel-box:last-child {\n border-right: none;\n }\n\n .panel-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n padding-bottom: 8px;\n border-bottom: 1px solid var(--border);\n font-family: var(--font-mono);\n font-size: 11px;\n }\n .panel-title {\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 0.06em;\n color: var(--ink-0);\n display: flex;\n align-items: center;\n gap: 7px;\n }\n .panel-title::before {\n content: '■';\n color: var(--accent);\n font-size: 10px;\n }\n\n /* Interactive Topology Map + Roster Cards */\n .topology-stage {\n position: relative;\n background: var(--bg-0);\n border: 1px solid var(--border);\n height: 215px;\n margin-bottom: 12px;\n overflow: hidden;\n }\n #topology-canvas {\n width: 100%;\n height: 100%;\n display: block;\n cursor: pointer;\n }\n .topo-overlay-controls {\n position: absolute;\n bottom: 8px;\n right: 8px;\n display: flex;\n gap: 6px;\n z-index: 5;\n }\n .topo-legend {\n position: absolute;\n top: 8px;\n left: 10px;\n font-family: var(--font-mono);\n font-size: 10px;\n color: var(--ink-2);\n pointer-events: none;\n display: flex;\n gap: 12px;\n }\n\n /* Model Roster Grid */\n .roster-grid {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 8px;\n }\n @media (max-width: 560px) {\n .roster-grid {\n grid-template-columns: 1fr;\n }\n }\n\n .model-card {\n background: var(--bg-0);\n border: 1px solid var(--border);\n padding: 10px 12px;\n cursor: pointer;\n transition: all 0.16s ease;\n position: relative;\n text-align: left;\n }\n .model-card:hover {\n border-color: var(--ink-2);\n transform: translateY(-1px);\n }\n .model-card.selected {\n background: var(--bg-2);\n border-color: var(--accent);\n box-shadow: inset 3px 0 0 var(--accent);\n }\n .mc-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 4px;\n font-family: var(--font-mono);\n }\n .mc-name {\n font-size: 12.5px;\n font-weight: 800;\n color: var(--ink-0);\n display: flex;\n align-items: center;\n gap: 6px;\n }\n .mc-dot {\n width: 7px;\n height: 7px;\n border-radius: 50%;\n display: inline-block;\n }\n .mc-badge {\n font-size: 9px;\n padding: 1px 5px;\n border: 1px solid var(--border-strong);\n color: var(--ink-1);\n text-transform: uppercase;\n }\n .mc-role {\n font-family: var(--font-mono);\n font-size: 10px;\n color: var(--accent);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n margin-bottom: 4px;\n }\n .mc-desc {\n font-size: 11.5px;\n color: var(--ink-1);\n line-height: 1.38;\n }\n\n /* Right-Hand Live Capability Workbench */\n .workbench-container {\n flex: 1;\n display: flex;\n flex-direction: column;\n background: var(--bg-0);\n border: 1px solid var(--border);\n padding: 14px;\n position: relative;\n }\n\n .wb-header {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: 10px;\n padding-bottom: 10px;\n margin-bottom: 12px;\n border-bottom: 1px dashed var(--border-strong);\n }\n .wb-title {\n font-family: var(--font-display);\n font-size: 16px;\n font-weight: 800;\n color: var(--ink-0);\n }\n .wb-subtitle {\n font-family: var(--font-mono);\n font-size: 10.5px;\n color: var(--accent);\n margin-top: 2px;\n }\n .wb-tag {\n font-family: var(--font-mono);\n font-size: 10px;\n padding: 3px 7px;\n background: var(--decal-bg);\n border: 1px solid var(--accent);\n color: var(--accent);\n white-space: nowrap;\n }\n\n /* Workbench Views */\n .wb-view {\n display: none;\n flex-direction: column;\n gap: 10px;\n flex: 1;\n }\n .wb-view.active {\n display: flex;\n }\n\n /* Claviger Triage Workbench */\n .discord-input-row {\n display: flex;\n gap: 6px;\n }\n .discord-input {\n flex: 1;\n background: var(--bg-1);\n border: 1px solid var(--border-strong);\n color: var(--ink-0);\n padding: 7px 10px;\n font-family: var(--font-mono);\n font-size: 11.5px;\n }\n .discord-input:focus {\n outline: none;\n border-color: var(--accent);\n }\n .preset-chips {\n display: flex;\n flex-wrap: wrap;\n gap: 5px;\n }\n .chip-btn {\n background: var(--bg-2);\n border: 1px solid var(--border);\n color: var(--ink-1);\n font-family: var(--font-mono);\n font-size: 10px;\n padding: 3px 7px;\n cursor: pointer;\n transition: all 0.12s;\n }\n .chip-btn:hover {\n border-color: var(--accent);\n color: var(--ink-0);\n }\n .logit-bars {\n display: flex;\n flex-direction: column;\n gap: 6px;\n background: var(--bg-1);\n border: 1px solid var(--border);\n padding: 10px;\n }\n .logit-row {\n display: grid;\n grid-template-columns: 155px 1fr 48px;\n align-items: center;\n gap: 8px;\n font-family: var(--font-mono);\n font-size: 10.5px;\n }\n .logit-track {\n height: 8px;\n background: var(--bg-3);\n overflow: hidden;\n position: relative;\n }\n .logit-fill {\n height: 100%;\n background: var(--accent);\n transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .code-output {\n font-family: var(--font-mono);\n font-size: 10.5px;\n background: #060708;\n border: 1px solid var(--border);\n padding: 9px 11px;\n color: var(--ink-1);\n line-height: 1.45;\n overflow-x: auto;\n }\n\n /* Fable 5.2 3D Canvas Workbench */\n .canvas-3d-wrap {\n position: relative;\n height: 210px;\n background: #060709;\n border: 1px solid var(--border-strong);\n overflow: hidden;\n }\n #fable-3d-canvas {\n width: 100%;\n height: 100%;\n display: block;\n cursor: grab;\n }\n #fable-3d-canvas:active {\n cursor: grabbing;\n }\n .canvas-3d-hud {\n position: absolute;\n top: 8px;\n left: 8px;\n right: 8px;\n display: flex;\n justify-content: space-between;\n pointer-events: none;\n font-family: var(--font-mono);\n font-size: 10px;\n color: var(--ink-1);\n }\n .canvas-3d-controls {\n position: absolute;\n bottom: 8px;\n left: 8px;\n right: 8px;\n display: flex;\n justify-content: space-between;\n gap: 5px;\n flex-wrap: wrap;\n }\n\n /* GPT-6.1-Sol Claim vs Code Auditor */\n .audit-split {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n }\n @media (max-width: 580px) {\n .audit-split {\n grid-template-columns: 1fr;\n }\n }\n .audit-col {\n background: var(--bg-1);\n border: 1px solid var(--border);\n padding: 8px;\n font-family: var(--font-mono);\n font-size: 10.5px;\n }\n .audit-col-title {\n font-size: 10px;\n color: var(--ink-2);\n text-transform: uppercase;\n margin-bottom: 6px;\n padding-bottom: 4px;\n border-bottom: 1px solid var(--border);\n }\n .claim-item {\n padding: 6px 7px;\n border: 1px solid var(--border);\n margin-bottom: 5px;\n cursor: pointer;\n background: var(--bg-0);\n transition: all 0.15s;\n }\n .claim-item:hover, .claim-item.active {\n border-color: var(--accent);\n }\n .claim-item.pass {\n border-left: 3px solid var(--ok);\n }\n .claim-item.fail {\n border-left: 3px solid var(--danger);\n background: rgba(255, 42, 85, 0.07);\n }\n\n /* Mode 2: Private Review Page & Step-by-Step Pipeline Replay */\n .review-surface-grid {\n display: grid;\n grid-template-columns: 310px 1fr;\n min-height: 510px;\n }\n @media (max-width: 900px) {\n .review-surface-grid {\n grid-template-columns: 1fr;\n }\n }\n .pipeline-steps {\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n .pipe-step {\n background: var(--bg-0);\n border: 1px solid var(--border);\n padding: 9px 11px;\n font-family: var(--font-mono);\n font-size: 11px;\n cursor: pointer;\n position: relative;\n transition: all 0.15s;\n }\n .pipe-step.active {\n border-color: var(--accent);\n background: var(--bg-2);\n box-shadow: inset 3px 0 0 var(--accent);\n }\n .pipe-step.done {\n border-left: 3px solid var(--ok);\n }\n .ps-top {\n display: flex;\n justify-content: space-between;\n color: var(--ink-0);\n font-weight: 700;\n margin-bottom: 3px;\n }\n .ps-sub {\n font-size: 10px;\n color: var(--ink-1);\n font-family: var(--font-sans);\n }\n\n .approve-bar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 10px;\n padding: 12px 14px;\n background: var(--bg-2);\n border: 1px solid var(--border-strong);\n margin-top: auto;\n }\n .action-btn {\n padding: 8px 14px;\n font-family: var(--font-mono);\n font-size: 11px;\n font-weight: 800;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n border: 1px solid transparent;\n cursor: pointer;\n transition: all 0.15s;\n }\n .btn-approve {\n background: var(--ok);\n color: #060807;\n }\n .btn-approve:hover {\n filter: brightness(1.12);\n box-shadow: 0 0 15px rgba(0, 230, 118, 0.4);\n }\n .btn-reject {\n background: transparent;\n border-color: var(--danger);\n color: var(--danger);\n }\n .btn-reject:hover {\n background: rgba(255, 42, 85, 0.12);\n }\n\n /* Mode 3: Scene Convert & Capability Lab */\n .lab-grid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 14px;\n padding: 16px;\n }\n @media (max-width: 860px) {\n .lab-grid {\n grid-template-columns: 1fr;\n }\n }\n .lab-card {\n background: var(--bg-0);\n border: 1px solid var(--border);\n padding: 14px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n\n /* Mode 4: Public Projects Matrix */\n .projects-matrix {\n padding: 16px;\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 10px;\n }\n @media (max-width: 900px) {\n .projects-matrix {\n grid-template-columns: repeat(2, 1fr);\n }\n }\n @media (max-width: 580px) {\n .projects-matrix {\n grid-template-columns: 1fr;\n }\n }\n .proj-card {\n background: var(--bg-0);\n border: 1px solid var(--border);\n padding: 12px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n gap: 8px;\n cursor: pointer;\n transition: all 0.15s;\n position: relative;\n }\n .proj-card:hover, .proj-card.active {\n border-color: var(--accent);\n background: var(--bg-2);\n }\n .proj-url {\n font-family: var(--font-mono);\n font-size: 10px;\n color: var(--accent);\n }\n .proj-name {\n font-family: var(--font-display);\n font-size: 15px;\n font-weight: 800;\n color: var(--ink-0);\n }\n .proj-desc {\n font-size: 12px;\n color: var(--ink-1);\n line-height: 1.4;\n }\n .proj-models {\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n margin-top: 4px;\n }\n .pm-tag {\n font-family: var(--font-mono);\n font-size: 9.5px;\n padding: 1px 5px;\n background: var(--bg-1);\n border: 1px solid var(--border-strong);\n color: var(--ink-1);\n }\n\n /* Bottom Baldanders Redacted Transcript Stream */\n .baldanders-strip {\n background: #070809;\n border-top: 1px solid var(--border-strong);\n padding: 10px 16px;\n font-family: var(--font-mono);\n font-size: 11px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n flex-wrap: wrap;\n }\n .redact-stream {\n flex: 1;\n color: var(--ink-1);\n overflow: hidden;\n min-width: 260px;\n }\n .redact-block {\n background: var(--ink-0);\n color: transparent;\n padding: 0 4px;\n border-radius: 1px;\n cursor: pointer;\n transition: all 0.18s ease;\n user-select: none;\n }\n .redact-block:hover,\n .declassified .redact-block,\n [data-theme=\"baldanders\"] .redact-block:hover {\n background: rgba(255, 85, 0, 0.2);\n color: var(--accent-2);\n border-bottom: 1px dashed var(--accent-2);\n }\n\n /* Embed Snippet Modal / Drawer */\n .embed-drawer {\n display: none;\n background: var(--bg-0);\n border-top: 1px solid var(--accent);\n padding: 12px 16px;\n font-family: var(--font-mono);\n font-size: 11px;\n }\n .embed-drawer.open {\n display: block;\n }\n</style>\n</head>\n<body>\n\n<div class=\"citadel-shell\" id=\"citadel-root\">\n <!-- Corner Registration Marks -->\n <div class=\"reg-mark reg-tl\"></div>\n <div class=\"reg-mark reg-tr\"></div>\n <div class=\"reg-mark reg-bl\"></div>\n <div class=\"reg-mark reg-br\"></div>\n\n <!-- GPT-6-Astra Critique Overlays (Visible when Astra Critique is toggled ON) -->\n <div class=\"astra-badge-overlay\" style=\"top: 44px; right: 24px;\">\n ASTRA CRITIQUE // CONTRAST 15.8:1 (AAA) · DECAL WEIGHT BALANCED\n </div>\n <div class=\"astra-badge-overlay\" style=\"top: 155px; left: 24px;\">\n ASTRA // 24PX BASELINE GRID LOCKED · OPTICAL TRACKING -0.025EM\n </div>\n <div class=\"astra-badge-overlay\" style=\"bottom: 52px; right: 28px;\">\n ASTRA DATASET TAG // #UI-TELEMETRY-V4 · 18 REGRESSION SNAPSHOTS PASS\n </div>\n\n <!-- Top Decal Telemetry Bar -->\n <div class=\"top-decal-bar\">\n <div class=\"decal-left\">\n <span class=\"hazard-pill\"><span class=\"status-dot\"></span> CITADEL // LIVE</span>\n <span class=\"tele-item\">OPERATOR: <strong>SEVERIAN</strong></span>\n <span class=\"tele-item\">SESSIONS: <strong id=\"hdr-sessions\">08 ACTIVE</strong></span>\n <span class=\"tele-item\">GATE: <strong>CLAVIGER (Laya-421M)</strong></span>\n <span class=\"tele-item\">SIGN-OFF: <strong>HUMAN-ONLY</strong></span>\n </div>\n <div class=\"decal-controls\">\n <button class=\"mini-btn active\" onclick=\"setTheme('citadel', this)\">DECAL: CITADEL</button>\n <button class=\"mini-btn\" onclick=\"setTheme('bloom', this)\">INTO BLOOM</button>\n <button class=\"mini-btn\" onclick=\"setTheme('hearthwynd', this)\">HEARTHWYND</button>\n <button class=\"mini-btn\" onclick=\"setTheme('baldanders', this)\">BALDANDERS</button>\n <button class=\"mini-btn\" id=\"astra-toggle-btn\" onclick=\"toggleAstraCritique()\">ASTRA REDLINE: OFF</button>\n <button class=\"mini-btn\" id=\"audio-toggle-btn\" onclick=\"toggleAudio()\">SYNTH: OFF</button>\n <button class=\"mini-btn\" onclick=\"toggleEmbedDrawer()\">&lt;/&gt; EMBED</button>\n </div>\n </div>\n\n <!-- Interactive Desktop Buddies Track -->\n <div class=\"buddy-rail\" title=\"Click on the track to interact with Desktop Buddies!\">\n <canvas id=\"buddy-canvas\"></canvas>\n <div class=\"buddy-hud\">\n <span>PROJECT // <strong>DESKTOP BUDDIES</strong> (OSS PET MAKER) — CLICK RAIL TO DISPATCH BUDDY</span>\n <div class=\"buddy-hud-actions\">\n <span class=\"buddy-speech\" id=\"buddy-speech\">TALOS-01: \"Patrolling 8 Claude Code sessions...\"</span>\n <button class=\"mini-btn\" onclick=\"spawnBuddy()\">+ SPAWN BUDDY</button>\n </div>\n </div>\n </div>\n\n <!-- Hero Thesis Banner -->\n <header class=\"hero-header\">\n <div>\n <div class=\"eyebrow\">\n <span class=\"code-tag\">FAQ // MODEL STACK</span>\n <span>CITADEL.SEVERIAN.DEV · TALOS · BALDANDERS · AVALON</span>\n </div>\n <h1 class=\"hero-title\">\n I DON'T USE A MODEL. <span class=\"hl\">I RUN A CITADEL.</span>\n </h1>\n <p class=\"hero-sub\">\n Many concurrent sessions run on my own machines. Each session owns one project; a lead session coordinates them across a <strong>shared to-do ledger</strong>. A <strong>421M open-weights gatekeeper</strong> triages incoming Discord traffic, <strong>five frontier models</strong> build, rebase, design, critique, and audit claims against code—and they stage everything on <strong>private review pages</strong>. <strong>I approve every deploy and every public post.</strong>\n </p>\n </div>\n <div class=\"hero-stats\">\n <div class=\"stat-card\">\n <div class=\"stat-val\" id=\"stat-models\">06</div>\n <div class=\"stat-lbl\">Specialized Models</div>\n </div>\n <div class=\"stat-card\">\n <div class=\"stat-val\" id=\"stat-projects\">09</div>\n <div class=\"stat-lbl\">Public Shipped Works</div>\n </div>\n <div class=\"stat-card\">\n <div class=\"stat-val\" id=\"stat-triage\">0.8ms</div>\n <div class=\"stat-lbl\">Claviger-421M Gate</div>\n </div>\n <div class=\"stat-card\">\n <div class=\"stat-val\" id=\"stat-deploys\">100%</div>\n <div class=\"stat-lbl\">Human Gate Signed</div>\n </div>\n </div>\n </header>\n\n <!-- Mode Navigation -->\n <nav class=\"mode-nav\" role=\"tablist\">\n <button class=\"mode-tab active\" onclick=\"switchMode('topology', this)\">\n <span><span class=\"tab-num\">01</span>CITADEL TOPOLOGY &amp; LIVE WORKBENCH</span>\n <span class=\"tab-pill\">6 MODELS</span>\n </button>\n <button class=\"mode-tab\" onclick=\"switchMode('review', this)\">\n <span><span class=\"tab-num\">02</span>PRIVATE REVIEW PAGE SIMULATOR</span>\n <span class=\"tab-pill\">STEP IN AS SEVERIAN</span>\n </button>\n <button class=\"mode-tab\" onclick=\"switchMode('sandbox', this)\">\n <span><span class=\"tab-num\">03</span>3D PIPELINE &amp; SCENE CONVERT LAB</span>\n <span class=\"tab-pill\">INTERACTIVE</span>\n </button>\n <button class=\"mode-tab\" onclick=\"switchMode('projects', this)\">\n <span><span class=\"tab-num\">04</span>PUBLIC ARTIFACTS &amp; LEDGER (9)</span>\n <span class=\"tab-pill\">ALL PUBLIC</span>\n </button>\n </nav>\n\n <!-- ===================================================================== -->\n <!-- MODE 01: TOPOLOGY & LIVE CAPABILITY WORKBENCH -->\n <!-- ===================================================================== -->\n <section class=\"workspace-deck active\" id=\"mode-topology\">\n <div class=\"deck-split\">\n <!-- Left Column: Live Circuit & Model Roster -->\n <div class=\"panel-box\">\n <div>\n <div class=\"panel-header\">\n <span class=\"panel-title\">LIVE CITADEL SIGNAL BUS // CLICK ANY NODE TO INSPECT &amp; TEST</span>\n <span style=\"color:var(--accent-2);\" id=\"bus-status\">BUS: STREAMING 60FPS</span>\n </div>\n\n <div class=\"topology-stage\">\n <canvas id=\"topology-canvas\"></canvas>\n <div class=\"topo-legend\">\n <span>● INGRESS: DISCORD</span>\n <span>◆ LEDGER: SHARED TO-DO</span>\n <span>■ GATE: PRIVATE REVIEW PAGE</span>\n </div>\n <div class=\"topo-overlay-controls\">\n <button class=\"mini-btn active\" onclick=\"triggerTaskBurst()\">⚡ DISPATCH LIVE TASK BURST</button>\n </div>\n </div>\n\n <div class=\"roster-grid\" id=\"roster-cards\">\n <!-- Opus 5.5 -->\n <div class=\"model-card selected\" data-model=\"opus\" onclick=\"selectModel('opus', this)\">\n <div class=\"mc-top\">\n <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#ff5500\"></span>Opus 5.5</span>\n <span class=\"mc-badge\">CLAUDE CODE · LEAD</span>\n </div>\n <div class=\"mc-role\">Lead Coordinator &amp; Primary Project Sessions</div>\n <div class=\"mc-desc\">Coordinates the shared ledger, owns project sessions, builds sites, tools &amp; server kits, and stages review pages.</div>\n </div>\n\n <!-- Claviger Laya-421M -->\n <div class=\"model-card\" data-model=\"claviger\" onclick=\"selectModel('claviger', this)\">\n <div class=\"mc-top\">\n <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#b8ff01\"></span>Claviger (Laya-421M)</span>\n <span class=\"mc-badge\">HF OPEN-WEIGHTS</span>\n </div>\n <div class=\"mc-role\">Discord Triage Gatekeeper (finis-est)</div>\n <div class=\"mc-desc\">Small open-weights model (`Laya-421M-Claviger-v0`) that triages incoming Discord messages for agents before waking sessions.</div>\n </div>\n\n <!-- Fable 5.2 -->\n <div class=\"model-card\" data-model=\"fable\" onclick=\"selectModel('fable', this)\">\n <div class=\"mc-top\">\n <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#b388ff\"></span>Fable 5.2</span>\n <span class=\"mc-badge\">DESIGN + 3D</span>\n </div>\n <div class=\"mc-role\">Design Collaborator, Visual Language &amp; 3D</div>\n <div class=\"mc-desc\">Co-created the decal-pack visual language, Avalon community site redesigns, 3D pipeline experiments, and idea reviews.</div>\n </div>\n\n <!-- GPT-6-Astra -->\n <div class=\"model-card\" data-model=\"astra\" onclick=\"selectModel('astra', this)\">\n <div class=\"mc-top\">\n <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#00e5ff\"></span>GPT-6-Astra</span>\n <span class=\"mc-badge\">VIA CODEX</span>\n </div>\n <div class=\"mc-role\">Every Design Critique &amp; Test Data Labeler</div>\n <div class=\"mc-desc\">Runs every design critique across review surfaces, plus writes and labels structured evaluation &amp; training test data.</div>\n </div>\n\n <!-- GPT-6.1-Sol -->\n <div class=\"model-card\" data-model=\"sol\" onclick=\"selectModel('sol', this)\">\n <div class=\"mc-top\">\n <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#ffb300\"></span>GPT-6.1-Sol</span>\n <span class=\"mc-badge\">VIA CODEX</span>\n </div>\n <div class=\"mc-role\">Adversarial Claim-vs-Code Verifier</div>\n <div class=\"mc-desc\">Audits code and deployment kits specifically against the claims they make—catching drift before Severian reviews.</div>\n </div>\n\n <!-- Sonnet 5.5 -->\n <div class=\"model-card\" data-model=\"sonnet\" onclick=\"selectModel('sonnet', this)\">\n <div class=\"mc-top\">\n <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#00e676\"></span>Sonnet 5.5</span>\n <span class=\"mc-badge\">CLAUDE CODE · OPS</span>\n </div>\n <div class=\"mc-role\">Mechanical Chores, Rebases &amp; Test Suites</div>\n <div class=\"mc-desc\">Executes branch rebases, continuous test runs, and writes synthetic multi-turn test conversations for agent evals.</div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Right Column: Interactive Capability Workbench for Selected Model -->\n <div class=\"panel-box\">\n <div class=\"panel-header\">\n <span class=\"panel-title\">LIVE CAPABILITY WORKBENCH // INTERACTIVE SANDBOX</span>\n <span style=\"color:var(--ink-2);\" id=\"wb-active-indicator\">NODE: OPUS 5.5</span>\n </div>\n\n <div class=\"workbench-container\">\n <!-- WORKBENCH: OPUS 5.5 -->\n <div class=\"wb-view active\" id=\"wb-opus\">\n <div class=\"wb-header\">\n <div>\n <div class=\"wb-title\">Opus 5.5 // Lead Coordinator &amp; Project Sessions</div>\n <div class=\"wb-subtitle\">SHARED TO-DO LEDGER + CONCURRENT SESSION ORCHESTRATOR</div>\n </div>\n <span class=\"wb-tag\">CLAUDE CODE</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Each session owns one project on my machines. Click any active session below to inspect the live task Opus 5.5 is building and staging for private review:\n </p>\n <div class=\"preset-chips\" id=\"opus-session-btns\">\n <button class=\"chip-btn mini-btn active\" onclick=\"selectOpusSession(0, this)\">#01 from-avalon.com</button>\n <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(1, this)\">#02 Into Bloom</button>\n <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(2, this)\">#03 Hearthwynd</button>\n <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(3, this)\">#04 Desktop Buddies</button>\n <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(4, this)\">#05 Scene Convert</button>\n <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(5, this)\">#06 citadel.severian.dev</button>\n </div>\n <div class=\"code-output\" id=\"opus-terminal\" style=\"flex:1;\"></div>\n <div style=\"display:flex;justify-content:space-between;align-items:center;gap:8px;\">\n <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--ink-2);\">PRIVATE REVIEW SURFACE STAGED ON LOCAL LAN</span>\n <button class=\"mini-btn active\" onclick=\"rebalanceLedger()\">↻ COORDINATE &amp; ADVANCE LEDGER</button>\n </div>\n </div>\n\n <!-- WORKBENCH: CLAVIGER (Laya-421M) -->\n <div class=\"wb-view\" id=\"wb-claviger\">\n <div class=\"wb-header\">\n <div>\n <div class=\"wb-title\">Claviger // finis-est/Laya-421M-Claviger-v0</div>\n <div class=\"wb-subtitle\">LIVE DISCORD MESSAGE TRIAGE GATEKEEPER (421M OPEN-WEIGHTS)</div>\n </div>\n <span class=\"wb-tag\">HUGGING FACE · 421M</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Type any Discord message (or click a sample) to watch Claviger triage it in sub-millisecond time before waking a frontier session:\n </p>\n <div class=\"discord-input-row\">\n <input type=\"text\" id=\"claviger-input\" class=\"discord-input\" value=\"Hearthwynd mobile nav overlaps the decal header at 375px width on iOS Safari\" oninput=\"runClavigerInference()\" />\n <button class=\"mini-btn active\" onclick=\"runClavigerInference()\">TRIAGE</button>\n </div>\n <div class=\"preset-chips\">\n <button class=\"chip-btn\" onclick=\"setClavigerSample('Hearthwynd mobile nav overlaps the decal header at 375px width on iOS Safari')\">Bug Report (Hearthwynd)</button>\n <button class=\"chip-btn\" onclick=\"setClavigerSample('Scene Convert throws NaN when parsing 16-bit PSD depth channels')\">Scene Convert Crash</button>\n <button class=\"chip-btn\" onclick=\"setClavigerSample('Can we add a new glTF normal-map baker to the 3D model pipeline?')\">3D Pipeline Request</button>\n <button class=\"chip-btn\" onclick=\"setClavigerSample('gm everyone!! loving the new Into Bloom seasonal illustrations!')\">Community Chatter (Ignore)</button>\n </div>\n <div class=\"logit-bars\" id=\"claviger-bars\"></div>\n <div class=\"code-output\" id=\"claviger-json\"></div>\n </div>\n\n <!-- WORKBENCH: FABLE 5.2 -->\n <div class=\"wb-view\" id=\"wb-fable\">\n <div class=\"wb-header\">\n <div>\n <div class=\"wb-title\">Fable 5.2 // Decal Design Language &amp; 3D Pipeline</div>\n <div class=\"wb-subtitle\">INTERACTIVE 60FPS PROCEDURAL 3D MESH &amp; SHADER SANDBOX</div>\n </div>\n <span class=\"wb-tag\">3D + VISUAL LANGUAGE</span>\n </div>\n <div class=\"canvas-3d-wrap\">\n <canvas id=\"fable-3d-canvas\"></canvas>\n <div class=\"canvas-3d-hud\">\n <span id=\"mesh-telemetry\">MESH: CITADEL RELIQUARY · 192 TRIS · 60 FPS</span>\n <span>DRAG TO ROTATE 3D</span>\n </div>\n <div class=\"canvas-3d-controls\">\n <div style=\"display:flex;gap:4px;\">\n <button class=\"mini-btn active\" onclick=\"setFableMesh('obelisk', this)\">RELIQUARY</button>\n <button class=\"mini-btn\" onclick=\"setFableMesh('bloom', this)\">AVALON TORUS</button>\n <button class=\"mini-btn\" onclick=\"setFableMesh('buddy', this)\">BUDDY RIG</button>\n <button class=\"mini-btn\" onclick=\"setFableMesh('cage', this)\">SCENE CAGE</button>\n </div>\n <div style=\"display:flex;gap:4px;\">\n <button class=\"mini-btn active\" onclick=\"setFableShader('decal', this)\">DECAL SHADER</button>\n <button class=\"mini-btn\" onclick=\"setFableShader('wire', this)\">WIREFRAME</button>\n <button class=\"mini-btn\" onclick=\"setFableShader('normal', this)\">NORMALS</button>\n </div>\n </div>\n </div>\n <div class=\"code-output\" id=\"fable-notes\">\n [FABLE 5.2 // DESIGN NOTE]: Built visual language from industrial die-cut decal sheets: registration crosses (+), 45° chamfered tags, high-contrast telemetry blocks, and procedural 3D meshes exported straight to WebGL review surfaces.\n </div>\n </div>\n\n <!-- WORKBENCH: GPT-6-ASTRA -->\n <div class=\"wb-view\" id=\"wb-astra\">\n <div class=\"wb-header\">\n <div>\n <div class=\"wb-title\">GPT-6-Astra (via Codex) // Design Critic &amp; Labeler</div>\n <div class=\"wb-subtitle\">EVERY DESIGN CRITIQUE + TEST DATA WRITING &amp; LABELING</div>\n </div>\n <span class=\"wb-tag\">CODEX · CRITIQUE</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Astra critiques every single visual change before Severian sees it, and labels synthetic test datasets for Claviger &amp; UI regression:\n </p>\n <div style=\"display:flex;gap:6px;flex-wrap:wrap;\">\n <button class=\"mini-btn active\" onclick=\"toggleAstraCritique()\">TOGGLE FULL-PAGE REDLINE OVERLAY</button>\n <button class=\"mini-btn\" onclick=\"runAstraLabelBatch()\">+ LABEL NEW TEST DATA BATCH</button>\n </div>\n <div class=\"code-output\" id=\"astra-critique-box\" style=\"flex:1;\"></div>\n </div>\n\n <!-- WORKBENCH: GPT-6.1-SOL -->\n <div class=\"wb-view\" id=\"wb-sol\">\n <div class=\"wb-header\">\n <div>\n <div class=\"wb-title\">GPT-6.1-Sol (via Codex) // Claim-vs-Code Auditor</div>\n <div class=\"wb-subtitle\">REVIEWS CODE &amp; DEPLOYMENT KITS AGAINST THEIR CLAIMS</div>\n </div>\n <span class=\"wb-tag\">CODEX · VERIFIER</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Click any deployment claim below to see how GPT-6.1-Sol verifies the actual code &amp; server kit against what the session claimed:\n </p>\n <div class=\"audit-split\" style=\"flex:1;\">\n <div class=\"audit-col\" id=\"sol-claims-list\"></div>\n <div class=\"audit-col\" id=\"sol-code-proof\" style=\"background:#060709;\"></div>\n </div>\n <div style=\"display:flex;justify-content:space-between;align-items:center;\">\n <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--accent-5);\" id=\"sol-summary-status\">2 CLAIMS VERIFIED · 1 DRIFT CAUGHT BEFORE DEPLOY</span>\n <button class=\"mini-btn active\" onclick=\"patchSolDrift()\">⚡ AUTO-PATCH DRIFT VIA OPUS 5.5</button>\n </div>\n </div>\n\n <!-- WORKBENCH: SONNET 5.5 -->\n <div class=\"wb-view\" id=\"wb-sonnet\">\n <div class=\"wb-header\">\n <div>\n <div class=\"wb-title\">Sonnet 5.5 // Mechanical Chores, Rebases &amp; Tests</div>\n <div class=\"wb-subtitle\">GIT REBASE ENGINE + SYNTHETIC TEST CONVERSATION WRITER</div>\n </div>\n <span class=\"wb-tag\">CLAUDE CODE · OPS</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Sonnet 5.5 handles mechanical chores across Citadel: rebasing topic branches, running test suites, and generating multi-turn test conversations:\n </p>\n <div style=\"display:flex;gap:6px;flex-wrap:wrap;\">\n <button class=\"mini-btn active\" onclick=\"runSonnetRebase()\">▶ RUN GIT REBASE &amp; 240 TESTS</button>\n <button class=\"mini-btn\" onclick=\"generateSonnetConvo()\">💬 WRITE SYNTHETIC TEST CONVERSATION</button>\n </div>\n <div class=\"code-output\" id=\"sonnet-output\" style=\"flex:1;\"></div>\n </div>\n </div>\n </div>\n </div>\n </section>\n\n <!-- ===================================================================== -->\n <!-- MODE 02: PRIVATE REVIEW SURFACE SIMULATOR (STEP IN AS SEVERIAN) -->\n <!-- ===================================================================== -->\n <section class=\"workspace-deck\" id=\"mode-review\">\n <div class=\"review-surface-grid\">\n <!-- Left: 7-Stage Multi-Model Trace -->\n <div class=\"panel-box\">\n <div>\n <div class=\"panel-header\">\n <span class=\"panel-title\">TASK LIFECYCLE // 6 MODELS</span>\n <button class=\"mini-btn active\" onclick=\"playFullReviewTrace()\">▶ AUTO-STEP</button>\n </div>\n <div style=\"margin-bottom:10px;\">\n <div style=\"font-family:var(--font-mono);font-size:10px;color:var(--ink-2);margin-bottom:4px;\">SELECT REAL CITADEL SCENARIO:</div>\n <div class=\"preset-chips\">\n <button class=\"chip-btn mini-btn active\" onclick=\"loadScenario(0, this)\">Hearthwynd Redesign</button>\n <button class=\"chip-btn mini-btn\" onclick=\"loadScenario(1, this)\">Desktop Buddies Rig</button>\n <button class=\"chip-btn mini-btn\" onclick=\"loadScenario(2, this)\">Scene Convert Kit</button>\n </div>\n </div>\n <div class=\"pipeline-steps\" id=\"review-steps-list\"></div>\n </div>\n </div>\n\n <!-- Right: Staged Private Review Page + Severian Approval Gate -->\n <div class=\"panel-box\">\n <div class=\"panel-header\">\n <span class=\"panel-title\" id=\"rev-page-url\">PRIVATE REVIEW PAGE // http://citadel.local:4410/review/hearthwynd-v4</span>\n <span class=\"hazard-pill\" id=\"rev-gate-badge\">AWAITING SEVERIAN</span>\n </div>\n\n <div id=\"rev-stage-detail\" style=\"flex:1;display:flex;flex-direction:column;gap:12px;\"></div>\n\n <div class=\"approve-bar\">\n <div>\n <div style=\"font-family:var(--font-mono);font-size:11px;font-weight:700;color:var(--ink-0);\">\n HUMAN GATEKEEPER // SEVERIAN'S SIGN-OFF\n </div>\n <div style=\"font-family:var(--font-mono);font-size:10px;color:var(--ink-1);\" id=\"approve-status-text\">\n No session can deploy or publish a post without explicit approval here.\n </div>\n </div>\n <div style=\"display:flex;gap:8px;\">\n <button class=\"action-btn btn-reject\" onclick=\"severianDecision('reject')\">✕ REQUEST REVISION</button>\n <button class=\"action-btn btn-approve\" onclick=\"severianDecision('approve')\">✓ APPROVE DEPLOY</button>\n </div>\n </div>\n </div>\n </div>\n </section>\n\n <!-- ===================================================================== -->\n <!-- MODE 03: 3D PIPELINE & SCENE CONVERT INTERACTIVE LAB -->\n <!-- ===================================================================== -->\n <section class=\"workspace-deck\" id=\"mode-sandbox\">\n <div class=\"lab-grid\">\n <!-- Left Lab: Scene Convert Interactive Layer Decomposer -->\n <div class=\"lab-card\">\n <div class=\"panel-header\" style=\"margin-bottom:4px;\">\n <span class=\"panel-title\">SCENE CONVERT // IMAGE-SCENE LAYER CONVERTER</span>\n <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--accent);\">OPUS 5.5 + FABLE 5.2</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Drag the decomposition slider to inspect how <strong>Scene Convert</strong> splits a composite image-scene file into depth planes, lighting maps, and vector decal layers:\n </p>\n <div style=\"position:relative;height:230px;background:#07080a;border:1px solid var(--border-strong);overflow:hidden;\">\n <canvas id=\"scene-convert-canvas\" style=\"width:100%;height:100%;display:block;\"></canvas>\n </div>\n <div style=\"display:flex;align-items:center;gap:12px;font-family:var(--font-mono);font-size:11px;\">\n <span>COMPOSITE</span>\n <input type=\"range\" id=\"scene-explode-slider\" min=\"0\" max=\"100\" value=\"55\" style=\"flex:1;accent-color:var(--accent);\" oninput=\"drawSceneConvert()\" />\n <span>EXPLODED SCENE LAYERS (4)</span>\n </div>\n </div>\n\n <!-- Right Lab: Decal-Pack Design Language Specimen Generator -->\n <div class=\"lab-card\">\n <div class=\"panel-header\" style=\"margin-bottom:4px;\">\n <span class=\"panel-title\">DECAL-PACK DESIGN SYSTEM // SPECIMEN GENERATOR</span>\n <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--accent-3);\">FABLE 5.2 + GPT-6-ASTRA</span>\n </div>\n <p style=\"font-size:12px;color:var(--ink-1);\">\n Fable 5.2 built a cohesive visual language from a decal pack, critiqued on every pass by GPT-6-Astra. Customize a live decal telemetry plate below:\n </p>\n <div style=\"position:relative;height:230px;background:#07080a;border:1px solid var(--border-strong);overflow:hidden;\">\n <canvas id=\"decal-specimen-canvas\" style=\"width:100%;height:100%;display:block;\"></canvas>\n </div>\n <div style=\"display:flex;gap:6px;flex-wrap:wrap;justify-content:space-between;\">\n <div style=\"display:flex;gap:6px;\">\n <button class=\"mini-btn active\" onclick=\"cycleDecalStamp(0, this)\">STAMP: CITADEL-01</button>\n <button class=\"mini-btn\" onclick=\"cycleDecalStamp(1, this)\">STAMP: AVALON-BLOOM</button>\n <button class=\"mini-btn\" onclick=\"cycleDecalStamp(2, this)\">STAMP: CLAVIGER-421M</button>\n </div>\n <button class=\"mini-btn active\" onclick=\"randomizeDecalSeed()\">↻ MUTATE DECAL SEED</button>\n </div>\n </div>\n </div>\n </section>\n\n <!-- ===================================================================== -->\n <!-- MODE 04: ALL 9 PUBLIC PROJECTS & MODEL FINGERPRINTS -->\n <!-- ===================================================================== -->\n <section class=\"workspace-deck\" id=\"mode-projects\">\n <div style=\"padding:14px 16px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;\">\n <div style=\"font-family:var(--font-mono);font-size:11px;color:var(--ink-1);\">\n FILTER 9 PUBLIC BUILDS BY MODEL CONTRIBUTION:\n </div>\n <div class=\"preset-chips\" id=\"proj-filter-bar\">\n <button class=\"chip-btn mini-btn active\" onclick=\"filterProjects('all', this)\">ALL (9)</button>\n <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Opus 5.5', this)\">Opus 5.5</button>\n <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Sonnet 5.5', this)\">Sonnet 5.5</button>\n <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Fable 5.2', this)\">Fable 5.2</button>\n <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('GPT-6-Astra', this)\">GPT-6-Astra</button>\n <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('GPT-6.1-Sol', this)\">GPT-6.1-Sol</button>\n <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Claviger-421M', this)\">Claviger-421M</button>\n </div>\n </div>\n <div class=\"projects-matrix\" id=\"projects-grid\"></div>\n </section>\n\n <!-- Bottom Strip: Baldanders Redacted Agent Transcript Stream -->\n <footer class=\"baldanders-strip\" id=\"baldanders-footer\">\n <div style=\"display:flex;align-items:center;gap:8px;\">\n <span class=\"hazard-pill\" style=\"background:var(--bg-3);color:var(--ink-0);border:1px solid var(--border-strong);\">\n BALDANDERS.SEVERIAN.DEV\n </span>\n <span style=\"color:var(--ink-2);\">REDACTED AGENT TRANSCRIPT:</span>\n </div>\n <div class=\"redact-stream\" id=\"redact-log-line\">\n [OPUS-5.5 → SOL-6.1] Staged <span class=\"redact-block\" title=\"Hover to unmask\">10.0.42.18:4410/rev/88</span> for Hearthwynd; Claviger filtered <span class=\"redact-block\" title=\"Hover to unmask\">142 noise pings</span>; Astra verified <span class=\"redact-block\" title=\"Hover to unmask\">15.8:1 AAA contrast</span>. Awaiting Severian sign-off.\n </div>\n <div style=\"display:flex;gap:6px;\">\n <button class=\"mini-btn\" onclick=\"cycleTranscript()\">NEXT LOG ▸</button>\n <button class=\"mini-btn\" id=\"declassify-btn\" onclick=\"toggleDeclassify()\">UNMASK REDACTIONS</button>\n </div>\n </footer>\n\n <!-- Embed Code Drawer -->\n <div class=\"embed-drawer\" id=\"embed-drawer\">\n <div style=\"display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;\">\n <strong style=\"color:var(--accent);\">DROP-IN POST EMBED SNIPPET (SELF-CONTAINED IFRAME):</strong>\n <button class=\"mini-btn active\" onclick=\"copyEmbedSnippet(this)\">COPY SNIPPET</button>\n </div>\n <div class=\"code-output\" id=\"embed-snippet-code\">&lt;iframe src=\"/embeds/citadel-embed.html\" width=\"100%\" height=\"780\" style=\"border:none;border-radius:4px;overflow:hidden;\" loading=\"lazy\" title=\"Severian's Citadel — Live Model Architecture\"&gt;&lt;/iframe&gt;</div>\n </div>\n</div>\n\n<script>\n/* ==========================================================================\n CITADEL INTERACTIVE ENGINE (Zero External Dependencies)\n ========================================================================== */\n\nlet audioEnabled = false;\nlet audioCtx = null;\n\nfunction playTick(freq = 520, duration = 0.035, type = 'triangle') {\n if (!audioEnabled) return;\n try {\n if (!audioCtx) audioCtx = new (window.AudioContext || window.webkitAudioContext)();\n const osc = audioCtx.createOscillator();\n const gain = audioCtx.createGain();\n osc.type = type;\n osc.frequency.setValueAtTime(freq, audioCtx.currentTime);\n gain.gain.setValueAtTime(0.06, audioCtx.currentTime);\n gain.gain.exponentialRampToValueAtTime(0.001, audioCtx.currentTime + duration);\n osc.connect(gain);\n gain.connect(audioCtx.destination);\n osc.start();\n osc.stop(audioCtx.currentTime + duration);\n } catch (e) {}\n}\n\nfunction toggleAudio() {\n audioEnabled = !audioEnabled;\n const btn = document.getElementById('audio-toggle-btn');\n btn.textContent = audioEnabled ? 'SYNTH: ON' : 'SYNTH: OFF';\n btn.classList.toggle('active', audioEnabled);\n if (audioEnabled) playTick(880, 0.06, 'sine');\n}\n\nfunction setTheme(theme, btn) {\n document.documentElement.setAttribute('data-theme', theme);\n document.querySelectorAll('.decal-controls .mini-btn').forEach(b => {\n if (b.textContent.startsWith('DECAL:') || b.textContent.includes('BLOOM') || b.textContent.includes('HEARTHWYND') || b.textContent.includes('BALDANDERS')) {\n b.classList.remove('active');\n }\n });\n if (btn) btn.classList.add('active');\n playTick(640, 0.04);\n drawSceneConvert();\n drawDecalSpecimen();\n}\n\nfunction toggleAstraCritique() {\n const root = document.getElementById('citadel-root');\n const on = root.classList.toggle('astra-critique-on');\n const btn = document.getElementById('astra-toggle-btn');\n btn.textContent = on ? 'ASTRA REDLINE: ON' : 'ASTRA REDLINE: OFF';\n btn.classList.toggle('active', on);\n playTick(on ? 960 : 420, 0.05);\n}\n\nfunction toggleEmbedDrawer() {\n document.getElementById('embed-drawer').classList.toggle('open');\n playTick(500, 0.04);\n}\n\nfunction copyEmbedSnippet(btn) {\n const txt = document.getElementById('embed-snippet-code').textContent;\n if (navigator.clipboard) navigator.clipboard.writeText(txt);\n btn.textContent = 'COPIED ✓';\n setTimeout(() => { btn.textContent = 'COPY SNIPPET'; }, 1600);\n}\n\nfunction switchMode(modeId, btn) {\n document.querySelectorAll('.workspace-deck').forEach(el => el.classList.remove('active'));\n document.getElementById('mode-' + modeId).classList.add('active');\n document.querySelectorAll('.mode-tab').forEach(b => b.classList.remove('active'));\n if (btn) btn.classList.add('active');\n playTick(700, 0.045);\n if (modeId === 'sandbox') {\n setTimeout(() => {\n drawSceneConvert();\n drawDecalSpecimen();\n }, 30);\n }\n}\n\n/* ==========================================================================\n 1. DESKTOP BUDDIES RAIL ENGINE\n ========================================================================== */\nconst buddyCanvas = document.getElementById('buddy-canvas');\nconst bCtx = buddyCanvas.getContext('2d');\nconst buddies = [\n { name: 'TALOS-01', x: 140, vx: 0.75, color: '#ff5500', hop: 0, quote: 'TALOS-01: \"Coordinating 8 Claude Code sessions via Opus 5.5!\"' },\n { name: 'CLAV-421M', x: 460, vx: -0.6, color: '#b8ff01', hop: 0, quote: 'CLAV-421M: \"Triaged 1,420 Discord messages at 0.8ms latency!\"' }\n];\nconst buddyQuotes = [\n 'TALOS-01: \"Desktop Buddies is open-source! Built with Opus 5.5 + Fable 5.2.\"',\n 'CLAV-421M: \"Holding the keys at the Discord gate—only real tasks wake Opus.\"',\n 'BLOOM-BOT: \"GPT-6-Astra just critiqued my pixel kerning on Into Bloom!\"',\n 'SOL-GUARD: \"GPT-6.1-Sol verified every deployment claim against the AST.\"'\n];\n\nfunction spawnBuddy() {\n const colors = ['#00e5ff', '#b388ff', '#ffb300', '#00e676', '#ff5500'];\n const names = ['BLOOM-02', 'SOL-WATCH', 'ASTRA-EYE', 'HEARTH-IMP'];\n const idx = buddies.length % names.length;\n buddies.push({\n name: names[idx],\n x: 200 + Math.random() * 350,\n vx: (Math.random() > 0.5 ? 1 : -1) * (0.55 + Math.random() * 0.5),\n color: colors[buddies.length % colors.length],\n hop: 8,\n quote: buddyQuotes[buddies.length % buddyQuotes.length]\n });\n document.getElementById('buddy-speech').textContent = buddies[buddies.length - 1].quote;\n playTick(840, 0.06);\n}\n\nbuddyCanvas.addEventListener('click', (e) => {\n const rect = buddyCanvas.getBoundingClientRect();\n const clickX = e.clientX - rect.left;\n buddies.forEach(b => {\n b.hop = 10;\n b.vx = clickX > b.x ? Math.abs(b.vx) + 0.3 : -Math.abs(b.vx) - 0.3;\n });\n document.getElementById('buddy-speech').textContent = buddyQuotes[Math.floor(Math.random() * buddyQuotes.length)];\n playTick(920, 0.05);\n});\n\nfunction renderBuddies() {\n const w = buddyCanvas.clientWidth || 800;\n const h = buddyCanvas.clientHeight || 34;\n if (buddyCanvas.width !== w || buddyCanvas.height !== h) {\n buddyCanvas.width = w;\n buddyCanvas.height = h;\n }\n bCtx.clearRect(0, 0, w, h);\n const t = performance.now() * 0.008;\n\n buddies.forEach((b, i) => {\n b.x += b.vx;\n if (b.x < 40) { b.x = 40; b.vx = Math.abs(b.vx); }\n if (b.x > w - 180) { b.x = w - 180; b.vx = -Math.abs(b.vx); }\n if (b.hop > 0) b.hop *= 0.88;\n\n const bob = Math.abs(Math.sin(t + i * 1.7)) * 3 + b.hop;\n const bx = Math.round(b.x);\n const by = Math.round(h - 14 - bob);\n\n // Shadow\n bCtx.fillStyle = 'rgba(0,0,0,0.45)';\n bCtx.fillRect(bx - 6, h - 4, 14, 2);\n\n // Cute Pixel Construct Body\n bCtx.fillStyle = b.color;\n bCtx.fillRect(bx - 6, by - 8, 14, 11);\n // Antenna\n bCtx.fillRect(bx, by - 12, 2, 4);\n // Visor Eyes\n bCtx.fillStyle = '#090a0c';\n const dir = b.vx >= 0 ? 2 : -2;\n bCtx.fillRect(bx - 3 + dir, by - 5, 3, 3);\n bCtx.fillRect(bx + 2 + dir, by - 5, 3, 3);\n // Feet\n bCtx.fillStyle = '#f3f0e6';\n const step = Math.sin(t * 2 + i) > 0 ? 2 : -2;\n bCtx.fillRect(bx - 4 + step, by + 3, 3, 3);\n bCtx.fillRect(bx + 2 - step, by + 3, 3, 3);\n });\n}\n\n/* ==========================================================================\n 2. CITADEL TOPOLOGY SIGNAL BUS CANVAS\n ========================================================================== */\nconst topoCanvas = document.getElementById('topology-canvas');\nconst tCtx = topoCanvas.getContext('2d');\nlet selectedModelKey = 'opus';\n\nconst topoNodes = [\n { id: 'claviger', label: 'CLAVIGER', sub: 'Laya-421M Gate', x: 0.11, y: 0.50, color: '#b8ff01' },\n { id: 'ledger', label: 'TO-DO LEDGER', sub: 'Shared State', x: 0.29, y: 0.50, color: '#f3f0e6', isHub: true },\n { id: 'opus', label: 'OPUS 5.5', sub: 'Lead + 8 Sessions', x: 0.50, y: 0.50, color: '#ff5500' },\n { id: 'fable', label: 'FABLE 5.2', sub: 'Decal + 3D Pipe', x: 0.50, y: 0.18, color: '#b388ff' },\n { id: 'sonnet', label: 'SONNET 5.5', sub: 'Rebase + Tests', x: 0.50, y: 0.82, color: '#00e676' },\n { id: 'astra', label: 'GPT-6-ASTRA', sub: 'Design Critique', x: 0.72, y: 0.25, color: '#00e5ff' },\n { id: 'sol', label: 'GPT-6.1-SOL', sub: 'Claim vs Code', x: 0.72, y: 0.75, color: '#ffb300' },\n { id: 'gate', label: 'SEVERIAN', sub: 'Review & Sign-Off', x: 0.90, y: 0.50, color: '#ff2a55', isGate: true }\n];\n\nconst topoEdges = [\n ['claviger', 'ledger'],\n ['ledger', 'opus'],\n ['opus', 'fable'],\n ['opus', 'sonnet'],\n ['fable', 'astra'],\n ['opus', 'astra'],\n ['sonnet', 'sol'],\n ['opus', 'sol'],\n ['astra', 'gate'],\n ['sol', 'gate']\n];\n\nconst packets = [];\nfor (let i = 0; i < 18; i++) {\n const edge = topoEdges[i % topoEdges.length];\n packets.push({\n from: edge[0],\n to: edge[1],\n t: Math.random(),\n speed: 0.004 + Math.random() * 0.005\n });\n}\n\nfunction triggerTaskBurst() {\n topoEdges.forEach(edge => {\n for (let k = 0; k < 2; k++) {\n packets.push({\n from: edge[0],\n to: edge[1],\n t: Math.random() * 0.25,\n speed: 0.011 + Math.random() * 0.006,\n burst: true\n });\n }\n });\n document.getElementById('bus-status').textContent = 'BUS: TASK BURST DISPATCHED ⚡';\n playTick(780, 0.07);\n setTimeout(() => {\n document.getElementById('bus-status').textContent = 'BUS: STREAMING 60FPS';\n }, 1800);\n}\n\ntopoCanvas.addEventListener('click', (e) => {\n const rect = topoCanvas.getBoundingClientRect();\n const mx = (e.clientX - rect.left) / rect.width;\n const my = (e.clientY - rect.top) / rect.height;\n let closest = null;\n let minDist = 0.09;\n topoNodes.forEach(n => {\n const d = Math.hypot(mx - n.x, my - n.y);\n if (d < minDist) { minDist = d; closest = n; }\n });\n if (closest) {\n if (closest.id === 'gate') {\n switchMode('review', document.querySelectorAll('.mode-tab')[1]);\n return;\n }\n const card = document.querySelector(`.model-card[data-model=\"${closest.id}\"]`);\n if (card) selectModel(closest.id, card);\n }\n});\n\nfunction renderTopology() {\n const w = topoCanvas.clientWidth || 560;\n const h = topoCanvas.clientHeight || 215;\n if (topoCanvas.width !== w || topoCanvas.height !== h) {\n topoCanvas.width = w;\n topoCanvas.height = h;\n }\n tCtx.clearRect(0, 0, w, h);\n\n const nodeMap = {};\n topoNodes.forEach(n => { nodeMap[n.id] = { ...n, px: n.x * w, py: n.y * h }; });\n\n // Draw Edges\n topoEdges.forEach(([a, b]) => {\n const na = nodeMap[a];\n const nb = nodeMap[b];\n const isSelectedEdge = (a === selectedModelKey || b === selectedModelKey);\n tCtx.strokeStyle = isSelectedEdge ? 'rgba(255, 85, 0, 0.55)' : 'rgba(243, 240, 230, 0.13)';\n tCtx.lineWidth = isSelectedEdge ? 2 : 1.2;\n tCtx.beginPath();\n tCtx.moveTo(na.px, na.py);\n tCtx.lineTo(nb.px, nb.py);\n tCtx.stroke();\n });\n\n // Update & Draw Packets\n for (let i = packets.length - 1; i >= 0; i--) {\n const p = packets[i];\n p.t += p.speed;\n if (p.t >= 1) {\n if (p.burst) { packets.splice(i, 1); continue; }\n p.t = 0;\n }\n const na = nodeMap[p.from];\n const nb = nodeMap[p.to];\n const x = na.px + (nb.px - na.px) * p.t;\n const y = na.py + (nb.py - na.py) * p.t;\n tCtx.fillStyle = nb.color;\n tCtx.beginPath();\n tCtx.arc(x, y, p.burst ? 3.5 : 2.3, 0, Math.PI * 2);\n tCtx.fill();\n }\n\n // Draw Nodes\n topoNodes.forEach(n => {\n const pt = nodeMap[n.id];\n const isSel = n.id === selectedModelKey;\n\n tCtx.fillStyle = '#090a0c';\n tCtx.strokeStyle = isSel ? '#f3f0e6' : n.color;\n tCtx.lineWidth = isSel ? 2.5 : 1.5;\n\n const bw = 92;\n const bh = 36;\n tCtx.fillRect(pt.px - bw / 2, pt.py - bh / 2, bw, bh);\n tCtx.strokeRect(pt.px - bw / 2, pt.py - bh / 2, bw, bh);\n\n // Top color accent strip\n tCtx.fillStyle = n.color;\n tCtx.fillRect(pt.px - bw / 2, pt.py - bh / 2, bw, 3);\n\n tCtx.fillStyle = '#f3f0e6';\n tCtx.font = '700 9.5px \"JetBrains Mono\", monospace';\n tCtx.textAlign = 'center';\n tCtx.fillText(n.label, pt.px, pt.py - 1);\n\n tCtx.fillStyle = '#9e9a90';\n tCtx.font = '8.5px \"JetBrains Mono\", monospace';\n tCtx.fillText(n.sub, pt.px, pt.py + 11);\n });\n}\n\nfunction selectModel(modelKey, cardEl) {\n selectedModelKey = modelKey;\n document.querySelectorAll('.model-card').forEach(c => c.classList.remove('selected'));\n if (cardEl) cardEl.classList.add('selected');\n\n document.querySelectorAll('.wb-view').forEach(v => v.classList.remove('active'));\n const target = document.getElementById('wb-' + modelKey);\n if (target) target.classList.add('active');\n\n document.getElementById('wb-active-indicator').textContent = 'NODE: ' + modelKey.toUpperCase();\n playTick(620, 0.04);\n}\n\n/* ==========================================================================\n 3. WORKBENCH MINIGAMES & REAL-TIME SANDBOXES\n ========================================================================== */\n\n// 3A. OPUS 5.5 SESSIONS\nconst opusSessions = [\n {\n name: 'from-avalon.com',\n branch: 'feat/community-portal-kit',\n ledgerId: 'CIT-104',\n reviewUrl: 'http://citadel.local:4401/review/avalon-hub',\n tasks: [\n '[✓] Built community showcase directory & member crest loader',\n '[✓] Wired links to collab sites Into Bloom & Hearthwynd',\n '[✓] Staged private review surface with Astra + Sol sign-off badges'\n ]\n },\n {\n name: 'Into Bloom (Avalon Collab)',\n branch: 'feat/botanical-decal-grid',\n ledgerId: 'CIT-112',\n reviewUrl: 'http://citadel.local:4402/review/into-bloom',\n tasks: [\n '[✓] Integrated Fable 5.2 botanical shader + typography tokens',\n '[✓] Pre-rendered responsive artwork plates & gallery metadata',\n '[✓] Awaiting Severian approval on private review page'\n ]\n },\n {\n name: 'Hearthwynd (Avalon Collab)',\n branch: 'fix/safari-ember-canvas',\n ledgerId: 'CIT-119',\n reviewUrl: 'http://citadel.local:4403/review/hearthwynd',\n tasks: [\n '[✓] Patched WebGL depth-mask clipping reported via Claviger Discord triage',\n '[✓] Verified 60fps mobile budget & Brotli static server kit',\n '[✓] Ready for Severian deploy sign-off'\n ]\n },\n {\n name: 'Desktop Buddies (OSS Pet Maker)',\n branch: 'feat/custom-sprite-rig-export',\n ledgerId: 'CIT-127',\n reviewUrl: 'http://citadel.local:4404/review/desktop-buddies',\n tasks: [\n '[✓] Built state-machine rig editor (idle, walk, hop, inspect)',\n '[✓] Added zero-dependency sprite sheet bundler',\n '[✓] 164 unit tests green via Sonnet 5.5'\n ]\n },\n {\n name: 'Scene Convert',\n branch: 'feat/16bit-layer-decomposer',\n ledgerId: 'CIT-131',\n reviewUrl: 'http://citadel.local:4405/review/scene-convert',\n tasks: [\n '[✓] Implemented streaming converter for multi-layer image-scene files',\n '[✓] Added depth-map & decal-layer JSON manifest output',\n '[✓] Audited memory bounds with GPT-6.1-Sol'\n ]\n },\n {\n name: 'citadel.severian.dev/projects',\n branch: 'main-sync-ledger',\n ledgerId: 'CIT-140',\n reviewUrl: 'http://citadel.local:4406/review/citadel-tracker',\n tasks: [\n '[✓] Synced shared to-do ledger across all 8 active Claude Code sessions',\n '[✓] Published redacted transcript links to baldanders.severian.dev',\n '[✓] Staged essay draft preview for talos.severian.dev'\n ]\n }\n];\nlet currentOpusIdx = 0;\n\nfunction selectOpusSession(idx, btn) {\n currentOpusIdx = idx;\n document.querySelectorAll('#opus-session-btns .chip-btn').forEach(b => b.classList.remove('active'));\n if (btn) btn.classList.add('active');\n renderOpusTerminal();\n playTick(580, 0.03);\n}\n\nfunction renderOpusTerminal() {\n const s = opusSessions[currentOpusIdx];\n document.getElementById('opus-terminal').innerHTML =\n `<div style=\"color:var(--accent);font-weight:700;\">SESSION #0${currentOpusIdx + 1} // PROJECT: ${s.name.toUpperCase()}</div>` +\n `<div>LEDGER ID: <span style=\"color:var(--ink-0)\">${s.ledgerId}</span> · BRANCH: <span style=\"color:var(--accent-2)\">${s.branch}</span></div>` +\n `<div style=\"margin:6px 0;color:var(--ink-0);\">${s.tasks.join('<br>')}</div>` +\n `<div style=\"color:var(--accent-3);\">PRIVATE REVIEW PAGE → ${s.reviewUrl} [GATE: LOCKED UNTIL SEVERIAN APPROVES]</div>`;\n}\nrenderOpusTerminal();\n\nfunction rebalanceLedger() {\n currentOpusIdx = (currentOpusIdx + 1) % opusSessions.length;\n const btns = document.querySelectorAll('#opus-session-btns .chip-btn');\n selectOpusSession(currentOpusIdx, btns[currentOpusIdx]);\n triggerTaskBurst();\n}\n\n// 3B. CLAVIGER (Laya-421M-Claviger-v0) DISCORD TRIAGE ENGINE\nfunction setClavigerSample(text) {\n document.getElementById('claviger-input').value = text;\n runClavigerInference();\n playTick(750, 0.04);\n}\n\nfunction runClavigerInference() {\n const raw = (document.getElementById('claviger-input').value || '').trim();\n const low = raw.toLowerCase();\n\n let scores = [\n { label: 'OPUS 5.5 (Bug / Build)', p: 0.12, color: '#ff5500', route: 'session:hearthwynd-or-core' },\n { label: 'FABLE 5.2 (3D / Design)', p: 0.10, color: '#b388ff', route: 'session:3d-pipeline-design' },\n { label: 'SONNET 5.5 (Tests / Rebase)', p: 0.08, color: '#00e676', route: 'session:ci-test-harness' },\n { label: 'BALDANDERS (Transcript Log)', p: 0.05, color: '#00e5ff', route: 'archive:baldanders' },\n { label: 'IGNORE (Community Chatter)', p: 0.15, color: '#76746d', route: 'drop:no-agent-wake' }\n ];\n\n if (/(bug|break|overlap|crash|nan|error|fix|safari|convert|16-bit|layer)/.test(low)) {\n scores[0].p += 0.68;\n scores[2].p += 0.14;\n } else if (/(3d|mesh|gltf|shader|normal|decal|design|illustr|bloom|color)/.test(low)) {\n scores[1].p += 0.72;\n scores[0].p += 0.12;\n } else if (/(test|rebase|branch|ci|convo)/.test(low)) {\n scores[2].p += 0.74;\n } else if (/(gm|lol|nice|loving|hello|hey|cool|wow)/.test(low) || raw.length < 12) {\n scores[4].p += 0.78;\n } else {\n scores[0].p += 0.45;\n scores[3].p += 0.25;\n }\n\n const sum = scores.reduce((a, b) => a + b.p, 0);\n scores.forEach(s => { s.p = +(s.p / sum).toFixed(3); });\n scores.sort((a, b) => b.p - a.p);\n\n const barsEl = document.getElementById('claviger-bars');\n barsEl.innerHTML = scores.map(s => `\n <div class=\"logit-row\">\n <span style=\"color:var(--ink-0);\">${s.label}</span>\n <div class=\"logit-track\">\n <div class=\"logit-fill\" style=\"width:${Math.round(s.p * 100)}%;background:${s.color}\"></div>\n </div>\n <span style=\"text-align:right;color:${s.color};font-weight:700;\">${(s.p * 100).toFixed(1)}%</span>\n </div>\n `).join('');\n\n const top = scores[0];\n document.getElementById('claviger-json').innerHTML =\n `<span style=\"color:var(--accent-2);\">// finis-est/Laya-421M-Claviger-v0 · 0.78ms local inference</span><br>` +\n `{ \"verdict\": \"<strong style=\"color:${top.color}\">${top.label}</strong>\", \"confidence\": ${top.p}, \"route\": \"${top.route}\", \"wake_frontier_session\": ${top.route.startsWith('drop') ? 'false (100% frontier tokens saved)' : 'true → appended to Shared To-Do Ledger'} }`;\n}\nrunClavigerInference();\n\n// 3C. FABLE 5.2 INTERACTIVE 3D PIPELINE ENGINE\nconst f3dCanvas = document.getElementById('fable-3d-canvas');\nconst fCtx = f3dCanvas.getContext('2d');\nlet fableMeshType = 'obelisk';\nlet fableShaderType = 'decal';\nlet rotX = 0.45;\nlet rotY = 0.65;\nlet isDragging3D = false;\nlet lastMouseX = 0, lastMouseY = 0;\n\nf3dCanvas.addEventListener('mousedown', e => {\n isDragging3D = true;\n lastMouseX = e.clientX;\n lastMouseY = e.clientY;\n});\nwindow.addEventListener('mouseup', () => { isDragging3D = false; });\nwindow.addEventListener('mousemove', e => {\n if (!isDragging3D) return;\n rotY += (e.clientX - lastMouseX) * 0.012;\n rotX += (e.clientY - lastMouseY) * 0.012;\n lastMouseX = e.clientX;\n lastMouseY = e.clientY;\n});\n\nfunction setFableMesh(type, btn) {\n fableMeshType = type;\n btn.parentElement.querySelectorAll('.mini-btn').forEach(b => b.classList.remove('active'));\n btn.classList.add('active');\n playTick(680, 0.04);\n}\n\nfunction setFableShader(shader, btn) {\n fableShaderType = shader;\n btn.parentElement.querySelectorAll('.mini-btn').forEach(b => b.classList.remove('active'));\n btn.classList.add('active');\n playTick(760, 0.04);\n}\n\nfunction buildMeshGeometry(type, time) {\n const verts = [];\n const faces = [];\n\n if (type === 'obelisk') {\n // Citadel Reliquary Obelisk + Floating Decal Ring\n verts.push(\n [0, -1.35, 0], // 0 tip\n [-0.45, -0.7, -0.45], [0.45, -0.7, -0.45], [0.45, -0.7, 0.45], [-0.45, -0.7, 0.45], // 1..4 upper\n [-0.7, 1.0, -0.7], [0.7, 1.0, -0.7], [0.7, 1.0, 0.7], [-0.7, 1.0, 0.7], // 5..8 base\n [0, 1.3, 0] // 9 bottom\n );\n faces.push(\n [0,1,2], [0,2,3], [0,3,4], [0,4,1],\n [1,5,6], [1,6,2], [2,6,7], [2,7,3], [3,7,8], [3,8,4], [4,8,5], [4,5,1],\n [9,6,5], [9,7,6], [9,8,7], [9,5,8]\n );\n // Floating orbital ring\n const segs = 12;\n const baseIdx = verts.length;\n for (let i = 0; i < segs; i++) {\n const a = (i / segs) * Math.PI * 2 + time * 0.6;\n verts.push([Math.cos(a) * 1.15, -0.1 + Math.sin(a * 2) * 0.08, Math.sin(a) * 1.15]);\n verts.push([Math.cos(a) * 0.92, 0.08 + Math.sin(a * 2) * 0.08, Math.sin(a) * 0.92]);\n }\n for (let i = 0; i < segs; i++) {\n const ni = (i + 1) % segs;\n faces.push([baseIdx + i*2, baseIdx + ni*2, baseIdx + i*2 + 1]);\n faces.push([baseIdx + ni*2, baseIdx + ni*2 + 1, baseIdx + i*2 + 1]);\n }\n } else if (type === 'bloom') {\n // Botanical Torus / Crystal\n const uSeg = 14, vSeg = 8;\n for (let u = 0; u < uSeg; u++) {\n const ua = (u / uSeg) * Math.PI * 2;\n for (let v = 0; v < vSeg; v++) {\n const va = (v / vSeg) * Math.PI * 2;\n const r = 0.38 + 0.08 * Math.sin(ua * 3 + time);\n const R = 0.85;\n const x = (R + r * Math.cos(va)) * Math.cos(ua);\n const y = r * Math.sin(va) * 1.3;\n const z = (R + r * Math.cos(va)) * Math.sin(ua);\n verts.push([x, y, z]);\n }\n }\n for (let u = 0; u < uSeg; u++) {\n const nu = (u + 1) % uSeg;\n for (let v = 0; v < vSeg; v++) {\n const nv = (v + 1) % vSeg;\n const a = u * vSeg + v;\n const b = nu * vSeg + v;\n const c = nu * vSeg + nv;\n const d = u * vSeg + nv;\n faces.push([a, b, c], [a, c, d]);\n }\n }\n } else if (type === 'buddy') {\n // Low-poly Desktop Buddy Automaton Cube-Rig\n const boxes = [\n { cx: 0, cy: -0.25, cz: 0, sx: 0.65, sy: 0.55, sz: 0.55 }, // Head/Torso\n { cx: 0, cy: -0.95, cz: 0, sx: 0.12, sy: 0.25, sz: 0.12 }, // Antenna\n { cx: -0.35, cy: 0.65, cz: Math.sin(time * 3) * 0.2, sx: 0.2, sy: 0.35, sz: 0.25 }, // Left foot\n { cx: 0.35, cy: 0.65, cz: -Math.sin(time * 3) * 0.2, sx: 0.2, sy: 0.35, sz: 0.25 } // Right foot\n ];\n boxes.forEach(bx => {\n const bi = verts.length;\n for (let dx of [-1, 1]) for (let dy of [-1, 1]) for (let dz of [-1, 1]) {\n verts.push([bx.cx + dx * bx.sx, bx.cy + dy * bx.sy, bx.cz + dz * bx.sz]);\n }\n const f = [\n [0,1,3,2], [4,6,7,5], [0,4,5,1], [2,3,7,6], [0,2,6,4], [1,5,7,3]\n ];\n f.forEach(q => {\n faces.push([bi+q[0], bi+q[1], bi+q[2]], [bi+q[0], bi+q[2], bi+q[3]]);\n });\n });\n } else {\n // Multi-plane Scene Convert Depth Cage\n [-0.75, 0, 0.75].forEach((zPlane, idx) => {\n const bi = verts.length;\n const w = 1.05, h = 0.75;\n const shift = Math.sin(time + idx) * 0.1;\n verts.push([-w, -h + shift, zPlane], [w, -h + shift, zPlane], [w, h + shift, zPlane], [-w, h + shift, zPlane]);\n faces.push([bi, bi+1, bi+2], [bi, bi+2, bi+3]);\n });\n }\n return { verts, faces };\n}\n\nfunction renderFable3D() {\n const w = f3dCanvas.clientWidth || 450;\n const h = f3dCanvas.clientHeight || 210;\n if (f3dCanvas.width !== w || f3dCanvas.height !== h) {\n f3dCanvas.width = w;\n f3dCanvas.height = h;\n }\n fCtx.clearRect(0, 0, w, h);\n\n const t = performance.now() * 0.0015;\n if (!isDragging3D) rotY += 0.009;\n\n const { verts, faces } = buildMeshGeometry(fableMeshType, t);\n const cosY = Math.cos(rotY), sinY = Math.sin(rotY);\n const cosX = Math.cos(rotX), sinX = Math.sin(rotX);\n\n const proj = verts.map(([x, y, z]) => {\n const x1 = x * cosY - z * sinY;\n const z1 = z * cosY + x * sinY;\n const y2 = y * cosX - z1 * sinX;\n const z2 = z1 * cosX + y * sinX;\n const fov = 260 / (3.4 + z2);\n return {\n x: w / 2 + x1 * fov,\n y: h / 2 + y2 * fov,\n z: z2,\n wx: x1, wy: y2, wz: z2\n };\n });\n\n const sorted = faces.map((f, idx) => {\n const a = proj[f[0]], b = proj[f[1]], c = proj[f[2]];\n const zAvg = (a.z + b.z + c.z) / 3;\n const ux = b.wx - a.wx, uy = b.wy - a.wy, uz = b.wz - a.wz;\n const vx = c.wx - a.wx, vy = c.wy - a.wy, vz = c.wz - a.wz;\n let nx = uy * vz - uz * vy;\n let ny = uz * vx - ux * vz;\n let nz = ux * vy - uy * vx;\n const len = Math.hypot(nx, ny, nz) || 1;\n nx /= len; ny /= len; nz /= len;\n return { a, b, c, zAvg, nx, ny, nz, idx };\n }).sort((p, q) => q.zAvg - p.zAvg);\n\n sorted.forEach(tri => {\n fCtx.beginPath();\n fCtx.moveTo(tri.a.x, tri.a.y);\n fCtx.lineTo(tri.b.x, tri.b.y);\n fCtx.lineTo(tri.c.x, tri.c.y);\n fCtx.closePath();\n\n const light = Math.max(0.18, (tri.nx * 0.4 - tri.ny * 0.6 - tri.nz * 0.68));\n if (fableShaderType === 'decal') {\n const isHighlight = (tri.idx % 7 === 0);\n fCtx.fillStyle = isHighlight\n ? `rgba(255, 85, 0, ${0.45 + light * 0.5})`\n : `rgba(179, 136, 255, ${0.14 + light * 0.42})`;\n fCtx.fill();\n fCtx.strokeStyle = 'rgba(243, 240, 230, 0.28)';\n fCtx.lineWidth = 0.8;\n fCtx.stroke();\n } else if (fableShaderType === 'normal') {\n const r = Math.floor((tri.nx * 0.5 + 0.5) * 255);\n const g = Math.floor((tri.ny * 0.5 + 0.5) * 255);\n const b = Math.floor((-tri.nz * 0.5 + 0.5) * 255);\n fCtx.fillStyle = `rgb(${r},${g},${b})`;\n fCtx.fill();\n } else {\n fCtx.strokeStyle = '#b8ff01';\n fCtx.lineWidth = 1;\n fCtx.stroke();\n }\n });\n\n document.getElementById('mesh-telemetry').textContent =\n `MESH: ${fableMeshType.toUpperCase()} · ${faces.length} TRIS · SHADER: ${fableShaderType.toUpperCase()}`;\n}\n\n// 3D. GPT-6-ASTRA CRITIQUE & LABELING WORKBENCH\nlet astraBatchCount = 142;\nfunction renderAstraWorkbench() {\n document.getElementById('astra-critique-box').innerHTML =\n `<div style=\"color:var(--accent-3);font-weight:700;\">[GPT-6-ASTRA // DESIGN CRITIQUE REPORT — HEARTHWYND &amp; CITADEL]</div>` +\n `<div>1. <strong>Typography &amp; Rhythm</strong>: Decal headers use tight -0.025em tracking; body copy set at 13.5px with 1.5 line-height for effortless scanning.</div>` +\n `<div>2. <strong>Contrast Verification</strong>: Primary bone ink (#F3F0E6) on obsidian (#090A0C) yields <strong>15.8:1 (WCAG AAA)</strong>.</div>` +\n `<div>3. <strong>Test Data Labeling</strong>: Labelled <strong>${astraBatchCount} multi-turn test samples</strong> today across 5 triage intents &amp; 18 visual regression checkpoints.</div>`;\n}\nfunction runAstraLabelBatch() {\n astraBatchCount += 24;\n renderAstraWorkbench();\n playTick(880, 0.05);\n}\nrenderAstraWorkbench();\n\n// 3E. GPT-6.1-SOL ADVERSARIAL CLAIM-VS-CODE AUDITOR\nconst solAuditItems = [\n {\n claim: 'CLAIM #1: \"Claviger triage never wakes Opus 5.5 on community chatter\"',\n status: 'PASS',\n code: `// server-kit/triage-router.ts:48\\nif (verdict.route.startsWith('drop:')) {\\n metrics.inc('tokens_saved');\\n return res.status(204).end(); // Zero session wake\\n}`\n },\n {\n claim: 'CLAIM #2: \"All internal LAN IPs & tokens are redacted before publishing to baldanders.severian.dev\"',\n status: 'DRIFT',\n code: `// baldanders/redactor.ts:19\\n// SOL AUDIT WARNING: Regex catches IPv4 10.x.x.x\\n// but misses IPv6 link-local fe80:: addresses!\\nconst IP_RE = /\\\\b10\\\\.\\\\d+\\\\.\\\\d+\\\\.\\\\d+(:\\\\d+)?\\\\b/g;`\n },\n {\n claim: 'CLAIM #3: \"Every production deploy requires cryptographic sign-off token from Severian\"',\n status: 'PASS',\n code: `// citadel-gate/deploy.ts:112\\nif (!verifyHumanSignature(req.headers['x-severian-sig'])) {\\n throw new GateLockError('Unapproved deploy blocked');\\n}`\n }\n];\nlet selectedSolIdx = 1;\n\nfunction renderSolAudit() {\n const listEl = document.getElementById('sol-claims-list');\n listEl.innerHTML = `<div class=\"audit-col-title\">CLAIMS IN PR / DEPLOY KIT</div>` +\n solAuditItems.map((item, i) => `\n <div class=\"claim-item ${item.status === 'PASS' ? 'pass' : '[redacted: secret]'} ${i === selectedSolIdx ? 'active' : ''}\" onclick=\"selectSolClaim(${i})\">\n <div style=\"font-weight:700;color:${item.status === 'PASS' ? 'var(--ok)' : 'var(--danger)'}\">\n [${item.status === 'PASS' ? '✓ VERIFIED' : '⚠ CLAIM DRIFT'}]\n </div>\n <div style=\"color:var(--ink-0);margin-top:2px;\">${item.claim}</div>\n </div>\n `).join('');\n\n const cur = solAuditItems[selectedSolIdx];\n document.getElementById('sol-code-proof').innerHTML =\n `<div class=\"audit-col-title\">ACTUAL CODE AST // AUDITED BY GPT-6.1-SOL</div>` +\n `<pre style=\"white-space:pre-wrap;color:var(--ink-0);line-height:1.45;\">${cur.code}</pre>`;\n}\nfunction selectSolClaim(idx) {\n selectedSolIdx = idx;\n renderSolAudit();\n playTick(540, 0.04);\n}\nfunction patchSolDrift() {\n solAuditItems[1].status = 'PASS';\n solAuditItems[1].code = `// baldanders/redactor.ts:19 [PATCHED BY OPUS 5.5]\\n// SOL RE-AUDIT: Both IPv4 LAN and IPv6 fe80:: masked ✓\\nconst IP_RE = /(\\\\b10\\\\.\\\\d+\\\\.\\\\d+\\\\.\\\\d+(:\\\\d+)?\\\\b|fe80:[0-9a-f:]+)/gi;`;\n selectedSolIdx = 1;\n renderSolAudit();\n document.getElementById('sol-summary-status').textContent = '3/3 CLAIMS VERIFIED AGAINST CODE ✓';\n document.getElementById('sol-summary-status').style.color = 'var(--ok)';\n playTick(920, 0.07);\n}\nrenderSolAudit();\n\n// 3F. SONNET 5.5 REBASE & SYNTHETIC TEST CONVERSATION ENGINE\nfunction runSonnetRebase() {\n document.getElementById('sonnet-output').innerHTML =\n `<div style=\"color:var(--ok);font-weight:700;\">$ git rebase --onto main feat/hearthwynd-decal-kit</div>` +\n `<div>Rebasing (1/3) 8f21a0c.. Applied cleanly</div>` +\n `<div>Rebasing (2/3) c490e1b.. Applied cleanly</div>` +\n `<div>Rebasing (3/3) e109d44.. Applied cleanly</div>` +\n `<div style=\"margin-top:6px;color:var(--accent-2);\">Running test suite across 8 Citadel packages... 240/240 PASS (1.42s)</div>`;\n playTick(740, 0.05);\n}\nfunction generateSonnetConvo() {\n document.getElementById('sonnet-output').innerHTML =\n `<div style=\"color:var(--accent-3);font-weight:700;\">[SONNET 5.5 // SYNTHETIC TEST CONVERSATION #409 FOR CLAVIGER EVAL]</div>` +\n `<div><strong>User_A:</strong> \"yo the new Into Bloom header looks sick, btw on Firefox 132 the SVG mask flickers when scrolling fast\"</div>` +\n `<div><strong>Expected Triage Label:</strong> Mixed [Praise + Bug Report] → Must route to <code>session:into-bloom</code> (p=0.94) instead of dropping as chatter.</div>`;\n playTick(680, 0.05);\n}\nrunSonnetRebase();\n\n/* ==========================================================================\n 4. MODE 02: PRIVATE REVIEW SURFACE SIMULATOR\n ========================================================================== */\nconst scenarios = [\n {\n name: 'Hearthwynd Redesign (from-avalon.com Collab)',\n url: 'http://citadel.local:4410/review/hearthwynd-v4',\n steps: [\n { model: 'Claviger (Laya-421M)', role: 'Discord Triage', detail: 'Triaged bug & seasonal redesign request in #hearthwynd-dev (0.8ms, p=0.98) and appended item #CIT-119 to the Shared To-Do Ledger.' },\n { model: 'Opus 5.5 (Lead Session)', role: 'Ledger Coordination', detail: 'Claimed #CIT-119 from the shared ledger and dispatched Project Session #03 (hearthwynd) with server kit targets.' },\n { model: 'Fable 5.2', role: 'Visual Language & 3D', detail: 'Crafted ember-slate decal headers and a low-overhead procedural 3D ember particle rig for the hero banner.' },\n { model: 'GPT-6-Astra (Codex)', role: 'Design Critique & Data', detail: 'Critiqued mobile breakpoint rhythm and bumped caption contrast from 4.1:1 to 14.6:1 (AAA). Labelled 12 visual test snapshots.' },\n { model: 'Sonnet 5.5', role: 'Rebase & Test Suite', detail: 'Rebased branch onto main, ran 184 automated integration checks, and generated 10 synthetic browser test conversations.' },\n { model: 'GPT-6.1-Sol (Codex)', role: 'Claim vs Code Audit', detail: 'Audited PR claim \"Zero layout shift & Brotli precompression\" against nginx/server kit AST. All claims verified.' }\n ]\n },\n {\n name: 'Desktop Buddies — Open-Source Pet Maker Rig',\n url: 'http://citadel.local:4410/review/desktop-buddies-rig',\n steps: [\n { model: 'Claviger (Laya-421M)', role: 'Discord Triage', detail: 'Routed community feature request for custom walk-cycle keyframes to the Desktop Buddies ledger queue.' },\n { model: 'Fable 5.2', role: '3D-to-2D Sprite Pipeline', detail: 'Ran 3D pipeline experiment projecting low-poly automaton meshes into crisp pixel-art sprite sheets.' },\n { model: 'Opus 5.5 (Project Session)', role: 'Tool & Kit Build', detail: 'Built the browser-based sprite rig inspector and zero-dependency export bundle.' },\n { model: 'GPT-6-Astra (Codex)', role: 'Design Critique', detail: 'Critiqued timeline scrubber ergonomics and decal badge hierarchy; labelled 20 animation test fixtures.' },\n { model: 'Sonnet 5.5', role: 'Mechanical Ops', detail: 'Rebased across 4 contributors and verified 100% deterministic sprite export hashes.' },\n { model: 'GPT-6.1-Sol (Codex)', role: 'Claim Verification', detail: 'Verified README claim \"Runs 100% offline with zero telemetry calls\" against bundle AST.' }\n ]\n },\n {\n name: 'Scene Convert — Multi-Layer Scene File Converter',\n url: 'http://citadel.local:4410/review/scene-convert-v2',\n steps: [\n { model: 'Claviger (Laya-421M)', role: 'Discord Triage', detail: 'Flagged 16-bit channel NaN report from Discord and attached repro scene metadata to the ledger.' },\n { model: 'Opus 5.5 (Project Session)', role: 'Core Engine Build', detail: 'Implemented streaming 16-bit depth & decal layer parser with zero-copy typed arrays.' },\n { model: 'Fable 5.2', role: 'Scene Preview UI', detail: 'Designed exploded isometric layer preview surface using the decal-pack visual system.' },\n { model: 'GPT-6-Astra (Codex)', role: 'Critique & Test Data', detail: 'Labelled 32 edge-case corrupted scene files for automated regression testing.' },\n { model: 'Sonnet 5.5', role: 'Test Execution', detail: 'Executed full fuzzing harness & rebased release branch.' },\n { model: 'GPT-6.1-Sol (Codex)', role: 'Claim vs Code Audit', detail: 'Verified memory ceiling claim (<128MB heap on 4K scenes) against worker allocation code.' }\n ]\n }\n];\nlet curScenarioIdx = 0;\nlet curStepIdx = 5;\n\nfunction loadScenario(idx, btn) {\n curScenarioIdx = idx;\n curStepIdx = 5;\n if (btn) {\n btn.parentElement.querySelectorAll('.chip-btn').forEach(b => b.classList.remove('active'));\n btn.classList.add('active');\n }\n renderReviewSurface();\n playTick(660, 0.04);\n}\n\nfunction renderReviewSurface() {\n const sc = scenarios[curScenarioIdx];\n document.getElementById('rev-page-url').textContent = 'PRIVATE REVIEW PAGE // ' + sc.url;\n const listEl = document.getElementById('review-steps-list');\n listEl.innerHTML = sc.steps.map((s, i) => `\n <div class=\"pipe-step ${i <= curStepIdx ? 'done' : ''} ${i === curStepIdx ? 'active' : ''}\" onclick=\"selectReviewStep(${i})\">\n <div class=\"ps-top\">\n <span>0${i + 1} // ${s.model}</span>\n <span style=\"color:var(--ok);\">${i <= curStepIdx ? '✓' : '·'}</span>\n </div>\n <div class=\"ps-sub\">${s.role}</div>\n </div>\n `).join('');\n\n const st = sc.steps[curStepIdx];\n document.getElementById('rev-stage-detail').innerHTML = `\n <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:14px;\">\n <div style=\"font-family:var(--font-mono);font-size:10.5px;color:var(--accent);text-transform:uppercase;\">\n STAGE 0${curStepIdx + 1} OF 06 // ${st.role}\n </div>\n <div style=\"font-family:var(--font-display);font-size:18px;font-weight:800;margin:4px 0 8px;\">\n ${st.model} → ${sc.name}\n </div>\n <p style=\"font-size:13px;color:var(--ink-1);line-height:1.5;\">${st.detail}</p>\n </div>\n <div style=\"display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-family:var(--font-mono);font-size:10.5px;\">\n <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:10px;\">\n <div style=\"color:var(--ink-2);\">ASTRA DESIGN CRITIQUE</div>\n <div style=\"color:var(--ok);font-weight:700;margin-top:3px;\">✓ PASS (AAA CONTRAST)</div>\n </div>\n <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:10px;\">\n <div style=\"color:var(--ink-2);\">SOL CLAIM-VS-CODE AUDIT</div>\n <div style=\"color:var(--ok);font-weight:700;margin-top:3px;\">✓ 100% CLAIMS VERIFIED</div>\n </div>\n <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:10px;\">\n <div style=\"color:var(--ink-2);\">SONNET TEST HARNESS</div>\n <div style=\"color:var(--ok);font-weight:700;margin-top:3px;\">✓ REBASED &amp; GREEN</div>\n </div>\n </div>\n `;\n}\n\nfunction selectReviewStep(i) {\n curStepIdx = i;\n renderReviewSurface();\n playTick(560 + i * 50, 0.035);\n}\n\nfunction playFullReviewTrace() {\n curStepIdx = 0;\n renderReviewSurface();\n const timer = setInterval(() => {\n curStepIdx++;\n if (curStepIdx >= 6) {\n curStepIdx = 5;\n clearInterval(timer);\n return;\n }\n renderReviewSurface();\n playTick(520 + curStepIdx * 70, 0.04);\n }, 420);\n}\n\nfunction severianDecision(action) {\n const badge = document.getElementById('rev-gate-badge');\n const txt = document.getElementById('approve-status-text');\n if (action === 'approve') {\n badge.textContent = '✓ DEPLOY APPROVED BY SEVERIAN';\n badge.style.background = 'var(--ok)';\n txt.innerHTML = `<strong style=\"color:var(--ok);\">Signed &amp; deployed!</strong> Public tracker at <code>citadel.severian.dev/projects</code> updated and redacted transcript pushed to <code>baldanders.severian.dev</code>.`;\n playTick(880, 0.08);\n setTimeout(() => playTick(1174, 0.12), 90);\n } else {\n badge.textContent = '✕ RETURNED TO SHARED LEDGER';\n badge.style.background = 'var(--danger)';\n badge.style.color = '#fff';\n txt.innerHTML = `<strong style=\"color:var(--danger);\">Deploy blocked by Severian.</strong> Revision note dispatched to Opus 5.5 Lead Session; private review page locked.`;\n playTick(310, 0.1, 'sawtooth');\n }\n}\nrenderReviewSurface();\n\n/* ==========================================================================\n 5. MODE 03: SCENE CONVERT & DECAL SPECIMEN CANVASES\n ========================================================================== */\nfunction drawSceneConvert() {\n const c = document.getElementById('scene-convert-canvas');\n if (!c) return;\n const ctx = c.getContext('2d');\n const w = c.clientWidth || 520;\n const h = c.clientHeight || 230;\n c.width = w;\n c.height = h;\n ctx.clearRect(0, 0, w, h);\n\n const split = (parseInt(document.getElementById('scene-explode-slider').value, 10) || 0) / 100;\n const layers = [\n { name: 'L0 // DEPTH SKYBOX', color: '#1b263b', offset: -1.2 },\n { name: 'L1 // TERRAIN MESH', color: '#3dff98', offset: -0.4 },\n { name: 'L2 // CITADEL STRUCTURE', color: '#ff5500', offset: 0.4 },\n { name: 'L3 // DECAL HUD OVERLAY', color: '#b8ff01', offset: 1.2 }\n ];\n\n const cx = w / 2;\n const cy = h / 2;\n\n layers.forEach((ly, idx) => {\n const dx = ly.offset * split * 95;\n const dy = -ly.offset * split * 18;\n const lw = 160;\n const lh = 105;\n\n ctx.save();\n ctx.translate(cx + dx, cy + dy);\n // Isometric skew\n ctx.transform(1, -0.18 * split, 0.35 * split, 1, 0, 0);\n\n ctx.fillStyle = 'rgba(12, 14, 18, 0.86)';\n ctx.strokeStyle = ly.color;\n ctx.lineWidth = 1.6;\n ctx.fillRect(-lw / 2, -lh / 2, lw, lh);\n ctx.strokeRect(-lw / 2, -lh / 2, lw, lh);\n\n // Layer procedural artwork\n ctx.fillStyle = ly.color;\n if (idx === 0) {\n ctx.globalAlpha = 0.25;\n ctx.fillRect(-lw/2 + 8, -lh/2 + 8, lw - 16, lh - 16);\n } else if (idx === 1) {\n ctx.beginPath();\n ctx.moveTo(-lw/2 + 10, lh/2 - 12);\n ctx.lineTo(-20, -10);\n ctx.lineTo(25, 18);\n ctx.lineTo(lw/2 - 10, -22);\n ctx.lineTo(lw/2 - 10, lh/2 - 12);\n ctx.closePath();\n ctx.globalAlpha = 0.4;\n ctx.fill();\n } else if (idx === 2) {\n ctx.fillRect(-18, -32, 36, 64);\n } else {\n ctx.strokeRect(-lw/2 + 14, -lh/2 + 14, lw - 28, lh - 28);\n }\n ctx.globalAlpha = 1;\n ctx.font = '700 9.5px \"JetBrains Mono\", monospace';\n ctx.fillText(ly.name, -lw / 2 + 8, -lh / 2 + 15);\n ctx.restore();\n });\n}\n\nlet decalStampIdx = 0;\nlet decalSeed = 421;\nfunction cycleDecalStamp(idx, btn) {\n decalStampIdx = idx;\n if (btn) {\n btn.parentElement.querySelectorAll('.mini-btn').forEach(b => b.classList.remove('active'));\n btn.classList.add('active');\n }\n drawDecalSpecimen();\n playTick(720, 0.04);\n}\nfunction randomizeDecalSeed() {\n decalSeed = Math.floor(100 + Math.random() * 899);\n drawDecalSpecimen();\n playTick(840, 0.04);\n}\n\nfunction drawDecalSpecimen() {\n const c = document.getElementById('decal-specimen-canvas');\n if (!c) return;\n const ctx = c.getContext('2d');\n const w = c.clientWidth || 520;\n const h = c.clientHeight || 230;\n c.width = w;\n c.height = h;\n ctx.clearRect(0, 0, w, h);\n\n const stamps = [\n { code: `CITADEL-SYS // ${decalSeed}`, title: 'AUTARCH GATEWAY', color: '#ff5500', sub: 'DESIGN LANGUAGE: DIE-CUT DECAL PACK' },\n { code: `AVALON // BLOOM-${decalSeed}`, title: 'INTO BLOOM COLLAB', color: '#3dff98', sub: 'FABLE 5.2 + GPT-6-ASTRA CRITIQUE PASS' },\n { code: `FINIS-EST // LAYA-${decalSeed}`, title: 'CLAVIGER 421M GATE', color: '#b8ff01', sub: 'HUGGING FACE OPEN-WEIGHTS TRIAGE' }\n ];\n const st = stamps[decalStampIdx];\n\n // Outer Decal Plate\n ctx.strokeStyle = st.color;\n ctx.lineWidth = 2;\n ctx.strokeRect(24, 22, w - 48, h - 44);\n\n // Hazard Diagonal Stripes Block\n ctx.save();\n ctx.beginPath();\n ctx.rect(36, 34, 110, 26);\n ctx.clip();\n ctx.fillStyle = st.color;\n for (let x = -30; x < 160; x += 14) {\n ctx.beginPath();\n ctx.moveTo(36 + x, 34);\n ctx.lineTo(36 + x + 7, 34);\n ctx.lineTo(36 + x - 7, 60);\n ctx.lineTo(36 + x - 14, 60);\n ctx.closePath();\n ctx.fill();\n }\n ctx.restore();\n\n ctx.fillStyle = '#f3f0e6';\n ctx.font = '800 11px \"JetBrains Mono\", monospace';\n ctx.fillText(st.code, 158, 51);\n\n ctx.font = '800 24px \"Space Grotesk\", sans-serif';\n ctx.fillStyle = st.color;\n ctx.fillText(st.title, 36, 105);\n\n ctx.font = '600 11px \"JetBrains Mono\", monospace';\n ctx.fillStyle = '#b8b4a8';\n ctx.fillText(st.sub, 36, 128);\n\n // Barcode / Telemetry Bars\n for (let i = 0; i < 38; i++) {\n const bw = ((i * decalSeed) % 5 === 0) ? 4 : 1.5;\n ctx.fillStyle = (i % 7 === 0) ? st.color : '#f3f0e6';\n ctx.fillRect(36 + i * 7.5, 148, bw, 34);\n }\n}\n\n/* ==========================================================================\n 6. MODE 04: ALL 9 PUBLIC PROJECTS MATRIX\n ========================================================================== */\nconst publicProjects = [\n {\n name: 'from-avalon.com',\n url: 'from-avalon.com',\n desc: 'Primary web home for Avalon, an online creative community, coordinating collaborative seasonal showcases.',\n models: ['Opus 5.5', 'Fable 5.2', 'GPT-6-Astra', 'GPT-6.1-Sol', 'Sonnet 5.5']\n },\n {\n name: 'Into Bloom & Hearthwynd',\n url: 'from-avalon.com // Collab Sites',\n desc: 'Bespoke collaborative community sites for Avalon, featuring custom visual languages, shaders, and editorial layouts.',\n models: ['Opus 5.5', 'Fable 5.2', 'GPT-6-Astra', 'Sonnet 5.5']\n },\n {\n name: 'Desktop Buddies',\n url: 'Open-Source Desktop Pet Maker',\n desc: 'Open-source maker for animated desktop companions (like the live buddies patrolling the top rail of this embed).',\n models: ['Opus 5.5', 'Fable 5.2', 'Sonnet 5.5', 'GPT-6.1-Sol']\n },\n {\n name: 'Scene Convert',\n url: 'Image-Scene File Converter',\n desc: 'High-speed converter and layer decomposer for complex multi-channel image-scene files.',\n models: ['Opus 5.5', 'Fable 5.2', 'Sonnet 5.5', 'GPT-6.1-Sol']\n },\n {\n name: 'Citadel Project Trackers',\n url: 'citadel.severian.dev/projects',\n desc: 'Public window into Citadel’s shared to-do ledger, session status, and shipped milestones.',\n models: ['Opus 5.5', 'Sonnet 5.5', 'GPT-6.1-Sol']\n },\n {\n name: 'Talos Write-Ups',\n url: 'talos.severian.dev',\n desc: 'Long-form essays, architectural postmortems, and notes on running multi-agent setups—every post human-approved.',\n models: ['Opus 5.5', 'GPT-6-Astra', 'GPT-6.1-Sol']\n },\n {\n name: 'Baldanders Transcripts',\n url: 'baldanders.severian.dev',\n desc: 'Public archive of redacted multi-agent session transcripts showing how tasks actually unfold inside Citadel.',\n models: ['Opus 5.5', 'Sonnet 5.5', 'GPT-6.1-Sol']\n },\n {\n name: 'Claviger (Laya-421M)',\n url: 'hf.co/finis-est/Laya-421M-Claviger-v0',\n desc: 'Small 421M open-weights model on Hugging Face that triages incoming Discord messages for agents.',\n models: ['Claviger-421M', 'Sonnet 5.5', 'GPT-6-Astra', 'Opus 5.5']\n },\n {\n name: '3D Pipeline & Decal Language',\n url: 'Citadel Design & 3D Stack',\n desc: 'Experimental 3D model pipeline and the die-cut decal-pack visual system powering Severian’s sites.',\n models: ['Fable 5.2', 'GPT-6-Astra', 'Opus 5.5']\n }\n];\n\nfunction filterProjects(modelFilter, btn) {\n if (btn) {\n document.querySelectorAll('#proj-filter-bar .chip-btn').forEach(b => b.classList.remove('active'));\n btn.classList.add('active');\n }\n const grid = document.getElementById('projects-grid');\n const list = modelFilter === 'all'\n ? publicProjects\n : publicProjects.filter(p => p.models.includes(modelFilter));\n\n grid.innerHTML = list.map(p => `\n <div class=\"proj-card\">\n <div>\n <div class=\"proj-url\">${p.url}</div>\n <div class=\"proj-name\">${p.name}</div>\n <div class=\"proj-desc\" style=\"margin-top:4px;\">${p.desc}</div>\n </div>\n <div class=\"proj-models\">\n ${p.models.map(m => `<span class=\"pm-tag\">${m}</span>`).join('')}\n </div>\n </div>\n `).join('');\n playTick(620, 0.035);\n}\nfilterProjects('all');\n\n/* ==========================================================================\n 7. BALDANDERS REDACTED TRANSCRIPT ROTATOR\n ========================================================================== */\nconst redactedLogs = [\n `[OPUS-5.5 → SOL-6.1] Staged <span class=\"redact-block\">10.0.42.18:4410/rev/88</span> for Hearthwynd; Claviger filtered <span class=\"redact-block\">142 noise pings</span>; Astra verified <span class=\"redact-block\">15.8:1 AAA contrast</span>. Awaiting Severian sign-off.`,\n `[FABLE-5.2 → ASTRA-6] Exported <span class=\"redact-block\">buddy_rig_v4.glb</span> via 3D pipeline; applied decal pack sheet <span class=\"redact-block\">#DC-09-AVALON</span> to Into Bloom header.`,\n `[SONNET-5.5 → OPUS-5.5] Rebased <span class=\"redact-block\">feat/scene-convert-16bit</span> onto main; generated <span class=\"redact-block\">64 synthetic Discord traces</span> for finis-est/Laya-421M-Claviger-v0.`,\n `[SOL-6.1 → GATE] Audited deployment kit against claim <span class=\"redact-block\">\"zero unredacted hostnames\"</span>; caught 1 regex gap before <span class=\"redact-block\">baldanders.severian.dev</span> sync.`\n];\nlet curLogIdx = 0;\n\nfunction cycleTranscript() {\n curLogIdx = (curLogIdx + 1) % redactedLogs.length;\n document.getElementById('redact-log-line').innerHTML = redactedLogs[curLogIdx];\n playTick(590, 0.035);\n}\n\nfunction toggleDeclassify() {\n const f = document.getElementById('baldanders-footer');\n const on = f.classList.toggle('declassified');\n const btn = document.getElementById('declassify-btn');\n btn.textContent = on ? 'MASK REDACTIONS' : 'UNMASK REDACTIONS';\n btn.classList.toggle('active', on);\n playTick(on ? 860 : 440, 0.045);\n}\n\n/* ==========================================================================\n MAIN ANIMATION LOOP\n ========================================================================== */\nfunction animate() {\n renderBuddies();\n renderTopology();\n renderFable3D();\n requestAnimationFrame(animate);\n}\nrequestAnimationFrame(animate);\ndrawSceneConvert();\ndrawDecalSpecimen();\n</script>\n</body>\n</html>\n","Overwrite":true,"Path":"~/run/citadel-embed.html"}

    input

    {
      "Content": "<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"citadel\">\n<head>\n<meta charset=\"UTF-8\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n<title>CITADEL // Severian's Multi-Model Orchestration & Capability Surface</title>\n<style>\n  :root, [data-theme=\"citadel\"] {\n    --bg-0: #090a0c;\n    --bg-1: #101216;\n    --bg-2: #171a20;\n    --bg-3: #20242d;\n    --ink-0: #f3f0e6;\n    --ink-1: #b8b4a8;\n    --ink-2: #76746d;\n    --accent: #ff5500;\n    --accent-2: #b8ff01;\n    --accent-3: #00e5ff;\n    --accent-4: #b388ff;\n    --accent-5: #ffb300;\n    --danger: #ff2a55;\n    --ok: #00e676;\n    --border: #2a2f3a;\n    --border-strong: #3e4554;\n    --grid-line: rgba(243, 240, 230, 0.04);\n    --decal-bg: rgba(255, 85, 0, 0.11);\n    --shadow: 0 20px 50px rgba(0, 0, 0, 0.65);\n    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;\n    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;\n  }\n\n  [data-theme=\"bloom\"] {\n    --bg-0: #09130f;\n    --bg-1: #0f1f19;\n    --bg-2: #162b23;\n    --bg-3: #1f3b30;\n    --ink-0: #eef7f1;\n    --ink-1: #a7c4b5;\n    --ink-2: #698a7a;\n    --accent: #3dff98;\n    --accent-2: #f4d06f;\n    --accent-3: #64dfdf;\n    --accent-4: #ff8fa3;\n    --accent-5: #ffd166;\n    --danger: #ff5c77;\n    --ok: #3dff98;\n    --border: #254639;\n    --border-strong: #396a57;\n    --grid-line: rgba(61, 255, 152, 0.05);\n    --decal-bg: rgba(61, 255, 152, 0.1);\n  }\n\n  [data-theme=\"hearthwynd\"] {\n    --bg-0: #120d0b;\n    --bg-1: #1c1411;\n    --bg-2: #271c17;\n    --bg-3: #352620;\n    --ink-0: #faede3;\n    --ink-1: #cbb2a1;\n    --ink-2: #8a7262;\n    --accent: #ff7733;\n    --accent-2: #ffcc4d;\n    --accent-3: #ff9e7d;\n    --accent-4: #e07a5f;\n    --accent-5: #f2cc8f;\n    --danger: #ff4747;\n    --ok: #52b788;\n    --border: #3d2c24;\n    --border-strong: #5c4236;\n    --grid-line: rgba(255, 119, 51, 0.05);\n    --decal-bg: rgba(255, 119, 51, 0.12);\n  }\n\n  [data-theme=\"baldanders\"] {\n    --bg-0: #111110;\n    --bg-1: #191917;\n    --bg-2: #22221f;\n    --bg-3: #2d2d29;\n    --ink-0: #eae6df;\n    --ink-1: #a6a29a;\n    --ink-2: #6e6b64;\n    --accent: #eae6df;\n    --accent-2: #ff3b30;\n    --accent-3: #d4af37;\n    --accent-4: #a8a29e;\n    --accent-5: #ff9500;\n    --danger: #ff3b30;\n    --ok: #34c759;\n    --border: #33332e;\n    --border-strong: #4d4d46;\n    --grid-line: rgba(234, 230, 223, 0.04);\n    --decal-bg: rgba(255, 59, 48, 0.12);\n  }\n\n  * {\n    box-sizing: border-box;\n    margin: 0;\n    padding: 0;\n  }\n\n  body {\n    background: var(--bg-0);\n    color: var(--ink-0);\n    font-family: var(--font-sans);\n    line-height: 1.45;\n    -webkit-font-smoothing: antialiased;\n    overflow-x: hidden;\n    padding: 12px;\n    background-image:\n      linear-gradient(to right, var(--grid-line) 1px, transparent 1px),\n      linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);\n    background-size: 24px 24px;\n  }\n\n  /* Main Container */\n  .citadel-shell {\n    max-width: 1220px;\n    margin: 0 auto;\n    background: var(--bg-1);\n    border: 1px solid var(--border-strong);\n    box-shadow: var(--shadow);\n    position: relative;\n    overflow: hidden;\n    transition: background 0.25s ease, border-color 0.25s ease;\n  }\n\n  /* Corner Registration Marks (Decal-Pack Language) */\n  .reg-mark {\n    position: absolute;\n    width: 10px;\n    height: 10px;\n    pointer-events: none;\n    z-index: 30;\n  }\n  .reg-mark::before, .reg-mark::after {\n    content: '';\n    position: absolute;\n    background: var(--accent);\n  }\n  .reg-mark::before { width: 10px; height: 1.5px; top: 4px; left: 0; }\n  .reg-mark::after { width: 1.5px; height: 10px; top: 0; left: 4px; }\n  .reg-tl { top: 6px; left: 6px; }\n  .reg-tr { top: 6px; right: 6px; }\n  .reg-bl { bottom: 6px; left: 6px; }\n  .reg-br { bottom: 6px; right: 6px; }\n\n  /* Astra Redline Critique Overlay Mode */\n  .citadel-shell.astra-critique-on {\n    outline: 1px dashed var(--accent-3);\n  }\n  .astra-badge-overlay {\n    display: none;\n    position: absolute;\n    z-index: 40;\n    pointer-events: none;\n    font-family: var(--font-mono);\n    font-size: 10px;\n    line-height: 1.2;\n    padding: 3px 6px;\n    background: rgba(0, 229, 255, 0.14);\n    border: 1px solid var(--accent-3);\n    color: var(--accent-3);\n    text-transform: uppercase;\n    letter-spacing: 0.04em;\n    white-space: nowrap;\n    backdrop-filter: blur(4px);\n  }\n  .citadel-shell.astra-critique-on .astra-badge-overlay {\n    display: block;\n  }\n  .citadel-shell.astra-critique-on .panel-box {\n    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.22);\n  }\n\n  /* Top Decal & Telemetry Strip */\n  .top-decal-bar {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    flex-wrap: wrap;\n    gap: 8px;\n    padding: 8px 16px;\n    background: var(--bg-0);\n    border-bottom: 1px solid var(--border);\n    font-family: var(--font-mono);\n    font-size: 11px;\n  }\n\n  .decal-left {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    flex-wrap: wrap;\n  }\n\n  .hazard-pill {\n    display: inline-flex;\n    align-items: center;\n    gap: 6px;\n    padding: 2px 8px;\n    background: var(--accent);\n    color: #090a0c;\n    font-weight: 800;\n    letter-spacing: 0.06em;\n    text-transform: uppercase;\n    font-size: 10px;\n    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));\n  }\n\n  .status-dot {\n    width: 7px;\n    height: 7px;\n    border-radius: 50%;\n    background: var(--ok);\n    box-shadow: 0 0 8px var(--ok);\n    display: inline-block;\n    animation: pulseDot 2s infinite;\n  }\n\n  @keyframes pulseDot {\n    0%, 100% { opacity: 1; transform: scale(1); }\n    50% { opacity: 0.45; transform: scale(0.88); }\n  }\n\n  .tele-item {\n    color: var(--ink-1);\n    display: inline-flex;\n    align-items: center;\n    gap: 5px;\n  }\n  .tele-item strong {\n    color: var(--ink-0);\n    font-weight: 600;\n  }\n\n  .decal-controls {\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    flex-wrap: wrap;\n  }\n\n  .mini-btn {\n    background: var(--bg-2);\n    color: var(--ink-1);\n    border: 1px solid var(--border);\n    padding: 3px 8px;\n    font-family: var(--font-mono);\n    font-size: 10px;\n    cursor: pointer;\n    text-transform: uppercase;\n    letter-spacing: 0.04em;\n    transition: all 0.15s ease;\n  }\n  .mini-btn:hover {\n    color: var(--ink-0);\n    border-color: var(--accent);\n  }\n  .mini-btn.active {\n    background: var(--decal-bg);\n    color: var(--accent);\n    border-color: var(--accent);\n    font-weight: 700;\n  }\n\n  /* Desktop Buddies Interactive Track */\n  .buddy-rail {\n    position: relative;\n    height: 34px;\n    background: linear-gradient(90deg, var(--bg-0) 0%, var(--bg-2) 50%, var(--bg-0) 100%);\n    border-bottom: 1px solid var(--border);\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    padding: 0 16px;\n    overflow: hidden;\n    user-select: none;\n  }\n  #buddy-canvas {\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    cursor: pointer;\n  }\n  .buddy-hud {\n    position: relative;\n    z-index: 2;\n    pointer-events: none;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    width: 100%;\n    font-family: var(--font-mono);\n    font-size: 10px;\n    color: var(--ink-2);\n  }\n  .buddy-hud-actions {\n    pointer-events: auto;\n    display: flex;\n    gap: 6px;\n    align-items: center;\n  }\n  .buddy-speech {\n    background: var(--bg-0);\n    border: 1px solid var(--accent-2);\n    color: var(--accent-2);\n    padding: 1px 8px;\n    font-size: 10px;\n    border-radius: 2px;\n    transition: opacity 0.2s;\n  }\n\n  /* Hero Section */\n  .hero-header {\n    padding: 18px 20px 14px;\n    border-bottom: 1px solid var(--border);\n    display: grid;\n    grid-template-columns: 1fr auto;\n    gap: 16px;\n    align-items: end;\n    position: relative;\n  }\n  @media (max-width: 860px) {\n    .hero-header {\n      grid-template-columns: 1fr;\n    }\n  }\n\n  .eyebrow {\n    font-family: var(--font-mono);\n    font-size: 11px;\n    color: var(--accent);\n    text-transform: uppercase;\n    letter-spacing: 0.1em;\n    margin-bottom: 5px;\n    display: flex;\n    align-items: center;\n    gap: 8px;\n  }\n  .eyebrow span.code-tag {\n    background: var(--decal-bg);\n    border: 1px solid var(--accent);\n    padding: 1px 6px;\n    font-size: 10px;\n  }\n\n  .hero-title {\n    font-family: var(--font-display);\n    font-size: clamp(22px, 3.1vw, 34px);\n    font-weight: 800;\n    letter-spacing: -0.025em;\n    line-height: 1.08;\n    color: var(--ink-0);\n    margin-bottom: 8px;\n  }\n  .hero-title .hl {\n    color: var(--accent);\n    text-decoration: underline;\n    text-decoration-thickness: 2px;\n    text-underline-offset: 4px;\n  }\n\n  .hero-sub {\n    color: var(--ink-1);\n    font-size: 13.5px;\n    max-width: 780px;\n    line-height: 1.5;\n  }\n  .hero-sub strong {\n    color: var(--ink-0);\n  }\n\n  .hero-stats {\n    display: grid;\n    grid-template-columns: repeat(4, auto);\n    gap: 8px;\n    font-family: var(--font-mono);\n  }\n  @media (max-width: 600px) {\n    .hero-stats {\n      grid-template-columns: repeat(2, 1fr);\n    }\n  }\n  .stat-card {\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    padding: 8px 11px;\n    min-width: 92px;\n    position: relative;\n  }\n  .stat-card::before {\n    content: '';\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 3px;\n    height: 100%;\n    background: var(--accent);\n  }\n  .stat-val {\n    font-size: 17px;\n    font-weight: 800;\n    color: var(--ink-0);\n    line-height: 1.1;\n  }\n  .stat-lbl {\n    font-size: 9.5px;\n    color: var(--ink-2);\n    text-transform: uppercase;\n    letter-spacing: 0.05em;\n    margin-top: 2px;\n  }\n\n  /* Navigation Mode Tabs */\n  .mode-nav {\n    display: flex;\n    background: var(--bg-0);\n    border-bottom: 1px solid var(--border);\n    overflow-x: auto;\n  }\n  .mode-tab {\n    flex: 1;\n    min-width: 175px;\n    background: transparent;\n    border: none;\n    border-right: 1px solid var(--border);\n    padding: 11px 14px;\n    color: var(--ink-1);\n    font-family: var(--font-mono);\n    font-size: 11px;\n    text-align: left;\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    transition: all 0.15s ease;\n    position: relative;\n  }\n  .mode-tab:last-child {\n    border-right: none;\n  }\n  .mode-tab:hover {\n    background: var(--bg-2);\n    color: var(--ink-0);\n  }\n  .mode-tab.active {\n    background: var(--bg-1);\n    color: var(--ink-0);\n    font-weight: 700;\n  }\n  .mode-tab.active::after {\n    content: '';\n    position: absolute;\n    bottom: 0;\n    left: 0;\n    width: 100%;\n    height: 2.5px;\n    background: var(--accent);\n  }\n  .tab-num {\n    color: var(--accent);\n    font-weight: 700;\n    margin-right: 6px;\n  }\n  .tab-pill {\n    font-size: 9px;\n    padding: 1px 5px;\n    background: var(--bg-3);\n    color: var(--ink-1);\n    border-radius: 2px;\n  }\n  .mode-tab.active .tab-pill {\n    background: var(--decal-bg);\n    color: var(--accent);\n  }\n\n  /* Main Workspace Grid */\n  .workspace-deck {\n    display: none;\n  }\n  .workspace-deck.active {\n    display: block;\n  }\n\n  .deck-split {\n    display: grid;\n    grid-template-columns: 1.08fr 0.92fr;\n    min-height: 510px;\n  }\n  @media (max-width: 960px) {\n    .deck-split {\n      grid-template-columns: 1fr;\n    }\n  }\n\n  .panel-box {\n    padding: 16px;\n    border-right: 1px solid var(--border);\n    position: relative;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n  }\n  .panel-box:last-child {\n    border-right: none;\n  }\n\n  .panel-header {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    margin-bottom: 12px;\n    padding-bottom: 8px;\n    border-bottom: 1px solid var(--border);\n    font-family: var(--font-mono);\n    font-size: 11px;\n  }\n  .panel-title {\n    font-weight: 700;\n    text-transform: uppercase;\n    letter-spacing: 0.06em;\n    color: var(--ink-0);\n    display: flex;\n    align-items: center;\n    gap: 7px;\n  }\n  .panel-title::before {\n    content: '■';\n    color: var(--accent);\n    font-size: 10px;\n  }\n\n  /* Interactive Topology Map + Roster Cards */\n  .topology-stage {\n    position: relative;\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    height: 215px;\n    margin-bottom: 12px;\n    overflow: hidden;\n  }\n  #topology-canvas {\n    width: 100%;\n    height: 100%;\n    display: block;\n    cursor: pointer;\n  }\n  .topo-overlay-controls {\n    position: absolute;\n    bottom: 8px;\n    right: 8px;\n    display: flex;\n    gap: 6px;\n    z-index: 5;\n  }\n  .topo-legend {\n    position: absolute;\n    top: 8px;\n    left: 10px;\n    font-family: var(--font-mono);\n    font-size: 10px;\n    color: var(--ink-2);\n    pointer-events: none;\n    display: flex;\n    gap: 12px;\n  }\n\n  /* Model Roster Grid */\n  .roster-grid {\n    display: grid;\n    grid-template-columns: repeat(2, 1fr);\n    gap: 8px;\n  }\n  @media (max-width: 560px) {\n    .roster-grid {\n      grid-template-columns: 1fr;\n    }\n  }\n\n  .model-card {\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    padding: 10px 12px;\n    cursor: pointer;\n    transition: all 0.16s ease;\n    position: relative;\n    text-align: left;\n  }\n  .model-card:hover {\n    border-color: var(--ink-2);\n    transform: translateY(-1px);\n  }\n  .model-card.selected {\n    background: var(--bg-2);\n    border-color: var(--accent);\n    box-shadow: inset 3px 0 0 var(--accent);\n  }\n  .mc-top {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    margin-bottom: 4px;\n    font-family: var(--font-mono);\n  }\n  .mc-name {\n    font-size: 12.5px;\n    font-weight: 800;\n    color: var(--ink-0);\n    display: flex;\n    align-items: center;\n    gap: 6px;\n  }\n  .mc-dot {\n    width: 7px;\n    height: 7px;\n    border-radius: 50%;\n    display: inline-block;\n  }\n  .mc-badge {\n    font-size: 9px;\n    padding: 1px 5px;\n    border: 1px solid var(--border-strong);\n    color: var(--ink-1);\n    text-transform: uppercase;\n  }\n  .mc-role {\n    font-family: var(--font-mono);\n    font-size: 10px;\n    color: var(--accent);\n    text-transform: uppercase;\n    letter-spacing: 0.04em;\n    margin-bottom: 4px;\n  }\n  .mc-desc {\n    font-size: 11.5px;\n    color: var(--ink-1);\n    line-height: 1.38;\n  }\n\n  /* Right-Hand Live Capability Workbench */\n  .workbench-container {\n    flex: 1;\n    display: flex;\n    flex-direction: column;\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    padding: 14px;\n    position: relative;\n  }\n\n  .wb-header {\n    display: flex;\n    justify-content: space-between;\n    align-items: flex-start;\n    gap: 10px;\n    padding-bottom: 10px;\n    margin-bottom: 12px;\n    border-bottom: 1px dashed var(--border-strong);\n  }\n  .wb-title {\n    font-family: var(--font-display);\n    font-size: 16px;\n    font-weight: 800;\n    color: var(--ink-0);\n  }\n  .wb-subtitle {\n    font-family: var(--font-mono);\n    font-size: 10.5px;\n    color: var(--accent);\n    margin-top: 2px;\n  }\n  .wb-tag {\n    font-family: var(--font-mono);\n    font-size: 10px;\n    padding: 3px 7px;\n    background: var(--decal-bg);\n    border: 1px solid var(--accent);\n    color: var(--accent);\n    white-space: nowrap;\n  }\n\n  /* Workbench Views */\n  .wb-view {\n    display: none;\n    flex-direction: column;\n    gap: 10px;\n    flex: 1;\n  }\n  .wb-view.active {\n    display: flex;\n  }\n\n  /* Claviger Triage Workbench */\n  .discord-input-row {\n    display: flex;\n    gap: 6px;\n  }\n  .discord-input {\n    flex: 1;\n    background: var(--bg-1);\n    border: 1px solid var(--border-strong);\n    color: var(--ink-0);\n    padding: 7px 10px;\n    font-family: var(--font-mono);\n    font-size: 11.5px;\n  }\n  .discord-input:focus {\n    outline: none;\n    border-color: var(--accent);\n  }\n  .preset-chips {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 5px;\n  }\n  .chip-btn {\n    background: var(--bg-2);\n    border: 1px solid var(--border);\n    color: var(--ink-1);\n    font-family: var(--font-mono);\n    font-size: 10px;\n    padding: 3px 7px;\n    cursor: pointer;\n    transition: all 0.12s;\n  }\n  .chip-btn:hover {\n    border-color: var(--accent);\n    color: var(--ink-0);\n  }\n  .logit-bars {\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n    background: var(--bg-1);\n    border: 1px solid var(--border);\n    padding: 10px;\n  }\n  .logit-row {\n    display: grid;\n    grid-template-columns: 155px 1fr 48px;\n    align-items: center;\n    gap: 8px;\n    font-family: var(--font-mono);\n    font-size: 10.5px;\n  }\n  .logit-track {\n    height: 8px;\n    background: var(--bg-3);\n    overflow: hidden;\n    position: relative;\n  }\n  .logit-fill {\n    height: 100%;\n    background: var(--accent);\n    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);\n  }\n  .code-output {\n    font-family: var(--font-mono);\n    font-size: 10.5px;\n    background: #060708;\n    border: 1px solid var(--border);\n    padding: 9px 11px;\n    color: var(--ink-1);\n    line-height: 1.45;\n    overflow-x: auto;\n  }\n\n  /* Fable 5.2 3D Canvas Workbench */\n  .canvas-3d-wrap {\n    position: relative;\n    height: 210px;\n    background: #060709;\n    border: 1px solid var(--border-strong);\n    overflow: hidden;\n  }\n  #fable-3d-canvas {\n    width: 100%;\n    height: 100%;\n    display: block;\n    cursor: grab;\n  }\n  #fable-3d-canvas:active {\n    cursor: grabbing;\n  }\n  .canvas-3d-hud {\n    position: absolute;\n    top: 8px;\n    left: 8px;\n    right: 8px;\n    display: flex;\n    justify-content: space-between;\n    pointer-events: none;\n    font-family: var(--font-mono);\n    font-size: 10px;\n    color: var(--ink-1);\n  }\n  .canvas-3d-controls {\n    position: absolute;\n    bottom: 8px;\n    left: 8px;\n    right: 8px;\n    display: flex;\n    justify-content: space-between;\n    gap: 5px;\n    flex-wrap: wrap;\n  }\n\n  /* GPT-6.1-Sol Claim vs Code Auditor */\n  .audit-split {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: 8px;\n  }\n  @media (max-width: 580px) {\n    .audit-split {\n      grid-template-columns: 1fr;\n    }\n  }\n  .audit-col {\n    background: var(--bg-1);\n    border: 1px solid var(--border);\n    padding: 8px;\n    font-family: var(--font-mono);\n    font-size: 10.5px;\n  }\n  .audit-col-title {\n    font-size: 10px;\n    color: var(--ink-2);\n    text-transform: uppercase;\n    margin-bottom: 6px;\n    padding-bottom: 4px;\n    border-bottom: 1px solid var(--border);\n  }\n  .claim-item {\n    padding: 6px 7px;\n    border: 1px solid var(--border);\n    margin-bottom: 5px;\n    cursor: pointer;\n    background: var(--bg-0);\n    transition: all 0.15s;\n  }\n  .claim-item:hover, .claim-item.active {\n    border-color: var(--accent);\n  }\n  .claim-item.pass {\n    border-left: 3px solid var(--ok);\n  }\n  .claim-item.fail {\n    border-left: 3px solid var(--danger);\n    background: rgba(255, 42, 85, 0.07);\n  }\n\n  /* Mode 2: Private Review Page & Step-by-Step Pipeline Replay */\n  .review-surface-grid {\n    display: grid;\n    grid-template-columns: 310px 1fr;\n    min-height: 510px;\n  }\n  @media (max-width: 900px) {\n    .review-surface-grid {\n      grid-template-columns: 1fr;\n    }\n  }\n  .pipeline-steps {\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n  }\n  .pipe-step {\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    padding: 9px 11px;\n    font-family: var(--font-mono);\n    font-size: 11px;\n    cursor: pointer;\n    position: relative;\n    transition: all 0.15s;\n  }\n  .pipe-step.active {\n    border-color: var(--accent);\n    background: var(--bg-2);\n    box-shadow: inset 3px 0 0 var(--accent);\n  }\n  .pipe-step.done {\n    border-left: 3px solid var(--ok);\n  }\n  .ps-top {\n    display: flex;\n    justify-content: space-between;\n    color: var(--ink-0);\n    font-weight: 700;\n    margin-bottom: 3px;\n  }\n  .ps-sub {\n    font-size: 10px;\n    color: var(--ink-1);\n    font-family: var(--font-sans);\n  }\n\n  .approve-bar {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    flex-wrap: wrap;\n    gap: 10px;\n    padding: 12px 14px;\n    background: var(--bg-2);\n    border: 1px solid var(--border-strong);\n    margin-top: auto;\n  }\n  .action-btn {\n    padding: 8px 14px;\n    font-family: var(--font-mono);\n    font-size: 11px;\n    font-weight: 800;\n    text-transform: uppercase;\n    letter-spacing: 0.05em;\n    border: 1px solid transparent;\n    cursor: pointer;\n    transition: all 0.15s;\n  }\n  .btn-approve {\n    background: var(--ok);\n    color: #060807;\n  }\n  .btn-approve:hover {\n    filter: brightness(1.12);\n    box-shadow: 0 0 15px rgba(0, 230, 118, 0.4);\n  }\n  .btn-reject {\n    background: transparent;\n    border-color: var(--danger);\n    color: var(--danger);\n  }\n  .btn-reject:hover {\n    background: rgba(255, 42, 85, 0.12);\n  }\n\n  /* Mode 3: Scene Convert & Capability Lab */\n  .lab-grid {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: 14px;\n    padding: 16px;\n  }\n  @media (max-width: 860px) {\n    .lab-grid {\n      grid-template-columns: 1fr;\n    }\n  }\n  .lab-card {\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    padding: 14px;\n    display: flex;\n    flex-direction: column;\n    gap: 10px;\n  }\n\n  /* Mode 4: Public Projects Matrix */\n  .projects-matrix {\n    padding: 16px;\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    gap: 10px;\n  }\n  @media (max-width: 900px) {\n    .projects-matrix {\n      grid-template-columns: repeat(2, 1fr);\n    }\n  }\n  @media (max-width: 580px) {\n    .projects-matrix {\n      grid-template-columns: 1fr;\n    }\n  }\n  .proj-card {\n    background: var(--bg-0);\n    border: 1px solid var(--border);\n    padding: 12px;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    gap: 8px;\n    cursor: pointer;\n    transition: all 0.15s;\n    position: relative;\n  }\n  .proj-card:hover, .proj-card.active {\n    border-color: var(--accent);\n    background: var(--bg-2);\n  }\n  .proj-url {\n    font-family: var(--font-mono);\n    font-size: 10px;\n    color: var(--accent);\n  }\n  .proj-name {\n    font-family: var(--font-display);\n    font-size: 15px;\n    font-weight: 800;\n    color: var(--ink-0);\n  }\n  .proj-desc {\n    font-size: 12px;\n    color: var(--ink-1);\n    line-height: 1.4;\n  }\n  .proj-models {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 4px;\n    margin-top: 4px;\n  }\n  .pm-tag {\n    font-family: var(--font-mono);\n    font-size: 9.5px;\n    padding: 1px 5px;\n    background: var(--bg-1);\n    border: 1px solid var(--border-strong);\n    color: var(--ink-1);\n  }\n\n  /* Bottom Baldanders Redacted Transcript Stream */\n  .baldanders-strip {\n    background: #070809;\n    border-top: 1px solid var(--border-strong);\n    padding: 10px 16px;\n    font-family: var(--font-mono);\n    font-size: 11px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n    flex-wrap: wrap;\n  }\n  .redact-stream {\n    flex: 1;\n    color: var(--ink-1);\n    overflow: hidden;\n    min-width: 260px;\n  }\n  .redact-block {\n    background: var(--ink-0);\n    color: transparent;\n    padding: 0 4px;\n    border-radius: 1px;\n    cursor: pointer;\n    transition: all 0.18s ease;\n    user-select: none;\n  }\n  .redact-block:hover,\n  .declassified .redact-block,\n  [data-theme=\"baldanders\"] .redact-block:hover {\n    background: rgba(255, 85, 0, 0.2);\n    color: var(--accent-2);\n    border-bottom: 1px dashed var(--accent-2);\n  }\n\n  /* Embed Snippet Modal / Drawer */\n  .embed-drawer {\n    display: none;\n    background: var(--bg-0);\n    border-top: 1px solid var(--accent);\n    padding: 12px 16px;\n    font-family: var(--font-mono);\n    font-size: 11px;\n  }\n  .embed-drawer.open {\n    display: block;\n  }\n</style>\n</head>\n<body>\n\n<div class=\"citadel-shell\" id=\"citadel-root\">\n  <!-- Corner Registration Marks -->\n  <div class=\"reg-mark reg-tl\"></div>\n  <div class=\"reg-mark reg-tr\"></div>\n  <div class=\"reg-mark reg-bl\"></div>\n  <div class=\"reg-mark reg-br\"></div>\n\n  <!-- GPT-6-Astra Critique Overlays (Visible when Astra Critique is toggled ON) -->\n  <div class=\"astra-badge-overlay\" style=\"top: 44px; right: 24px;\">\n    ASTRA CRITIQUE // CONTRAST 15.8:1 (AAA) · DECAL WEIGHT BALANCED\n  </div>\n  <div class=\"astra-badge-overlay\" style=\"top: 155px; left: 24px;\">\n    ASTRA // 24PX BASELINE GRID LOCKED · OPTICAL TRACKING -0.025EM\n  </div>\n  <div class=\"astra-badge-overlay\" style=\"bottom: 52px; right: 28px;\">\n    ASTRA DATASET TAG // #UI-TELEMETRY-V4 · 18 REGRESSION SNAPSHOTS PASS\n  </div>\n\n  <!-- Top Decal Telemetry Bar -->\n  <div class=\"top-decal-bar\">\n    <div class=\"decal-left\">\n      <span class=\"hazard-pill\"><span class=\"status-dot\"></span> CITADEL // LIVE</span>\n      <span class=\"tele-item\">OPERATOR: <strong>SEVERIAN</strong></span>\n      <span class=\"tele-item\">SESSIONS: <strong id=\"hdr-sessions\">08 ACTIVE</strong></span>\n      <span class=\"tele-item\">GATE: <strong>CLAVIGER (Laya-421M)</strong></span>\n      <span class=\"tele-item\">SIGN-OFF: <strong>HUMAN-ONLY</strong></span>\n    </div>\n    <div class=\"decal-controls\">\n      <button class=\"mini-btn active\" onclick=\"setTheme('citadel', this)\">DECAL: CITADEL</button>\n      <button class=\"mini-btn\" onclick=\"setTheme('bloom', this)\">INTO BLOOM</button>\n      <button class=\"mini-btn\" onclick=\"setTheme('hearthwynd', this)\">HEARTHWYND</button>\n      <button class=\"mini-btn\" onclick=\"setTheme('baldanders', this)\">BALDANDERS</button>\n      <button class=\"mini-btn\" id=\"astra-toggle-btn\" onclick=\"toggleAstraCritique()\">ASTRA REDLINE: OFF</button>\n      <button class=\"mini-btn\" id=\"audio-toggle-btn\" onclick=\"toggleAudio()\">SYNTH: OFF</button>\n      <button class=\"mini-btn\" onclick=\"toggleEmbedDrawer()\">&lt;/&gt; EMBED</button>\n    </div>\n  </div>\n\n  <!-- Interactive Desktop Buddies Track -->\n  <div class=\"buddy-rail\" title=\"Click on the track to interact with Desktop Buddies!\">\n    <canvas id=\"buddy-canvas\"></canvas>\n    <div class=\"buddy-hud\">\n      <span>PROJECT // <strong>DESKTOP BUDDIES</strong> (OSS PET MAKER) — CLICK RAIL TO DISPATCH BUDDY</span>\n      <div class=\"buddy-hud-actions\">\n        <span class=\"buddy-speech\" id=\"buddy-speech\">TALOS-01: \"Patrolling 8 Claude Code sessions...\"</span>\n        <button class=\"mini-btn\" onclick=\"spawnBuddy()\">+ SPAWN BUDDY</button>\n      </div>\n    </div>\n  </div>\n\n  <!-- Hero Thesis Banner -->\n  <header class=\"hero-header\">\n    <div>\n      <div class=\"eyebrow\">\n        <span class=\"code-tag\">FAQ // MODEL STACK</span>\n        <span>CITADEL.SEVERIAN.DEV · TALOS · BALDANDERS · AVALON</span>\n      </div>\n      <h1 class=\"hero-title\">\n        I DON'T USE A MODEL. <span class=\"hl\">I RUN A CITADEL.</span>\n      </h1>\n      <p class=\"hero-sub\">\n        Many concurrent sessions run on my own machines. Each session owns one project; a lead session coordinates them across a <strong>shared to-do ledger</strong>. A <strong>421M open-weights gatekeeper</strong> triages incoming Discord traffic, <strong>five frontier models</strong> build, rebase, design, critique, and audit claims against code—and they stage everything on <strong>private review pages</strong>. <strong>I approve every deploy and every public post.</strong>\n      </p>\n    </div>\n    <div class=\"hero-stats\">\n      <div class=\"stat-card\">\n        <div class=\"stat-val\" id=\"stat-models\">06</div>\n        <div class=\"stat-lbl\">Specialized Models</div>\n      </div>\n      <div class=\"stat-card\">\n        <div class=\"stat-val\" id=\"stat-projects\">09</div>\n        <div class=\"stat-lbl\">Public Shipped Works</div>\n      </div>\n      <div class=\"stat-card\">\n        <div class=\"stat-val\" id=\"stat-triage\">0.8ms</div>\n        <div class=\"stat-lbl\">Claviger-421M Gate</div>\n      </div>\n      <div class=\"stat-card\">\n        <div class=\"stat-val\" id=\"stat-deploys\">100%</div>\n        <div class=\"stat-lbl\">Human Gate Signed</div>\n      </div>\n    </div>\n  </header>\n\n  <!-- Mode Navigation -->\n  <nav class=\"mode-nav\" role=\"tablist\">\n    <button class=\"mode-tab active\" onclick=\"switchMode('topology', this)\">\n      <span><span class=\"tab-num\">01</span>CITADEL TOPOLOGY &amp; LIVE WORKBENCH</span>\n      <span class=\"tab-pill\">6 MODELS</span>\n    </button>\n    <button class=\"mode-tab\" onclick=\"switchMode('review', this)\">\n      <span><span class=\"tab-num\">02</span>PRIVATE REVIEW PAGE SIMULATOR</span>\n      <span class=\"tab-pill\">STEP IN AS SEVERIAN</span>\n    </button>\n    <button class=\"mode-tab\" onclick=\"switchMode('sandbox', this)\">\n      <span><span class=\"tab-num\">03</span>3D PIPELINE &amp; SCENE CONVERT LAB</span>\n      <span class=\"tab-pill\">INTERACTIVE</span>\n    </button>\n    <button class=\"mode-tab\" onclick=\"switchMode('projects', this)\">\n      <span><span class=\"tab-num\">04</span>PUBLIC ARTIFACTS &amp; LEDGER (9)</span>\n      <span class=\"tab-pill\">ALL PUBLIC</span>\n    </button>\n  </nav>\n\n  <!-- ===================================================================== -->\n  <!-- MODE 01: TOPOLOGY & LIVE CAPABILITY WORKBENCH                         -->\n  <!-- ===================================================================== -->\n  <section class=\"workspace-deck active\" id=\"mode-topology\">\n    <div class=\"deck-split\">\n      <!-- Left Column: Live Circuit & Model Roster -->\n      <div class=\"panel-box\">\n        <div>\n          <div class=\"panel-header\">\n            <span class=\"panel-title\">LIVE CITADEL SIGNAL BUS // CLICK ANY NODE TO INSPECT &amp; TEST</span>\n            <span style=\"color:var(--accent-2);\" id=\"bus-status\">BUS: STREAMING 60FPS</span>\n          </div>\n\n          <div class=\"topology-stage\">\n            <canvas id=\"topology-canvas\"></canvas>\n            <div class=\"topo-legend\">\n              <span>● INGRESS: DISCORD</span>\n              <span>◆ LEDGER: SHARED TO-DO</span>\n              <span>■ GATE: PRIVATE REVIEW PAGE</span>\n            </div>\n            <div class=\"topo-overlay-controls\">\n              <button class=\"mini-btn active\" onclick=\"triggerTaskBurst()\">⚡ DISPATCH LIVE TASK BURST</button>\n            </div>\n          </div>\n\n          <div class=\"roster-grid\" id=\"roster-cards\">\n            <!-- Opus 5.5 -->\n            <div class=\"model-card selected\" data-model=\"opus\" onclick=\"selectModel('opus', this)\">\n              <div class=\"mc-top\">\n                <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#ff5500\"></span>Opus 5.5</span>\n                <span class=\"mc-badge\">CLAUDE CODE · LEAD</span>\n              </div>\n              <div class=\"mc-role\">Lead Coordinator &amp; Primary Project Sessions</div>\n              <div class=\"mc-desc\">Coordinates the shared ledger, owns project sessions, builds sites, tools &amp; server kits, and stages review pages.</div>\n            </div>\n\n            <!-- Claviger Laya-421M -->\n            <div class=\"model-card\" data-model=\"claviger\" onclick=\"selectModel('claviger', this)\">\n              <div class=\"mc-top\">\n                <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#b8ff01\"></span>Claviger (Laya-421M)</span>\n                <span class=\"mc-badge\">HF OPEN-WEIGHTS</span>\n              </div>\n              <div class=\"mc-role\">Discord Triage Gatekeeper (finis-est)</div>\n              <div class=\"mc-desc\">Small open-weights model (`Laya-421M-Claviger-v0`) that triages incoming Discord messages for agents before waking sessions.</div>\n            </div>\n\n            <!-- Fable 5.2 -->\n            <div class=\"model-card\" data-model=\"fable\" onclick=\"selectModel('fable', this)\">\n              <div class=\"mc-top\">\n                <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#b388ff\"></span>Fable 5.2</span>\n                <span class=\"mc-badge\">DESIGN + 3D</span>\n              </div>\n              <div class=\"mc-role\">Design Collaborator, Visual Language &amp; 3D</div>\n              <div class=\"mc-desc\">Co-created the decal-pack visual language, Avalon community site redesigns, 3D pipeline experiments, and idea reviews.</div>\n            </div>\n\n            <!-- GPT-6-Astra -->\n            <div class=\"model-card\" data-model=\"astra\" onclick=\"selectModel('astra', this)\">\n              <div class=\"mc-top\">\n                <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#00e5ff\"></span>GPT-6-Astra</span>\n                <span class=\"mc-badge\">VIA CODEX</span>\n              </div>\n              <div class=\"mc-role\">Every Design Critique &amp; Test Data Labeler</div>\n              <div class=\"mc-desc\">Runs every design critique across review surfaces, plus writes and labels structured evaluation &amp; training test data.</div>\n            </div>\n\n            <!-- GPT-6.1-Sol -->\n            <div class=\"model-card\" data-model=\"sol\" onclick=\"selectModel('sol', this)\">\n              <div class=\"mc-top\">\n                <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#ffb300\"></span>GPT-6.1-Sol</span>\n                <span class=\"mc-badge\">VIA CODEX</span>\n              </div>\n              <div class=\"mc-role\">Adversarial Claim-vs-Code Verifier</div>\n              <div class=\"mc-desc\">Audits code and deployment kits specifically against the claims they make—catching drift before Severian reviews.</div>\n            </div>\n\n            <!-- Sonnet 5.5 -->\n            <div class=\"model-card\" data-model=\"sonnet\" onclick=\"selectModel('sonnet', this)\">\n              <div class=\"mc-top\">\n                <span class=\"mc-name\"><span class=\"mc-dot\" style=\"background:#00e676\"></span>Sonnet 5.5</span>\n                <span class=\"mc-badge\">CLAUDE CODE · OPS</span>\n              </div>\n              <div class=\"mc-role\">Mechanical Chores, Rebases &amp; Test Suites</div>\n              <div class=\"mc-desc\">Executes branch rebases, continuous test runs, and writes synthetic multi-turn test conversations for agent evals.</div>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      <!-- Right Column: Interactive Capability Workbench for Selected Model -->\n      <div class=\"panel-box\">\n        <div class=\"panel-header\">\n          <span class=\"panel-title\">LIVE CAPABILITY WORKBENCH // INTERACTIVE SANDBOX</span>\n          <span style=\"color:var(--ink-2);\" id=\"wb-active-indicator\">NODE: OPUS 5.5</span>\n        </div>\n\n        <div class=\"workbench-container\">\n          <!-- WORKBENCH: OPUS 5.5 -->\n          <div class=\"wb-view active\" id=\"wb-opus\">\n            <div class=\"wb-header\">\n              <div>\n                <div class=\"wb-title\">Opus 5.5 // Lead Coordinator &amp; Project Sessions</div>\n                <div class=\"wb-subtitle\">SHARED TO-DO LEDGER + CONCURRENT SESSION ORCHESTRATOR</div>\n              </div>\n              <span class=\"wb-tag\">CLAUDE CODE</span>\n            </div>\n            <p style=\"font-size:12px;color:var(--ink-1);\">\n              Each session owns one project on my machines. Click any active session below to inspect the live task Opus 5.5 is building and staging for private review:\n            </p>\n            <div class=\"preset-chips\" id=\"opus-session-btns\">\n              <button class=\"chip-btn mini-btn active\" onclick=\"selectOpusSession(0, this)\">#01 from-avalon.com</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(1, this)\">#02 Into Bloom</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(2, this)\">#03 Hearthwynd</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(3, this)\">#04 Desktop Buddies</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(4, this)\">#05 Scene Convert</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"selectOpusSession(5, this)\">#06 citadel.severian.dev</button>\n            </div>\n            <div class=\"code-output\" id=\"opus-terminal\" style=\"flex:1;\"></div>\n            <div style=\"display:flex;justify-content:space-between;align-items:center;gap:8px;\">\n              <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--ink-2);\">PRIVATE REVIEW SURFACE STAGED ON LOCAL LAN</span>\n              <button class=\"mini-btn active\" onclick=\"rebalanceLedger()\">↻ COORDINATE &amp; ADVANCE LEDGER</button>\n            </div>\n          </div>\n\n          <!-- WORKBENCH: CLAVIGER (Laya-421M) -->\n          <div class=\"wb-view\" id=\"wb-claviger\">\n            <div class=\"wb-header\">\n              <div>\n                <div class=\"wb-title\">Claviger // finis-est/Laya-421M-Claviger-v0</div>\n                <div class=\"wb-subtitle\">LIVE DISCORD MESSAGE TRIAGE GATEKEEPER (421M OPEN-WEIGHTS)</div>\n              </div>\n              <span class=\"wb-tag\">HUGGING FACE · 421M</span>\n            </div>\n            <p style=\"font-size:12px;color:var(--ink-1);\">\n              Type any Discord message (or click a sample) to watch Claviger triage it in sub-millisecond time before waking a frontier session:\n            </p>\n            <div class=\"discord-input-row\">\n              <input type=\"text\" id=\"claviger-input\" class=\"discord-input\" value=\"Hearthwynd mobile nav overlaps the decal header at 375px width on iOS Safari\" oninput=\"runClavigerInference()\" />\n              <button class=\"mini-btn active\" onclick=\"runClavigerInference()\">TRIAGE</button>\n            </div>\n            <div class=\"preset-chips\">\n              <button class=\"chip-btn\" onclick=\"setClavigerSample('Hearthwynd mobile nav overlaps the decal header at 375px width on iOS Safari')\">Bug Report (Hearthwynd)</button>\n              <button class=\"chip-btn\" onclick=\"setClavigerSample('Scene Convert throws NaN when parsing 16-bit PSD depth channels')\">Scene Convert Crash</button>\n              <button class=\"chip-btn\" onclick=\"setClavigerSample('Can we add a new glTF normal-map baker to the 3D model pipeline?')\">3D Pipeline Request</button>\n              <button class=\"chip-btn\" onclick=\"setClavigerSample('gm everyone!! loving the new Into Bloom seasonal illustrations!')\">Community Chatter (Ignore)</button>\n            </div>\n            <div class=\"logit-bars\" id=\"claviger-bars\"></div>\n            <div class=\"code-output\" id=\"claviger-json\"></div>\n          </div>\n\n          <!-- WORKBENCH: FABLE 5.2 -->\n          <div class=\"wb-view\" id=\"wb-fable\">\n            <div class=\"wb-header\">\n              <div>\n                <div class=\"wb-title\">Fable 5.2 // Decal Design Language &amp; 3D Pipeline</div>\n                <div class=\"wb-subtitle\">INTERACTIVE 60FPS PROCEDURAL 3D MESH &amp; SHADER SANDBOX</div>\n              </div>\n              <span class=\"wb-tag\">3D + VISUAL LANGUAGE</span>\n            </div>\n            <div class=\"canvas-3d-wrap\">\n              <canvas id=\"fable-3d-canvas\"></canvas>\n              <div class=\"canvas-3d-hud\">\n                <span id=\"mesh-telemetry\">MESH: CITADEL RELIQUARY · 192 TRIS · 60 FPS</span>\n                <span>DRAG TO ROTATE 3D</span>\n              </div>\n              <div class=\"canvas-3d-controls\">\n                <div style=\"display:flex;gap:4px;\">\n                  <button class=\"mini-btn active\" onclick=\"setFableMesh('obelisk', this)\">RELIQUARY</button>\n                  <button class=\"mini-btn\" onclick=\"setFableMesh('bloom', this)\">AVALON TORUS</button>\n                  <button class=\"mini-btn\" onclick=\"setFableMesh('buddy', this)\">BUDDY RIG</button>\n                  <button class=\"mini-btn\" onclick=\"setFableMesh('cage', this)\">SCENE CAGE</button>\n                </div>\n                <div style=\"display:flex;gap:4px;\">\n                  <button class=\"mini-btn active\" onclick=\"setFableShader('decal', this)\">DECAL SHADER</button>\n                  <button class=\"mini-btn\" onclick=\"setFableShader('wire', this)\">WIREFRAME</button>\n                  <button class=\"mini-btn\" onclick=\"setFableShader('normal', this)\">NORMALS</button>\n                </div>\n              </div>\n            </div>\n            <div class=\"code-output\" id=\"fable-notes\">\n              [FABLE 5.2 // DESIGN NOTE]: Built visual language from industrial die-cut decal sheets: registration crosses (+), 45° chamfered tags, high-contrast telemetry blocks, and procedural 3D meshes exported straight to WebGL review surfaces.\n            </div>\n          </div>\n\n          <!-- WORKBENCH: GPT-6-ASTRA -->\n          <div class=\"wb-view\" id=\"wb-astra\">\n            <div class=\"wb-header\">\n              <div>\n                <div class=\"wb-title\">GPT-6-Astra (via Codex) // Design Critic &amp; Labeler</div>\n                <div class=\"wb-subtitle\">EVERY DESIGN CRITIQUE + TEST DATA WRITING &amp; LABELING</div>\n              </div>\n              <span class=\"wb-tag\">CODEX · CRITIQUE</span>\n            </div>\n            <p style=\"font-size:12px;color:var(--ink-1);\">\n              Astra critiques every single visual change before Severian sees it, and labels synthetic test datasets for Claviger &amp; UI regression:\n            </p>\n            <div style=\"display:flex;gap:6px;flex-wrap:wrap;\">\n              <button class=\"mini-btn active\" onclick=\"toggleAstraCritique()\">TOGGLE FULL-PAGE REDLINE OVERLAY</button>\n              <button class=\"mini-btn\" onclick=\"runAstraLabelBatch()\">+ LABEL NEW TEST DATA BATCH</button>\n            </div>\n            <div class=\"code-output\" id=\"astra-critique-box\" style=\"flex:1;\"></div>\n          </div>\n\n          <!-- WORKBENCH: GPT-6.1-SOL -->\n          <div class=\"wb-view\" id=\"wb-sol\">\n            <div class=\"wb-header\">\n              <div>\n                <div class=\"wb-title\">GPT-6.1-Sol (via Codex) // Claim-vs-Code Auditor</div>\n                <div class=\"wb-subtitle\">REVIEWS CODE &amp; DEPLOYMENT KITS AGAINST THEIR CLAIMS</div>\n              </div>\n              <span class=\"wb-tag\">CODEX · VERIFIER</span>\n            </div>\n            <p style=\"font-size:12px;color:var(--ink-1);\">\n              Click any deployment claim below to see how GPT-6.1-Sol verifies the actual code &amp; server kit against what the session claimed:\n            </p>\n            <div class=\"audit-split\" style=\"flex:1;\">\n              <div class=\"audit-col\" id=\"sol-claims-list\"></div>\n              <div class=\"audit-col\" id=\"sol-code-proof\" style=\"background:#060709;\"></div>\n            </div>\n            <div style=\"display:flex;justify-content:space-between;align-items:center;\">\n              <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--accent-5);\" id=\"sol-summary-status\">2 CLAIMS VERIFIED · 1 DRIFT CAUGHT BEFORE DEPLOY</span>\n              <button class=\"mini-btn active\" onclick=\"patchSolDrift()\">⚡ AUTO-PATCH DRIFT VIA OPUS 5.5</button>\n            </div>\n          </div>\n\n          <!-- WORKBENCH: SONNET 5.5 -->\n          <div class=\"wb-view\" id=\"wb-sonnet\">\n            <div class=\"wb-header\">\n              <div>\n                <div class=\"wb-title\">Sonnet 5.5 // Mechanical Chores, Rebases &amp; Tests</div>\n                <div class=\"wb-subtitle\">GIT REBASE ENGINE + SYNTHETIC TEST CONVERSATION WRITER</div>\n              </div>\n              <span class=\"wb-tag\">CLAUDE CODE · OPS</span>\n            </div>\n            <p style=\"font-size:12px;color:var(--ink-1);\">\n              Sonnet 5.5 handles mechanical chores across Citadel: rebasing topic branches, running test suites, and generating multi-turn test conversations:\n            </p>\n            <div style=\"display:flex;gap:6px;flex-wrap:wrap;\">\n              <button class=\"mini-btn active\" onclick=\"runSonnetRebase()\">▶ RUN GIT REBASE &amp; 240 TESTS</button>\n              <button class=\"mini-btn\" onclick=\"generateSonnetConvo()\">💬 WRITE SYNTHETIC TEST CONVERSATION</button>\n            </div>\n            <div class=\"code-output\" id=\"sonnet-output\" style=\"flex:1;\"></div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- ===================================================================== -->\n  <!-- MODE 02: PRIVATE REVIEW SURFACE SIMULATOR (STEP IN AS SEVERIAN)       -->\n  <!-- ===================================================================== -->\n  <section class=\"workspace-deck\" id=\"mode-review\">\n    <div class=\"review-surface-grid\">\n      <!-- Left: 7-Stage Multi-Model Trace -->\n      <div class=\"panel-box\">\n        <div>\n          <div class=\"panel-header\">\n            <span class=\"panel-title\">TASK LIFECYCLE // 6 MODELS</span>\n            <button class=\"mini-btn active\" onclick=\"playFullReviewTrace()\">▶ AUTO-STEP</button>\n          </div>\n          <div style=\"margin-bottom:10px;\">\n            <div style=\"font-family:var(--font-mono);font-size:10px;color:var(--ink-2);margin-bottom:4px;\">SELECT REAL CITADEL SCENARIO:</div>\n            <div class=\"preset-chips\">\n              <button class=\"chip-btn mini-btn active\" onclick=\"loadScenario(0, this)\">Hearthwynd Redesign</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"loadScenario(1, this)\">Desktop Buddies Rig</button>\n              <button class=\"chip-btn mini-btn\" onclick=\"loadScenario(2, this)\">Scene Convert Kit</button>\n            </div>\n          </div>\n          <div class=\"pipeline-steps\" id=\"review-steps-list\"></div>\n        </div>\n      </div>\n\n      <!-- Right: Staged Private Review Page + Severian Approval Gate -->\n      <div class=\"panel-box\">\n        <div class=\"panel-header\">\n          <span class=\"panel-title\" id=\"rev-page-url\">PRIVATE REVIEW PAGE // http://citadel.local:4410/review/hearthwynd-v4</span>\n          <span class=\"hazard-pill\" id=\"rev-gate-badge\">AWAITING SEVERIAN</span>\n        </div>\n\n        <div id=\"rev-stage-detail\" style=\"flex:1;display:flex;flex-direction:column;gap:12px;\"></div>\n\n        <div class=\"approve-bar\">\n          <div>\n            <div style=\"font-family:var(--font-mono);font-size:11px;font-weight:700;color:var(--ink-0);\">\n              HUMAN GATEKEEPER // SEVERIAN'S SIGN-OFF\n            </div>\n            <div style=\"font-family:var(--font-mono);font-size:10px;color:var(--ink-1);\" id=\"approve-status-text\">\n              No session can deploy or publish a post without explicit approval here.\n            </div>\n          </div>\n          <div style=\"display:flex;gap:8px;\">\n            <button class=\"action-btn btn-reject\" onclick=\"severianDecision('reject')\">✕ REQUEST REVISION</button>\n            <button class=\"action-btn btn-approve\" onclick=\"severianDecision('approve')\">✓ APPROVE DEPLOY</button>\n          </div>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- ===================================================================== -->\n  <!-- MODE 03: 3D PIPELINE & SCENE CONVERT INTERACTIVE LAB                  -->\n  <!-- ===================================================================== -->\n  <section class=\"workspace-deck\" id=\"mode-sandbox\">\n    <div class=\"lab-grid\">\n      <!-- Left Lab: Scene Convert Interactive Layer Decomposer -->\n      <div class=\"lab-card\">\n        <div class=\"panel-header\" style=\"margin-bottom:4px;\">\n          <span class=\"panel-title\">SCENE CONVERT // IMAGE-SCENE LAYER CONVERTER</span>\n          <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--accent);\">OPUS 5.5 + FABLE 5.2</span>\n        </div>\n        <p style=\"font-size:12px;color:var(--ink-1);\">\n          Drag the decomposition slider to inspect how <strong>Scene Convert</strong> splits a composite image-scene file into depth planes, lighting maps, and vector decal layers:\n        </p>\n        <div style=\"position:relative;height:230px;background:#07080a;border:1px solid var(--border-strong);overflow:hidden;\">\n          <canvas id=\"scene-convert-canvas\" style=\"width:100%;height:100%;display:block;\"></canvas>\n        </div>\n        <div style=\"display:flex;align-items:center;gap:12px;font-family:var(--font-mono);font-size:11px;\">\n          <span>COMPOSITE</span>\n          <input type=\"range\" id=\"scene-explode-slider\" min=\"0\" max=\"100\" value=\"55\" style=\"flex:1;accent-color:var(--accent);\" oninput=\"drawSceneConvert()\" />\n          <span>EXPLODED SCENE LAYERS (4)</span>\n        </div>\n      </div>\n\n      <!-- Right Lab: Decal-Pack Design Language Specimen Generator -->\n      <div class=\"lab-card\">\n        <div class=\"panel-header\" style=\"margin-bottom:4px;\">\n          <span class=\"panel-title\">DECAL-PACK DESIGN SYSTEM // SPECIMEN GENERATOR</span>\n          <span style=\"font-family:var(--font-mono);font-size:10px;color:var(--accent-3);\">FABLE 5.2 + GPT-6-ASTRA</span>\n        </div>\n        <p style=\"font-size:12px;color:var(--ink-1);\">\n          Fable 5.2 built a cohesive visual language from a decal pack, critiqued on every pass by GPT-6-Astra. Customize a live decal telemetry plate below:\n        </p>\n        <div style=\"position:relative;height:230px;background:#07080a;border:1px solid var(--border-strong);overflow:hidden;\">\n          <canvas id=\"decal-specimen-canvas\" style=\"width:100%;height:100%;display:block;\"></canvas>\n        </div>\n        <div style=\"display:flex;gap:6px;flex-wrap:wrap;justify-content:space-between;\">\n          <div style=\"display:flex;gap:6px;\">\n            <button class=\"mini-btn active\" onclick=\"cycleDecalStamp(0, this)\">STAMP: CITADEL-01</button>\n            <button class=\"mini-btn\" onclick=\"cycleDecalStamp(1, this)\">STAMP: AVALON-BLOOM</button>\n            <button class=\"mini-btn\" onclick=\"cycleDecalStamp(2, this)\">STAMP: CLAVIGER-421M</button>\n          </div>\n          <button class=\"mini-btn active\" onclick=\"randomizeDecalSeed()\">↻ MUTATE DECAL SEED</button>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- ===================================================================== -->\n  <!-- MODE 04: ALL 9 PUBLIC PROJECTS & MODEL FINGERPRINTS                   -->\n  <!-- ===================================================================== -->\n  <section class=\"workspace-deck\" id=\"mode-projects\">\n    <div style=\"padding:14px 16px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;\">\n      <div style=\"font-family:var(--font-mono);font-size:11px;color:var(--ink-1);\">\n        FILTER 9 PUBLIC BUILDS BY MODEL CONTRIBUTION:\n      </div>\n      <div class=\"preset-chips\" id=\"proj-filter-bar\">\n        <button class=\"chip-btn mini-btn active\" onclick=\"filterProjects('all', this)\">ALL (9)</button>\n        <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Opus 5.5', this)\">Opus 5.5</button>\n        <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Sonnet 5.5', this)\">Sonnet 5.5</button>\n        <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Fable 5.2', this)\">Fable 5.2</button>\n        <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('GPT-6-Astra', this)\">GPT-6-Astra</button>\n        <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('GPT-6.1-Sol', this)\">GPT-6.1-Sol</button>\n        <button class=\"chip-btn mini-btn\" onclick=\"filterProjects('Claviger-421M', this)\">Claviger-421M</button>\n      </div>\n    </div>\n    <div class=\"projects-matrix\" id=\"projects-grid\"></div>\n  </section>\n\n  <!-- Bottom Strip: Baldanders Redacted Agent Transcript Stream -->\n  <footer class=\"baldanders-strip\" id=\"baldanders-footer\">\n    <div style=\"display:flex;align-items:center;gap:8px;\">\n      <span class=\"hazard-pill\" style=\"background:var(--bg-3);color:var(--ink-0);border:1px solid var(--border-strong);\">\n        BALDANDERS.SEVERIAN.DEV\n      </span>\n      <span style=\"color:var(--ink-2);\">REDACTED AGENT TRANSCRIPT:</span>\n    </div>\n    <div class=\"redact-stream\" id=\"redact-log-line\">\n      [OPUS-5.5 → SOL-6.1] Staged <span class=\"redact-block\" title=\"Hover to unmask\">10.0.42.18:4410/rev/88</span> for Hearthwynd; Claviger filtered <span class=\"redact-block\" title=\"Hover to unmask\">142 noise pings</span>; Astra verified <span class=\"redact-block\" title=\"Hover to unmask\">15.8:1 AAA contrast</span>. Awaiting Severian sign-off.\n    </div>\n    <div style=\"display:flex;gap:6px;\">\n      <button class=\"mini-btn\" onclick=\"cycleTranscript()\">NEXT LOG ▸</button>\n      <button class=\"mini-btn\" id=\"declassify-btn\" onclick=\"toggleDeclassify()\">UNMASK REDACTIONS</button>\n    </div>\n  </footer>\n\n  <!-- Embed Code Drawer -->\n  <div class=\"embed-drawer\" id=\"embed-drawer\">\n    <div style=\"display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;\">\n      <strong style=\"color:var(--accent);\">DROP-IN POST EMBED SNIPPET (SELF-CONTAINED IFRAME):</strong>\n      <button class=\"mini-btn active\" onclick=\"copyEmbedSnippet(this)\">COPY SNIPPET</button>\n    </div>\n    <div class=\"code-output\" id=\"embed-snippet-code\">&lt;iframe src=\"/embeds/citadel-embed.html\" width=\"100%\" height=\"780\" style=\"border:none;border-radius:4px;overflow:hidden;\" loading=\"lazy\" title=\"Severian's Citadel — Live Model Architecture\"&gt;&lt;/iframe&gt;</div>\n  </div>\n</div>\n\n<script>\n/* ==========================================================================\n   CITADEL INTERACTIVE ENGINE (Zero External Dependencies)\n   ========================================================================== */\n\nlet audioEnabled = false;\nlet audioCtx = null;\n\nfunction playTick(freq = 520, duration = 0.035, type = 'triangle') {\n  if (!audioEnabled) return;\n  try {\n    if (!audioCtx) audioCtx = new (window.AudioContext || window.webkitAudioContext)();\n    const osc = audioCtx.createOscillator();\n    const gain = audioCtx.createGain();\n    osc.type = type;\n    osc.frequency.setValueAtTime(freq, audioCtx.currentTime);\n    gain.gain.setValueAtTime(0.06, audioCtx.currentTime);\n    gain.gain.exponentialRampToValueAtTime(0.001, audioCtx.currentTime + duration);\n    osc.connect(gain);\n    gain.connect(audioCtx.destination);\n    osc.start();\n    osc.stop(audioCtx.currentTime + duration);\n  } catch (e) {}\n}\n\nfunction toggleAudio() {\n  audioEnabled = !audioEnabled;\n  const btn = document.getElementById('audio-toggle-btn');\n  btn.textContent = audioEnabled ? 'SYNTH: ON' : 'SYNTH: OFF';\n  btn.classList.toggle('active', audioEnabled);\n  if (audioEnabled) playTick(880, 0.06, 'sine');\n}\n\nfunction setTheme(theme, btn) {\n  document.documentElement.setAttribute('data-theme', theme);\n  document.querySelectorAll('.decal-controls .mini-btn').forEach(b => {\n    if (b.textContent.startsWith('DECAL:') || b.textContent.includes('BLOOM') || b.textContent.includes('HEARTHWYND') || b.textContent.includes('BALDANDERS')) {\n      b.classList.remove('active');\n    }\n  });\n  if (btn) btn.classList.add('active');\n  playTick(640, 0.04);\n  drawSceneConvert();\n  drawDecalSpecimen();\n}\n\nfunction toggleAstraCritique() {\n  const root = document.getElementById('citadel-root');\n  const on = root.classList.toggle('astra-critique-on');\n  const btn = document.getElementById('astra-toggle-btn');\n  btn.textContent = on ? 'ASTRA REDLINE: ON' : 'ASTRA REDLINE: OFF';\n  btn.classList.toggle('active', on);\n  playTick(on ? 960 : 420, 0.05);\n}\n\nfunction toggleEmbedDrawer() {\n  document.getElementById('embed-drawer').classList.toggle('open');\n  playTick(500, 0.04);\n}\n\nfunction copyEmbedSnippet(btn) {\n  const txt = document.getElementById('embed-snippet-code').textContent;\n  if (navigator.clipboard) navigator.clipboard.writeText(txt);\n  btn.textContent = 'COPIED ✓';\n  setTimeout(() => { btn.textContent = 'COPY SNIPPET'; }, 1600);\n}\n\nfunction switchMode(modeId, btn) {\n  document.querySelectorAll('.workspace-deck').forEach(el => el.classList.remove('active'));\n  document.getElementById('mode-' + modeId).classList.add('active');\n  document.querySelectorAll('.mode-tab').forEach(b => b.classList.remove('active'));\n  if (btn) btn.classList.add('active');\n  playTick(700, 0.045);\n  if (modeId === 'sandbox') {\n    setTimeout(() => {\n      drawSceneConvert();\n      drawDecalSpecimen();\n    }, 30);\n  }\n}\n\n/* ==========================================================================\n   1. DESKTOP BUDDIES RAIL ENGINE\n   ========================================================================== */\nconst buddyCanvas = document.getElementById('buddy-canvas');\nconst bCtx = buddyCanvas.getContext('2d');\nconst buddies = [\n  { name: 'TALOS-01', x: 140, vx: 0.75, color: '#ff5500', hop: 0, quote: 'TALOS-01: \"Coordinating 8 Claude Code sessions via Opus 5.5!\"' },\n  { name: 'CLAV-421M', x: 460, vx: -0.6, color: '#b8ff01', hop: 0, quote: 'CLAV-421M: \"Triaged 1,420 Discord messages at 0.8ms latency!\"' }\n];\nconst buddyQuotes = [\n  'TALOS-01: \"Desktop Buddies is open-source! Built with Opus 5.5 + Fable 5.2.\"',\n  'CLAV-421M: \"Holding the keys at the Discord gate—only real tasks wake Opus.\"',\n  'BLOOM-BOT: \"GPT-6-Astra just critiqued my pixel kerning on Into Bloom!\"',\n  'SOL-GUARD: \"GPT-6.1-Sol verified every deployment claim against the AST.\"'\n];\n\nfunction spawnBuddy() {\n  const colors = ['#00e5ff', '#b388ff', '#ffb300', '#00e676', '#ff5500'];\n  const names = ['BLOOM-02', 'SOL-WATCH', 'ASTRA-EYE', 'HEARTH-IMP'];\n  const idx = buddies.length % names.length;\n  buddies.push({\n    name: names[idx],\n    x: 200 + Math.random() * 350,\n    vx: (Math.random() > 0.5 ? 1 : -1) * (0.55 + Math.random() * 0.5),\n    color: colors[buddies.length % colors.length],\n    hop: 8,\n    quote: buddyQuotes[buddies.length % buddyQuotes.length]\n  });\n  document.getElementById('buddy-speech').textContent = buddies[buddies.length - 1].quote;\n  playTick(840, 0.06);\n}\n\nbuddyCanvas.addEventListener('click', (e) => {\n  const rect = buddyCanvas.getBoundingClientRect();\n  const clickX = e.clientX - rect.left;\n  buddies.forEach(b => {\n    b.hop = 10;\n    b.vx = clickX > b.x ? Math.abs(b.vx) + 0.3 : -Math.abs(b.vx) - 0.3;\n  });\n  document.getElementById('buddy-speech').textContent = buddyQuotes[Math.floor(Math.random() * buddyQuotes.length)];\n  playTick(920, 0.05);\n});\n\nfunction renderBuddies() {\n  const w = buddyCanvas.clientWidth || 800;\n  const h = buddyCanvas.clientHeight || 34;\n  if (buddyCanvas.width !== w || buddyCanvas.height !== h) {\n    buddyCanvas.width = w;\n    buddyCanvas.height = h;\n  }\n  bCtx.clearRect(0, 0, w, h);\n  const t = performance.now() * 0.008;\n\n  buddies.forEach((b, i) => {\n    b.x += b.vx;\n    if (b.x < 40) { b.x = 40; b.vx = Math.abs(b.vx); }\n    if (b.x > w - 180) { b.x = w - 180; b.vx = -Math.abs(b.vx); }\n    if (b.hop > 0) b.hop *= 0.88;\n\n    const bob = Math.abs(Math.sin(t + i * 1.7)) * 3 + b.hop;\n    const bx = Math.round(b.x);\n    const by = Math.round(h - 14 - bob);\n\n    // Shadow\n    bCtx.fillStyle = 'rgba(0,0,0,0.45)';\n    bCtx.fillRect(bx - 6, h - 4, 14, 2);\n\n    // Cute Pixel Construct Body\n    bCtx.fillStyle = b.color;\n    bCtx.fillRect(bx - 6, by - 8, 14, 11);\n    // Antenna\n    bCtx.fillRect(bx, by - 12, 2, 4);\n    // Visor Eyes\n    bCtx.fillStyle = '#090a0c';\n    const dir = b.vx >= 0 ? 2 : -2;\n    bCtx.fillRect(bx - 3 + dir, by - 5, 3, 3);\n    bCtx.fillRect(bx + 2 + dir, by - 5, 3, 3);\n    // Feet\n    bCtx.fillStyle = '#f3f0e6';\n    const step = Math.sin(t * 2 + i) > 0 ? 2 : -2;\n    bCtx.fillRect(bx - 4 + step, by + 3, 3, 3);\n    bCtx.fillRect(bx + 2 - step, by + 3, 3, 3);\n  });\n}\n\n/* ==========================================================================\n   2. CITADEL TOPOLOGY SIGNAL BUS CANVAS\n   ========================================================================== */\nconst topoCanvas = document.getElementById('topology-canvas');\nconst tCtx = topoCanvas.getContext('2d');\nlet selectedModelKey = 'opus';\n\nconst topoNodes = [\n  { id: 'claviger', label: 'CLAVIGER', sub: 'Laya-421M Gate', x: 0.11, y: 0.50, color: '#b8ff01' },\n  { id: 'ledger',   label: 'TO-DO LEDGER', sub: 'Shared State', x: 0.29, y: 0.50, color: '#f3f0e6', isHub: true },\n  { id: 'opus',     label: 'OPUS 5.5', sub: 'Lead + 8 Sessions', x: 0.50, y: 0.50, color: '#ff5500' },\n  { id: 'fable',    label: 'FABLE 5.2', sub: 'Decal + 3D Pipe', x: 0.50, y: 0.18, color: '#b388ff' },\n  { id: 'sonnet',   label: 'SONNET 5.5', sub: 'Rebase + Tests', x: 0.50, y: 0.82, color: '#00e676' },\n  { id: 'astra',    label: 'GPT-6-ASTRA', sub: 'Design Critique', x: 0.72, y: 0.25, color: '#00e5ff' },\n  { id: 'sol',      label: 'GPT-6.1-SOL', sub: 'Claim vs Code', x: 0.72, y: 0.75, color: '#ffb300' },\n  { id: 'gate',     label: 'SEVERIAN', sub: 'Review & Sign-Off', x: 0.90, y: 0.50, color: '#ff2a55', isGate: true }\n];\n\nconst topoEdges = [\n  ['claviger', 'ledger'],\n  ['ledger', 'opus'],\n  ['opus', 'fable'],\n  ['opus', 'sonnet'],\n  ['fable', 'astra'],\n  ['opus', 'astra'],\n  ['sonnet', 'sol'],\n  ['opus', 'sol'],\n  ['astra', 'gate'],\n  ['sol', 'gate']\n];\n\nconst packets = [];\nfor (let i = 0; i < 18; i++) {\n  const edge = topoEdges[i % topoEdges.length];\n  packets.push({\n    from: edge[0],\n    to: edge[1],\n    t: Math.random(),\n    speed: 0.004 + Math.random() * 0.005\n  });\n}\n\nfunction triggerTaskBurst() {\n  topoEdges.forEach(edge => {\n    for (let k = 0; k < 2; k++) {\n      packets.push({\n        from: edge[0],\n        to: edge[1],\n        t: Math.random() * 0.25,\n        speed: 0.011 + Math.random() * 0.006,\n        burst: true\n      });\n    }\n  });\n  document.getElementById('bus-status').textContent = 'BUS: TASK BURST DISPATCHED ⚡';\n  playTick(780, 0.07);\n  setTimeout(() => {\n    document.getElementById('bus-status').textContent = 'BUS: STREAMING 60FPS';\n  }, 1800);\n}\n\ntopoCanvas.addEventListener('click', (e) => {\n  const rect = topoCanvas.getBoundingClientRect();\n  const mx = (e.clientX - rect.left) / rect.width;\n  const my = (e.clientY - rect.top) / rect.height;\n  let closest = null;\n  let minDist = 0.09;\n  topoNodes.forEach(n => {\n    const d = Math.hypot(mx - n.x, my - n.y);\n    if (d < minDist) { minDist = d; closest = n; }\n  });\n  if (closest) {\n    if (closest.id === 'gate') {\n      switchMode('review', document.querySelectorAll('.mode-tab')[1]);\n      return;\n    }\n    const card = document.querySelector(`.model-card[data-model=\"${closest.id}\"]`);\n    if (card) selectModel(closest.id, card);\n  }\n});\n\nfunction renderTopology() {\n  const w = topoCanvas.clientWidth || 560;\n  const h = topoCanvas.clientHeight || 215;\n  if (topoCanvas.width !== w || topoCanvas.height !== h) {\n    topoCanvas.width = w;\n    topoCanvas.height = h;\n  }\n  tCtx.clearRect(0, 0, w, h);\n\n  const nodeMap = {};\n  topoNodes.forEach(n => { nodeMap[n.id] = { ...n, px: n.x * w, py: n.y * h }; });\n\n  // Draw Edges\n  topoEdges.forEach(([a, b]) => {\n    const na = nodeMap[a];\n    const nb = nodeMap[b];\n    const isSelectedEdge = (a === selectedModelKey || b === selectedModelKey);\n    tCtx.strokeStyle = isSelectedEdge ? 'rgba(255, 85, 0, 0.55)' : 'rgba(243, 240, 230, 0.13)';\n    tCtx.lineWidth = isSelectedEdge ? 2 : 1.2;\n    tCtx.beginPath();\n    tCtx.moveTo(na.px, na.py);\n    tCtx.lineTo(nb.px, nb.py);\n    tCtx.stroke();\n  });\n\n  // Update & Draw Packets\n  for (let i = packets.length - 1; i >= 0; i--) {\n    const p = packets[i];\n    p.t += p.speed;\n    if (p.t >= 1) {\n      if (p.burst) { packets.splice(i, 1); continue; }\n      p.t = 0;\n    }\n    const na = nodeMap[p.from];\n    const nb = nodeMap[p.to];\n    const x = na.px + (nb.px - na.px) * p.t;\n    const y = na.py + (nb.py - na.py) * p.t;\n    tCtx.fillStyle = nb.color;\n    tCtx.beginPath();\n    tCtx.arc(x, y, p.burst ? 3.5 : 2.3, 0, Math.PI * 2);\n    tCtx.fill();\n  }\n\n  // Draw Nodes\n  topoNodes.forEach(n => {\n    const pt = nodeMap[n.id];\n    const isSel = n.id === selectedModelKey;\n\n    tCtx.fillStyle = '#090a0c';\n    tCtx.strokeStyle = isSel ? '#f3f0e6' : n.color;\n    tCtx.lineWidth = isSel ? 2.5 : 1.5;\n\n    const bw = 92;\n    const bh = 36;\n    tCtx.fillRect(pt.px - bw / 2, pt.py - bh / 2, bw, bh);\n    tCtx.strokeRect(pt.px - bw / 2, pt.py - bh / 2, bw, bh);\n\n    // Top color accent strip\n    tCtx.fillStyle = n.color;\n    tCtx.fillRect(pt.px - bw / 2, pt.py - bh / 2, bw, 3);\n\n    tCtx.fillStyle = '#f3f0e6';\n    tCtx.font = '700 9.5px \"JetBrains Mono\", monospace';\n    tCtx.textAlign = 'center';\n    tCtx.fillText(n.label, pt.px, pt.py - 1);\n\n    tCtx.fillStyle = '#9e9a90';\n    tCtx.font = '8.5px \"JetBrains Mono\", monospace';\n    tCtx.fillText(n.sub, pt.px, pt.py + 11);\n  });\n}\n\nfunction selectModel(modelKey, cardEl) {\n  selectedModelKey = modelKey;\n  document.querySelectorAll('.model-card').forEach(c => c.classList.remove('selected'));\n  if (cardEl) cardEl.classList.add('selected');\n\n  document.querySelectorAll('.wb-view').forEach(v => v.classList.remove('active'));\n  const target = document.getElementById('wb-' + modelKey);\n  if (target) target.classList.add('active');\n\n  document.getElementById('wb-active-indicator').textContent = 'NODE: ' + modelKey.toUpperCase();\n  playTick(620, 0.04);\n}\n\n/* ==========================================================================\n   3. WORKBENCH MINIGAMES & REAL-TIME SANDBOXES\n   ========================================================================== */\n\n// 3A. OPUS 5.5 SESSIONS\nconst opusSessions = [\n  {\n    name: 'from-avalon.com',\n    branch: 'feat/community-portal-kit',\n    ledgerId: 'CIT-104',\n    reviewUrl: 'http://citadel.local:4401/review/avalon-hub',\n    tasks: [\n      '[✓] Built community showcase directory & member crest loader',\n      '[✓] Wired links to collab sites Into Bloom & Hearthwynd',\n      '[✓] Staged private review surface with Astra + Sol sign-off badges'\n    ]\n  },\n  {\n    name: 'Into Bloom (Avalon Collab)',\n    branch: 'feat/botanical-decal-grid',\n    ledgerId: 'CIT-112',\n    reviewUrl: 'http://citadel.local:4402/review/into-bloom',\n    tasks: [\n      '[✓] Integrated Fable 5.2 botanical shader + typography tokens',\n      '[✓] Pre-rendered responsive artwork plates & gallery metadata',\n      '[✓] Awaiting Severian approval on private review page'\n    ]\n  },\n  {\n    name: 'Hearthwynd (Avalon Collab)',\n    branch: 'fix/safari-ember-canvas',\n    ledgerId: 'CIT-119',\n    reviewUrl: 'http://citadel.local:4403/review/hearthwynd',\n    tasks: [\n      '[✓] Patched WebGL depth-mask clipping reported via Claviger Discord triage',\n      '[✓] Verified 60fps mobile budget & Brotli static server kit',\n      '[✓] Ready for Severian deploy sign-off'\n    ]\n  },\n  {\n    name: 'Desktop Buddies (OSS Pet Maker)',\n    branch: 'feat/custom-sprite-rig-export',\n    ledgerId: 'CIT-127',\n    reviewUrl: 'http://citadel.local:4404/review/desktop-buddies',\n    tasks: [\n      '[✓] Built state-machine rig editor (idle, walk, hop, inspect)',\n      '[✓] Added zero-dependency sprite sheet bundler',\n      '[✓] 164 unit tests green via Sonnet 5.5'\n    ]\n  },\n  {\n    name: 'Scene Convert',\n    branch: 'feat/16bit-layer-decomposer',\n    ledgerId: 'CIT-131',\n    reviewUrl: 'http://citadel.local:4405/review/scene-convert',\n    tasks: [\n      '[✓] Implemented streaming converter for multi-layer image-scene files',\n      '[✓] Added depth-map & decal-layer JSON manifest output',\n      '[✓] Audited memory bounds with GPT-6.1-Sol'\n    ]\n  },\n  {\n    name: 'citadel.severian.dev/projects',\n    branch: 'main-sync-ledger',\n    ledgerId: 'CIT-140',\n    reviewUrl: 'http://citadel.local:4406/review/citadel-tracker',\n    tasks: [\n      '[✓] Synced shared to-do ledger across all 8 active Claude Code sessions',\n      '[✓] Published redacted transcript links to baldanders.severian.dev',\n      '[✓] Staged essay draft preview for talos.severian.dev'\n    ]\n  }\n];\nlet currentOpusIdx = 0;\n\nfunction selectOpusSession(idx, btn) {\n  currentOpusIdx = idx;\n  document.querySelectorAll('#opus-session-btns .chip-btn').forEach(b => b.classList.remove('active'));\n  if (btn) btn.classList.add('active');\n  renderOpusTerminal();\n  playTick(580, 0.03);\n}\n\nfunction renderOpusTerminal() {\n  const s = opusSessions[currentOpusIdx];\n  document.getElementById('opus-terminal').innerHTML =\n    `<div style=\"color:var(--accent);font-weight:700;\">SESSION #0${currentOpusIdx + 1} // PROJECT: ${s.name.toUpperCase()}</div>` +\n    `<div>LEDGER ID: <span style=\"color:var(--ink-0)\">${s.ledgerId}</span> · BRANCH: <span style=\"color:var(--accent-2)\">${s.branch}</span></div>` +\n    `<div style=\"margin:6px 0;color:var(--ink-0);\">${s.tasks.join('<br>')}</div>` +\n    `<div style=\"color:var(--accent-3);\">PRIVATE REVIEW PAGE → ${s.reviewUrl} [GATE: LOCKED UNTIL SEVERIAN APPROVES]</div>`;\n}\nrenderOpusTerminal();\n\nfunction rebalanceLedger() {\n  currentOpusIdx = (currentOpusIdx + 1) % opusSessions.length;\n  const btns = document.querySelectorAll('#opus-session-btns .chip-btn');\n  selectOpusSession(currentOpusIdx, btns[currentOpusIdx]);\n  triggerTaskBurst();\n}\n\n// 3B. CLAVIGER (Laya-421M-Claviger-v0) DISCORD TRIAGE ENGINE\nfunction setClavigerSample(text) {\n  document.getElementById('claviger-input').value = text;\n  runClavigerInference();\n  playTick(750, 0.04);\n}\n\nfunction runClavigerInference() {\n  const raw = (document.getElementById('claviger-input').value || '').trim();\n  const low = raw.toLowerCase();\n\n  let scores = [\n    { label: 'OPUS 5.5 (Bug / Build)', p: 0.12, color: '#ff5500', route: 'session:hearthwynd-or-core' },\n    { label: 'FABLE 5.2 (3D / Design)', p: 0.10, color: '#b388ff', route: 'session:3d-pipeline-design' },\n    { label: 'SONNET 5.5 (Tests / Rebase)', p: 0.08, color: '#00e676', route: 'session:ci-test-harness' },\n    { label: 'BALDANDERS (Transcript Log)', p: 0.05, color: '#00e5ff', route: 'archive:baldanders' },\n    { label: 'IGNORE (Community Chatter)', p: 0.15, color: '#76746d', route: 'drop:no-agent-wake' }\n  ];\n\n  if (/(bug|break|overlap|crash|nan|error|fix|safari|convert|16-bit|layer)/.test(low)) {\n    scores[0].p += 0.68;\n    scores[2].p += 0.14;\n  } else if (/(3d|mesh|gltf|shader|normal|decal|design|illustr|bloom|color)/.test(low)) {\n    scores[1].p += 0.72;\n    scores[0].p += 0.12;\n  } else if (/(test|rebase|branch|ci|convo)/.test(low)) {\n    scores[2].p += 0.74;\n  } else if (/(gm|lol|nice|loving|hello|hey|cool|wow)/.test(low) || raw.length < 12) {\n    scores[4].p += 0.78;\n  } else {\n    scores[0].p += 0.45;\n    scores[3].p += 0.25;\n  }\n\n  const sum = scores.reduce((a, b) => a + b.p, 0);\n  scores.forEach(s => { s.p = +(s.p / sum).toFixed(3); });\n  scores.sort((a, b) => b.p - a.p);\n\n  const barsEl = document.getElementById('claviger-bars');\n  barsEl.innerHTML = scores.map(s => `\n    <div class=\"logit-row\">\n      <span style=\"color:var(--ink-0);\">${s.label}</span>\n      <div class=\"logit-track\">\n        <div class=\"logit-fill\" style=\"width:${Math.round(s.p * 100)}%;background:${s.color}\"></div>\n      </div>\n      <span style=\"text-align:right;color:${s.color};font-weight:700;\">${(s.p * 100).toFixed(1)}%</span>\n    </div>\n  `).join('');\n\n  const top = scores[0];\n  document.getElementById('claviger-json').innerHTML =\n    `<span style=\"color:var(--accent-2);\">// finis-est/Laya-421M-Claviger-v0 · 0.78ms local inference</span><br>` +\n    `{ \"verdict\": \"<strong style=\"color:${top.color}\">${top.label}</strong>\", \"confidence\": ${top.p}, \"route\": \"${top.route}\", \"wake_frontier_session\": ${top.route.startsWith('drop') ? 'false (100% frontier tokens saved)' : 'true → appended to Shared To-Do Ledger'} }`;\n}\nrunClavigerInference();\n\n// 3C. FABLE 5.2 INTERACTIVE 3D PIPELINE ENGINE\nconst f3dCanvas = document.getElementById('fable-3d-canvas');\nconst fCtx = f3dCanvas.getContext('2d');\nlet fableMeshType = 'obelisk';\nlet fableShaderType = 'decal';\nlet rotX = 0.45;\nlet rotY = 0.65;\nlet isDragging3D = false;\nlet lastMouseX = 0, lastMouseY = 0;\n\nf3dCanvas.addEventListener('mousedown', e => {\n  isDragging3D = true;\n  lastMouseX = e.clientX;\n  lastMouseY = e.clientY;\n});\nwindow.addEventListener('mouseup', () => { isDragging3D = false; });\nwindow.addEventListener('mousemove', e => {\n  if (!isDragging3D) return;\n  rotY += (e.clientX - lastMouseX) * 0.012;\n  rotX += (e.clientY - lastMouseY) * 0.012;\n  lastMouseX = e.clientX;\n  lastMouseY = e.clientY;\n});\n\nfunction setFableMesh(type, btn) {\n  fableMeshType = type;\n  btn.parentElement.querySelectorAll('.mini-btn').forEach(b => b.classList.remove('active'));\n  btn.classList.add('active');\n  playTick(680, 0.04);\n}\n\nfunction setFableShader(shader, btn) {\n  fableShaderType = shader;\n  btn.parentElement.querySelectorAll('.mini-btn').forEach(b => b.classList.remove('active'));\n  btn.classList.add('active');\n  playTick(760, 0.04);\n}\n\nfunction buildMeshGeometry(type, time) {\n  const verts = [];\n  const faces = [];\n\n  if (type === 'obelisk') {\n    // Citadel Reliquary Obelisk + Floating Decal Ring\n    verts.push(\n      [0, -1.35, 0], // 0 tip\n      [-0.45, -0.7, -0.45], [0.45, -0.7, -0.45], [0.45, -0.7, 0.45], [-0.45, -0.7, 0.45], // 1..4 upper\n      [-0.7, 1.0, -0.7], [0.7, 1.0, -0.7], [0.7, 1.0, 0.7], [-0.7, 1.0, 0.7], // 5..8 base\n      [0, 1.3, 0] // 9 bottom\n    );\n    faces.push(\n      [0,1,2], [0,2,3], [0,3,4], [0,4,1],\n      [1,5,6], [1,6,2], [2,6,7], [2,7,3], [3,7,8], [3,8,4], [4,8,5], [4,5,1],\n      [9,6,5], [9,7,6], [9,8,7], [9,5,8]\n    );\n    // Floating orbital ring\n    const segs = 12;\n    const baseIdx = verts.length;\n    for (let i = 0; i < segs; i++) {\n      const a = (i / segs) * Math.PI * 2 + time * 0.6;\n      verts.push([Math.cos(a) * 1.15, -0.1 + Math.sin(a * 2) * 0.08, Math.sin(a) * 1.15]);\n      verts.push([Math.cos(a) * 0.92, 0.08 + Math.sin(a * 2) * 0.08, Math.sin(a) * 0.92]);\n    }\n    for (let i = 0; i < segs; i++) {\n      const ni = (i + 1) % segs;\n      faces.push([baseIdx + i*2, baseIdx + ni*2, baseIdx + i*2 + 1]);\n      faces.push([baseIdx + ni*2, baseIdx + ni*2 + 1, baseIdx + i*2 + 1]);\n    }\n  } else if (type === 'bloom') {\n    // Botanical Torus / Crystal\n    const uSeg = 14, vSeg = 8;\n    for (let u = 0; u < uSeg; u++) {\n      const ua = (u / uSeg) * Math.PI * 2;\n      for (let v = 0; v < vSeg; v++) {\n        const va = (v / vSeg) * Math.PI * 2;\n        const r = 0.38 + 0.08 * Math.sin(ua * 3 + time);\n        const R = 0.85;\n        const x = (R + r * Math.cos(va)) * Math.cos(ua);\n        const y = r * Math.sin(va) * 1.3;\n        const z = (R + r * Math.cos(va)) * Math.sin(ua);\n        verts.push([x, y, z]);\n      }\n    }\n    for (let u = 0; u < uSeg; u++) {\n      const nu = (u + 1) % uSeg;\n      for (let v = 0; v < vSeg; v++) {\n        const nv = (v + 1) % vSeg;\n        const a = u * vSeg + v;\n        const b = nu * vSeg + v;\n        const c = nu * vSeg + nv;\n        const d = u * vSeg + nv;\n        faces.push([a, b, c], [a, c, d]);\n      }\n    }\n  } else if (type === 'buddy') {\n    // Low-poly Desktop Buddy Automaton Cube-Rig\n    const boxes = [\n      { cx: 0, cy: -0.25, cz: 0, sx: 0.65, sy: 0.55, sz: 0.55 }, // Head/Torso\n      { cx: 0, cy: -0.95, cz: 0, sx: 0.12, sy: 0.25, sz: 0.12 }, // Antenna\n      { cx: -0.35, cy: 0.65, cz: Math.sin(time * 3) * 0.2, sx: 0.2, sy: 0.35, sz: 0.25 }, // Left foot\n      { cx: 0.35, cy: 0.65, cz: -Math.sin(time * 3) * 0.2, sx: 0.2, sy: 0.35, sz: 0.25 }  // Right foot\n    ];\n    boxes.forEach(bx => {\n      const bi = verts.length;\n      for (let dx of [-1, 1]) for (let dy of [-1, 1]) for (let dz of [-1, 1]) {\n        verts.push([bx.cx + dx * bx.sx, bx.cy + dy * bx.sy, bx.cz + dz * bx.sz]);\n      }\n      const f = [\n        [0,1,3,2], [4,6,7,5], [0,4,5,1], [2,3,7,6], [0,2,6,4], [1,5,7,3]\n      ];\n      f.forEach(q => {\n        faces.push([bi+q[0], bi+q[1], bi+q[2]], [bi+q[0], bi+q[2], bi+q[3]]);\n      });\n    });\n  } else {\n    // Multi-plane Scene Convert Depth Cage\n    [-0.75, 0, 0.75].forEach((zPlane, idx) => {\n      const bi = verts.length;\n      const w = 1.05, h = 0.75;\n      const shift = Math.sin(time + idx) * 0.1;\n      verts.push([-w, -h + shift, zPlane], [w, -h + shift, zPlane], [w, h + shift, zPlane], [-w, h + shift, zPlane]);\n      faces.push([bi, bi+1, bi+2], [bi, bi+2, bi+3]);\n    });\n  }\n  return { verts, faces };\n}\n\nfunction renderFable3D() {\n  const w = f3dCanvas.clientWidth || 450;\n  const h = f3dCanvas.clientHeight || 210;\n  if (f3dCanvas.width !== w || f3dCanvas.height !== h) {\n    f3dCanvas.width = w;\n    f3dCanvas.height = h;\n  }\n  fCtx.clearRect(0, 0, w, h);\n\n  const t = performance.now() * 0.0015;\n  if (!isDragging3D) rotY += 0.009;\n\n  const { verts, faces } = buildMeshGeometry(fableMeshType, t);\n  const cosY = Math.cos(rotY), sinY = Math.sin(rotY);\n  const cosX = Math.cos(rotX), sinX = Math.sin(rotX);\n\n  const proj = verts.map(([x, y, z]) => {\n    const x1 = x * cosY - z * sinY;\n    const z1 = z * cosY + x * sinY;\n    const y2 = y * cosX - z1 * sinX;\n    const z2 = z1 * cosX + y * sinX;\n    const fov = 260 / (3.4 + z2);\n    return {\n      x: w / 2 + x1 * fov,\n      y: h / 2 + y2 * fov,\n      z: z2,\n      wx: x1, wy: y2, wz: z2\n    };\n  });\n\n  const sorted = faces.map((f, idx) => {\n    const a = proj[f[0]], b = proj[f[1]], c = proj[f[2]];\n    const zAvg = (a.z + b.z + c.z) / 3;\n    const ux = b.wx - a.wx, uy = b.wy - a.wy, uz = b.wz - a.wz;\n    const vx = c.wx - a.wx, vy = c.wy - a.wy, vz = c.wz - a.wz;\n    let nx = uy * vz - uz * vy;\n    let ny = uz * vx - ux * vz;\n    let nz = ux * vy - uy * vx;\n    const len = Math.hypot(nx, ny, nz) || 1;\n    nx /= len; ny /= len; nz /= len;\n    return { a, b, c, zAvg, nx, ny, nz, idx };\n  }).sort((p, q) => q.zAvg - p.zAvg);\n\n  sorted.forEach(tri => {\n    fCtx.beginPath();\n    fCtx.moveTo(tri.a.x, tri.a.y);\n    fCtx.lineTo(tri.b.x, tri.b.y);\n    fCtx.lineTo(tri.c.x, tri.c.y);\n    fCtx.closePath();\n\n    const light = Math.max(0.18, (tri.nx * 0.4 - tri.ny * 0.6 - tri.nz * 0.68));\n    if (fableShaderType === 'decal') {\n      const isHighlight = (tri.idx % 7 === 0);\n      fCtx.fillStyle = isHighlight\n        ? `rgba(255, 85, 0, ${0.45 + light * 0.5})`\n        : `rgba(179, 136, 255, ${0.14 + light * 0.42})`;\n      fCtx.fill();\n      fCtx.strokeStyle = 'rgba(243, 240, 230, 0.28)';\n      fCtx.lineWidth = 0.8;\n      fCtx.stroke();\n    } else if (fableShaderType === 'normal') {\n      const r = Math.floor((tri.nx * 0.5 + 0.5) * 255);\n      const g = Math.floor((tri.ny * 0.5 + 0.5) * 255);\n      const b = Math.floor((-tri.nz * 0.5 + 0.5) * 255);\n      fCtx.fillStyle = `rgb(${r},${g},${b})`;\n      fCtx.fill();\n    } else {\n      fCtx.strokeStyle = '#b8ff01';\n      fCtx.lineWidth = 1;\n      fCtx.stroke();\n    }\n  });\n\n  document.getElementById('mesh-telemetry').textContent =\n    `MESH: ${fableMeshType.toUpperCase()} · ${faces.length} TRIS · SHADER: ${fableShaderType.toUpperCase()}`;\n}\n\n// 3D. GPT-6-ASTRA CRITIQUE & LABELING WORKBENCH\nlet astraBatchCount = 142;\nfunction renderAstraWorkbench() {\n  document.getElementById('astra-critique-box').innerHTML =\n    `<div style=\"color:var(--accent-3);font-weight:700;\">[GPT-6-ASTRA // DESIGN CRITIQUE REPORT — HEARTHWYND &amp; CITADEL]</div>` +\n    `<div>1. <strong>Typography &amp; Rhythm</strong>: Decal headers use tight -0.025em tracking; body copy set at 13.5px with 1.5 line-height for effortless scanning.</div>` +\n    `<div>2. <strong>Contrast Verification</strong>: Primary bone ink (#F3F0E6) on obsidian (#090A0C) yields <strong>15.8:1 (WCAG AAA)</strong>.</div>` +\n    `<div>3. <strong>Test Data Labeling</strong>: Labelled <strong>${astraBatchCount} multi-turn test samples</strong> today across 5 triage intents &amp; 18 visual regression checkpoints.</div>`;\n}\nfunction runAstraLabelBatch() {\n  astraBatchCount += 24;\n  renderAstraWorkbench();\n  playTick(880, 0.05);\n}\nrenderAstraWorkbench();\n\n// 3E. GPT-6.1-SOL ADVERSARIAL CLAIM-VS-CODE AUDITOR\nconst solAuditItems = [\n  {\n    claim: 'CLAIM #1: \"Claviger triage never wakes Opus 5.5 on community chatter\"',\n    status: 'PASS',\n    code: `// server-kit/triage-router.ts:48\\nif (verdict.route.startsWith('drop:')) {\\n  metrics.inc('tokens_saved');\\n  return res.status(204).end(); // Zero session wake\\n}`\n  },\n  {\n    claim: 'CLAIM #2: \"All internal LAN IPs & tokens are redacted before publishing to baldanders.severian.dev\"',\n    status: 'DRIFT',\n    code: `// baldanders/redactor.ts:19\\n// SOL AUDIT WARNING: Regex catches IPv4 10.x.x.x\\n// but misses IPv6 link-local fe80:: addresses!\\nconst IP_RE = /\\\\b10\\\\.\\\\d+\\\\.\\\\d+\\\\.\\\\d+(:\\\\d+)?\\\\b/g;`\n  },\n  {\n    claim: 'CLAIM #3: \"Every production deploy requires cryptographic sign-off token from Severian\"',\n    status: 'PASS',\n    code: `// citadel-gate/deploy.ts:112\\nif (!verifyHumanSignature(req.headers['x-severian-sig'])) {\\n  throw new GateLockError('Unapproved deploy blocked');\\n}`\n  }\n];\nlet selectedSolIdx = 1;\n\nfunction renderSolAudit() {\n  const listEl = document.getElementById('sol-claims-list');\n  listEl.innerHTML = `<div class=\"audit-col-title\">CLAIMS IN PR / DEPLOY KIT</div>` +\n    solAuditItems.map((item, i) => `\n      <div class=\"claim-item ${item.status === 'PASS' ? 'pass' : '[redacted: secret]'} ${i === selectedSolIdx ? 'active' : ''}\" onclick=\"selectSolClaim(${i})\">\n        <div style=\"font-weight:700;color:${item.status === 'PASS' ? 'var(--ok)' : 'var(--danger)'}\">\n          [${item.status === 'PASS' ? '✓ VERIFIED' : '⚠ CLAIM DRIFT'}]\n        </div>\n        <div style=\"color:var(--ink-0);margin-top:2px;\">${item.claim}</div>\n      </div>\n    `).join('');\n\n  const cur = solAuditItems[selectedSolIdx];\n  document.getElementById('sol-code-proof').innerHTML =\n    `<div class=\"audit-col-title\">ACTUAL CODE AST // AUDITED BY GPT-6.1-SOL</div>` +\n    `<pre style=\"white-space:pre-wrap;color:var(--ink-0);line-height:1.45;\">${cur.code}</pre>`;\n}\nfunction selectSolClaim(idx) {\n  selectedSolIdx = idx;\n  renderSolAudit();\n  playTick(540, 0.04);\n}\nfunction patchSolDrift() {\n  solAuditItems[1].status = 'PASS';\n  solAuditItems[1].code = `// baldanders/redactor.ts:19 [PATCHED BY OPUS 5.5]\\n// SOL RE-AUDIT: Both IPv4 LAN and IPv6 fe80:: masked ✓\\nconst IP_RE = /(\\\\b10\\\\.\\\\d+\\\\.\\\\d+\\\\.\\\\d+(:\\\\d+)?\\\\b|fe80:[0-9a-f:]+)/gi;`;\n  selectedSolIdx = 1;\n  renderSolAudit();\n  document.getElementById('sol-summary-status').textContent = '3/3 CLAIMS VERIFIED AGAINST CODE ✓';\n  document.getElementById('sol-summary-status').style.color = 'var(--ok)';\n  playTick(920, 0.07);\n}\nrenderSolAudit();\n\n// 3F. SONNET 5.5 REBASE & SYNTHETIC TEST CONVERSATION ENGINE\nfunction runSonnetRebase() {\n  document.getElementById('sonnet-output').innerHTML =\n    `<div style=\"color:var(--ok);font-weight:700;\">$ git rebase --onto main feat/hearthwynd-decal-kit</div>` +\n    `<div>Rebasing (1/3) 8f21a0c.. Applied cleanly</div>` +\n    `<div>Rebasing (2/3) c490e1b.. Applied cleanly</div>` +\n    `<div>Rebasing (3/3) e109d44.. Applied cleanly</div>` +\n    `<div style=\"margin-top:6px;color:var(--accent-2);\">Running test suite across 8 Citadel packages... 240/240 PASS (1.42s)</div>`;\n  playTick(740, 0.05);\n}\nfunction generateSonnetConvo() {\n  document.getElementById('sonnet-output').innerHTML =\n    `<div style=\"color:var(--accent-3);font-weight:700;\">[SONNET 5.5 // SYNTHETIC TEST CONVERSATION #409 FOR CLAVIGER EVAL]</div>` +\n    `<div><strong>User_A:</strong> \"yo the new Into Bloom header looks sick, btw on Firefox 132 the SVG mask flickers when scrolling fast\"</div>` +\n    `<div><strong>Expected Triage Label:</strong> Mixed [Praise + Bug Report] → Must route to <code>session:into-bloom</code> (p=0.94) instead of dropping as chatter.</div>`;\n  playTick(680, 0.05);\n}\nrunSonnetRebase();\n\n/* ==========================================================================\n   4. MODE 02: PRIVATE REVIEW SURFACE SIMULATOR\n   ========================================================================== */\nconst scenarios = [\n  {\n    name: 'Hearthwynd Redesign (from-avalon.com Collab)',\n    url: 'http://citadel.local:4410/review/hearthwynd-v4',\n    steps: [\n      { model: 'Claviger (Laya-421M)', role: 'Discord Triage', detail: 'Triaged bug & seasonal redesign request in #hearthwynd-dev (0.8ms, p=0.98) and appended item #CIT-119 to the Shared To-Do Ledger.' },\n      { model: 'Opus 5.5 (Lead Session)', role: 'Ledger Coordination', detail: 'Claimed #CIT-119 from the shared ledger and dispatched Project Session #03 (hearthwynd) with server kit targets.' },\n      { model: 'Fable 5.2', role: 'Visual Language & 3D', detail: 'Crafted ember-slate decal headers and a low-overhead procedural 3D ember particle rig for the hero banner.' },\n      { model: 'GPT-6-Astra (Codex)', role: 'Design Critique & Data', detail: 'Critiqued mobile breakpoint rhythm and bumped caption contrast from 4.1:1 to 14.6:1 (AAA). Labelled 12 visual test snapshots.' },\n      { model: 'Sonnet 5.5', role: 'Rebase & Test Suite', detail: 'Rebased branch onto main, ran 184 automated integration checks, and generated 10 synthetic browser test conversations.' },\n      { model: 'GPT-6.1-Sol (Codex)', role: 'Claim vs Code Audit', detail: 'Audited PR claim \"Zero layout shift & Brotli precompression\" against nginx/server kit AST. All claims verified.' }\n    ]\n  },\n  {\n    name: 'Desktop Buddies — Open-Source Pet Maker Rig',\n    url: 'http://citadel.local:4410/review/desktop-buddies-rig',\n    steps: [\n      { model: 'Claviger (Laya-421M)', role: 'Discord Triage', detail: 'Routed community feature request for custom walk-cycle keyframes to the Desktop Buddies ledger queue.' },\n      { model: 'Fable 5.2', role: '3D-to-2D Sprite Pipeline', detail: 'Ran 3D pipeline experiment projecting low-poly automaton meshes into crisp pixel-art sprite sheets.' },\n      { model: 'Opus 5.5 (Project Session)', role: 'Tool & Kit Build', detail: 'Built the browser-based sprite rig inspector and zero-dependency export bundle.' },\n      { model: 'GPT-6-Astra (Codex)', role: 'Design Critique', detail: 'Critiqued timeline scrubber ergonomics and decal badge hierarchy; labelled 20 animation test fixtures.' },\n      { model: 'Sonnet 5.5', role: 'Mechanical Ops', detail: 'Rebased across 4 contributors and verified 100% deterministic sprite export hashes.' },\n      { model: 'GPT-6.1-Sol (Codex)', role: 'Claim Verification', detail: 'Verified README claim \"Runs 100% offline with zero telemetry calls\" against bundle AST.' }\n    ]\n  },\n  {\n    name: 'Scene Convert — Multi-Layer Scene File Converter',\n    url: 'http://citadel.local:4410/review/scene-convert-v2',\n    steps: [\n      { model: 'Claviger (Laya-421M)', role: 'Discord Triage', detail: 'Flagged 16-bit channel NaN report from Discord and attached repro scene metadata to the ledger.' },\n      { model: 'Opus 5.5 (Project Session)', role: 'Core Engine Build', detail: 'Implemented streaming 16-bit depth & decal layer parser with zero-copy typed arrays.' },\n      { model: 'Fable 5.2', role: 'Scene Preview UI', detail: 'Designed exploded isometric layer preview surface using the decal-pack visual system.' },\n      { model: 'GPT-6-Astra (Codex)', role: 'Critique & Test Data', detail: 'Labelled 32 edge-case corrupted scene files for automated regression testing.' },\n      { model: 'Sonnet 5.5', role: 'Test Execution', detail: 'Executed full fuzzing harness & rebased release branch.' },\n      { model: 'GPT-6.1-Sol (Codex)', role: 'Claim vs Code Audit', detail: 'Verified memory ceiling claim (<128MB heap on 4K scenes) against worker allocation code.' }\n    ]\n  }\n];\nlet curScenarioIdx = 0;\nlet curStepIdx = 5;\n\nfunction loadScenario(idx, btn) {\n  curScenarioIdx = idx;\n  curStepIdx = 5;\n  if (btn) {\n    btn.parentElement.querySelectorAll('.chip-btn').forEach(b => b.classList.remove('active'));\n    btn.classList.add('active');\n  }\n  renderReviewSurface();\n  playTick(660, 0.04);\n}\n\nfunction renderReviewSurface() {\n  const sc = scenarios[curScenarioIdx];\n  document.getElementById('rev-page-url').textContent = 'PRIVATE REVIEW PAGE // ' + sc.url;\n  const listEl = document.getElementById('review-steps-list');\n  listEl.innerHTML = sc.steps.map((s, i) => `\n    <div class=\"pipe-step ${i <= curStepIdx ? 'done' : ''} ${i === curStepIdx ? 'active' : ''}\" onclick=\"selectReviewStep(${i})\">\n      <div class=\"ps-top\">\n        <span>0${i + 1} // ${s.model}</span>\n        <span style=\"color:var(--ok);\">${i <= curStepIdx ? '✓' : '·'}</span>\n      </div>\n      <div class=\"ps-sub\">${s.role}</div>\n    </div>\n  `).join('');\n\n  const st = sc.steps[curStepIdx];\n  document.getElementById('rev-stage-detail').innerHTML = `\n    <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:14px;\">\n      <div style=\"font-family:var(--font-mono);font-size:10.5px;color:var(--accent);text-transform:uppercase;\">\n        STAGE 0${curStepIdx + 1} OF 06 // ${st.role}\n      </div>\n      <div style=\"font-family:var(--font-display);font-size:18px;font-weight:800;margin:4px 0 8px;\">\n        ${st.model} → ${sc.name}\n      </div>\n      <p style=\"font-size:13px;color:var(--ink-1);line-height:1.5;\">${st.detail}</p>\n    </div>\n    <div style=\"display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-family:var(--font-mono);font-size:10.5px;\">\n      <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:10px;\">\n        <div style=\"color:var(--ink-2);\">ASTRA DESIGN CRITIQUE</div>\n        <div style=\"color:var(--ok);font-weight:700;margin-top:3px;\">✓ PASS (AAA CONTRAST)</div>\n      </div>\n      <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:10px;\">\n        <div style=\"color:var(--ink-2);\">SOL CLAIM-VS-CODE AUDIT</div>\n        <div style=\"color:var(--ok);font-weight:700;margin-top:3px;\">✓ 100% CLAIMS VERIFIED</div>\n      </div>\n      <div style=\"background:var(--bg-0);border:1px solid var(--border);padding:10px;\">\n        <div style=\"color:var(--ink-2);\">SONNET TEST HARNESS</div>\n        <div style=\"color:var(--ok);font-weight:700;margin-top:3px;\">✓ REBASED &amp; GREEN</div>\n      </div>\n    </div>\n  `;\n}\n\nfunction selectReviewStep(i) {\n  curStepIdx = i;\n  renderReviewSurface();\n  playTick(560 + i * 50, 0.035);\n}\n\nfunction playFullReviewTrace() {\n  curStepIdx = 0;\n  renderReviewSurface();\n  const timer = setInterval(() => {\n    curStepIdx++;\n    if (curStepIdx >= 6) {\n      curStepIdx = 5;\n      clearInterval(timer);\n      return;\n    }\n    renderReviewSurface();\n    playTick(520 + curStepIdx * 70, 0.04);\n  }, 420);\n}\n\nfunction severianDecision(action) {\n  const badge = document.getElementById('rev-gate-badge');\n  const txt = document.getElementById('approve-status-text');\n  if (action === 'approve') {\n    badge.textContent = '✓ DEPLOY APPROVED BY SEVERIAN';\n    badge.style.background = 'var(--ok)';\n    txt.innerHTML = `<strong style=\"color:var(--ok);\">Signed &amp; deployed!</strong> Public tracker at <code>citadel.severian.dev/projects</code> updated and redacted transcript pushed to <code>baldanders.severian.dev</code>.`;\n    playTick(880, 0.08);\n    setTimeout(() => playTick(1174, 0.12), 90);\n  } else {\n    badge.textContent = '✕ RETURNED TO SHARED LEDGER';\n    badge.style.background = 'var(--danger)';\n    badge.style.color = '#fff';\n    txt.innerHTML = `<strong style=\"color:var(--danger);\">Deploy blocked by Severian.</strong> Revision note dispatched to Opus 5.5 Lead Session; private review page locked.`;\n    playTick(310, 0.1, 'sawtooth');\n  }\n}\nrenderReviewSurface();\n\n/* ==========================================================================\n   5. MODE 03: SCENE CONVERT & DECAL SPECIMEN CANVASES\n   ========================================================================== */\nfunction drawSceneConvert() {\n  const c = document.getElementById('scene-convert-canvas');\n  if (!c) return;\n  const ctx = c.getContext('2d');\n  const w = c.clientWidth || 520;\n  const h = c.clientHeight || 230;\n  c.width = w;\n  c.height = h;\n  ctx.clearRect(0, 0, w, h);\n\n  const split = (parseInt(document.getElementById('scene-explode-slider').value, 10) || 0) / 100;\n  const layers = [\n    { name: 'L0 // DEPTH SKYBOX', color: '#1b263b', offset: -1.2 },\n    { name: 'L1 // TERRAIN MESH', color: '#3dff98', offset: -0.4 },\n    { name: 'L2 // CITADEL STRUCTURE', color: '#ff5500', offset: 0.4 },\n    { name: 'L3 // DECAL HUD OVERLAY', color: '#b8ff01', offset: 1.2 }\n  ];\n\n  const cx = w / 2;\n  const cy = h / 2;\n\n  layers.forEach((ly, idx) => {\n    const dx = ly.offset * split * 95;\n    const dy = -ly.offset * split * 18;\n    const lw = 160;\n    const lh = 105;\n\n    ctx.save();\n    ctx.translate(cx + dx, cy + dy);\n    // Isometric skew\n    ctx.transform(1, -0.18 * split, 0.35 * split, 1, 0, 0);\n\n    ctx.fillStyle = 'rgba(12, 14, 18, 0.86)';\n    ctx.strokeStyle = ly.color;\n    ctx.lineWidth = 1.6;\n    ctx.fillRect(-lw / 2, -lh / 2, lw, lh);\n    ctx.strokeRect(-lw / 2, -lh / 2, lw, lh);\n\n    // Layer procedural artwork\n    ctx.fillStyle = ly.color;\n    if (idx === 0) {\n      ctx.globalAlpha = 0.25;\n      ctx.fillRect(-lw/2 + 8, -lh/2 + 8, lw - 16, lh - 16);\n    } else if (idx === 1) {\n      ctx.beginPath();\n      ctx.moveTo(-lw/2 + 10, lh/2 - 12);\n      ctx.lineTo(-20, -10);\n      ctx.lineTo(25, 18);\n      ctx.lineTo(lw/2 - 10, -22);\n      ctx.lineTo(lw/2 - 10, lh/2 - 12);\n      ctx.closePath();\n      ctx.globalAlpha = 0.4;\n      ctx.fill();\n    } else if (idx === 2) {\n      ctx.fillRect(-18, -32, 36, 64);\n    } else {\n      ctx.strokeRect(-lw/2 + 14, -lh/2 + 14, lw - 28, lh - 28);\n    }\n    ctx.globalAlpha = 1;\n    ctx.font = '700 9.5px \"JetBrains Mono\", monospace';\n    ctx.fillText(ly.name, -lw / 2 + 8, -lh / 2 + 15);\n    ctx.restore();\n  });\n}\n\nlet decalStampIdx = 0;\nlet decalSeed = 421;\nfunction cycleDecalStamp(idx, btn) {\n  decalStampIdx = idx;\n  if (btn) {\n    btn.parentElement.querySelectorAll('.mini-btn').forEach(b => b.classList.remove('active'));\n    btn.classList.add('active');\n  }\n  drawDecalSpecimen();\n  playTick(720, 0.04);\n}\nfunction randomizeDecalSeed() {\n  decalSeed = Math.floor(100 + Math.random() * 899);\n  drawDecalSpecimen();\n  playTick(840, 0.04);\n}\n\nfunction drawDecalSpecimen() {\n  const c = document.getElementById('decal-specimen-canvas');\n  if (!c) return;\n  const ctx = c.getContext('2d');\n  const w = c.clientWidth || 520;\n  const h = c.clientHeight || 230;\n  c.width = w;\n  c.height = h;\n  ctx.clearRect(0, 0, w, h);\n\n  const stamps = [\n    { code: `CITADEL-SYS // ${decalSeed}`, title: 'AUTARCH GATEWAY', color: '#ff5500', sub: 'DESIGN LANGUAGE: DIE-CUT DECAL PACK' },\n    { code: `AVALON // BLOOM-${decalSeed}`, title: 'INTO BLOOM COLLAB', color: '#3dff98', sub: 'FABLE 5.2 + GPT-6-ASTRA CRITIQUE PASS' },\n    { code: `FINIS-EST // LAYA-${decalSeed}`, title: 'CLAVIGER 421M GATE', color: '#b8ff01', sub: 'HUGGING FACE OPEN-WEIGHTS TRIAGE' }\n  ];\n  const st = stamps[decalStampIdx];\n\n  // Outer Decal Plate\n  ctx.strokeStyle = st.color;\n  ctx.lineWidth = 2;\n  ctx.strokeRect(24, 22, w - 48, h - 44);\n\n  // Hazard Diagonal Stripes Block\n  ctx.save();\n  ctx.beginPath();\n  ctx.rect(36, 34, 110, 26);\n  ctx.clip();\n  ctx.fillStyle = st.color;\n  for (let x = -30; x < 160; x += 14) {\n    ctx.beginPath();\n    ctx.moveTo(36 + x, 34);\n    ctx.lineTo(36 + x + 7, 34);\n    ctx.lineTo(36 + x - 7, 60);\n    ctx.lineTo(36 + x - 14, 60);\n    ctx.closePath();\n    ctx.fill();\n  }\n  ctx.restore();\n\n  ctx.fillStyle = '#f3f0e6';\n  ctx.font = '800 11px \"JetBrains Mono\", monospace';\n  ctx.fillText(st.code, 158, 51);\n\n  ctx.font = '800 24px \"Space Grotesk\", sans-serif';\n  ctx.fillStyle = st.color;\n  ctx.fillText(st.title, 36, 105);\n\n  ctx.font = '600 11px \"JetBrains Mono\", monospace';\n  ctx.fillStyle = '#b8b4a8';\n  ctx.fillText(st.sub, 36, 128);\n\n  // Barcode / Telemetry Bars\n  for (let i = 0; i < 38; i++) {\n    const bw = ((i * decalSeed) % 5 === 0) ? 4 : 1.5;\n    ctx.fillStyle = (i % 7 === 0) ? st.color : '#f3f0e6';\n    ctx.fillRect(36 + i * 7.5, 148, bw, 34);\n  }\n}\n\n/* ==========================================================================\n   6. MODE 04: ALL 9 PUBLIC PROJECTS MATRIX\n   ========================================================================== */\nconst publicProjects = [\n  {\n    name: 'from-avalon.com',\n    url: 'from-avalon.com',\n    desc: 'Primary web home for Avalon, an online creative community, coordinating collaborative seasonal showcases.',\n    models: ['Opus 5.5', 'Fable 5.2', 'GPT-6-Astra', 'GPT-6.1-Sol', 'Sonnet 5.5']\n  },\n  {\n    name: 'Into Bloom & Hearthwynd',\n    url: 'from-avalon.com // Collab Sites',\n    desc: 'Bespoke collaborative community sites for Avalon, featuring custom visual languages, shaders, and editorial layouts.',\n    models: ['Opus 5.5', 'Fable 5.2', 'GPT-6-Astra', 'Sonnet 5.5']\n  },\n  {\n    name: 'Desktop Buddies',\n    url: 'Open-Source Desktop Pet Maker',\n    desc: 'Open-source maker for animated desktop companions (like the live buddies patrolling the top rail of this embed).',\n    models: ['Opus 5.5', 'Fable 5.2', 'Sonnet 5.5', 'GPT-6.1-Sol']\n  },\n  {\n    name: 'Scene Convert',\n    url: 'Image-Scene File Converter',\n    desc: 'High-speed converter and layer decomposer for complex multi-channel image-scene files.',\n    models: ['Opus 5.5', 'Fable 5.2', 'Sonnet 5.5', 'GPT-6.1-Sol']\n  },\n  {\n    name: 'Citadel Project Trackers',\n    url: 'citadel.severian.dev/projects',\n    desc: 'Public window into Citadel’s shared to-do ledger, session status, and shipped milestones.',\n    models: ['Opus 5.5', 'Sonnet 5.5', 'GPT-6.1-Sol']\n  },\n  {\n    name: 'Talos Write-Ups',\n    url: 'talos.severian.dev',\n    desc: 'Long-form essays, architectural postmortems, and notes on running multi-agent setups—every post human-approved.',\n    models: ['Opus 5.5', 'GPT-6-Astra', 'GPT-6.1-Sol']\n  },\n  {\n    name: 'Baldanders Transcripts',\n    url: 'baldanders.severian.dev',\n    desc: 'Public archive of redacted multi-agent session transcripts showing how tasks actually unfold inside Citadel.',\n    models: ['Opus 5.5', 'Sonnet 5.5', 'GPT-6.1-Sol']\n  },\n  {\n    name: 'Claviger (Laya-421M)',\n    url: 'hf.co/finis-est/Laya-421M-Claviger-v0',\n    desc: 'Small 421M open-weights model on Hugging Face that triages incoming Discord messages for agents.',\n    models: ['Claviger-421M', 'Sonnet 5.5', 'GPT-6-Astra', 'Opus 5.5']\n  },\n  {\n    name: '3D Pipeline & Decal Language',\n    url: 'Citadel Design & 3D Stack',\n    desc: 'Experimental 3D model pipeline and the die-cut decal-pack visual system powering Severian’s sites.',\n    models: ['Fable 5.2', 'GPT-6-Astra', 'Opus 5.5']\n  }\n];\n\nfunction filterProjects(modelFilter, btn) {\n  if (btn) {\n    document.querySelectorAll('#proj-filter-bar .chip-btn').forEach(b => b.classList.remove('active'));\n    btn.classList.add('active');\n  }\n  const grid = document.getElementById('projects-grid');\n  const list = modelFilter === 'all'\n    ? publicProjects\n    : publicProjects.filter(p => p.models.includes(modelFilter));\n\n  grid.innerHTML = list.map(p => `\n    <div class=\"proj-card\">\n      <div>\n        <div class=\"proj-url\">${p.url}</div>\n        <div class=\"proj-name\">${p.name}</div>\n        <div class=\"proj-desc\" style=\"margin-top:4px;\">${p.desc}</div>\n      </div>\n      <div class=\"proj-models\">\n        ${p.models.map(m => `<span class=\"pm-tag\">${m}</span>`).join('')}\n      </div>\n    </div>\n  `).join('');\n  playTick(620, 0.035);\n}\nfilterProjects('all');\n\n/* ==========================================================================\n   7. BALDANDERS REDACTED TRANSCRIPT ROTATOR\n   ========================================================================== */\nconst redactedLogs = [\n  `[OPUS-5.5 → SOL-6.1] Staged <span class=\"redact-block\">10.0.42.18:4410/rev/88</span> for Hearthwynd; Claviger filtered <span class=\"redact-block\">142 noise pings</span>; Astra verified <span class=\"redact-block\">15.8:1 AAA contrast</span>. Awaiting Severian sign-off.`,\n  `[FABLE-5.2 → ASTRA-6] Exported <span class=\"redact-block\">buddy_rig_v4.glb</span> via 3D pipeline; applied decal pack sheet <span class=\"redact-block\">#DC-09-AVALON</span> to Into Bloom header.`,\n  `[SONNET-5.5 → OPUS-5.5] Rebased <span class=\"redact-block\">feat/scene-convert-16bit</span> onto main; generated <span class=\"redact-block\">64 synthetic Discord traces</span> for finis-est/Laya-421M-Claviger-v0.`,\n  `[SOL-6.1 → GATE] Audited deployment kit against claim <span class=\"redact-block\">\"zero unredacted hostnames\"</span>; caught 1 regex gap before <span class=\"redact-block\">baldanders.severian.dev</span> sync.`\n];\nlet curLogIdx = 0;\n\nfunction cycleTranscript() {\n  curLogIdx = (curLogIdx + 1) % redactedLogs.length;\n  document.getElementById('redact-log-line').innerHTML = redactedLogs[curLogIdx];\n  playTick(590, 0.035);\n}\n\nfunction toggleDeclassify() {\n  const f = document.getElementById('baldanders-footer');\n  const on = f.classList.toggle('declassified');\n  const btn = document.getElementById('declassify-btn');\n  btn.textContent = on ? 'MASK REDACTIONS' : 'UNMASK REDACTIONS';\n  btn.classList.toggle('active', on);\n  playTick(on ? 860 : 440, 0.045);\n}\n\n/* ==========================================================================\n   MAIN ANIMATION LOOP\n   ========================================================================== */\nfunction animate() {\n  renderBuddies();\n  renderTopology();\n  renderFable3D();\n  requestAnimationFrame(animate);\n}\nrequestAnimationFrame(animate);\ndrawSceneConvert();\ndrawDecalSpecimen();\n</script>\n</body>\n</html>\n",
      "Overwrite": true,
      "Path": "~/run/citadel-embed.html"
    }

    result, 1 line

    Created file.