examiner

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package examiner implements the blind test examiner of §6.8. The examiner sees only the task contract and the public boundary (expone signatures, endpoints, CLI). It never sees function bodies.

Index

Constants

View Source
const (
	VisibleFileName = "devclean_visible_test.go"
	HiddenFileName  = "devclean_hidden_test.go"
	DefaultTimeout  = 3 * time.Minute
)

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, roomPath string, o Options) (bool, error)

Run invokes the examiner agent, parses the response, writes the visible suite to the worktree and seals the hidden suite. Returns (true, nil) when a hidden suite was sealed. Returns (false, nil) on graceful degradation (no sealed suite written). Never returns an error that should stop the implementer.

Types

type Options

type Options struct {
	Agent   loop.Agent
	Task    task.Task
	Root    string
	Model   string
	Timeout time.Duration
}

Options configures one examiner run.

type Runner

type Runner struct{ Options }

Runner implements loop.Examinador so cmd/run can wire it without a cycle.

func (Runner) Run

func (r Runner) Run(ctx context.Context, roomPath string) (bool, error)

Jump to

Keyboard shortcuts

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