38 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
17689c1358 feat(bots): restore the content for the remaining four bots (#147)
Follows #146, which proved the pattern on Imhotep: recover the copy from
the components deleted in 4600019e, express it with existing section types,
add the nav entry, let the nav-integrity guard verify it. No new components.

  research-assistant   5 -> 8 sections   3,062 -> 4,366 chars  (+43%)
    research-system  the six ways Nerd organises an upload
    scraping         the six sources it watches (ArXiv, Scholar, PubMed,
                     Nature, Science Daily, MIT Tech Review)
    drafts           abstract / literature review / methodology / discussion

  product-manager      5 -> 8 sections   2,539 -> 3,752 chars  (+48%)
    benefits         the four Trident actually delivers
    showcase         feature planning, technical debt, cross-team coordination
    integration      GitHub and Jira, with what each one does

  swiss-german-teacher 5 -> 8 sections   2,793 -> 3,900 chars  (+40%)
    language-learning  vocabulary, conversation, grammar
    communication      email and texting, in the right register
    culture            video, podcasts, articles

artistic-advisor keeps 5 sections: it only ever had 217 lines, so unlike the
others it lost almost nothing. It gains two nav entries for the sections it
does have, instead of a two-item menu.

Nav went from a low of two items per bot to five or six, and every entry
points at a section that renders -- enforced by the guard added in #146.

Copy was rewritten rather than pasted. The originals were written for a
different page structure and carried filler; this keeps the substance and
drops the padding.

verify: format, lint, typecheck, 253 tests, build -- all green. Verified
visually against a local production build.


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 09:22:50 +00:00
4447a97afb fix(bots): repair 20 dead nav links, restore Imhotep's lost content (#146)
The config-driven refactor (4600019e) deleted ~16,000 lines of bot page
content but left data/bots.ts still advertising it. Every bot's nav kept
linking to sections that no longer existed:

  swiss-german-teacher  communication, culture, waitlist
  research-assistant    scraping, drafts, questions, discovery,
                        integration, roadmap
  medical-expert        harm-reduction
  artistic-advisor      styles, techniques, get-started
  product-manager       workflow, showcase, examples, integration,
                        testimonials, pricing, get-started
  legal-expert          get-started

Twenty menu items that scrolled nowhere, on the live site, for seven months.
Nothing failed because nothing compared data/bots.ts to bot-pages.ts.

Now they do: tests/__tests__/lib/bot-nav-integrity.test.ts asserts every nav
item targets a section the page actually renders, and that ids are unique.
Mutation-verified -- repoint one item at a missing section and it fails and
names it.

legal-expert's 'Get Started' was repointed to the cta section it clearly
meant. The rest are removed, because the sections they named are gone.

Content restored for medical-expert, recovered from the deleted components
and ported as config (no new components needed):
  medbox         MedBox home health lab -- the 6 sensors
  health-topics  the 6 topics Imhotep covers
  regimens       Basic / Advanced, and how they compare to Blueprint

Its page goes from 7 sections to 10, and from 3,833 to 5,380 rendered
characters. The nav gains MedBox and Topics in place of the dead link.

NOT restored: the harm-reduction section, a substance comparison table
covering heroin, methamphetamine, MDMA, LSD and psilocybin. On a site
offering AI health guidance that is a product and possibly a regulatory
decision, not a cleanup one. It stays in git at 4600019e^ pending a call:
  git show 4600019e^:app/bots/medical-expert/components/features/HarmReductionSection.tsx

The other four bots still need their content ported; this is the pattern.

verify: format, lint, typecheck, 253 tests, build -- all green. Verified
visually against a local production build.


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:42:26 +02:00
1e60f2a8d2 chore: remove the orphaned /projects and /solutions trees (#142)
app/projects was 79 files and half of all app code -- an e-government
platform with a whitepaper, open-law, open-vote, open-pay, a transparency
portal and agency/employee directories. app/solutions was another 7 routes.

Nothing linked to either. lib/routes.ts declared PROJECTS: '/projects' and
no file imported it; there were zero inbound hrefs from any nav, footer or
page. But both were statically generated on every build and served publicly,
so they cost a build slot and an audit read each time while no visitor could
reach them.

Also removed, dead once those trees went (verified: no remaining importers):
  components/governance/, components/SolutionLayout.tsx,
  components/navigation/NextSection.tsx, lib/governance/,
  types/governance.ts, data/solutions.json

app/ drops from 26,821 to 13,101 lines. 68 routes remain, all reachable.

Deliberately NOT removed: /personal and its bot templates. That surface is
linked from the homepage and the footer and it works, so removing it is a
product decision rather than cleanup.

Recovering any of this is one command:
  git checkout f70fc612 -- app/projects app/solutions components/governance

verify: format, lint, typecheck, 240 tests, build -- all green.


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 07:58:08 +00:00
g-butandClaude Sonnet 4.6 aa515d3d89 chore: fix prettier formatting across 28 files
CI format:check was failing. Auto-formatted all files to match
Prettier config.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 09:45:47 +01: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 ea7baec755 refactor(bots): make bots.ts SSOT for footer, menu, and bots page
Reduces files needed to add a new bot from 7-8 to 3-4 by eliminating
hardcoded bot lists in multiple locations:

- Add `display` field to Bot interface for bots list page metadata
- Footer.tsx: Generate AI Assistants links from bots array
- app/bots/page.tsx: Remove 100-line botDetails Record, derive from bot.display
- menuItems.ts: Generate Professionals menu children from bots array

Adding a new bot now automatically updates the footer, navigation menu,
and bots list page without any additional code changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 21:08:04 +01:00
g-butandClaude Opus 4.5 b6f1361d0d fix(bots): add missing hero config for artistic-advisor
The artistic-advisor page was missing its hero section because the
hero configuration was not defined in botHeroConfigs.ts. This adds
the complete hero config including title, badge, chat preview, and
key benefits.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 20:19:56 +01:00
g-butandClaude Opus 4.5 1e2d0d935d chore: remove orphaned files never imported anywhere
Removed dead code:
- components/ErrorBoundary.tsx (108 lines, Next.js error.tsx exists)
- components/CollaborationForm.tsx (190 lines, never imported)
- types/solutions.ts (24 lines, never imported)
- data/botsmann-knowledge.ts (215 lines, never imported)
- data/demo/swiss-german-knowledge.json (never imported)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:31: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 b09e776a89 chore: Remove swiss-german-teacher waitlist and update nav
- Remove WaitlistForm component and useWaitlistForm hook
- Remove waitlist types from types/index.ts
- Update buttons to link to demo section instead of removed waitlist
- Update nav menu items to match actual page sections

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 11:46:27 +01:00
g-butandClaude Opus 4.5 842abc3590 feat: Migrate waitlist to Supabase and add error boundaries
- Replace file-based JSON storage with Supabase for waitlist API
- Add SQL migration for waitlist table (010_waitlist.sql)
- Add error.tsx for segment-level error handling
- Add global-error.tsx for root-level error handling
- Add not-found.tsx for 404 page
- Add reusable ErrorBoundary component for client components
- Remove unused data/waitlist.json

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 11:01:43 +01:00
g-butandClaude Opus 4.5 1f66587422 refactor: create shared BotHeroSection component (DRY principle)
- Create reusable BotHeroSection, BotFeatureCard, BotStepsSection components
- Add centralized botHeroConfigs.ts for hero section data (SSOT)
- Update all 5 bot pages to use shared BotHeroSection
- Delete duplicated HeroSection files from individual bot directories

This eliminates ~650 lines of duplicated code across bot pages while
maintaining flexibility through configuration-driven rendering.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 00:28:58 +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
g-butandClaude Opus 4.5 db9e7f6f1f feat(nav): unified navigation with auth controls
- Reorganize navigation: Assistants (all bots + documents), Solutions, Learn, About
- Add AuthNav component with login/register and profile dropdown
- Add auth section to mobile navigation drawer
- Update site metadata to "Private AI for Your Data"
- Update Footer with 5-column layout including Projects section
- Fix documents page header by integrating user controls
- Update homepage layout and messaging

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 15:50:54 +01:00
g-butandClaude Opus 4.5 930d6c4690 Update content for privacy-first RAG platform
Phase 4 content updates:
- Rewrite About page to emphasize privacy, BYOM, and consulting
- Update solutions to focus on document knowledge bases
- Add new use cases: personal, medical, legal, enterprise
- Update homepage CTAs with "Try It Free" button
- Link solutions to /documents for trial

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 12:44:54 +01:00
g-butandClaude Opus 4.5 5c96691c0f feat: replace Swiss German demo with Botsmann AI Assistant RAG
- Add Botsmann knowledge base with 24 chunks covering bots, services,
  pricing, privacy, and how-to information
- Integrate Groq free tier for LLM response generation (optional)
- Update demo UI with Botsmann branding and relevant questions
- RAG works without API key (returns knowledge directly) or with
  Groq API key for natural conversational responses

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 09:18:34 +01:00
g-butandClaude Opus 4.5 ddec243147 feat: add Swiss German RAG demo with keyword-based search
- Add RAG search module with TF-IDF-like scoring (lib/rag/)
- Create Swiss German knowledge base with 10+ chunks
- Build demo chat UI with suggested questions and source citations
- Add /api/demo/chat endpoint with Zod validation
- Update homepage with "Try the Demo" CTA and honest messaging
- Add /api/contact endpoint for consultation form
- Fix ConsultationForm to use real API endpoint
- Update bot cards to show accurate live/coming-soon status
- Remove legacy api/consultations.js (caused Vercel conflicts)
- Add nodemailer dependency for email functionality

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 08:38:43 +01:00
g-butandClaude Opus 4.5 53fd048b97 feat: implement knowledge center foundation with guides and infrastructure pages
- Add types/knowledge.ts with type definitions for guides, difficulty levels, and comparisons
- Add lib/knowledge.ts for GitHub-based content fetching with ISR caching
- Create knowledge components: DifficultyBadge, GuideCard, Callout, CodeBlock, TableOfContents
- Add /knowledge/guides page with difficulty and category filters
- Add /knowledge/guides/[slug] dynamic page for individual guide rendering with MDX
- Add /knowledge/infrastructure page with hosting comparison overview
- Update navigation menu with new Knowledge Center links

Content will be fetched from g-but/botsmann-knowledge-content GitHub repo.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 01:49:29 +01:00
g-butandClaude Opus 4.5 43260cfef2 refactor: rebuild navigation as modular megamenu system
Architecture following DRY, SSOT, SoC principles:

Types (types/navigation.ts):
- MegaMenuHeader, MegaMenuFooter, MegaMenuConfig for dropdown config
- MenuChildItem, MenuItem with proper typing
- NavItemProps, MobileNavProps for component contracts

Components (components/navigation/):
- NavItem: Unified handler for links, dropdowns, CTA buttons
- MegaMenuPanel: Configurable panel with header/footer support
- MegaMenuItem: Individual dropdown item with icon/description
- MobileNav: Extracted mobile drawer (SoC)

Data (data/menuItems.ts):
- SSOT for all navigation with megaMenu config per section
- Helper functions: getNavItems(), getButtonItems()

Features:
- Portal pattern for proper dropdown overlay
- Configurable columns (1-3), headers, footers per section
- Consistent styling with Tailwind

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 00:44:27 +01:00
g-butandClaude Opus 4.5 72c1b947d5 refactor: improve navigation architecture and add knowledge center
- Create useScrollNavigation hook for shared scroll logic (DRY)
- Add centralized navigation color config (SSOT)
- Convert components to named exports (Header, Footer, Navigation, MegaMenu)
- Fix dropdown overlay positioning with Portal pattern
- Add consulting section to homepage
- Create Knowledge Center page with guides and FAQ
- Add Knowledge menu item to navigation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 00:28:45 +01:00
g-butandClaude Opus 4.5 a192ca24a0 refactor: centralize bot page configuration and add shared components
- Add BotSection and BotNotFoundFallback shared components
- Centralize menuItems and navigation config in data/bots.ts
- Add getBotBySlug and getBotTryLink helper functions
- Add BotMenuItem, BotAccentColor, and BotNavConfig types
- Refactor all 6 bot pages to use centralized configuration
- Remove ~180 lines of duplicated code across bot pages
- Improve consistency in error handling and section spacing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 21:24:47 +01:00
g-butandClaude Opus 4.5 2e39380356 feat: add strict ESLint config and fix all lint issues
- Add .eslintrc.json with strict TypeScript and React rules
- Fix all unused imports and variables (prefix with _ or remove)
- Replace all `any` types with `unknown` or specific types
- Fix React hooks rule violations (conditional hooks, deps)
- Change console.log to console.info per project standards
- Add eslint-disable comments for legitimate img element uses
- Fix anonymous default exports
- Update package.json with ESLint 8 and proper lint scripts

Lint: 0 warnings, 0 errors
Build: passes successfully

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:47:56 +01:00
Your Name 8a55e4fb9e feat: Complete deployment automation and modern design overhaul
- Fix header layout to prevent movement when megamenu opens
- Redesign homepage with modern, futuristic aesthetic
- Implement automated deployment with GitHub Actions
- Optimize build process for production deployment
- Add deployment monitoring and verification scripts
- Update README with comprehensive deployment documentation

Breaking changes:
- Header now uses fixed positioning with backdrop blur
- Homepage features gradient backgrounds and glassmorphism effects
- Automated CI/CD pipeline with comprehensive testing and monitoring
2025-10-02 23:46:03 +02:00
G f8a5e8bc2d refactor navigation with mega menu 2025-06-13 16:23:39 +02:00
cato d0ae27b3eb Update bot pages and add product manager bot 2025-03-19 09:35:51 +01:00
cato 0fac605421 Update Nerd AI Research Assistant components and documentation 2025-03-17 14:06:13 +01:00
cato 227e9c8012 Update Swiss German Teacher page with new features 2025-03-13 23:20:09 +01:00
cato 1e507c79c7 Add Techno-Capital project page, rename Shopping to Recurring Fulfillment, remove Coming Soon badge from Individuals category 2025-03-11 18:25:09 +01:00
cato 41c9f040ff Fix syntax error in data/bots.ts by using double quotes for string with apostrophe 2025-03-07 14:23:22 +01:00
cato f331d903aa Implement Heidi Swiss German Teacher with ChatGPT redirection and waitlist form 2025-03-07 14:06:50 +01:00
cato 542eb45ec7 Fix type errors to enable successful build 2025-03-03 11:13:35 +01:00
cato 626e96a233 Update files and remove unnecessary components 2025-03-03 01:02:26 +01:00
Devin AIandcato b7dfbb1268 fix: improve form indentation and update navigation structure
Co-Authored-By: G <butaeff@gmail.com>
2025-02-08 18:08:27 +00:00
Devin AIandcato 516d527094 feat: add professional auto-shopper bot
Co-Authored-By: G <butaeff@gmail.com>
2025-02-08 17:13:35 +00:00
Devin AIandcato f932c70962 feat: add LiberTech section and fix UI issues
Co-Authored-By: G <butaeff@gmail.com>
2025-02-08 17:07:53 +00:00