Matt
c310631480
feat(01-04): add auto-trigger hook + triggerAutoRank + retroactiveScan
- evaluation.ts: add triggerAutoRankIfComplete (module-level, not exported)
- Checks total/completed required assignments for round
- Reads autoRankOnComplete + rankingCriteria from round configJson
- 5-minute cooldown guard on AUTO snapshots
- Fire-and-forget via void call after isCompleted=true (never awaited)
- Notifies admins via AI_RANKING_COMPLETE / AI_RANKING_FAILED
- ranking.ts: add triggerAutoRank procedure (RANK-09)
- Admin manual trigger reading criteria from round configJson
- Creates MANUAL snapshot with QUICK mode
- ranking.ts: add retroactiveScan procedure (RANK-10)
- Scans ROUND_ACTIVE / ROUND_CLOSED rounds for auto-rank configured
- Skips rounds with existing RETROACTIVE snapshots
- Runs sequentially to avoid rate limits
- ranking.ts: router now has 7 total procedures
2026-02-27 01:05:10 +01:00
..
2026-02-26 23:14:08 +01:00
2026-02-27 00:55:35 +01:00
2026-02-26 23:32:28 +01:00
2026-02-27 00:55:35 +01:00
2026-02-27 01:05:10 +01:00
2026-02-27 01:05:10 +01:00