This document explains assignment bootstrap for CodeBridge and what to do when a GitHub App bot login is not assignable.
For installation scope, app identity, and org-install verification, see GitHub Apps.
Issue assignees must be assignable users for that repository (collaborator/member visibility rules apply). In many repos, custom GitHub App bot identities such as codexengineer[bot] are not exposed as assignable users.
For this reason, assignment bootstrap is best treated as optional. Mention bootstrap via real @handle prefixes is the portable default.
Check whether GitHub currently allows assigning the bot on a repository:
gh api repos/<owner>/<repo>/assignees | jq -r '.[].login'If codexengineer[bot] is missing, assignment to that bot will fail.
Direct check for a single assignee candidate:
gh api repos/<owner>/<repo>/assignees/codexengineer%5Bbot%5D -iExpected:
204=> assignable404=> not assignable
Use comments with the app handle:
@codexengineer run investigate flaky CI
After the issue is managed, plain comments work as follow-up prompts.
If you need assignment-triggered bootstrap, use an assignable GitHub user (human or machine account) and configure it in tenant config:
tenants:
- id: local
github:
installationId: 123456
assignmentAssignees:
- "codex-operator"Behavior:
- Assignment to any login in
assignmentAssigneestriggers bootstrap. - Replies are still authored by the GitHub App bot identity.
- Comment mentions for these handles are also accepted as command prefixes automatically.
- Keep app-handle mention mode enabled even when assignment mode is configured.
- Assignment and mention modes can be used together safely.