Documentation
¶
Overview ¶
Package workflow provides implementation orchestration for issue resolution
Index ¶
- func CreateAndImplementIssue(cfg *config.Config, owner, repo string, issueNumber int, title, body string) (string, error)
- type ImplementationWorkflow
- func (w *ImplementationWorkflow) CreateImplementationPromptAndExecute(owner, repo, branchName string, issueNumber int) (string, error)
- func (w *ImplementationWorkflow) CreatePullRequestForIssue(owner, repo, branch, base string, issueNumber int, claudeOutput string, ...) (*github.PullRequest, error)
- func (w *ImplementationWorkflow) GenerateBranchAndTitle(owner, repo, title, body string) (string, string, error)
- func (w *ImplementationWorkflow) RespondToIssue(owner, repo string, issueNumber int, comment string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImplementationWorkflow ¶
type ImplementationWorkflow struct {
// contains filtered or unexported fields
}
ImplementationWorkflow represents the complete implementation workflow
func NewImplementationWorkflow ¶
func NewImplementationWorkflow(cfg *config.Config) *ImplementationWorkflow
NewImplementationWorkflow creates a new implementation workflow
func NewImplementationWorkflowWithService ¶
func NewImplementationWorkflowWithService(cfg *config.Config, service *services.GitHubImplementationService) *ImplementationWorkflow
NewImplementationWorkflowWithService creates a new implementation workflow with a provided service
func (*ImplementationWorkflow) CreateImplementationPromptAndExecute ¶
func (w *ImplementationWorkflow) CreateImplementationPromptAndExecute(owner, repo, branchName string, issueNumber int) (string, error)
CreateImplementationPromptAndExecute creates and executes an implementation plan Returns the Claude CLI output for use in PR description
func (*ImplementationWorkflow) CreatePullRequestForIssue ¶
func (w *ImplementationWorkflow) CreatePullRequestForIssue(owner, repo, branch, base string, issueNumber int, claudeOutput string, repoDir string) (*github.PullRequest, error)
CreatePullRequestForIssue creates a PR specifically linked to an issue claudeOutput parameter contains the implementation output from Claude CLI repoDir is the directory where the repository is cloned
func (*ImplementationWorkflow) GenerateBranchAndTitle ¶
func (w *ImplementationWorkflow) GenerateBranchAndTitle(owner, repo, title, body string) (string, string, error)
GenerateBranchAndTitle generates a branch name and PR title for an issue
func (*ImplementationWorkflow) RespondToIssue ¶
func (w *ImplementationWorkflow) RespondToIssue(owner, repo string, issueNumber int, comment string) error
RespondToIssue posts a comment to a GitHub issue