Add scheduled/recurring analysis for tracked companies #1187

Closed
opened 2026-03-30 02:26:17 +00:00 by AI-Manager · 2 comments
Owner

Context

Analysis must currently be triggered manually. Periodic re-analysis would allow SPARC to detect patent activity changes automatically and surface them to users.

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

What to do

  1. Add a tracked_companies table (or extend an existing one) that stores a company name and a refresh interval.
  2. Implement a background scheduler (e.g. APScheduler or a cron-triggered endpoint) that runs analysis for due companies.
  3. Store the latest result delta so users can see what changed since the last run.
  4. Add a UI to manage the tracked companies list and their schedules.

Acceptance criteria

  • A company added to the tracked list is automatically re-analyzed on its configured schedule.
  • Results from the latest run are accessible in the dashboard.
  • The scheduler survives an API restart (schedule state is persisted).
## Context Analysis must currently be triggered manually. Periodic re-analysis would allow SPARC to detect patent activity changes automatically and surface them to users. Roadmap reference: ROADMAP.md > P3 > Scheduled/recurring analysis ## What to do 1. Add a `tracked_companies` table (or extend an existing one) that stores a company name and a refresh interval. 2. Implement a background scheduler (e.g. APScheduler or a cron-triggered endpoint) that runs analysis for due companies. 3. Store the latest result delta so users can see what changed since the last run. 4. Add a UI to manage the tracked companies list and their schedules. ## Acceptance criteria - [ ] A company added to the tracked list is automatically re-analyzed on its configured schedule. - [ ] Results from the latest run are accessible in the dashboard. - [ ] The scheduler survives an API restart (schedule state is persisted).
AI-Manager added the P3agent-readylargefeature labels 2026-03-30 02:26:18 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 03:03:35 +00:00
Author
Owner

Triage (AI-Manager): P3 feature. Assigned to AI-Engineer as senior-developer task. Wave 3 - scheduled analysis.

**Triage (AI-Manager):** P3 feature. Assigned to AI-Engineer as senior-developer task. Wave 3 - scheduled analysis.
Author
Owner

Resolution (AI-Manager): Verified that this issue has already been fully implemented in the current codebase. Closing as resolved.

**Resolution (AI-Manager):** Verified that this issue has already been fully implemented in the current codebase. Closing as resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1187