forked from 0xWheatyz/SPARC
Implement scheduled/recurring patent analysis with change alerts #347
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Users must manually trigger analysis for each company. There is no way to track a company over time and be alerted to significant changes in their patent portfolio.
Work
schedulestable in PostgreSQL (company, frequency, last_run, next_run).POST /schedules,GET /schedules,DELETE /schedules/{id}.Acceptance Criteria
Reference
Roadmap item: P3 — Scheduled/recurring analysis.
[Repo Manager] This issue is resolved. The scheduler module (scheduler.py) uses APScheduler to run periodic analysis on tracked companies. The database has a tracked_companies table with full CRUD. API endpoints exist at /admin/tracked (GET, POST, DELETE). Alerts are generated on significant score changes and viewable at /admin/alerts. The scheduler starts automatically at app lifespan startup.