# 06. Update Browser Storage Keys, Theme Keys, and User-Agent Headers meta: id: rebrand-to-kordant-06 feature: rebrand-to-kordant priority: P2 depends_on: [rebrand-to-kordant-03] tags: [frontend, config] objective: - Update all localStorage keys, theme storage keys, unread count keys, device name strings, and user-agent headers from ShieldAI to Kordant. deliverables: - web/src/lib/theme.tsx — STORAGE_KEY updated - web/src/lib/theme.test.ts — assertions updated (11 occurrences) - web/src/entry-server.tsx — theme key updated - web/src/hooks/useRealtimeAlerts.ts — UNREAD_STORAGE_KEY updated - web/src/server/api/routers/extension.ts — "ShieldAI Browser Extension" updated - web/src/server/services/darkwatch/scan.engine.ts — user-agent header updated steps: 1. Edit `web/src/lib/theme.tsx` — change `STORAGE_KEY = "shieldai-theme"` to `"kordant-theme"` 2. Edit `web/src/lib/theme.test.ts` — update all `"shieldai-theme"` assertions to `"kordant-theme"` 3. Edit `web/src/entry-server.tsx` — update `'shieldai-theme'` to `'kordant-theme'` 4. Edit `web/src/hooks/useRealtimeAlerts.ts` — update `UNREAD_STORAGE_KEY = "shieldai_unread_count"` to `"kordant_unread_count"` 5. Edit `web/src/server/api/routers/extension.ts` — update device name from `"ShieldAI Browser Extension"` to `"Kordant Browser Extension"` 6. Edit `web/src/server/services/darkwatch/scan.engine.ts` — update `"user-agent": "ShieldAI-DarkWatch"` to `"Kordant-DarkWatch"` tests: - Unit: Theme tests pass after key update - Integration: DarkWatch scanner user-agent header updated acceptance_criteria: - No `shieldai-theme`, `shieldai_unread_count`, `ShieldAI Browser Extension`, or `ShieldAI-DarkWatch` remain in source validation: - Run `grep -rn "shieldai-theme\|shieldai_unread_count\|ShieldAI Browser Extension\|ShieldAI-DarkWatch" web/src/` — expect zero