SGN Agent

Next.js application foundation initialized

This branch establishes the server-first application shell, strict environment validation, and the core domain module layout for the QR-aware support platform.

Included foundation

  • App Router with TypeScript and Tailwind CSS v4
  • Server-only Supabase client utilities
  • OpenAI configuration placeholder for future agent wiring
  • Zod-backed runtime environment validation
  • Health endpoint for deployment checks and env verification

Deferred in this PR

  • Customer chat UI and streaming responses
  • Issue-report endpoints and tool execution
  • Knowledge ingestion and vector-store sync

Server module layout

  • src/server/facilities
  • src/server/locations
  • src/server/assets
  • src/server/sessions
  • src/server/issues
  • src/server/knowledge
  • src/server/templates
  • src/server/ai