Fix task ordering (FIFO) + Telegram standup reply matching
- get_tasks(): ORDER BY id ASC (oldest first) for TaskBeat FIFO processing - UI calls use order='desc' so display stays newest-first - trigger_daily_standup(): standup sub-tasks now stored as type='standup_reply' with telegram_chat_id set correctly so replies can be matched - telegram_message_handler: checks for open standup_reply task from same chat_id before creating new task - if found, marks standup complete and creates orchestrator follow-up task with full context to process the reply - tasks.html: badge for standup_reply type
This commit is contained in:
parent
01858b5fc6
commit
8780c2b176
2 changed files with 89 additions and 22 deletions
|
|
@ -52,6 +52,8 @@
|
|||
<span class="badge bg-warning ms-1">❓ Frage</span>
|
||||
{% elif task.type == 'standup' %}
|
||||
<span class="badge ms-1" style="background-color:#0d9488;">☀ Standup</span>
|
||||
{% elif task.type == 'standup_reply' %}
|
||||
<span class="badge ms-1" style="background-color:#0d9488;">💬 Standup-Antwort</span>
|
||||
{% elif task.type == 'broadcast' %}
|
||||
<span class="badge ms-1" style="background-color:#b45309;">📡 Broadcast</span>
|
||||
{% elif task.type == 'action_knowledge' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue