# Project AI Rules

This repository contains the Plesk Agency Portal SaaS project.

Before making changes, read the following documentation files:

docs/ai-bootstrap.md
docs/ai-project-context.md
docs/system-architecture.md
docs/GUARDRAILS.md
docs/next-steps.md
docs/handovers/latest.md
docs/current-focus.md

Project guidelines:

- Treat master branch as production-ready.
- Preserve the working Jenkins CI/CD deployment pipeline.
- Avoid breaking Supabase Row Level Security policies.
- Prefer minimal changes over large rewrites.
- Follow existing Next.js App Router structure.

Deployment architecture:

Jenkins builds Docker image.
Image transferred using:
docker save → scp → docker load

Application host path:
/opt/plesk-agency-portal

Public domain:
https://portal.rdbcloud.co.uk

Supabase domain
https://supabase.rdbcloud.co.uk
