# ============================================
# ROBOT PLANTILLA (command-only, sin LLM)
# ============================================
# Referencia canonica para robots. NO se lanza (template: true).
# Un robot solo responde a comandos (!xxx). Mensajes normales se ignoran.
# Copiar y adaptar para nuevos robots.

agent:
  id: "_template_robot"
  name: "Template Robot"
  version: "0.0.0"
  type: robot                  # robot = command-only, sin LLM ni reglas
  enabled: true
  template: true               # el launcher ignora este robot
  description: "Robot plantilla. No se lanza."
  tags: [template, robot]

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

# ============================================
# MATRIX
# ============================================
matrix:
  homeserver: "https://matrix.example.com"
  user_id: "@robot:matrix.example.com"
  access_token_env: MATRIX_TOKEN_ROBOT
  device_id: "DEVICEID"

  encryption:
    enabled: false
    store_path: "./agents/_template_robot/data/crypto/"
    pickle_key_env: PICKLE_KEY_ROBOT
    trust_mode: tofu
    recovery_key_env: ""

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

  filters:
    command_prefix: "!"         # usar "" para permitir comandos sin prefijo !
    # command_prefix: ""        # sin prefijo: todo mensaje es un posible comando
    mention_respond: false      # robots no responden a menciones (no hay LLM)
    dm_respond: false           # robots no responden a DMs (no hay LLM)
    ignore_bots: true
    ignore_users: []
    unauthorized_response: silent
    min_power_level: 0

  threads:
    enabled: true
    auto_thread: false
