[AG-10] Add branch-per-task workflow with PR creation#1
Open
0xtechdean wants to merge 2 commits intomasterfrom
Open
[AG-10] Add branch-per-task workflow with PR creation#10xtechdean wants to merge 2 commits intomasterfrom
0xtechdean wants to merge 2 commits intomasterfrom
Conversation
- Add git-service.ts for branch/PR management via GitHub API
- Update Task interface with branch, prUrl, prNumber, prStatus fields
- Create branches when tasks start (pattern: task/{id}-{slug})
- Auto-create PRs when tasks complete
- Add GitHub webhook handler for PR merge events
- Add "PR Review" column to Kanban board
- Show PR badge and branch name on task cards
- Show PR info in task detail view
- Branch cleanup after PR merge
Acceptance Criteria:
- [x] Agent creates branch when starting task
- [x] Branch follows naming convention with task ID
- [x] Agent creates PR when completing task
- [x] PR description includes task context
- [x] PR link is stored on task record
- [x] Task status updates when PR is merged
- [x] Dashboard shows PR status on tasks
- [x] Branches are cleaned up after merge
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add feature bullet point for Git Branch Workflow - Add GitHub environment variables to configuration table - Add comprehensive Git Branch Workflow section with: - How it works overview - GitHub setup instructions - Webhook configuration - Branch naming convention - PR template details - Task status flow - Dashboard features - Update Task Workflow section with PR Review step 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Changes
src/git-service.tssrc/taskdb.tssrc/controllers/tasks.controller.tssrc/index.tssrc/orchestrator.tspublic/index.htmlConfiguration Required
Set these environment variables:
GITHUB_TOKEN- GitHub personal access token with repo scopeGITHUB_OWNER- Repository owner (default: Othentic-Labs)GITHUB_REPO- Repository name (default: ai-team)GITHUB_WEBHOOK_SECRET- (Optional) Webhook signature verificationAcceptance Criteria
task/{id}-{slug}Test Plan
🤖 Generated with Claude Code