← ClaudeAtlas

kookr-oss-dashboard-verifylisted

Verify the OSS contribution dashboard is accurate by comparing the store (GET /api/oss-attempts) against GitHub reality via gh CLI. Reports missing, phantom, and state-drifted PRs.
kookr-ai/kookr · ★ 2 · AI & Automation · score 78
Install: claude install-skill kookr-ai/kookr
# OSS Dashboard Verification Check whether the OSS contribution dashboard panel shows the same PRs GitHub does. Run this periodically to confirm the refresher is working and the store has not drifted. ## When to Use - User asks "is the OSS dashboard accurate?" or "check my OSS tracking" - After deploying changes to `src/server/oss-refresh.ts` or `src/core/oss-attempt-store.ts` - Before relying on the dashboard for reporting or analysis - Suspected refresh failure (stale `lastRefreshAt`, missing entries, wrong state) ## What It Checks 1. The prod API is reachable and `lastRefreshAt` is recent. 2. Every PR in the store exists on GitHub with the same state (open/merged/closed). 3. Every `@me`-authored PR on GitHub in a tracked external repo is in the store. 4. Counts per repo match (opened / merged / closed / open). 5. Registry repos with `status != active` are correctly excluded from processing. 6. Own-namespace PRs (owner in `DEFAULT_OWN_NAMESPACES`) are correctly excluded. ## How the Dashboard Gets Its Data (quick mental model) - Registry: `~/.kookr/oss-repos.json` lists repos + status (`active` | `blocked` | `anti-ai` | ...) - Refresher (`src/server/oss-refresh.ts`): for each active external repo, runs `gh pr list --repo R --author @me --state all --limit 100 --json ...`, normalizes state (`MERGED`→`merged`, `CLOSED`→`closed`, else `pr_open`), and upserts into the store keyed by `(repo, prNumber)`. - Store (`src/core/oss-attempt-store.ts`): file-backed JSON at `