Daily News Digest
Workflow
- Read
STATE.md; for a new execution, reset it fromreferences/template/STATE.template.mdand mark context preparation in progress. Readreferences/cron.mdwhen this run comes from or will update a scheduled task. - Resolve today's date in
Asia/Taipeiand calculateSORTKEY = 99999999 - YYYYMMDD. - Research current, verifiable stories and retain direct article URLs:
- AI: 4-8 items covering models or products, policy, investment, and research.
- Taiwan finance: 6-10 items covering the market, sectors, companies, macro policy, and international links.
- US markets: 6-10 items covering major indices, sectors, large companies, the Fed, inflation, employment, and international links.
- Write Traditional Chinese Markdown to these exact paths, creating only
missing parent directories:
~/Desktop/daily/ainews/SORTKEY-YYYY-MM-DD-AI-News.md~/Desktop/daily/financenews/SORTKEY-YYYY-MM-DD-Finance-News.md~/Desktop/daily/usstocknews/SORTKEY-YYYY-MM-DD-US-Stock-News.md
- In
~/Desktop/daily, inspect the diff, rungit add -A, commit withchore: add daily news YYYY-MM-DDwhen changes exist, and push the current branch. If there are no changes, record that fact without creating an empty commit. - Verify all three paths, run
git rev-parse --short HEADandgit status --short, then updateSTATE.mdwith the files, commit result, and push result.
Rules
- Each item must include a title, a one- or two-sentence summary, and a direct source link.
- Do not reuse legacy filename forms such as
AI-News-YYYY-MM-DD.md. - Do not fabricate current events, dates, prices, or URLs.
- Do not report completion before push succeeds. If commit succeeds but push
fails, report
已 commit、未 pushand the exact failure.
Output
Report the three file paths, the commit message and hash or no changes, and
whether push succeeded. Keep the handoff concise.