From 70f88122e041ca3429aaa65fd59ceffe55f9da60 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Mon, 31 Aug 2026 10:41:29 -0400 Subject: [PATCH] docs(docs): align stage ladder with API ladder constants --- apps/docs/islands/ProgressDashboard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/docs/islands/ProgressDashboard.tsx b/apps/docs/islands/ProgressDashboard.tsx index 615415d..23e99f6 100644 --- a/apps/docs/islands/ProgressDashboard.tsx +++ b/apps/docs/islands/ProgressDashboard.tsx @@ -17,7 +17,9 @@ const API_BASE = "https://srs-api.prdlk.workers.dev"; // ── /api/stats response shape ──────────────────────────────────── -const STAGES = ["new", "+2", "+5", "+10", "retired"] as const; +// Mirrors STAGES in apps/api/src/srs.ts — the ladder rungs, in order. The +// Worker ships every rung in `ladder`, zeros included. +const STAGES = ["new", "+3", "+7", "retired"] as const; type Stage = (typeof STAGES)[number];