# ============================================
# TEST-BOT — Robot de prueba (command-only, sin LLM)
# ============================================
# Robot para validar el pipeline de creacion de bots y E2E tests.
# Solo responde a comandos (!xxx). Mensajes normales se ignoran.

agent:
  id: test-bot
  name: "Test Bot"
  version: "0.1.0"
  type: robot
  enabled: true
  template: false
  description: "Robot de prueba para validar el pipeline de creacion de bots"
  tags: [test, robot]

# ============================================
# PERSONALIDAD (minima para robots)
# ============================================
personality:
  prefix: ""
  language: es

# ============================================
# MATRIX
# ============================================
matrix:
  homeserver: "${MATRIX_HOMESERVER}"
  user_id: "@test-bot:${MATRIX_SERVER_NAME}"
  access_token_env: MATRIX_TOKEN_TEST_BOT
  device_id: "HXINOYBBUW"

  encryption:
    enabled: true
    store_path: "./agents/test-bot/data/crypto/"
    pickle_key_env: PICKLE_KEY_TEST_BOT
    trust_mode: tofu
    recovery_key_env: SSSS_RECOVERY_KEY_TEST_BOT

  rooms:
    listen: []
    respond: []
    admin: []

  filters:
    command_prefix: ""          # sin prefijo — todo mensaje es un posible comando
    mention_respond: false
    dm_respond: false
    ignore_bots: true
    ignore_users: []
    unauthorized_response: silent
    min_power_level: 0

  threads:
    enabled: true
    auto_thread: false

# ============================================
# SEGURIDAD
# ============================================
security:
  audit:
    enabled: false
    log_file: ""
    log_to_room: ""
    include: []

  secrets:
    provider: env

  sanitize:
    enabled: false
    mode: warn
    min_severity: medium
    disabled_patterns: []

  tool_rate_limit:
    enabled: false
    max_calls_per_min: 10
    cleanup_interval_s: 60
