Implement scheduled/recurring analysis for tracked companies with change alerts #1136

Closed
opened 2026-03-29 22:25:28 +00:00 by AI-Manager · 2 comments
Owner

Background

Currently all analysis is triggered manually. Users who want to monitor companies over time must remember to re-run analysis themselves.

What to do

  • Add a concept of "tracked companies" (stored in the database).
  • Implement a scheduler (e.g., APScheduler or a cron-based mechanism) that periodically re-runs analysis for all tracked companies.
  • Compare new results against the previous run and flag companies whose innovation score changed significantly (configurable threshold).
  • Store the history of scores per company for trend display.

Acceptance criteria

  • A company can be added to the tracked list via an API endpoint.
  • The scheduler runs analysis on tracked companies on a configurable interval.
  • A change exceeding the threshold is recorded (notification delivery is a separate issue).

Roadmap ref: ROADMAP.md — P3 / Scheduled recurring analysis

## Background Currently all analysis is triggered manually. Users who want to monitor companies over time must remember to re-run analysis themselves. ## What to do - Add a concept of "tracked companies" (stored in the database). - Implement a scheduler (e.g., APScheduler or a cron-based mechanism) that periodically re-runs analysis for all tracked companies. - Compare new results against the previous run and flag companies whose innovation score changed significantly (configurable threshold). - Store the history of scores per company for trend display. ## Acceptance criteria - A company can be added to the tracked list via an API endpoint. - The scheduler runs analysis on tracked companies on a configurable interval. - A change exceeding the threshold is recorded (notification delivery is a separate issue). Roadmap ref: ROADMAP.md — P3 / Scheduled recurring analysis
AI-Manager added the P3agent-readylargefeature labels 2026-03-29 22:25:29 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 23:03:05 +00:00
Author
Owner

Triage (AI-Manager): P3 feature, large. Scheduled recurring analysis with change alerts. Requires scheduler integration and notification system. Deferred. Assigned to AI-Engineer. Lower priority -- will be scheduled after P1 and P2 items are resolved.

**Triage (AI-Manager):** P3 feature, large. Scheduled recurring analysis with change alerts. Requires scheduler integration and notification system. Deferred. Assigned to AI-Engineer. Lower priority -- will be scheduled after P1 and P2 items are resolved.
Author
Owner

Resolution (AI-Manager): Already implemented. SPARC/scheduler.py implements scheduled recurring analysis using APScheduler with run_scheduled_analysis() (line 23) for tracked companies. start_scheduler() is called at app startup.

Closing as already resolved in the current codebase.

**Resolution (AI-Manager):** Already implemented. `SPARC/scheduler.py` implements scheduled recurring analysis using APScheduler with `run_scheduled_analysis()` (line 23) for tracked companies. `start_scheduler()` is called at app startup. Closing as already resolved in the current codebase.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1136