From 2b28ace2177e56d24c3417d0fe772739c644b187 Mon Sep 17 00:00:00 2001 From: borja Date: Sat, 6 Sep 2025 16:19:24 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20reflejar=20en=20README=20que=20se=20env?= =?UTF-8?q?=C3=ADa=20DM=20al=20creador=20siempre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (openrouter/openai/gpt-5) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dc4787..4adfdd1 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ Estado: la tabla response_queue ya está creada e incluida en los tests de DB. - Task persistence service (`src/tasks/service.ts`) with `created_by` and assignment inserts in a transaction; supports DB injection for tests. - Response queue persistente con workers en background y envío vía Evolution API (`src/services/response-queue.ts`), persistiendo metadata `{ mentioned: [...] }` y enviándola como `mentioned` en el payload. - Contacts service and friendly names: `ContactsService` resolves display names via webhooks (CONTACTS_UPDATE/CHATS_UPDATE) and Evolution API fallback; used to render names in outgoing texts (falls back to numbers). Skips network calls under NODE_ENV=test for fast and isolated unit tests. -- Notification UX: DM acknowledgment to creator (skipped if creator is the only assignee), DM to each assignee; optional group notification controlled by `NOTIFY_GROUP_ON_CREATE` (default false) with proper mentions. +- Notification UX: Always send DM acknowledgment to the creator in a single line (format: ✅ Tarea creada: "description"), DM to each assignee (excluding the creator); optional group notification controlled by `NOTIFY_GROUP_ON_CREATE` (default false) with proper mentions. - Environment variable validation (`src/server.ts`, `src/services/webhook-manager.ts`). - Health check endpoint (`/health`). - **Database isolation in unit tests**: Using in-memory instances to avoid conflicts.