Proven
Reference/Adapter interfaces

Reviewer

The reviewer a review calls.

This is the Go interface, with its comments, as go doc prints it.

package review // import "github.com/saphan-ai/proven/internal/review"

type Reviewer interface {
	// Review returns a Result for every review that ran, also a degraded or partial one.
	// A non-nil error means Proven could not review at all: the shell exits 2.
	// The shell sets the deadline from --timeout on ctx; at the deadline the reviewer returns what it
	// proved so far with Partial set and a nil error.
	Review(ctx context.Context, req Request) (Result, error)
}
    Reviewer reviews one change.

func Open(opts Options) (Reviewer, error)