Add _ensure_data_dirs() helper in main.py and call it from both _run_setup()
and _start_service() so all required data directories are guaranteed to exist
before any module attempts to use them.
https://claude.ai/code/session_01KjaNo9RXevw6x1DjJD8mj6