
The flow
A scheduled .NET job can connect using an organisation-approved authentication method, locate relevant work with a query, fetch fields in batches, and store the current snapshot. Keeping capture and scoring separate makes the system easier to operate and explain.
Why a local database exists

Azure DevOps remains the system of work. The local database exists for reporting, historical snapshots and recognition. It avoids treating a changing current work item as a substitute for history.
| Table | Purpose |
|---|---|
| TaskActivity | Daily work-item snapshot. |
| Employee | User and manager mappings for reports. |
| RecognitionPeriod | Current and historical four-week periods. |
| StarCalculation | Stored weekly result. |
| ReportsHistory | Report and notification record. |
Keep rules configurable
Category weights, priority weights, schedule times and report recipients belong in configuration, not hard-coded values. The data job captures; the weekly job evaluates.