Skip to content

Claude/fix client component yvq sc - #249

Open
AqeelAqeel wants to merge 75 commits into
nextjs:mainfrom
AqeelAqeel:claude/fix-client-component-YvqSC
Open

AqeelAqeel wants to merge 75 commits into
nextjs:mainfrom
AqeelAqeel:claude/fix-client-component-YvqSC

Conversation

@AqeelAqeel

Copy link
Copy Markdown

No description provided.

AqeelAqeel and others added 22 commits July 15, 2025 14:26
- Giant "Being; Understood." H1 with split gradients and white shadows
- Onyx black background with mystical color effects and glowing text
- 4 app tiles (retentech.ai, okaybestie.com, morelore.app, chaos.energy) with hover/tap invert effects
- Enhanced text visibility with cyan glows and mystical gradients
- Updated navigation: "campfire" -> "cross the bridge", "thesis" -> "heaven's gate?"
- Removed hamburger menu and hero CTAs for cleaner mobile experience
- Added mystical background animations and enhanced visual effects

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Transform chat-analysis page to match mystical black theme
- Update all colors: black background, cyan/purple text, mystical glows
- Enhance cards, inputs, and buttons with purple/cyan gradients
- Add mystical glow effects to interactive elements
- Add "try anal?" CTA button to landing page bottom section
- Maintain consistent styling across all three CTA buttons

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add new /cognition-covenance page with mystical theme
- Implement analyze API endpoint for conversation analysis
- Update header navigation with new page link
- Add progress bar component (@radix-ui/react-progress)
- Refactor chat API to use content-only format
- Update OpenAI package to latest version (5.23.2)
- Add .env.example for configuration reference
- Enhance chat-analysis and main pages with navigation links

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Create new /cognition-conductor page with mystical theme
- Add Research dropdown to navigation with chevron icon
- Include chat analysis, cognition covenant, and cognition conductor in dropdown
- Fix responsive design issues with max-w-8xl utility class
- Update navigation structure to group research-related pages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Create new /scaling-negligience page with systemic failures content about engineering better defaults
- Add Theses dropdown to navigation containing cross the bridge, heavens gate, and scaling negligience
- Restructure main navigation to group thesis-related content
- Move cross the bridge and heavens gate from main nav to theses dropdown
- Implement responsive design following existing mystical theme patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…n imagination wheel

- Update hero to "Being;Understood." with "More Empathetic Systems" subtitle
- Add metallic gradient text effect with shine animation
- Add "Solutions w/o Sacrifice" section with KPI cards (Dynamic UX, Higher Throughput, Reduced Cognitive Load, KPIs Hit)
- Add three product offerings: Product Ops Orchestrator (chaos.energy), Adaptive UX Engine, Ad Engagement Widgets
- Add animated Human Imagination wheel with Inspiration, Ideation, Implementation, Insights cycle
- Downgrade Next.js to 15.1.0 stable (fix canary version bugs)
- Remove canary-only experimental features from next.config.ts
- Fix OpenAI client lazy initialization in all API routes to avoid build-time errors
- Mobile-optimize all sections with responsive typography and spacing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add scroll-reveal animations with staggered timing
- Implement animated circular gauges for metrics visualization
- Add animated progress bars with intersection observer
- Create touch-enabled mobile carousel for app screenshots
- Add hero section with top lighting effect and gradient text
- Integrate dashboard showcase with floating callouts
- Add stats counter components with count-up animation
- Implement glass morphism effects on cards
- Add responsive typography and mobile-first design
- Include all new product images in carousel and showcases

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Security vulnerability fix required by Vercel deployment.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Feb 24, 2026

Copy link
Copy Markdown

@claude is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

setChat1Messages(prev => [...prev, {
role: 'assistant',
content: data1.response
}])

@vercel vercel Bot Feb 24, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chat analysis page reads data.response but API returns { content: ... }, causing assistant messages to have undefined content

Fix on Vercel

AqeelAqeel and others added 6 commits February 24, 2026 00:22
…d photos

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…orytelling, Calendly CTA

New page structure with scroll-driven narrative buildup, reusable CTA block
with Calendly popup embed, SMS/call buttons, pro bono consultation section,
and "10 Versions of You" moved to later section.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AqeelAqeel and others added 29 commits April 22, 2026 19:01
Scripts the 12 insurance infographics via grok-imagine-image so the
placeholder fallbacks render real art; wires `npm run generate:images`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… shadow

