feat: add github-dev-assistant plugin — full GitHub workflow automation#2
Merged
xlabtg merged 3 commits intoxlabtg:mainfrom Mar 17, 2026
Merged
feat: add github-dev-assistant plugin — full GitHub workflow automation#2xlabtg merged 3 commits intoxlabtg:mainfrom
xlabtg merged 3 commits intoxlabtg:mainfrom
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: xlabtg#1
Implements all 15 tools from issue xlabtg#1: - Auth (2): github_auth (OAuth 2.0 with CSRF state), github_check_auth - Repos (2): github_list_repos, github_create_repo - Files/Branches (3): github_get_file, github_update_file, github_create_branch - PRs (3): github_create_pr, github_list_prs, github_merge_pr - Issues (4): github_create_issue, github_list_issues, github_comment_issue, github_close_issue - Actions (1): github_trigger_workflow Architecture: modular lib/*.js separation (github-client, auth, repo-ops, pr-manager, issue-tracker, utils), web-ui components (config-panel.jsx, oauth-callback.html), Vitest tests (unit + integration with mocked API). Security: tokens only in sdk.secrets, cryptographically random CSRF state with 10-min TTL, token redaction in errors, require_pr_review merge policy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
github-dev-assistant — Full GitHub Development Workflow AutomationThis reverts commit b9dee2f.
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
🤖 Models used:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
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.
Summary
Implements the
github-dev-assistantplugin as specified in issue #1, providing full-scale GitHub development workflow automation via the Teleton AI agent.15 Tools Implemented
github_auth(OAuth 2.0 + CSRF),github_check_authgithub_list_repos,github_create_repogithub_get_file,github_update_file,github_create_branchgithub_create_pr,github_list_prs,github_merge_prgithub_create_issue,github_list_issues,github_comment_issue,github_close_issuegithub_trigger_workflowArchitecture
Security
sdk.secrets— never in config, logs, or codeformatError()stripsghp_*,ghs_*, andBearerpatterns from error messagesrequire_pr_reviewpolicy — when enabled,github_merge_prcallssdk.llm.confirm()before merging;skip_review_checkallows pre-approved bypassesTests
Test plan
github_authreturns a valid GitHub OAuth URLsdk.secretsgithub_check_authreturnsauthenticated: truewith user login after authgithub_list_reposlists repositoriesgithub_get_filereads and decodes base64 file contentgithub_update_filebase64-encodes content before committinggithub_create_branchresolves source SHA before creating refgithub_create_prusesdefault_branchfrom plugin configgithub_merge_prchecksrequire_pr_reviewconfig before merginggithub_trigger_workflowsends workflow_dispatch eventnpm testpasses locally (Vitest)Closes #1
🤖 Generated with Claude Code