Continuous polling daemon that drives the Analyzer agent.

  • Purpose — Fetches pending jobs from the Supabase sc_analyzer_jobs table, runs the Analyzer with property/zoning data + fetched research, validates the JSON output, and writes the result back (status: done/failed). Atomic job claiming prevents races.
  • Trigger — systemd user service analyzer-codex-worker.service (runs continuously); polls every ~8 seconds (flock-guarded)
  • Scripts~/analyzer-codex-loop.sh (loop, calls the worker every 8s) and ~/analyzer-codex-worker.sh (single run, max 5 jobs)
  • Memory — Logs in ~/analyzer-codex-worker.log; all state in Supabase
  • Config~/.asset-rise-worker.env (Supabase keys, Firecrawl key)
  • Managesystemctl --user [status|restart] analyzer-codex-worker