Bottom fade on the hero photo was too soft, letting the name disappear into
light-colored photo backgrounds. Thicken the fade to near-solid at the text
band and add drop shadows so name/role/tagline read on any photo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the home hero H1 with the stacked WordOrbit tagline
(capture / coordinate / & complete.), moves its heavy subtext into its
own section below so the hero can breathe, promotes SalientHub to the
top of /services#insurance, and fixes the chip-collision between
stacked words by widening satellite offsets and dropping bottom-corner
slots from the default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The rounded-rect photo + inner gradient created a hard, tacky cutoff above
the social icon row. Replace it with a CSS mask-image that fades the photo
itself to transparent, so the image flows seamlessly into the dark page
background that already holds the name, socials, and buttons.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Removes the sparkles badge, shrinks the outer padding, compresses per-word
gaps, and drops each home-hero word to two side-satellites so nothing
stacks vertically — the tagline + CTA now fit in ~45rem.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Promotes /services/{insurance,healthcare,real-estate} to proper routes
so each vertical has its own URL, hero, and CTA path instead of hash
anchors. /services itself becomes a lean hub with Insurance as the
featured full-width card and the other two in a grid below. Drops the
orphaned consulting/deployment/managed legacy routes, updates all
internal links, and extracts useScrollReveal into a shared hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…sh db

Wires up the per-prospect Friend Drafter cockpit (pages, API routes, Gmail
sync, AI drafting, UI components) on top of a consolidated init migration
that can seed a brand-new Supabase project in one shot. Renames env vars to
the new sb_publishable/secret convention the morelore db project uses.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Privacy and Terms pages are needed for the Google OAuth verification that
/friends uses. Cockpit now handles provider-token edge cases with clearer
warnings, and the sign-in hero is reworked to match the updated flow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The /friends/[slug] sync had the scaffolding for learning the user's own
writing style (extractStyleSummary, friend_ai_state, user_state_updated)
but nothing wired it up — every draft was generated against the generic
friend_tone_hints from the seed prospects row, so signed-in users saw
drafts that didn't sound like them.

runSync() now, at the top:
  - fetches up to 20 recent 'in:sent' Gmail messages via a new
    fetchSentBodies() in lib/friends/gmail.ts
  - calls extractStyleSummary() to get a ~5-sentence voice description
  - upserts friend_ai_state.communication_style (unique on prospect_id)
    and emits user_state_updated
  - threads the learnedStyle into every interpretThread() call

buildInterpretationSystemPrompt() accepts an optional learnedStyle and
tells the model to prefer it over the seed tone cues. Failure anywhere
in voice extraction is non-fatal — sync falls back to the old behavior.

Also seeds ARCHITECTURE.md (authoritative route/API/schema/integration
map) and claudepad.md (session memory) per root CLAUDE.md conventions.
Both files flag known drift: orphan routes, services/products overlap,
draft duplication on resync, stale README.

No automated test added — repo has no test framework yet (no jest/vitest
in deps, no test script in package.json). Flagging for follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two follow-ups to the voice-extraction pass:

1. Adaptive sign-off. extractStyleSummary() now returns
   { style, signoff } via a strict json_schema response, capturing the
   exact sign-off the user most consistently writes (line breaks
   preserved). interpretThread() gained a learnedSignoff param, and
   buildInterpretationSystemPrompt() prefers it over friend.friend_signoff
   from the seed prospects row. JSON.stringify() is used in the prompt
   so embedded line breaks survive. No schema change — signoff is
   derived per sync and passed in memory, not persisted to
   friend_ai_state.

2. Draft dedup on resync. runSync() no longer blindly inserts into
   friend_reply_drafts on every pass. It now reads the latest draft
   per thread:
     - none exists → insert v1
     - latest is status='generated' and body changed → update in place,
       bump version
     - latest is 'generated' and body unchanged → no-op
     - latest is edited/approved/sent_to_gmail/discarded → leave alone
   User edits are never clobbered. Older duplicate rows from before
   this fix stay put until cleaned up manually.

Build clean. No automated tests (no framework in the repo yet — tests
coming in a later pass per direction from Cordwell).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…eam errors

Persist friend_personalization_context on prospects, expose it as an
auto-saving textarea in the top-left cockpit panel, and inject it into
the reply drafter's system prompt so drafts mirror the user's actual
voice. Also surface preflight + structured SSE errors from the sync
stream and check in the inbox-triager docs that explain the system.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… sent mail

Per-thread fetch+analyze+draft so cards land in the cockpit as soon as
each one is ready instead of waiting for a 40-thread upfront batch.
Also extract common phrases (alongside style + sign-off) from ~30
recent sent emails, surface them in the top-left "your voice" panel,
and inject into the drafter prompt — with the editable field
reframed as override-style "specific instructions". Folds in the
session's auth + ownership gating refactor across the friend routes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…rust gate, hero now hands straight off to Google sign-in

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… slot, with headshot, LinkedIn, phone, and bio

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…s, preview check

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jackson-harris-iii
jackson-harris-iii force-pushed the claude/fix-client-component-YvqSC branch from c89cd13 to be4c0f1 Compare August 1, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants