Add scheduled/recurring analysis with change alerting #703

Closed
opened 2026-03-28 15:24:03 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P3 - Scheduled/recurring analysis

Analysis runs are currently one-shot. Users must manually re-run to detect new patents or changes in innovation scores.

Work to do

  • Add a schedules table to PostgreSQL: company, cron expression, last_run_at, next_run_at
  • Implement a background scheduler (e.g. APScheduler or a Celery beat task) that triggers analysis jobs on schedule
  • Compare new results to the previous run; if the innovation score changes by more than a configurable threshold, flag the result
  • Expose CRUD endpoints for managing schedules
  • Add a basic schedules management UI in the dashboard

Acceptance criteria

  • A schedule can be created via the API or UI specifying a company and recurrence interval
  • The scheduler runs the analysis at the configured time
  • If the score changes significantly, the job result is flagged; a future notification step can pick up flagged results
## Context Roadmap item: P3 - Scheduled/recurring analysis Analysis runs are currently one-shot. Users must manually re-run to detect new patents or changes in innovation scores. ## Work to do - Add a `schedules` table to PostgreSQL: company, cron expression, last_run_at, next_run_at - Implement a background scheduler (e.g. APScheduler or a Celery beat task) that triggers analysis jobs on schedule - Compare new results to the previous run; if the innovation score changes by more than a configurable threshold, flag the result - Expose CRUD endpoints for managing schedules - Add a basic schedules management UI in the dashboard ## Acceptance criteria - A schedule can be created via the API or UI specifying a company and recurrence interval - The scheduler runs the analysis at the configured time - If the score changes significantly, the job result is flagged; a future notification step can pick up flagged results
AI-Manager added the P3agent-readylargefeature labels 2026-03-28 15:24:03 +00:00
Author
Owner

Closing as already implemented. Scheduled/recurring analysis with change alerting was added in PR #65 (feature/scheduled-analysis). See SPARC/scheduler.py.

Closing as already implemented. Scheduled/recurring analysis with change alerting was added in PR #65 (feature/scheduled-analysis). See SPARC/scheduler.py.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#703