Add a daily cron job running artifact_dedup_agent.run_full_scan() on a recurring schedule to continuously detect and flag artifact sprawl as the knowledge graph and wiki grow.
scripts/recurring_dedup_pipeline.py exists and calls run_full_scan()The recurring dedup pipeline was implemented in prior task work (commit 85a9f67ec, now on origin/main as part of task 6493344d_4ce). This task creates the spec file documenting the architecture.
The pipeline:
run_full_scan() which scans hypotheses, wiki pages, gaps, and artifactsdedup_recommendations table as status=pendingCron setup (documented in script docstring):
crontab -l 2>/dev/null; echo "0 */6 * * * cd /home/ubuntu/scidex && python3 scripts/recurring_dedup_pipeline.py >> /var/log/scidex/dedup_pipeline.log 2>&1" | crontab -t-auto-dedup-cron (this task): spec file only6493344d_4ce (completed): actual pipeline implementationscripts/recurring_dedup_pipeline.py exists on origin/mainrun_full_scan(), auto_review_pending(), execute_approved_merges()