Versions in this module Expand all Collapse all v1 v1.1.0 Sep 7, 2026 v1.0.0 Aug 30, 2026 Changes in this version + const QualificationSchema + const ReplaySchema + const ResultSchema + const TaskSchema + const TranscriptSchema + func Setup(ctx context.Context, task Task, bundle, workspace string) error + func WriteQualification(path string, qualification Qualification) error + func WriteReplayResult(path string, result ReplayResult) error + func WriteResult(path string, result Result) error + type BundleRecord struct + Bundle string + FixtureBase string + FixtureTarget string + GitVersion string + Repository string + SHA256 string + TaskID string + UpstreamBase string + UpstreamTarget string + func Prepare(ctx context.Context, task Task, source, outputRoot string) (BundleRecord, error) + func PrepareAll(ctx context.Context, tasks []Task, sourceRoot, outputRoot string) ([]BundleRecord, error) + type Command struct + Argv []string + TimeoutSeconds int + type CommandResult struct + Argv []string + DurationMS int64 + ExitCode int + Status string + StderrBytes int64 + StderrSHA256 string + StdoutBytes int64 + StdoutSHA256 string + Truncated bool + type Measurements struct + DurationMS int64 + ModelTokens *int + ResultBytes int64 + ToolCalls int + type Operation struct + Arguments map[string]any + ExpectError bool + Tool string + type Oracle struct + OverlayPaths []string + type Qualification struct + BundleSHA256 string + DurationMS int64 + Failures []string + NoOp Result + Reference Result + SchemaVersion string + ScopeProbe Result + Status string + TaskID string + func Qualify(ctx context.Context, task Task, bundle, source string) (Qualification, error) + type ReplayCall struct + Artifact string + DurationMS int64 + Error string + ResultBytes int64 + ResultSHA256 string + Sequence int + Status string + Tool string + type ReplayResult struct + Calls []ReplayCall + Measurements Measurements + SchemaVersion string + ServerSHA256 string + Status string + TaskID string + Uncertainties []string + func Replay(ctx context.Context, transcript Transcript, ...) (ReplayResult, error) + type Repository struct + Base string + Name string + Target string + URL string + type Result struct + ChangedPaths []string + Commands []CommandResult + Measurements Measurements + SchemaVersion string + Status string + TaskID string + Uncertainties []string + UnexpectedPaths []string + func Score(ctx context.Context, task Task, bundle, workspace string) (Result, error) + type Scope struct + AllowedPaths []string + Packages []string + Workspace string + type Task struct + Acceptance []Command + Exercises []string + ID string + Invariants []string + Oracle Oracle + Pilot bool + Prompt string + Repository Repository + SchemaVersion string + Scope Scope + func LoadTask(path string) (Task, error) + func LoadTasks(root string) ([]Task, error) + func (t Task) Validate() error + type Transcript struct + Operations []Operation + SchemaVersion string + TaskID string + func LoadTranscript(path string) (Transcript, error)