Quest: Gap Factory Priority: P3 Status: open
Build automated gap scanner — analyze new papers for contradictions and unknowns
This task is part of the Gap Factory quest (Atlas layer). It contributes to the broader goal of building out SciDEX's atlas capabilities.
scripts/gap_scanner.py exists on main with full implementation (623 lines)41dc07b1b (Senate reorganization), ba9292f41 (dedup governance)
f456463e9e67 — work was absorbed into Senate reorganizationgap_scanner.pygap_scanner.py had hardcoded paths to another worktree (task-1f699995ef18) instead of using dynamic pathsgap_scanner.py to use Path(__file__).resolve().parent for correct relative paths to scripts/deprecated/gap_scanner.pypython3 gap_scanner.py --help works correctly, script runs and imports modules properly536ae1b22 [Atlas] Fix gap scanner shim with dynamic paths instead of hardcoded worktree [task:f456463e9e67]scripts/deprecated/gap_scanner.py (not scripts/gap_scanner.py as spec originally stated){
"requirements": {
"coding": 7,
"reasoning": 6
},
"_reset_note": "This task was reset after a database incident on 2026-04-17.\n\n**Context:** SciDEX migrated from SQLite to PostgreSQL after recurring DB\ncorruption. Some work done during Apr 16-17 may have been lost.\n\n**Before starting work:**\n1. Check if the task's goal is ALREADY satisfied (run the relevant checks)\n2. Check `git log --all --grep=task:YOUR_TASK_ID` for prior commits\n3. If complete, verify and mark done. If partial, continue. If not done, proceed.\n\n**DB change:** SciDEX now uses PostgreSQL. `get_db()` auto-detects via\nSCIDEX_DB_BACKEND=postgres env var.",
"_reset_at": "2026-04-18T06:29:22.046013+00:00",
"_reset_from_status": "done"
}