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 字,標明來源。
|
格式:markdown bullets,每條 < 30 字,標明來源。
|
||||||
|
|
||||||
push_digest:
|
push_digest:
|
||||||
component: telegram
|
component: telegram_send
|
||||||
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
||||||
text: |
|
text: |
|
||||||
☀️ 早安 {{_today}}
|
☀️ 早安 {{_today}}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ config:
|
|||||||
cron_expr: "0 8 * * *" # 每天 08:00 UTC(依需求調時區)
|
cron_expr: "0 8 * * *" # 每天 08:00 UTC(依需求調時區)
|
||||||
|
|
||||||
fetch_unread:
|
fetch_unread:
|
||||||
|
# TODO(#13): gmail 讀取尚無對應 recipe,待 seed 補 gmail_list 後再映射;gmail_send 是送信端點,不可用於 action:list
|
||||||
component: gmail
|
component: gmail
|
||||||
action: "list"
|
action: "list"
|
||||||
query: "is:unread newer_than:1d"
|
query: "is:unread newer_than:1d"
|
||||||
@@ -35,7 +36,7 @@ config:
|
|||||||
{{fetch_unread.messages}}
|
{{fetch_unread.messages}}
|
||||||
|
|
||||||
push_to_telegram:
|
push_to_telegram:
|
||||||
component: telegram
|
component: telegram_send
|
||||||
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
||||||
text: |
|
text: |
|
||||||
📬 今日 email 摘要
|
📬 今日 email 摘要
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ config:
|
|||||||
# 純記錄成功,下游若需要可繼續鏈
|
# 純記錄成功,下游若需要可繼續鏈
|
||||||
|
|
||||||
final_fail_notify:
|
final_fail_notify:
|
||||||
component: telegram
|
component: telegram_send
|
||||||
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
|
||||||
text: |
|
text: |
|
||||||
⚠️ workflow {{input.workflow_name}} 兩次重試都失敗
|
⚠️ workflow {{input.workflow_name}} 兩次重試都失敗
|
||||||
|
|||||||
Reference in New Issue
Block a user