Some checks failed
CI/CD Pipeline / Backend CI (push) Has been cancelled
CI/CD Pipeline / Frontend CI (push) Has been cancelled
CI/CD Pipeline / WhatsApp Service CI (push) Has been cancelled
CI/CD Pipeline / Mobile CI (push) Has been cancelled
CI/CD Pipeline / Docker Build (./apps/backend, ./apps/backend/Dockerfile, backend) (push) Has been cancelled
CI/CD Pipeline / Docker Build (./apps/frontend, ./apps/frontend/Dockerfile, frontend) (push) Has been cancelled
CI/CD Pipeline / Docker Build (./apps/whatsapp-service, ./apps/whatsapp-service/Dockerfile, whatsapp-service) (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
- Add CLAUDE.md with project-specific instructions - Add .trae/rules/ and AGENT-CAPABILITIES.md - Add .windsurf/rules/ and AGENT-CAPABILITIES.md - Add .gemini/antigravity/README.md - Stack: NestJS 10.3.0 + React 19.2.0 + React Native (Expo) - Type: CONSUMER (receives from template-saas) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
148 lines
3.1 KiB
Markdown
148 lines
3.1 KiB
Markdown
# Gemini Agent Configuration - MiChangarrito
|
|
|
|
**Proyecto:** michangarrito
|
|
**Tipo:** CONSUMER (de template-saas)
|
|
**Sistema:** SIMCO v4.3.0 + NEXUS v4.0
|
|
|
|
---
|
|
|
|
## Herencia
|
|
|
|
Este proyecto hereda configuraciones de:
|
|
- `workspace-v2/.gemini/antigravity/`
|
|
- `workspace-v2/orchestration/agents/configs/SHARED-PLATFORM-CONFIG.yml`
|
|
- `workspace-v2/orchestration/agents/configs/SHARED-PROJECT-REGISTRY.yml`
|
|
- `template-saas/` (patrones SaaS)
|
|
|
|
---
|
|
|
|
## Identificación del Proyecto
|
|
|
|
```yaml
|
|
aliases: ["michangarrito", "mch", "changarrito"]
|
|
root: "projects/michangarrito/"
|
|
type: "CONSUMER"
|
|
nivel_nexus: "L2"
|
|
dominio: "Retail/POS"
|
|
mercado: "México"
|
|
```
|
|
|
|
---
|
|
|
|
## Stack Tecnológico
|
|
|
|
| Componente | Tecnología |
|
|
|------------|------------|
|
|
| Backend | NestJS 10.3.0 |
|
|
| Frontend Web | React 19.2.0 |
|
|
| Mobile | React Native (Expo) |
|
|
| Database | PostgreSQL 16+ |
|
|
| Cache | Redis 7 |
|
|
| WhatsApp | Meta Business API |
|
|
| LLM | OpenRouter/Claude/GPT-4 |
|
|
|
|
---
|
|
|
|
## Credenciales BD
|
|
|
|
```yaml
|
|
db_name: michangarrito_dev
|
|
db_user: michangarrito_dev
|
|
db_pass: mch_dev_2026
|
|
db_port: 5432
|
|
redis_port: 6389
|
|
```
|
|
|
|
---
|
|
|
|
## Boot Sequence
|
|
|
|
Al trabajar en este proyecto:
|
|
|
|
1. Cargar `workspace-v2/CLAUDE.md`
|
|
2. Cargar `projects/michangarrito/CLAUDE.md`
|
|
3. Cargar `orchestration/agents/configs/SHARED-PLATFORM-CONFIG.yml`
|
|
4. Identificar plataforma (backend/frontend/mobile)
|
|
5. Cargar contexto específico según tarea
|
|
|
|
---
|
|
|
|
## Apps en el Monorepo
|
|
|
|
| App | Descripción | Puerto |
|
|
|-----|-------------|--------|
|
|
| backend | NestJS API (23 módulos) | 3141 |
|
|
| frontend | React Web App | 3140 |
|
|
| mobile | React Native (Expo) | 8081 |
|
|
| mcp-server | Gateway LLM (15 tools) | 3142 |
|
|
| whatsapp-service | Meta Cloud API | 3143 |
|
|
| database | DDL (11 schemas) | - |
|
|
|
|
---
|
|
|
|
## Módulos Backend (23)
|
|
|
|
```
|
|
auth, billing, categories, codi-spei, customers,
|
|
delivery, exports, integrations, inventory, invoices,
|
|
marketplace, messaging, notifications, onboarding,
|
|
orders, payments, products, referrals, sales,
|
|
settings, subscriptions, templates, widgets
|
|
```
|
|
|
|
---
|
|
|
|
## Paths de Trabajo
|
|
|
|
```
|
|
Backend: projects/michangarrito/apps/backend/src/
|
|
Frontend: projects/michangarrito/apps/frontend/src/
|
|
Mobile: projects/michangarrito/apps/mobile/src/
|
|
WhatsApp: projects/michangarrito/apps/whatsapp-service/
|
|
MCP Server: projects/michangarrito/apps/mcp-server/
|
|
Database: projects/michangarrito/apps/database/
|
|
Docs: projects/michangarrito/docs/
|
|
```
|
|
|
|
---
|
|
|
|
## Reglas de Seguridad
|
|
|
|
### Multi-Tenancy
|
|
- Cada changarrito es un tenant aislado
|
|
- RLS obligatorio en todas las queries
|
|
- NUNCA acceder a datos de otro tenant
|
|
|
|
### Pagos México
|
|
- CoDi/SPEI en sandbox únicamente
|
|
- Validar montos en MXN
|
|
- Usar cuentas de prueba
|
|
|
|
---
|
|
|
|
## Estado del Proyecto
|
|
|
|
```yaml
|
|
mvp_completado: 95%
|
|
en_produccion: false
|
|
modo: multi-tenant
|
|
bloqueadores:
|
|
- Meta Business verificada
|
|
- API keys producción
|
|
```
|
|
|
|
---
|
|
|
|
## Propagación
|
|
|
|
Como CONSUMER, NO propaga a otros proyectos.
|
|
Recibe cambios de template-saas cuando aplique.
|
|
|
|
---
|
|
|
|
## Referencias
|
|
|
|
- CLAUDE.md: `projects/michangarrito/CLAUDE.md`
|
|
- Inventarios: `projects/michangarrito/orchestration/inventarios/`
|
|
- Docs: `projects/michangarrito/docs/`
|