gstack/lib
Garry Tan 721abce5a5
fix: review-driven hardening — env guards, token expiry, slug validation, dashboard UX
From CEO plan review:
- Edge functions: early guard on missing env vars instead of non-null assert crash
- cli-team: wire isTokenExpired check (was imported but unused)
- Migration 007: CHECK constraint on team slug (a-z0-9 hyphens, 2-50 chars)
- Dashboard: streak badges on leaderboard, repo slug in who's-online,
  contextual empty states that teach, 60s refresh (was 30s)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:59:20 -05:00
..
auth.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
cli-eval.ts feat: add CLI leaderboard, refactor formatTeamSummary to use dashboard-queries 2026-03-16 02:44:12 -05:00
cli-sync.ts feat: add CLI leaderboard, refactor formatTeamSummary to use dashboard-queries 2026-03-16 02:44:12 -05:00
cli-team.ts fix: review-driven hardening — env guards, token expiry, slug validation, dashboard UX 2026-03-16 09:59:20 -05:00
dashboard-queries.ts feat: add dashboard query functions — pure transforms for team analytics 2026-03-16 02:43:52 -05:00
eval-cache.ts feat: add SHA-based eval caching with EVAL_CACHE=0 bypass 2026-03-15 09:39:26 -05:00
eval-cost.ts feat: wire costs[] from modelUsage into eval results 2026-03-15 16:47:27 -05:00
eval-format.ts feat: wire costs[] from modelUsage into eval results 2026-03-15 16:47:27 -05:00
eval-tier.ts feat: add eval format validation, tier selection, cost tracking 2026-03-15 09:39:18 -05:00
llm-summarize.ts feat: add enriched transcript sync — Haiku summaries, session file enrichment 2026-03-16 00:15:19 -05:00
sync-config.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
sync.ts feat: add enriched transcript sync — Haiku summaries, session file enrichment 2026-03-16 00:15:19 -05:00
transcript-sync.ts feat: add enriched transcript sync — Haiku summaries, session file enrichment 2026-03-16 00:15:19 -05:00
util.ts feat: add listEvalFiles, loadEvalResults, formatTimestamp to lib/util.ts 2026-03-15 09:39:09 -05:00