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

verification

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package verification evaluates only explicit, bounded deterministic rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyTaskResults

func ApplyTaskResults(p planning.Plan, r *planning.Report)

ApplyTaskResults derives task completion from acceptance evidence and DAG prerequisites. Owning code or finishing an agent session is not completion.

func ApprovedRetirements

func ApprovedRetirements(p *planning.Plan) []contracts.Retirement

ApprovedRetirements converts the removal deltas of a digest-bound approved plan into contract retirements, so a reviewed removal is not reported as a silently dropped obligation. Unapproved plans retire nothing.

func VerifyCandidateWithEvidence

func VerifyCandidateWithEvidence(ctx context.Context, p planning.Plan, s model.Snapshot, root string, c evidence.CandidateCheckpoint, records []evidence.Record, sourceUnchanged bool) planning.Report

VerifyCandidateWithEvidence excludes all ordinary branch evidence. It runs while the private candidate object database still exists, before destruction.

func VerifyContracts

func VerifyContracts(ctx context.Context, root string, p planning.Plan, s model.Snapshot) []planning.Check

VerifyContracts compares explicitly bound contract objects, including additive changes. It does not infer runtime producer/consumer relationships.

func VerifyWithEvidence

func VerifyWithEvidence(ctx context.Context, p planning.Plan, s model.Snapshot, root string, records []evidence.Record) planning.Report

VerifyWithEvidence reads the implementation revision, while approval remains bound to the design's baseline, and binds observed test results to the analyzed commit and design. WORKTREE results are always informational.

Types

This section is empty.

Jump to

Keyboard shortcuts

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