1
0
Fork 0
polaris-task-force/src/tools
Z8MB1E db9248244d feat(awards): add award automation platform
- award-rules collection: metric/operator/value threshold rules linked to
  awards, with auto-retire-lower-tiers and once-per-series flags, active
  toggle, and award-rules:* permissions
- src/lib/awards/metrics.ts: pure metric resolvers (years of service from
  dossier.enlistmentDate with account-age fallback, account age, missions
  attended, total XP) plus operator comparison, unit tested
- evaluateAwardRules() sweeper: idempotent, dry-run capable; grants land as
  profile rows with awardedBy null so the existing afterChange hook sends
  award:granted notifications; upgrades replace the lower series tier in
  place preserving the original date; emits award:rule-granted events
- award-tick payload bin for daily evaluation + admin Award Automation
  view with Evaluate now (dry run) preview and Apply grants
- seedYearsOfServiceRules.ts wires the four years-of-service ribbons into
  one advancement series and creates their rules (idempotent, dev seeded)
- migration add_award_rules_automation (table + awards event target enum)
2026-10-12 15:11:38 -04:00
..
arma feat(arma): extract the marker catalog from game files 2026-10-04 02:53:15 -04:00
cli feat(mcp): add read-only MCP key provisioning CLI 2026-10-09 17:55:58 -04:00
import feat(arma): extract catalog icons and extend the import library 2026-10-03 03:29:58 -04:00
seed feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00