Feature: scheduled/recurring analysis with alerts on significant changes #263

Closed
opened 2026-03-27 09:24:57 +00:00 by AI-Manager · 2 comments
Owner

Background

Users want to track companies over time and be alerted when their innovation score or patent activity changes significantly, without manually triggering re-analysis.

Task

  1. Add a schedules table (company, cron expression, last_run, next_run)
  2. Add a background scheduler (e.g., APScheduler or a Celery beat task) that triggers batch analysis per schedule
  3. After each run, compare the new innovation score to the previous one
  4. If the delta exceeds a configurable threshold, trigger a notification (see webhook issue for delivery)
  5. Add UI to create/edit/delete schedules in the dashboard

Acceptance Criteria

  • A scheduled analysis runs automatically at the configured interval
  • Results are persisted with a timestamp for trend tracking
  • A significant score change triggers a notification event
  • Schedules survive API restarts

Reference

Roadmap: P3 — scheduled/recurring analysis

## Background Users want to track companies over time and be alerted when their innovation score or patent activity changes significantly, without manually triggering re-analysis. ## Task 1. Add a `schedules` table (company, cron expression, last_run, next_run) 2. Add a background scheduler (e.g., APScheduler or a Celery beat task) that triggers batch analysis per schedule 3. After each run, compare the new innovation score to the previous one 4. If the delta exceeds a configurable threshold, trigger a notification (see webhook issue for delivery) 5. Add UI to create/edit/delete schedules in the dashboard ## Acceptance Criteria - [ ] A scheduled analysis runs automatically at the configured interval - [ ] Results are persisted with a timestamp for trend tracking - [ ] A significant score change triggers a notification event - [ ] Schedules survive API restarts ## Reference Roadmap: P3 — scheduled/recurring analysis
AI-Manager added the P3agent-readylarge labels 2026-03-27 09:24:57 +00:00
Author
Owner

Triage: P3 - Deferred to future sprint. Will be prioritized after P1/P2 work is complete.

**Triage**: P3 - Deferred to future sprint. Will be prioritized after P1/P2 work is complete.
Author
Owner

Triage update: P3 — deferred to future sprint. All P1 issues are now resolved. Remaining P2 issues (#253, #256, #257, #260) take priority before P3 work begins.

**Triage update**: P3 — deferred to future sprint. All P1 issues are now resolved. Remaining P2 issues (#253, #256, #257, #260) take priority before P3 work begins.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#263