babysit

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package babysit watches a PR's checks, auto-fixes safe failures by re-invoking claude in the PR's local worktree, and notifies on anything it cannot fix.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, d Deps, o Options) error

Run polls the PR until it is resolved, merged/closed, or the loop budget is exhausted.

Types

type Deps

type Deps struct {
	Forge     forge.Forge
	Agent     agent.Launcher
	Worktrees worktree.Manager
	Notifier  notify.Notifier
	Repo      domain.Repo
	Log       *zerolog.Logger
}

Deps are babysit's collaborators.

type Options

type Options struct {
	PR             int
	Interval       time.Duration
	MaxIterations  int
	MaxFixAttempts int
	AutoFix        bool
}

Options configure a babysit run.

Jump to

Keyboard shortcuts

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