← Back to Pull requests

Build MYRAAG premium AI Voice OS SaaS frontend; upgrade Next.js 14.2.3 → 15.5.15 to fix CVEs #1

Merged
Copilot merged 32 files (9411 lines) on Apr 29, 2026 14:31 UTC
View on GitHub
Copilot Copilot commented on Apr 28, 2026 08:57 UTC
Author

Bootstraps the MYRAAG AI Voice Operating System SaaS platform from an empty repo, then immediately addresses multiple high-severity CVEs in the initially chosen next@14.2.3 by upgrading to the patched 15.5.15.

Frontend Application

Full Next.js 14→15 App Router project with TypeScript, Tailwind CSS, and Framer Motion across 5 pages and 10+ reusable components.

Pages

  • / — Landing: animated AIOrb hero, scroll-reveal stat counters (14ms / 97% / 5×), feature grid, pricing tiers

  • /dashboard — Command Center: glowing mic button, live waveform, session timer, recent commands, productivity ring

  • /transcript — Split-screen: multi-speaker diarized transcript (left) + AI summary / action items / sentiment meter (right)

  • /archive — Searchable meeting archive with filter tabs, sentiment trend chart, meeting cards

  • /settings — AI Personality Studio: profile, 4 personality modes, integration toggles (GitHub / Slack / Notion / GCal), security settings
  • Component library: AIOrb, Waveform, MicrophoneButton, StatCard, Navbar, Sidebar (collapsible), TranscriptViewer, SummaryPanel, ChartSentiment, EmptyState

    Lib: mock-data.ts (realistic demo data for all pages), animations.ts (shared Framer Motion variants), utils.ts

    Security: Next.js CVE Remediation

    next@14.2.3 is affected by multiple CVEs across two vulnerability families:

    | Family | Affected range | Patched |
    |---|---|---|
    | DoS via Server Components | >= 13.0.0, < 15.5.15 | 15.5.15 |
    | Authorization bypass in middleware | >= 14.0.0, < 14.2.25 | 14.2.25 |
    | Cache poisoning | >= 14.0.0, < 14.2.10 | 14.2.10 |

    Changes in package.json:

    {
      "overrides": {
        "next": { "postcss": "^8.5.10" }
      },
      "dependencies": {
        "next": "15.5.15"
      },
      "devDependencies": {
        "eslint-config-next": "15.5.15"
      }
    }
    

    The overrides entry forces deduplication of Next.js's internally pinned postcss@8.4.31 (XSS — GHSA-qx2v-qp2m-jg93) to the top-level patched postcss@8.5.12. Post-upgrade npm audit reports 0 vulnerabilities.

    <!-- START COPILOT ORIGINAL PROMPT -->

    <details>

    <summary>Original prompt</summary>

    MYRAAG - Premium AI Voice Operating System SaaS Platform

    Complete Frontend Application for Hackathon

    Build a production-ready, visually stunning frontend for MYRAAG, an AI voice assistant platform with completely original design (NOT copying existing products).

    Brand: MYRAAG - Intelligent Rhythm of Productivity, Memory, and Voice Automation

    Design Direction


  • Aesthetic: Premium dark mode + glassmorphism

  • Colors: Neon gradients (purple #9D4EDD, blue #00B4D8, cyan #00D4FF, silver #E0E0E0)

  • Feel: Apple + Notion + Arc Browser + Tesla UI

  • Animations: Ultra-smooth, continuous, subtle micro-interactions

  • Typography: High-end modern sans-serif (Inter) + monospace (IBM Plex Mono)
  • Tech Stack


  • Next.js 14+ (App Router)

  • TypeScript

  • Tailwind CSS

  • Framer Motion

  • ShadCN UI

  • Vercel-ready
  • 5 Core Pages to Build

    1. LANDING PAGE (Hero)


    URL: /
    Sections:
  • Hero with animated orb/waveform background

  • Headline: "Meet MYRAAG — Your Intelligent Voice Operating System"

  • CTA buttons: Start Free / Watch Demo

  • Animated statistics (14ms, 97%, 5x)

  • Trusted by logos mock

  • Product preview floating mockup

  • Feature highlights with scroll reveal

  • Pricing teaser

  • Social proof section
  • 2. COMMAND CENTER (Dashboard)


    URL: /dashboard
    Components:
  • Sidebar navigation (collapsible)

  • Large glowing microphone button (animated)

  • Real-time waveform visualization

  • AI listening status (pulsing indicator)

  • Processing latency card

  • Recent commands list

  • Session insights panel

  • Productivity score widget

  • Demo mode toggle
  • 3. LIVE TRANSCRIPT + SUMMARY


    URL: /transcript
    Layout: Split screen
  • Left: Multi-speaker transcript with colors, timestamps

  • Right: AI summary, action items, deadlines, sentiment meter

  • Export PDF button

  • Scroll sync between panels
  • 4. ARCHIVE + SEARCH INTELLIGENCE


    URL: /archive
    Features:
  • Advanced search bar

  • Meeting cards grid

  • Date/project/person filters

  • AI smart suggestions

  • Sentiment trend graph

  • Total hours saved stat

  • Pagination

  • Click to view past meetings
  • 5. SETTINGS + AI PERSONALITY STUDIO


    URL: /settings
    Sections:
  • User profile with avatar

  • Voice model & language selection

  • AI Personality modes: Professional, Friendly, Founder, Student

  • Theme customization

  • Integration cards: GitHub, Slack, Notion, Google Calendar

  • Security toggles

  • Notification preferences
  • Advanced Requirements

    Animations (Every Section)


    ✅ Hover effects on all cards
    ✅ Smooth page transitions
    ✅ Parallax hero background
    ✅ Animated glowing borders & neon effects
    ✅ Pulsing indicators
    ✅ Dynamic gradient backgrounds
    ✅ Floating UI layers
    ✅ Loading animations
    ✅ Scroll reveal effects
    ✅ Waveform real-time visualization
    ✅ Smooth chart animations

    Components to Build


    1. Navbar - Logo, nav links, auth buttons, demo mode toggle
    2. Sidebar - Dashboard nav with icons, collapsible
    3. Card - Base card with shadow, hover, glow effects
    4. Button - Primary, secondary, ghost, neon variants
    5. MicrophoneButton - Large glowing with animation
    6. Waveform - SVG animated waveform
    7. StatCard - Animated counter stats
    8. TranscriptViewer - Multi-speaker display
    9. SummaryPanel - AI summary with sections
    10. AIOrb - Animated mascot orb
    11. Modal - Smooth animations
    12. Charts - Data visualization
    13. Toast - Notifications
    14. EmptyState - Beautiful placeholders

    Features


  • ✅ Demo mode with fake realistic data

  • ✅ Responsive mobile + desktop

  • ✅ Dark mode optimized

  • ✅ TypeScript throughout

  • ✅ Loading states

  • ✅ Error boundaries

  • ✅ Keyboard shortcuts

  • ✅ Accessible (ARIA labels)

  • ✅ Performance optimized

  • ✅ Vercel deployment ready
  • Design System

    Colors:

  • Primary: Purple gradient #9D4EDD → #7B2CBF

  • Secondary: Cyan #00D4FF → #00B4D8

  • Background: #0D0D0D (darkest) → #1A1A1A

  • Text: #F5F5F5 → #E0E0E0

  • Success: #00FF88

  • Warning: #FFB800

  • Error: #FF006E
  • Typography:

  • Display: Inter Bold 64px, 48px, 32px

  • Heading: Inter Bold 24px, 18px

  • Body: Inter Regular 16px, 14px

  • Caption: Inter Regular 12px

  • Code: IBM Plex Mono 14px
  • Spacing: 4px base unit (4, 8, 12, 16, 24, 32, 48, 64, 96)

    Deliverables


    ✅ Complete Next.js project structure with package.json, tsconfig.json, next.config.js, tailwind.config.js
    ✅ All 5 pages fully functional & animated with proper routing
    ✅ Reusable component library (20+ components)
    ✅ Tailwind CSS custom theme with color variables
    ✅ Framer Motion animations throughout
    ✅ TypeScript types for all components
    ✅ Responsive design (mobile-first, xs to 2xl breakpoints)
    ✅ Demo data & mocks for all pages
    ✅ Beautiful empty states and loading animations
    ✅ Production-ready code with proper folder structure
    ✅ Environment configuration (.env.example)
    ✅ Vercel deployment ready

    Project Structure


    ```
    MYRAAG/
    ├── app/
    │ ├── layout.tsx
    │ ├── page.tsx (landing)
    │ ├── dashboard/
    │ │ ├── layout.tsx
    │ │ └── pa...

    </details>

    <!-- START COPILOT CODING AGENT SUFFIX -->

    This pull request was created from Copilot chat.
    >

    Diff: 9411 lines (+9411 / -0) across 32 files Reviewer: Pradeepbeleri Review duration: 1773m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.77) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.77 · 9411 lines diff across 32 files
    0.77
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.35 · 1 substantive comment(s)
    0.35
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    67%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Mass File Touch mass_file_touch
    0.080
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    2 items
    Pradeepbeleri Pradeepbeleri commented on Apr 28, 2026 09:46 UTC
    Reviewer

    gon

    Reviewers
    Assignees
    Copilot Copilot
    Labels
    risk: low confidence: 67.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 76.5% (HIGH) · Higher = larger blast radius
    76.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 67.5% · Lower = rushed or shallow review
    67.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.9% · Safe to merge
    24.9%