gsxdsm
8dd9697468
FN-6714: backfill commit-association diff stats
Backfill historical commit-association diff stats so Command Center LOC can use real persisted git data.
- Add a core backfill API that inspects local git commits for associations with missing additions/deletions and supports dry-run reporting.
- Expose an authenticated Command Center productivity backfill endpoint and route it through the legacy API shim.
- Keep productivity LOC/hour sentinels safe for legacy payloads and document the backfill contract.
- Cover the backfill path, auth gate, productivity analytics, and route registration with tests.
Files changed:
.changeset/fn-6714-command-center-loc-backfill.md | 5 +
docs/architecture.md | 4 +-
docs/storage.md | 4 +-
...mmit-association-diff-backfill.real-git.test.ts | 140 +++++++++++++++++++++
packages/core/src/index.ts | 1 +
packages/core/src/store.ts | 76 ++++++++++-
packages/core/src/types.ts | 9 ++
packages/dashboard/app/api/legacy.ts | 16 +++
.../command-center/areas/ProductivityArea.tsx | 8 +-
.../register-command-center-routes.auth.test.ts | 48 ++++---
.../register-command-center-routes.test.ts | 49 +++++++-
.../src/routes/register-command-center-routes.ts | 20 +++
12 files changed, 354 insertions(+), 26 deletions(-)
Fusion-Task-Id: FN-6714
Fusion-Task-Lineage: 657c7789-bbe4-4611-abca-127af05b0300
2026-06-22 03:42:24 -07:00
..
2026-06-22 03:34:15 -07:00
2026-06-22 03:42:24 -07:00
2026-06-22 03:42:24 -07:00
2026-06-22 03:34:16 -07:00
2026-06-04 08:00:33 -07:00
2026-06-19 22:14:57 -07:00
2026-06-21 16:13:54 -07:00
2026-06-16 15:08:24 -07:00
2026-05-17 22:16:27 -07:00
2026-06-22 03:34:15 -07:00
2026-06-11 09:21:23 -07:00
2026-06-22 03:34:16 -07:00
2026-05-29 11:25:11 -07:00
2026-06-21 16:13:54 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-22 03:34:16 -07:00
2026-06-21 00:12:57 -07:00