You're offline — showing cached data

CEO Insight Miner

ceo-insight-miner
2026-06-13 06:13:50 SAST
← Back to Tasks

OVERRIDES runtime profile: uses direct_python (plain Python, no model) because scripts/ceo_insight_miner.py mines briefing data statistically; it imports only the data-extraction functions of ceo_briefing_audio (extract_data/build_context), never the claude-invoking narrative functions (MC-4942 U12 sweep).

Pre-computes the daily anomaly / cross-cut / theme bundle that the 07:25 CEO audio briefing consumes. Runs at 04:00 SAST weekdays so the brief always has a fresh insight spine.

Pipeline: 1. Re-extracts dashboard context via ceo_briefing_audio.build_context() 2. Snapshots ctx to ~/workspace/audio-library/ceo/_history/YYYY-MM-DD.json 3. Loads up to 30 days of prior snapshots for trend stats 4. Runs detectors: - forward-curve gap deltas (1d / 7d, with flip detection) - per-route yield z-scores vs 30-day rolling - cross-cuts: price-war, demand-surprise, share-loss-in-growing-market - econ moves: fuel WoW, ZAR MoM - ops anomalies: OTP/NPS departures from target 5. Penalises insights whose subject was deeply discussed in the last 5 transcripts (repeat suppression) 6. Picks weekday theme (Mon = week ahead, Tue = route micro, Wed = competitor watch, Thu = curve health, Fri = recap) 7. Writes top 8 ranked insights + theme to ~/workspace/audio-library/ceo/_insights/YYYY-MM-DD.json

The brief script (ceo_briefing_audio.py) reads this bundle at 07:25, falls back to inline mining if the file is missing.

Source: ~/workspace/dashboard-build/dashboard/Dashboard.html History: ~/workspace/audio-library/ceo/_history/ Output: ~/workspace/audio-library/ceo/_insights/YYYY-MM-DD.json

Weekdays at 04:000 4 * * 1-5
Yes
shell
180s
No
in 2d (2026-06-15 04:00)

Task Definition

tasks/ceo-insight-miner.md
shell
set
No
No
. /home/lucienne/.claude/env/api_keys.env && cd /home/lucienne/workspace && python3 scripts/ceo_insight_miner.py

Edit Schedule

Result:
5
Runs (7d)
5
Completed
0
Failed
0
Timeout
100%
Success (7d)
5s
Avg Duration
flysafair ceo briefing insights

Run History (5)

StartedFinishedStatusDurationOutputLog
1d ago 1d ago completed 5s
Insight miner: 2 ranked insights [1] sev=2 score=2.30 rep=0 curve_movement: Forward curve for 2026-06: now -7.2 points ...
View log
2d ago 2d ago completed 5s
Insight miner: 2 ranked insights [1] sev=3 score=1.80 rep=0 crosscut_price_war: Price-war signal on CPT-PLZ: capacity ...
View log
3d ago 3d ago completed 5s
Insight miner: 4 ranked insights [1] sev=2 score=2.00 rep=0 econ_fx: Rand weakened 12.1 percent month on month to 16.4 ...
View log
4d ago 4d ago completed 5s
Insight miner: 8 ranked insights [1] sev=3 score=3.15 rep=0 crosscut_price_war: Price-war signal on CPT-PLZ: capacity ...
View log
5d ago 5d ago completed 5s
Insight miner: 8 ranked insights [1] sev=2 score=2.60 rep=0 econ_fx: Rand weakened 10.6 percent month on month to 16.2 ...
View log

Comments (0)

No comments yet — add instructions for Luci
Help