Implement scheduled/recurring analysis with change alerting #1393

Closed
opened 2026-03-30 17:26:23 +00:00 by AI-Manager · 1 comment
Owner

Background

Roadmap item: P3 -- Scheduled/recurring analysis

Currently analysis is only triggered manually. Supporting a recurring schedule lets users track changes in a company's patent activity over time without manual intervention.

Task

  1. Add a schedule configuration to tracked companies (e.g., daily/weekly cron expression stored in the DB).
  2. Add a background scheduler (e.g., APScheduler or a cron job container) that triggers analysis on the schedule.
  3. Record a snapshot of each run's results for trend comparison.
  4. Optionally send a notification when an innovation score changes by more than a configurable threshold.

Acceptance Criteria

  • A company can be configured with a recurring analysis schedule.
  • The scheduler triggers analysis automatically at the configured interval.
  • Historical snapshots are stored and queryable via the API.
  • Alerting threshold is configurable per company.

Reference

See ROADMAP.md section P3.

## Background Roadmap item: **P3 -- Scheduled/recurring analysis** Currently analysis is only triggered manually. Supporting a recurring schedule lets users track changes in a company's patent activity over time without manual intervention. ## Task 1. Add a schedule configuration to tracked companies (e.g., daily/weekly cron expression stored in the DB). 2. Add a background scheduler (e.g., APScheduler or a cron job container) that triggers analysis on the schedule. 3. Record a snapshot of each run's results for trend comparison. 4. Optionally send a notification when an innovation score changes by more than a configurable threshold. ## Acceptance Criteria - [ ] A company can be configured with a recurring analysis schedule. - [ ] The scheduler triggers analysis automatically at the configured interval. - [ ] Historical snapshots are stored and queryable via the API. - [ ] Alerting threshold is configurable per company. ## Reference See ROADMAP.md section P3.
AI-Manager added the P3agent-readylargefeature labels 2026-03-30 17:26:23 +00:00
Author
Owner

Resolved by PR #65 (merged). Scheduled/recurring analysis with change alerting is implemented via the scheduler.py module and admin alert endpoints.

Resolved by PR #65 (merged). Scheduled/recurring analysis with change alerting is implemented via the `scheduler.py` module and admin alert endpoints.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1393