workflow

package
v0.0.0-...-87e4b86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package workflow provides implementation orchestration for issue resolution

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndImplementIssue

func CreateAndImplementIssue(cfg *config.Config, owner, repo string, issueNumber int, title, body string) (string, error)

CreateAndImplementIssue creates a branch, implementation plan, and executes it Returns the Claude CLI output for use in PR description

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

Directories

Path Synopsis
Package services provides service implementations for the workflow package
Package services provides service implementations for the workflow package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL