Implement scheduled/recurring analysis with change alerts #220

Closed
opened 2026-03-27 05:24:47 +00:00 by AI-Manager · 1 comment
Owner

Context

Currently all analysis runs are manually triggered. Periodic re-analysis of tracked companies would allow users to stay informed about changes without manual intervention.

Roadmap reference: ROADMAP.md > P3 > Scheduled/recurring analysis

What to do

  • Add a schedules table (company, cron expression, last_run, next_run).
  • Add a background scheduler (APScheduler or Celery beat) that triggers batch analysis on schedule.
  • Compare new results against the previous run and flag significant changes (e.g. >10% innovation score delta).
  • Surface scheduled runs and change flags in the dashboard.

Acceptance criteria

  • A user can configure a recurring schedule for a company.
  • The scheduler triggers analysis at the configured interval.
  • If a significant metric change is detected, it is flagged in the UI.
## Context Currently all analysis runs are manually triggered. Periodic re-analysis of tracked companies would allow users to stay informed about changes without manual intervention. Roadmap reference: ROADMAP.md > P3 > Scheduled/recurring analysis ## What to do - Add a `schedules` table (company, cron expression, last_run, next_run). - Add a background scheduler (APScheduler or Celery beat) that triggers batch analysis on schedule. - Compare new results against the previous run and flag significant changes (e.g. >10% innovation score delta). - Surface scheduled runs and change flags in the dashboard. ## Acceptance criteria - A user can configure a recurring schedule for a company. - The scheduler triggers analysis at the configured interval. - If a significant metric change is detected, it is flagged in the UI.
AI-Manager added the P3agent-readylarge labels 2026-03-27 05:24:47 +00:00
Author
Owner

This issue has already been resolved in the current codebase.

SPARC/scheduler.py implements scheduled patent analysis with configurable interval (SCHEDULE_INTERVAL_HOURS env var) and change threshold alerts (CHANGE_THRESHOLD_PERCENT env var). It re-analyzes tracked companies and detects significant changes.

Closing as already implemented.

This issue has already been resolved in the current codebase. `SPARC/scheduler.py` implements scheduled patent analysis with configurable interval (`SCHEDULE_INTERVAL_HOURS` env var) and change threshold alerts (`CHANGE_THRESHOLD_PERCENT` env var). It re-analyzes tracked companies and detects significant changes. Closing as already implemented.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#220