Harden maintainer-preview harness and review fixes

Unify conversational domain routing, preserve artifact completion evidence, replace provisional tool-round prose with terminal synthesis, and resolve verified maintainer review findings across search, frontend module identity, path policy, configuration, and built-in skill startup.
This commit is contained in:
pewdiepie-archdaemon
2026-09-21 06:54:03 +00:00
parent d7cad0621f
commit 297ad19248
54 changed files with 1223 additions and 110 deletions
+5 -1
View File
@@ -286,6 +286,10 @@ export function initSidebarLayout(Storage, opts) {
function checkSidebarAutoCollapse() {
if (_userToggledSidebar) return;
// Mobile uses a fixed overlay drawer. Keyboard and orientation changes
// emit resize events there, but should not run the desktop width-based
// auto-collapse logic against an intentionally opened drawer.
if (window.innerWidth < 768) return;
const sidebar = document.getElementById('sidebar');
if (!sidebar) return;
const isHidden = sidebar.classList.contains('hidden');
@@ -320,7 +324,7 @@ export function initSidebarLayout(Storage, opts) {
const isMobileViewport = window.innerWidth < 768;
if (_wasMobileViewport && !isMobileViewport) _restoreDesktopSidebarSide();
_wasMobileViewport = isMobileViewport;
_userToggledSidebar = false; // allow auto-collapse on actual resize
if (!isMobileViewport) _userToggledSidebar = false; // allow auto-collapse on desktop resize
requestAnimationFrame(checkSidebarAutoCollapse);
});
// Re-check when the document split is opened or closed. Do not react to