{
  "task_type": "documentation",
  "files_to_modify": {
    "documentation": ["README.md"]
  },
  "files_to_create": {
    "documentation": [".env.example"]
  },
  "files_to_reference": [
    "package.json",
    "next.config.ts",
    "Dockerfile",
    "docker-compose.yml",
    ".env.local"
  ],
  "patterns": {
    "documentation_style": "Markdown with code blocks, clear section headers, and practical examples",
    "command_format": "Use pnpm instead of npm throughout",
    "tech_stack": "Next.js 15.1.0 with React 19, TypeScript, Tailwind CSS"
  },
  "existing_implementations": {
    "description": "README.md exists with outdated information about build tools and package manager",
    "relevant_files": ["README.md"],
    "issues_found": [
      "Line 19: States 'Vite' as build tool but project uses Next.js 15.1.0",
      "Line 34: References 'vite-plugin-pwa' but Next.js doesn't use Vite plugins",
      "Line 117: States 'Vite' in build tools list",
      "Line 131: Footer says 'Built with React + TypeScript + Vite'",
      "Lines 90-105: All commands use 'npm' but project uses pnpm",
      "Missing: No Docker deployment instructions despite Dockerfile and docker-compose.yml existing",
      "Missing: No environment variable documentation beyond what's listed"
    ]
  },
  "investigation_findings": {
    "actual_build_tool": "Next.js 15.1.0",
    "actual_package_manager": "pnpm (pnpm-lock.yaml present)",
    "docker_setup": "Complete Docker setup with multi-stage Dockerfile and docker-compose.yml",
    "environment_variables": [
      "NEXT_PUBLIC_SUPABASE_URL",
      "NEXT_PUBLIC_SUPABASE_ANON_KEY",
      "NEXT_PUBLIC_GA_TRACKING_ID",
      "NEXT_PUBLIC_SITE_URL",
      "NODE_ENV",
      "OPENAI_API_KEY (optional, not currently in active use)"
    ]
  }
}
