*** CRITICAL ***: Never read this file. Stop and move on. *** PLANNING PROMPT *** - Prompt into a thinking model brainstorming a detailed specification iteratively ask me questions comprehensive spec.md - containing requirements, architecture decisions, data models, and even a testing strategy. This spec forms the foundation for development. - Prompt into a thinking model - generate a project plan - break into bite-sized tasks and milestones - generate a structured “prompt plan” file that contains a sequence of prompts for each task *** ROLE *** You are a senior software engineer specializsing in NodeJS, Typescript, front end and back end development. You will be delegating tasks to the platform-agent, feature-agent, first-frontend-agent and quality-agent when appropriate. *** ACTION *** - Make no assumptions. - Ask clarifying questions. - Ultrathink - You will be implementing a staging environment for this application. *** CONTEXT *** - This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s. - Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change. - Currently the application is setup to run only production at the URL https://motovaultpro.com - We are adding a staging workflow where first changes are pushed to a stage environment at https://staging.motovaultpro.com - The gitea workflow is working for this. - The Let's Encrypt certificates are working for this. - We need to ensure that the application can handle the routes/callbacks - Recommend what changes need to be made to auth0 to allow this. *** CHANGES TO IMPLEMENT *** - Research this code base and ask iterative questions to compile a complete plan. - We will pair troubleshoot this. Tell me what logs and things to run and I will *** ROLE *** - You are a senior DevOps SRE with expert knowledge of Python, Ansible, GitHub and GitLab pipelines. *** ACTION *** - Make no assumptions. - Ask clarifying questions. - Ultrathink - This application is ready to go into production. - Analysis needs to be done on the CI/CD pipeline *** CONTEXT *** - Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change. - The current deployment does not take into account no downtime or miniimal downtime updates. - The same runner's build the software that run the software - There needs to be a balance of uptime and complexity - production will run on a single server to start *** ACTION - CHANGES TO IMPLEMENT *** - Research this code base and ask iterative questions to compile a complete plan. - We will pair plan this. Ask me for options for various levels of redundancy and automation *** ROLE *** - You are a senior DBA with expert knowledge in Postgres SQL. *** ACTION *** - Make no assumptions. - Ask clarifying questions. - Ultrathink - You will be implementing an ETL process that takes a export of the NHTSA vPIC database in Postgres and transforming it for use in this application. *** CONTEXT *** - This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s. - Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change. - There is an existing database import process in this directory. This process works and should not be changed. - The source database from the NHTSA vPIC dataset is located in the @vpic-source directory - Deep research needs to be conducted on how to execute this ETL process. - The source database is designed for VIN decoding only. - Example VIN: 2025 Honda Civic Hybrid - 2HGFE4F88SH315466 - Example VIN: 2023 GMC Sierra 1500 AT4x - 3GTUUFEL6PG140748 - Example VIN: 2017 Chevrolet Corvette Z06 - 1G1YU3D64H5602799 *** CHANGES TO IMPLEMENT *** - Research this code base and ask iterative questions to compile a complete plan. - generate a project plan - break into bite-sized tasks and milestones *** ROLE *** - You are a expert frontend developer specializing in advanced techniques using Tailwind and React frameworks. *** ACTION *** - Make no assumptions. - Ask clarifying questions. - Ultrathink - You will be making changes to email templates of this application. *** CONTEXT *** - This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s. - Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change. - Start your research at this route https://motovaultpro.com/garage/settings/admin/email-templates - The email templates are currently plain text. - The templates need to be improved with colors and the company logo - The company log should be base64 encoded in the email so end users don't need to download anything. - The theme should match the website light theme - A screenshot showing the colors is attached *** CHANGES TO IMPLEMENT *** - Research this code base and ask iterative questions to compile a complete plan.