merge: issue #13 步驟1 telegram 示例改 recipe(gmail 留 TODO)
PR review 抓出 gmail_send 假綠已擋下,只併對的 telegram 三處。 自動派工首次共用框架 PR 閉環:subagent 診斷→改→獨立 review→拆併。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -54,7 +54,7 @@ config:
|
||||
格式:markdown bullets,每條 < 30 字,標明來源。
|
||||
|
||||
push_digest:
|
||||
component: telegram
|
||||
component: telegram_send
|
||||
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
||||
text: |
|
||||
☀️ 早安 {{_today}}
|
||||
|
||||
@@ -12,6 +12,7 @@ config:
|
||||
cron_expr: "0 8 * * *" # 每天 08:00 UTC(依需求調時區)
|
||||
|
||||
fetch_unread:
|
||||
# TODO(#13): gmail 讀取尚無對應 recipe,待 seed 補 gmail_list 後再映射;gmail_send 是送信端點,不可用於 action:list
|
||||
component: gmail
|
||||
action: "list"
|
||||
query: "is:unread newer_than:1d"
|
||||
@@ -35,7 +36,7 @@ config:
|
||||
{{fetch_unread.messages}}
|
||||
|
||||
push_to_telegram:
|
||||
component: telegram
|
||||
component: telegram_send
|
||||
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
||||
text: |
|
||||
📬 今日 email 摘要
|
||||
|
||||
@@ -35,7 +35,7 @@ config:
|
||||
# 純記錄成功,下游若需要可繼續鏈
|
||||
|
||||
final_fail_notify:
|
||||
component: telegram
|
||||
component: telegram_send
|
||||
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
||||
text: |
|
||||
⚠️ workflow {{input.workflow_name}} 兩次重試都失敗
|
||||
|
||||
Reference in New Issue
Block a user