Phase 6 — daily-task agent + learning loop.
run(cfg) tails Claude Code session JSONL files, calls the recommender
whenever a new user message arrives, writes a hint markdown for the
current session, records the top-1 as a pending agent_suggestion, and
marks suggestions accepted when the user actually invokes the suggested
tool. digest(cfg) produces a markdown report for a sliding window.