Audit the codebase for tenant config violations.
Checks
- Hardcoded colors: Search for
bg-blue,bg-gray,text-gray, hex values (#xxx, #xxxxxx), rgb()/hsl() in component files undersrc/components/andsrc/app/(public)/ - Hardcoded tenant strings: Search for the tenant name "Alan Hirsch" in components (should use
tenantConfigoruseTenant()) - Missing feature flags: Search for chat/AI features rendered without checking
tenant.features.* - Direct API calls: Search for raw
fetch()in components (should use hooks fromsrc/hooks/) - Modified ui components: Check if any files in
src/components/ui/have been modified with hardcoded styles
Output
Report violations grouped by file with line numbers and suggested fixes.
Only scan src/components/ and src/app/(public)/.
Ignore files in src/components/ui/ for checks 1-4 (those are shadcn base components).