<!-- BEGIN:nextjs-agent-rules -->
# This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.

# Deployment Rules & Workflow

All developers and AI agents must adhere to the following workflow when deploying changes to the environment:

## Step 1: Commit and Push to GitHub (Local → GitHub)
Once work has been verified locally, compile the production build, commit all modified files, and push them to the GitHub repository:
```bash
npm run build
git add .
git commit -m "feat/fix: descriptive commit message"
git push origin master
```

## Step 2: Sync to cPanel (GitHub → cPanel)
SSH into the cPanel hosting environment, pull the latest changes from the master branch, install any new dependencies, rebuild, and touch the Passenger restart file:
```bash
ssh my-cpanel "cd ~/public_html/geetashyamparivar && git pull origin master && npm install && npm run build && mkdir -p tmp && touch tmp/restart.txt"
```
