workflow

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package workflow implements agent collaboration workflows

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisCycle

type AnalysisCycle struct {
	// contains filtered or unexported fields
}

AnalysisCycle represents Amara's weekly analysis workflow

func NewAnalysisCycle

func NewAnalysisCycle(agents *agent.Agents, logMgr *logger.Manager, workDir string) *AnalysisCycle

NewAnalysisCycle creates a new analysis cycle workflow

func (*AnalysisCycle) Run

Run executes Amara's analysis

type AnalysisResult

type AnalysisResult struct {
	Report          string
	Recommendations []string
	CLAUDEMDUpdates map[string]string // agent -> update content
}

AnalysisResult contains the outcome of the analysis

type ReviewCycle

type ReviewCycle struct {
	MaxIterations int
	// contains filtered or unexported fields
}

ReviewCycle represents a Yuki -> Priya review cycle

func NewReviewCycle

func NewReviewCycle(agents *agent.Agents, logMgr *logger.Manager) *ReviewCycle

NewReviewCycle creates a new review cycle workflow

func (*ReviewCycle) Run

func (rc *ReviewCycle) Run(ctx context.Context, task string) (*ReviewResult, error)

Run executes the review cycle for a given task

type ReviewResult

type ReviewResult struct {
	Approved    bool
	Iterations  int
	Escalated   bool
	FinalOutput string
	History     []ReviewRound
}

ReviewResult contains the outcome of a review cycle

type ReviewRound

type ReviewRound struct {
	Round          int
	Implementation string
	Review         string
	Approved       bool
	Tags           []string
}

ReviewRound represents one round of implementation + review

Jump to

Keyboard shortcuts

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