sloptimization.. maybe not worth it

This commit is contained in:
legop3
2026-05-11 12:55:05 -04:00
parent 3de42412dd
commit 71ca9776cc
47 changed files with 633 additions and 420 deletions
@@ -2,7 +2,7 @@
// Purpose: Provides pure helpers for admin state projection, role checks, and structured error normalization.
// Scope: Keeps runtime behavior unchanged by extracting deterministic helper logic from index orchestration.
function isAdminRole(role) {
return role === 'admin' || role === 'lockdown' || role === 'lockdown-admin';
return role === 'admin' || role === 'lockdown';
}
function buildAdminState(status, runHistory) {