# Configuracion del Sistema de Planificacion Platform Marketing Content
# Basado en: Estandar-SCRUM.md (Principio SIMCO)
# Version: 1.0
# Fecha: 2026-01-04

project:
  name: "Platform Marketing Content"
  description: "Plataforma SaaS de generacion de contenido y CRM creativo"
  version: "1.0.0"
  repository: "platform_marketing_content"

# Estados validos para elementos de trabajo
states:
  user_story:
    - "Backlog"
    - "To Do"
    - "In Progress"
    - "In Review"
    - "Done"
  task:
    - "To Do"
    - "In Progress"
    - "Blocked"
    - "Done"
  bug:
    - "Open"
    - "In Progress"
    - "Fixed"
    - "Done"
    - "Won't Fix"
  adr:
    - "Proposed"
    - "Accepted"
    - "Deprecated"
    - "Superseded"

# Prioridades
priorities:
  - id: "P0"
    name: "Critico"
    description: "Bloqueante para produccion o seguridad"
    sla_hours: 4
  - id: "P1"
    name: "Alto"
    description: "Funcionalidad core, deadline cercano"
    sla_hours: 24
  - id: "P2"
    name: "Medio"
    description: "Mejoras importantes, puede esperar"
    sla_hours: 72
  - id: "P3"
    name: "Bajo"
    description: "Nice-to-have, mejoras menores"
    sla_hours: null

# Prefijos de nomenclatura
naming:
  epic: "EPIC"
  user_story: "US"
  task: "TASK"
  bug: "BUG"
  requirement: "RF-PMC"
  module: "PMC"
  adr: "ADR"

# Modulos del proyecto
modules:
  - prefix: "PMC-001"
    name: "TENANTS"
    epic: "EPIC-001"
    description: "Multi-tenancy y planes"
  - prefix: "PMC-002"
    name: "CRM"
    epic: "EPIC-002"
    description: "Clientes, marcas, productos"
  - prefix: "PMC-003"
    name: "PROJECTS"
    epic: "EPIC-003"
    description: "Proyectos y campanas"
  - prefix: "PMC-004"
    name: "GENERATION"
    epic: "EPIC-004"
    description: "Motor IA de generacion"
  - prefix: "PMC-005"
    name: "AUTOMATION"
    epic: "EPIC-006"
    description: "Flujos n8n"
  - prefix: "PMC-006"
    name: "ASSETS"
    epic: "EPIC-005"
    description: "Biblioteca DAM"
  - prefix: "PMC-007"
    name: "ADMIN"
    epic: "EPIC-008"
    description: "Administracion"
  - prefix: "PMC-008"
    name: "ANALYTICS"
    epic: "EPIC-007"
    description: "Dashboards y reportes"

# Configuracion de sprints
sprint:
  duration_days: 10
  velocity_target: 40
  current_sprint: 1
  current_phase: 1

# Agentes disponibles
agents:
  - id: "@Backend-Agent"
    specialization: "NestJS, TypeORM, APIs"
  - id: "@Frontend-Agent"
    specialization: "React, TypeScript, UI/UX"
  - id: "@Database-Agent"
    specialization: "PostgreSQL, Migrations, Seeds"
  - id: "@Generation-Agent"
    specialization: "ComfyUI, SDXL, LoRAs"
  - id: "@DevOps-Agent"
    specialization: "Docker, Kubernetes, Deployment"

# Columnas del tablero Kanban
kanban_columns:
  - id: "backlog"
    name: "Backlog"
    description: "Items no planificados"
  - id: "todo"
    name: "Por Hacer"
    description: "Planificado para sprint actual"
  - id: "in_progress"
    name: "En Progreso"
    description: "Trabajo activo"
  - id: "blocked"
    name: "Bloqueado"
    description: "Esperando dependencias"
  - id: "review"
    name: "En Revision"
    description: "Pendiente de validacion"
  - id: "done"
    name: "Hecho"
    description: "Completado y validado"

# Campos requeridos por tipo de documento
required_fields:
  epic:
    - "id"
    - "title"
    - "status"
    - "phase"
  user_story:
    - "id"
    - "title"
    - "status"
    - "epic"
    - "priority"
  task:
    - "id"
    - "title"
    - "status"
    - "priority"
  bug:
    - "id"
    - "title"
    - "status"
    - "severity"
    - "affected_module"
  requirement:
    - "id"
    - "title"
    - "status"
    - "module"
  adr:
    - "id"
    - "title"
    - "status"
    - "date"

# Rutas importantes
paths:
  planning: "/docs/planning/"
  tasks: "/docs/planning/tasks/"
  bugs: "/docs/planning/bugs/"
  board: "/docs/planning/Board.md"
  backlog: "/docs/04-fase-backlog/"
  epics: "/docs/05-user-stories/"
  requirements: "/docs/03-requerimientos/"
  adr: "/docs/97-adr/"
  trazas: "/orchestration/trazas/"

# Metricas del proyecto
metrics:
  total_epics: 8
  total_user_stories: 77
  total_requirements: 8
  total_adrs: 4
  compliance_target: 100
  current_compliance: 100

# Configuracion de validacion
validation:
  require_yaml_frontmatter: true
  require_acceptance_criteria: true
  require_story_points: false
  max_file_lines: 500
  enforce_naming_convention: true
