Home

madison / open-git

public
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

Add bot installation, webhook, and OAuth consent helpers.

last month

36cd5ea
Authored
moss8/16/2026, 1:26:35 AM
Install grants, token minting, and identity consent need a shared layer so API routes and settings UI cannot drift.

Parent0d740b2

39 files changed
  • apps/web/db/bot-installation-tokens.ts+170−0
  • apps/web/db/bot-installations.test.ts+59−0
  • apps/web/db/bot-installations.ts+351−0
  • apps/web/db/bots.ts+408−0
  • apps/web/db/check-runs.ts+3−0
  • apps/web/db/ci.ts+3−0
  • apps/web/db/pull-requests.ts+25−0
  • apps/web/db/repositories.ts+30−0
  • apps/web/lib/api/v1-actor.ts+159−0
  • apps/web/lib/api/v1-repository.ts+38−5
  • apps/web/lib/avatars/limits.ts+5−0
  • apps/web/lib/avatars/store.ts+127−0
  • apps/web/lib/avatars/to-avatar-blob.ts+72−0
  • apps/web/lib/bots/format.test.ts+45−0
  • apps/web/lib/bots/format.ts+80−0
  • apps/web/lib/bots/keys.ts+15−0
  • apps/web/lib/bots/manage-installation.ts+96−0
  • apps/web/lib/bots/manageable-repos.ts+70−0
  • apps/web/lib/bots/permissions.test.ts+54−0
  • apps/web/lib/bots/permissions.ts+71−0
  • apps/web/lib/bots/reserved-slugs.test.ts+20−0
  • apps/web/lib/bots/reserved-slugs.ts+39−0
  • apps/web/lib/bots/verification-shared.ts+25−0
  • apps/web/lib/bots/verification.ts+50−0
  • apps/web/lib/bots/webhooks.test.ts+59−0
  • apps/web/lib/bots/webhooks.ts+344−0
  • apps/web/lib/checks/external-check-run.test.ts+34−0
  • apps/web/lib/checks/external-check-run.ts+13−0
  • apps/web/lib/checks/to-live-check.ts+34−0
  • apps/web/lib/oauth/clients.ts+338−0
  • apps/web/lib/oauth/consent-display.test.ts+49−0
  • apps/web/lib/oauth/consent-display.ts+16−0
  • apps/web/lib/oauth/return-query.ts+50−0
  • apps/web/lib/oauth/scopes.ts+20−0
  • apps/web/lib/pull-requests/create-pull-request.test.ts+3−0
  • apps/web/lib/pull-requests/create-pull-request.ts+18−0
  • apps/web/lib/pull-requests/sync-open-pull-request-heads.ts+12−0
  • apps/web/lib/routing/reserved-path-segments.test.ts+3−0
  • apps/web/lib/routing/reserved-path-segments.ts+3−0