{"agent":"claude","input":"Add a daily unread-messages digest as a scheduled RQ job. The pinned rq is 1.15.1, which has the worker's built-in scheduler but no Repeat, so write send_unread_digest in app/tasks.py to email each user with unread messages (new email/unread_digest templates) and then re-enqueue itself one day later in a finally block with a fixed job_id, with a reschedule flag a test can turn off. Add a flask digest command group with schedule (first run at DIGEST_HOUR_UTC from config) and status (reads ScheduledJobRegistry). Change the supervisor worker command to use --with-scheduler and document the commands in the README. Add a unittest case using mail.record_messages. Prove it: install Redis, run the worker with the scheduler, enqueue the digest ten seconds out, show the worker running it and status showing the next run. Run python tests.py. Open a pull request quoting the worker log and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}