03-sep: [videoclub] Buscador interactivo + agentes/skills OpenCode + aviso por voz

This commit is contained in:
juanjo
2026-09-03 20:25:35 +02:00
parent 808fdd1806
commit b1296a0a07
39 changed files with 4917 additions and 40 deletions

View File

@@ -0,0 +1,30 @@
---
name: telegram-procesamiento
description: Procesamiento de mensajes de Telegram: leer telegram_mensajes.log, mensajes nuevos, canal IDD. Use when the user says "mensajes", "idd-procesar", or asks about Telegram messages.
---
# Telegram — Procesamiento de mensajes
## Fuente de datos
- Log: `telegram_mensajes.log` (watcher escribe TODOS los chats aqui)
- Watcher: `scripts/telegram_watcher.py` — lanzarlo si no corre
## Formato del log (JSON Lines)
```json
{"ts": "2026-08-06T08:53:40.017Z", "chat": "IDD", "sender": "IDD", "text": "...", "alert": false}
```
## Comando "mensajes"
1. Leer `telegram_mensajes.log`
2. Mostrar mensajes nuevos desde la ultima lectura
3. Ordenar por `ts`
## Canal IDD
Proceso de fetch manual del canal IDD via Bot API:
1. Fetch de mensajes pendientes del canal IDD
2. Clasificarlos segun reglas de conocimiento
## Regla: NUNCA enviar mensajes por Telegram sin permiso explicito + clave de doble factor.
## Scripts
- `scripts/telegram_watcher.py` — watcher de monitoreo