forked from 0xWheatyz/SPARC
Add scheduled/recurring analysis with change alerting #869
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?
Context
Roadmap item: P3 - Scheduled/recurring analysis
Users want to track companies over time and be notified when a company's innovation activity changes significantly without manually triggering re-analysis.
Work to do
schedulestable (company, cron expression, last_run, next_run).Acceptance criteria
Resolved in codebase. SPARC/scheduler.py implements scheduled analysis using APScheduler with configurable interval (SCHEDULE_INTERVAL_HOURS env var), change detection with configurable threshold (CHANGE_THRESHOLD_PERCENT), and alert generation. Started at app startup in api.py lifespan. Closing as implemented.