template-saas/.claude/constants/CONSTANTS-PROJECT.yml
Adrian Flores Cortes 9e527da492
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
[TASK-2026-01-24] fix: Update CONTEXT-MAP paths and add .claude directory
- Updated CONTEXT-MAP.yml: workspace-v1 -> workspace-v2 (all paths)
- Created .claude/ directory structure for agent integration:
  - README.md: Agent system documentation
  - agents/_MAP.md: Agent profiles map
  - constants/CONSTANTS-PROJECT.yml: Project constants
  - directivas/DIRECTIVAS-LOCALES.md: Local directives
  - directivas/_MAP.md: Directives map
  - referencias/PATHS-TRABAJO.md: Work paths reference

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 14:58:43 -06:00

128 lines
3.5 KiB
YAML

# ==============================================================================
# CONSTANTES DEL PROYECTO: Template-SaaS
# ==============================================================================
#
# Single Source of Truth para constantes especificas de este proyecto.
# Extiende las constantes del workspace.
#
# ==============================================================================
version: "1.0.0"
project: "template-saas"
updated: "2026-01-24"
# ------------------------------------------------------------------------------
# IDENTIFICACION
# ------------------------------------------------------------------------------
identificacion:
nombre: "Template SaaS"
slug: "template-saas"
tipo: "STANDALONE"
estado: "completado"
version: "1.0.0"
descripcion: "Template base para aplicaciones SaaS multi-tenant"
# ------------------------------------------------------------------------------
# BASE DE DATOS
# ------------------------------------------------------------------------------
database:
nombre: "template_saas_platform"
tipo: "postgresql"
version: "16"
schemas:
- "auth"
- "tenants"
- "users"
- "billing"
- "plans"
- "notifications"
- "feature_flags"
- "audit"
- "ai"
- "storage"
- "webhooks"
- "whatsapp"
# ------------------------------------------------------------------------------
# TECNOLOGIAS
# ------------------------------------------------------------------------------
stack:
backend:
framework: "nestjs"
version: "10.x"
language: "typescript"
frontend:
framework: "react"
version: "18.x"
language: "typescript"
bundler: "vite"
styling: "tailwindcss"
database:
engine: "postgresql"
version: "16"
rls: true
# ------------------------------------------------------------------------------
# HERENCIA
# ------------------------------------------------------------------------------
herencia:
tipo: "STANDALONE"
hereda_de:
- "workspace-v2/orchestration/"
- "workspace-v2/shared/catalog/"
exporta_a:
- "projects/erp-core/"
# ------------------------------------------------------------------------------
# MODULOS CORE SAAS
# ------------------------------------------------------------------------------
modulos_saas:
- nombre: "auth"
descripcion: "JWT, OAuth, MFA"
propaga_a: "erp-core"
- nombre: "tenants"
descripcion: "Multi-tenancy con RLS"
propaga_a: "erp-core"
- nombre: "billing"
descripcion: "Stripe integration"
propaga_a: "erp-core"
- nombre: "plans"
descripcion: "Planes y limites"
propaga_a: "erp-core"
- nombre: "notifications"
descripcion: "Email, push, in-app"
propaga_a: "erp-core"
- nombre: "webhooks"
descripcion: "Outbound webhooks"
propaga_a: "erp-core"
- nombre: "feature-flags"
descripcion: "Toggles por plan/tenant"
propaga_a: "erp-core"
- nombre: "ai-integration"
descripcion: "Multi-provider LLM wrapper"
propaga_a: "erp-core"
- nombre: "whatsapp"
descripcion: "WhatsApp Business API"
propaga_a: "erp-core"
# ------------------------------------------------------------------------------
# VARIABLES DE ENTORNO REQUERIDAS
# ------------------------------------------------------------------------------
env_required:
- "DATABASE_URL"
- "JWT_SECRET"
- "JWT_EXPIRATION"
- "REDIS_URL"
- "STRIPE_SECRET_KEY"
- "STRIPE_WEBHOOK_SECRET"
# ==============================================================================
# FIN DE CONSTANTES
# ==============================================================================