Versions in this module Expand all Collapse all v0 v0.6.0 Mar 22, 2026 v0.5.1 Mar 21, 2026 v0.5.0 Mar 21, 2026 Changes in this version + func ApplyFixes(repoRoot string, findings []Finding) ([]string, error) + func BuildLocalAgentCLIBinary(repoRoot string) (string, error) + func CommitIfDirty(repoRoot, msg string) (bool, error) + func CurrentBranch(repoRoot string) string + func EnsureBranch(repoRoot, branch string) error + func RenderCompareMarkdown(report CompareReport) string + func RenderDoctorMarkdown(r DoctorReport) string + func WriteCompareOutput(repoRoot string, report CompareReport, format, outPath string) (string, error) + func WriteRegressionBaseline(path string, baseline RegressionBaseline) error + func WriteReports(repoRoot string, result RunResult) error + type BehaviorCommitteeSnapshot struct + FixerStrategy string + JudgerStrategy string + PlannerStrategy string + type BehaviorFindingSnapshot struct + Code string + Severity string + Source string + type BehaviorJudgeSnapshot struct + CounterIntuitiveFinding int + HardFailures int + Pass bool + Score float64 + Threshold float64 + type BehaviorScenarioSnapshot struct + Name string + OK bool + Steps []BehaviorStepSnapshot + type BehaviorSnapshot struct + Committee *BehaviorCommitteeSnapshot + Findings []BehaviorFindingSnapshot + Iterations int + Judge BehaviorJudgeSnapshot + Mode string + Scenario BehaviorScenarioSnapshot + func BuildBehaviorSnapshot(result RunResult) BehaviorSnapshot + type BehaviorStepSnapshot struct + ExitCode int + Name string + type CommitteeMeta struct + Fixer RoleExecution + Judger RoleExecution + Planner RoleExecution + type CompareDelta struct + FindingsDelta int + FixesAppliedDelta int + IterationsDelta int + PassDelta int + Score float64 + type CompareReport struct + Delta CompareDelta + RunA RunResult + RunB RunResult + SchemaVersion string + func CompareRuns(repoRoot, runA, runB string) (CompareReport, error) + type Config struct + AutoCommit bool + AutoFix bool + Branch string + Budget int + MaxIterations int + Mode string + RepoRoot string + RoleConfigPath string + Seed int64 + Threshold float64 + VerboseArtifacts bool + type DoctorReport struct + Findings []Finding + LabFeaturesReady bool + LeanReady bool + ReviewPath string + SchemaVersion string + Suggestions []string + func LoopDoctor(repoRoot string) DoctorReport + type Finding struct + Code string + Message string + Severity string + Source string + func CheckOnboardingInstallReadiness(repoRoot string) []Finding + func DetectFindings(r ScenarioResult) []Finding + type JudgeScore struct + CounterIntuitiveFind int + FixerScore float64 + HardFailures int + JudgerScore float64 + Pass bool + PenaltyScore float64 + PlannerScore float64 + QualityScore float64 + ScenarioPassRate float64 + Score float64 + Threshold float64 + UXScore float64 + func Judge(r ScenarioResult, findings []Finding, threshold float64) JudgeScore + type RegressionBaseline struct + GeneratedAt time.Time + Kind string + Profile string + SchemaVersion string + Snapshot BehaviorSnapshot + func ReadRegressionBaseline(path string) (RegressionBaseline, error) + type RegressionDrift struct + Actual string + Expected string + Path string + func CompareBehaviorSnapshot(expected, actual BehaviorSnapshot) []RegressionDrift + type ReplayReport struct + Baseline ScenarioResult + Iteration int + Replay ScenarioResult + ReplayFindings []Finding + ReplayJudge JudgeScore + RunID string + SchemaVersion string + func ReplayIteration(repoRoot, runID string, iteration int, threshold float64) (ReplayReport, error) + type RoleConfig struct + Fixer RoleSpec + Judger RoleSpec + Planner RoleSpec + type RoleExecution struct + Applied []string + Artifacts string + Command string + ExitCode int + Independent bool + Notes string + StderrTail string + Strategy string + type RoleSpec struct + Command string + Strategy string + type RunResult struct + Branch string + Committee *CommitteeMeta + Findings []Finding + FinishedAt time.Time + FixesApplied []string + Iterations int + Judge JudgeScore + Mode string + RunID string + Scenario ScenarioResult + SchemaVersion string + StartedAt time.Time + func RunLoop(cfg Config) (RunResult, error) + type Scenario struct + Description string + Name string + Steps []Step + WorkDir string + func DefaultOnboardingScenario(agentcliBin string) Scenario + type ScenarioResult struct + FinishedAt time.Time + Name string + OK bool + StartedAt time.Time + Steps []StepResult + func RunScenario(s Scenario) (ScenarioResult, error) + type Step struct + Command string + Name string + type StepResult struct + CombinedTail string + Command string + DurationMs int64 + ExitCode int + Name string + Stderr string + Stdout string