|
|
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 |
|
|
|
890795edd9
|
docs(01-01): complete RankingSnapshot schema plan — SUMMARY + state updates
- Create 01-01-SUMMARY.md with schema decisions, deviations, self-check results
- Update STATE.md with 01-01 decisions and session info
- Update ROADMAP.md phase 1 progress (2/4 summaries)
- Mark requirements RANK-01, RANK-05, RANK-08, RANK-09 complete
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-27 00:55:35 +01:00 |
|