Verified-dead removals (zero consumers, confirmed by adversarial dependency audit): - core/lib/util/router.js — legacy class Router superseded by kernel/spa.js; self-instantiated, never exposed, and added a SECOND competing popstate listener. Dropped the file + its eager index.html tag. - core/lib/task/task-global-functions.js — wired window.installApp/uninstallApp/ etc. that nothing calls (real calls go through class methods / the task router). Dropped the file + its task-system scripts[] entry + the setupTaskGlobalFunctions() block in system-loader.js. - TopbarComponent.createNavigationHighlighting + clearAllNavigationHighlighting — dead statics; window.topbarNavigationHighlighting was never set. - ui-helpers.js: getAppStatus/formatAppName/getAppShortName (dead), the stale setupMobileMenu/closeMobileMenu (superseded by core/ui/mobile-menu.js's #mobile-drawer impl), setupActiveNavigation + the safe* helpers (verbatim dups of dom-helpers). Only getAppIcon remains. dom-helpers loses dead setupActiveNavigation + waitForElement; it is now the sole safe* source. Bug fixes surfaced during the audit: - system-orchestrator.js called this._wireLogout() which is defined nowhere — threw on the 'Continue Anyway' boot path. Removed the dangling call (logout is wired in topbar.setupLogout()). - active-nav highlighting never updated on SPA navigation (it depended on the never-set global). spa.js now calls the live window.topbar?.setActiveNav?.() after each route handler. No structural moves yet; full node --check sweep clean. Signed-off-by: librelad <librelad@digitalangels.vip>
1 line
109 B
Plaintext
1 line
109 B
Plaintext
{"sessionId":"9cea077c-56da-4223-a765-be38c688106b","pid":1384,"procStart":"1332","acquiredAt":1780168110981} |