Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
src/services/scoreDecayService.ts queries a borrowers table that does not exist in any migration (scores live in the scores table), uses console.* in src/cron/scoreDecayJob.ts, and runScoreDecayJob is never wired into index.ts. Either the decay feature is unimplemented or this is stale code that would crash if ever invoked.
Acceptance criteria
Files to touch
- src/services/scoreDecayService.ts
- src/cron/scoreDecayJob.ts
- src/index.ts
Out of scope
- Designing a new decay algorithm
- On-chain score decay
Why this matters
src/services/scoreDecayService.ts queries a
borrowerstable that does not exist in any migration (scores live in thescorestable), uses console.* in src/cron/scoreDecayJob.ts, and runScoreDecayJob is never wired into index.ts. Either the decay feature is unimplemented or this is stale code that would crash if ever invoked.Acceptance criteria
Files to touch
Out of scope