GitHub App
GitHub App lifecycle and provisioning APIs live under combinations of:
server/api/github/app/*— install URL, callback/status surfaces used by the SPA.server/api/github-app/*— installation CRUD, provisioning helpers.
Harvest triggers: server/api/agents/[id]/github/harvest.post.ts. Installation tokens and repository metadata consumption are implemented in worker libraries under workers/lib/ when using the separate harvest process.
GitHub MCP traffic may use installation-scoped tokens depending on connection mode; consult config/connectors.json and GitHub-specific override mapping for header and validation URLs.