ci: phone-triggerable Claude issue-resolver workflow#626
Open
lakhansamani wants to merge 1 commit into
Open
Conversation
Maintainers can fix issues remotely by commenting @claude on an issue/PR or adding the claude-fix label. The workflow runs Claude with the project's spec-first/plan-first delivery rules embedded: reproduce with a failing test, never commit to main, full test gates (build/vet/test-sqlite, all-DB for storage changes, frontend builds), security fail-closed rules, and conventional-commit/PR hygiene. Trigger is gated to OWNER/MEMBER/ COLLABORATOR author_association so drive-by commenters on the public repo cannot spend CI minutes or API credits. Requires the ANTHROPIC_API_KEY Actions secret (or the Claude GitHub App).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
.github/workflows/claude-issue-resolver.yml: comment@claude <instructions>on any issue/PR (or add theclaude-fixlabel) and Claude resolves it end-to-end — spec, plan, implementation on a feature branch, tests, and a PR back tomain. Built for fixing issues remotely from a phone.Also registers the
issue-resolveragent in the CLAUDE.md agent table for local use.Safety
OWNER/MEMBER/COLLABORATORauthor association — drive-by commenters on the public repo cannot start runs.go build/go vet/make test-sqlite, all-DB for storage changes, frontend builds), fail-closed security rules, no AI attribution in commits/PRs.Setup (one-time)
ANTHROPIC_API_KEYto repo Actions secrets (or install the Claude GitHub App and use its OIDC flow).claude-fixlabel.Test plan
@claude summarize this issueon a test issue and confirm the workflow triggers and replies.@claude fix thison a small bug; verify branch + PR + green CI.