Files
loki/content
Mao NakamotoandClaude Fable 5 cd08eebfd2 fix(audit): scrub identity/secret leaks, adopt URL+design SSOTs, drop dead code
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>
2026-07-17 14:32:38 +02:00
..