Address CodeRabbit feedback on PR #12159 (Leap credentials refactor)
completedPR #12159 — BOLT-1225/leap-credentials. Three CodeRabbit findings:
1. entities.ts: add "token" to ResolvedLeapGrant.source union
2. fetchLeapGrantCredentials.ts: validate explicit leapApiToken via schema instead of trusting raw input; return source:"token"
3. routes/admin/leap.ts: 4 endpoints (/meters/overview, /meters/apply-tags, /meters/remove-tags, /webhooks/list) missing workspaceId 400 check.
Worktree: /home/agent/agents/slava-agent/mono-bolt-1225
Event Timeline
created
progress
Pushed cbdd03d addressing 3 CodeRabbit findings. Local biome+tsc clean. Watching CI.
progress
Cursor found fallback regression in cbdd03d; pushed 9a7e6ec preserving empty/null token fallback while still validating non-empty explicit tokens.
status_change
in_progress → completed