{"agent":"claude","input":"Add a periodic job to this Flask app that uses RQ. Read requirements.txt, config.py, app/__init__.py, app/tasks.py, app/models.py, app/cli.py, app/main/routes.py, boot.sh, Procfile, deployment/supervisor/microblog-tasks.conf, Dockerfile and tests.py first. Write a job in app/tasks.py that deletes Notification rows older than an age read from a new config setting, following export_posts for app context, logging and error handling, and that re-enqueues itself with enqueue_in on app.task_queue after each run using an interval from config. Add a flask tasks schedule command in app/cli.py that enqueues the first run only if the ScheduledJobRegistry has no job with that id, and call it from boot.sh after flask db upgrade. Add --with-scheduler to the rq worker command in Procfile and the supervisor config. Add unittest cases in tests.py for the cleanup and for the idempotent schedule command. Install Redis in the sandbox, run python -m unittest tests.py, run the worker with the scheduler long enough to show one run and the re-enqueue in its log, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}