GitHub Issues Integration
When GITHUB_TOKEN and GITHUB_REPO are set, the ReadGitHubIssue tool becomes active. The agent can fetch any issue by number — title, description, labels, and all comments — giving it full context before starting work.
Configuration
Add these to your .env:
GITHUB_TOKEN=ghp_... # personal access token with repo scope
GITHUB_REPO=owner/repo # e.g. acme/my-appThe GITHUB_TOKEN is shared with the self-healer (PR mode), so no extra setup is needed if healing is already configured. Generate a token at GitHub → Settings → Developer settings → Personal access tokens with repo scope (or a fine-grained token with Issues: read permission).
How it works
Ask the agent naturally:
> implement issue #42
> what are the open GitHub issues?When given an issue number, the tool fetches the issue body plus all comments and returns them as a single block of context. When no number is given, it returns a summary list of recent open issues (pull requests are filtered out automatically).
The same credentials also power:
ai:fix --issue=N— a fix session seeded from an issueai:review --pr=N— pull request review via the GitHub API- The
ReadPullRequest,CreateGitHubIssue,CreatePullRequest, andCommitAndPushtools
Health check
php artisan tackle:healthReports ✓ GitHub configured (owner/repo) — ReadGitHubIssue tool is active when both vars are present.
Untrusted input
Issue bodies and comments are text anyone can write on a public repository, and they are fed to an agent that can edit code. See What the guards do and don't stop and consider the injection shield for issue-driven runs.