Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
src/cron/scoreDecayJob.ts:33 exports runScoreDecayJob as default, but a repo-wide grep shows it is referenced only by its own test. src/index.ts wires every other scheduler (startIndexer, startDefaultCheckerScheduler, startWebhookRetryScheduler, startScoreReconciliationScheduler, startNotificationCleanupScheduler, startLoanDueCheckCron at lines 59-74) but never imports or calls runScoreDecayJob. The decay job has no cron.schedule/setInterval wrapper at all, so it executes nowhere. This is distinct from the borrowers-table bug: even with that table fixed, decay still never runs because nothing calls the job.
Acceptance criteria
Files to touch
backend/src/cron/scoreDecayJob.ts
backend/src/index.ts
Out of scope
- Fixing the non-existent borrowers table
- Changing decay formula
Why this matters
src/cron/scoreDecayJob.ts:33 exports runScoreDecayJob as default, but a repo-wide grep shows it is referenced only by its own test. src/index.ts wires every other scheduler (startIndexer, startDefaultCheckerScheduler, startWebhookRetryScheduler, startScoreReconciliationScheduler, startNotificationCleanupScheduler, startLoanDueCheckCron at lines 59-74) but never imports or calls runScoreDecayJob. The decay job has no cron.schedule/setInterval wrapper at all, so it executes nowhere. This is distinct from the borrowers-table bug: even with that table fixed, decay still never runs because nothing calls the job.
Acceptance criteria
Files to touch
backend/src/cron/scoreDecayJob.tsbackend/src/index.tsOut of scope