ai:mayor-personnew Laravel mayor candidate daily AI dashboard45 5,20 * * *--execute calls OpenCode-compatible chat completions and upserts urt_mayor_person_ai
urt_show_tag_date、urt_show_video_tag_date 與 urt_video,產生每位候選人的每日 Dashboard prompt;execute mode 用 OpenCode-compatible chat completions 產生「今日發生什麼、調整事項、今日行動」JSON,idempotently upsert urt_mayor_person_ai。頁面 request 只讀 cache,不直接呼叫 AI。Production scheduled execute 仍受 scheduler/local-production polling/allowlist gates 控制;手動補跑可用 ai:mayor-person --execute --city=taipei --person=蔣萬安,沈伯洋 --date=YYYY-MM-DD --ai-call-limit=2。此 job 目前不會執行;下面保留 guardrail 原始原因,方便對照 CLI/output。
此 job 已 allowlisted,可以由 scheduler-enabled polling 執行。當 ingestion:run --execute 評估為 due 時,scheduler 會使用下方 capped command。
ai:mayor-person --execute --city=taipei --limit=10 --ai-call-limit=10
php artisan ingestion:run --job=ai.mayor_person --at="2026-06-10 18:40:45"
INGESTION_SCHEDULER_ENABLED=true php artisan ingestion:run --execute --job=ai.mayor_person
INGESTION_SCHEDULER_ENABLED=true INGESTION_LOCAL_POLLING_ENABLED=true php artisan ingestion:run --execute --job=ai.mayor_person
45 5,20 * * *