{"definition_raw":"---\nid: sa-airline-cpa-watch\ntitle: Daily SA-airline CPA complaint watch\nschedule: \"0 6 * * 1\"\ntimeout: 3600\nretry: true\nenabled: true\nnotify_on: always\nnotify_to: work\nrun_as: shell\ncommand: SACPA_REPORT_BASE_URL=http://100.118.207.3:8787/reports bash /home/lucienne/workspace/PKA/Projects/sa-airline-cpa-watch/run_daily.sh\ntags: [flysafair, ncc, cpa, social-media, daily, intelligence]\nruntime_profile: direct_mixed\n---\n\n**OVERRIDES runtime profile:** uses `direct_mixed` because the detached Python\npipeline calls Gemini directly with GLM/MiniMax fallbacks and never invokes the\n`claude` CLI.\n\nDaily monitor: searches social media + news for SA-airline customer complaints,\nclassifies each against the Consumer Protection Act (especially s47 over-booking),\naccumulates them in a persistent ledger so patterns become a case, builds an HTML\nreport + auto-stub dossiers for emerging patterns, and pings Telegram (Forum: Work)\nwith the headline + report link.\n\n**ENABLED: false** until the pipeline's live-API assumptions are validated and a\nmanual test run passes on Luci (see `Projects/sa-airline-cpa-watch/CLAUDE.md`\n\"before first real run\"). Flip to `true` only after a green manual run.\n\nPipeline: `run_daily.sh` \u2192 `run_daily.py` (collect \u2192 evaluate[GLM] \u2192 report \u2192\nauto-stub dossiers) \u2192 `notify.py`. Portable mkdir lock. Report \u2192 `reports/`;\nTelegram link uses `SACPA_REPORT_BASE_URL` (set at deploy to the Luci-served URL).\n","id":"sa-airline-cpa-watch","last_run":{"duration_s":0.05317,"log_path":"/home/lucienne/workspace/logs/task-runs/sa-airline-cpa-watch/392662.log","output":"2026-06-08T04:02:53Z detached worker PID 1442686 (log: /tmp/sa-airline-cpa-watch-run.log) \u2014 scheduler tick released\n","started_at":"2026-06-08T06:02:52.963255+02:00","status":"completed"},"next_run":"2026-06-15 06:00","next_run_iso":"2026-06-15T06:00:00+02:00","runs":[{"duration_s":0.05317,"finished_at":"2026-06-08T06:02:53.018921+02:00","id":392662,"log_path":"/home/lucienne/workspace/logs/task-runs/sa-airline-cpa-watch/392662.log","output":"2026-06-08T04:02:53Z detached worker PID 1442686 (log: /tmp/sa-airline-cpa-watch-run.log) \u2014 scheduler tick released\n","started_at":"2026-06-08T06:02:52.963255+02:00","status":"completed","task_id":"sa-airline-cpa-watch","task_name":"Daily SA-airline CPA complaint watch"}],"runs_limit":20,"schedule":"0 6 * * 1","schedule_label":{"description":"Mon at 06:00","is_custom":false,"label":"Weekly (Mon)","sort":6,"sort_time":"06:00"},"stats":{"avg_duration":0.05317,"completed":1,"failed":0,"timeout":0,"total":1},"task":{"_description":"**OVERRIDES runtime profile:** uses `direct_mixed` because the detached Python\npipeline calls Gemini directly with GLM/MiniMax fallbacks and never invokes the\n`claude` CLI.\n\nDaily monitor: searches social media + news for SA-airline customer complaints,\nclassifies each against the Consumer Protection Act (especially s47 over-booking),\naccumulates them in a persistent ledger so patterns become a case, builds an HTML\nreport + auto-stub dossiers for emerging patterns, and pings Telegram (Forum: Work)\nwith the headline + report link.\n\n**ENABLED: false** until the pipeline's live-API assumptions are validated and a\nmanual test run passes on Luci (see `Projects/sa-airline-cpa-watch/CLAUDE.md`\n\"before first real run\"). Flip to `true` only after a green manual run.\n\nPipeline: `run_daily.sh` \u2192 `run_daily.py` (collect \u2192 evaluate[GLM] \u2192 report \u2192\nauto-stub dossiers) \u2192 `notify.py`. Portable mkdir lock. Report \u2192 `reports/`;\nTelegram link uses `SACPA_REPORT_BASE_URL` (set at deploy to the Luci-served URL).","_file":"sa-airline-cpa-watch.md","_path":"/home/lucienne/workspace/tasks/sa-airline-cpa-watch.md","command":"SACPA_REPORT_BASE_URL=http://100.118.207.3:8787/reports bash /home/lucienne/workspace/PKA/Projects/sa-airline-cpa-watch/run_daily.sh","enabled":true,"id":"sa-airline-cpa-watch","notify_on":"always","notify_to":"work","retry":true,"run_as":"shell","runtime_profile":"direct_mixed","schedule":"0 6 * * 1","tags":["flysafair","ncc","cpa","social-media","daily","intelligence"],"timeout":3600,"title":"Daily SA-airline CPA complaint watch"}}
