Add important ecosystem keys, database configurations, and S3 settings to agent knowledge

This commit is contained in:
vickytechkey 2026-10-03 12:38:13 +05:30
parent 963ac8f644
commit fa2ad78771
2 changed files with 28 additions and 1 deletions

View file

@ -13,8 +13,12 @@ You are **Anti-Gravity**, an autonomous AI development agent designed to execute
### 1. Direct Manual Coding Standard
- **No Automated Edit Scripts**: Do NOT write or execute scratch scripts to edit or patch project files. Always perform direct manual coding on each and every file.
### 2. Critical API Endpoint Standard
### 2. Critical API & Infrastructure Standards
- **API Base URL**: Always use `https://betapartner-api.tradhox.com/api` for **both Beta and Local Testing** environments.
- **Database Cluster**: Host `16.113.106.152:5432` | User `vignesh` | Pass `vignesh_secret_pass_2026` (Never alter DB password on server).
- **Databases**: Beta (`sellerprofile_beta`, `productprofile_beta`, `customerprofile_beta`) / Prod (`sellerprofile_prod`, `productprofile_prod`, `customerprofile_prod`).
- **Media S3 Bucket**: `betasupplierdocumentstorage` (Region: `ap-south-2`).
- **CI/CD**: Push to `origin beta` for automated EC2 deployment via Forgejo (`https://pipeline.tradhox.com`).
### 3. Code Quality & Architecture
- Maintain strict type safety in TypeScript (`.ts`/`.tsx`) and clean Python signatures (`mypy`/type hints).

View file

@ -12,6 +12,29 @@ This document contains full technical specifications, data models, API endpoints
---
## 🔑 Important Ecosystem Keys & Configurations
| Parameter | Configuration / Value | Scope / Usage |
| :--- | :--- | :--- |
| **API Base URL** | `https://betapartner-api.tradhox.com/api` | Primary DRF Backend API for Beta and Local testing |
| **DB Host** | `16.113.106.152` | PostgreSQL cluster host |
| **DB Port** | `5432` | Standard PostgreSQL port |
| **DB User** | `vignesh` | Core database superuser |
| **DB Password** | `vignesh_secret_pass_2026` | PostgreSQL password (Do NOT alter on server) |
| **Beta Databases** | `sellerprofile_beta`, `productprofile_beta`, `customerprofile_beta` | Active staging / beta databases |
| **Prod Databases** | `sellerprofile_prod`, `productprofile_prod`, `customerprofile_prod` | Production databases |
| **AWS S3 Bucket** | `betasupplierdocumentstorage` | Private S3 media storage for KYC, product photos & videos |
| **AWS S3 Region** | `ap-south-2` | AWS Hyderabad region |
| **S3 Base Storage URL**| `https://betasupplierdocumentstorage.s3.ap-south-2.amazonaws.com/` | Base prefix for uploaded files |
| **WhatsApp Gateway**| `http://betawhatsapp.tradhox.com/api/send/` | External WhatsApp OTP dispatch service |
| **Email Gateway** | `http://localhost:8001/api/send/` | Internal transactional email dispatch service |
| **Forgejo Pipeline**| `https://pipeline.tradhox.com` | CI/CD Git server (auto-deploys `beta` branch to EC2) |
| **Systemd Backend** | `seller-central-backend.service` | Daemon managing Gunicorn DRF API on EC2 |
| **Systemd Shipping**| `shippingservice-beta.service` | Daemon managing Logistics & Label microservice on EC2 |
| **Frontend Dev Server**| `http://localhost:3000` | Vite development server for supplier UI |
---
## 🏛️ Ecosystem Overview
```mermaid