mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-05 03:09:56 +01:00
Audit wave 1 of 3 (six-agent sweep findings): - secrets/identity: private-zone PIN literal out of 3 scripts (rotate the PIN separately — it lives in git history), seed email now env-driven, GEORGE_USER_ID renamed, real-name comments neutralized, CODEOWNERS off the old org, /home/g fallback replaced with os.homedir(), phone + path examples anonymized; DEFAULT_USER_EXTERNAL_ID default now 'self' with both DBs migrated (UPDATE entities SET external_id='self') - URL SSOT: every product-code literal of the app domain now flows through APP_URL (desktop menus, runner banner curl, templates, UA, doctor, orangecat publish origin); new GITHUB_API_BASE shared by 7 files; openclaw gateway fallback imports its constant; ORANGECAT_BASE_FALLBACK + LOCAL_DEV_URL single-sourced - design tokens: --scrim/ui-backdrop (4 raw bg-black/NN backdrops), --toggle-knob, --surface-terminal (cross-linked with terminal-theme.ts), --text-compact, ui-pin-input + PIN_MAX_DIGITS=12 shared client/server (fixes the 20-vs-12 maxLength drift), ui-icon-nudge for the 3px cluster - dead code: HistoryFeed + loki-prompts deleted whole, 13 more dead symbols removed; all console.log verified intentional and kept Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>