6 Commits
Author SHA1 Message Date
393a7e2b02 fix(design): the homepage had a fifth colour system, and the guard missed it (#149)
#148 shipped with the guard passing and the homepage still emitting
bg-blue-100, text-indigo-600, bg-purple-100. Both were true, because the
guard only walked app/ and components/.

The palette was in data/professionals.ts -- its own getAccentColorClasses,
giving each of the six first-party professionals a colour (blue, green,
indigo, red, amber, purple). Same mistake as the bots in #144, in the one
directory the scanner did not read. That is the whole lesson: a source
scanner is blind in exactly the shapes you forget to look at, so its first
clean run proves nothing.

  - the six professionals now use the brand, like the six bots
  - the guard walks data/ and lib/ too
  - data/menuItems.ts lost a blue/purple gradient

Two files are now DOCUMENTED exceptions rather than debt, because their
colour is categorical and has to stay mutually distinguishable:

  lib/constants.ts                    document status -- pending yellow,
                                      processing blue, ready green, error red.
                                      Recolouring "processing" to ochre would
                                      make state read as brand chrome.
  lib/infrastructure/providers.ts     per-provider identity, so Ollama and
                                      OpenAI are tellable apart at a glance.

Both sit alongside Callout.tsx's info/warning/error triad, each with its
reason written next to it.

verify: format, lint, typecheck, 256 tests, build -- all green. Homepage
confirmed to emit no raw palette class at all.


Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 10:04:44 +00:00
g-butandClaude Opus 4.6 7186bdd049 refactor(config): move welcome messages from switch to data config
Added welcomeMessage field to Professional interface and each professional
entry in data/professionals.ts. Removed 6-case switch in ProfessionalDemo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 17:23:12 +01:00
g-butandClaude Opus 4.6 d21cc37bad fix: replace remaining dynamic Tailwind class interpolations
- APIKeyInput: add focusRing field to ProviderColorClasses, replace
  focus:${colors.ring} with static ${colors.focusRing} lookup
- ProfessionalCard: add groupHoverText field to accent color classes,
  replace group-hover:${colors.text} with static ${colors.groupHoverText}
- Zero dynamic Tailwind interpolations remain in the codebase

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 05:39:06 +01:00
g-butandClaude Opus 4.5 1c7abeebac docs(claude): add global standards reference and update date
- Add @~/.claude/CLAUDE.md import for global engineering standards
- Update Last Updated date to 2026-01-23

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:22:36 +01:00
g-butandClaude Opus 4.5 1291bbbb41 docs: update About page, README, and clean up stale documentation
- Rewrite About page with new "AI Professionals" positioning
- Add embodied AI future vision section
- Explain the problem we solve (accessible expert advice)
- Fix 'Artr' typo to 'Muse' in professionals.ts
- Update README with new positioning and professional table
- Delete stale planning docs:
  - .claude/BILLION_DOLLAR_STRATEGY.md
  - .claude/HONEST_REBUILD_PLAN.md
  - .claude/EXPERTISE_REFRESH_PLAN.md
  - .claude/FULL_SITE_AUDIT.md
  - .claude/THREE_TIER_ECOSYSTEM.md
  - .claude/SUPABASE_SETUP.md (duplicate)
  - @fix_plan.md (completed sprint)
  - docs/NAVIGATION_FIX_PLAN.md (completed)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 12:43:38 +01:00
g-butandClaude Opus 4.5 80bee0742a feat(professionals): add minimal professional pages with chat demos and scroll fixes
- Add /professionals/[slug] pages as minimal entry points with interactive chat demos
- Add "Learn More" links to connect to detailed /bots/* pages for deeper exploration
- Fix scroll behavior: use preventScroll on focus() calls and scrollTo on container
- Add professionals data with botSlug field for SSOT linking between pages
- Update Footer with correct bot names and links following SSOT principles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 12:22:03 +01:00