Help us shape the future of Go! Take the 2026 Go Developer Survey

harnesscmd

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package harnesscmd implements the "harness" CLI command, the self-optimization surface (SPEC-ADDITIONS §18.2, §11) with real nested subcommands: `eval` scores a guiding artifact (rubric floor + judge-only dimensions, optionally beside a decoded skillsaw score), `gate` runs the comparative validation ratchet on candidate/current/best scores, `hash` reports an artifact's content identity (sha256[:16]), and `calibrate` checks the judge against labeled fixtures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	// eval flags
	Checks   string
	Output   string
	Skillsaw string
	Min      float64
	// calibrate flags
	Cases string
	// gate flags
	Candidate  string
	Current    string
	Best       string
	BestStep   string
	GlobalStep string
	Flags      *ff.FlagSet
	Command    *ff.Command
}

Config holds the configuration for the harness command and its subcommands.

func New

func New(parent *root.Config) *Config

New creates and registers the harness command (with eval/gate/hash subcommands) on the given parent config.

Jump to

Keyboard shortcuts

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