plancheck

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package plancheck owns semantic validation and advisory results for prepared plans.

Index

Constants

View Source
const (
	// PropertyAuthority is the protected property for plan validity findings.
	PropertyAuthority checkresult.Property = "authority"
	// PropertyDetail is the protected property for plan detail warnings.
	PropertyDetail checkresult.Property = "plan-detail-quality"
)

Variables

This section is empty.

Functions

func Artifact

func Artifact(plans []plan.Plan, corpus adr.Corpus) (checkresult.Result, error)

Artifact evaluates plan-v2 Decision references and assignment advisories.

func Diagnostics

func Diagnostics(plansErr error) (checkresult.Result, error)

Diagnostics adapts one prepared parser outcome without reopening plan sources.

func ResolveSelectedDecisions

func ResolveSelectedDecisions(p plan.Plan, corpus adr.Corpus, phase plan.Phase, task plan.Task) ([]plan.ResolvedDecision, []plan.ResolvedDecision, error)

ResolveSelectedDecisions resolves and partitions the selected Applying and Context Decisions.

func ScopeInformation

func ScopeInformation(plans []plan.Plan, scopes []config.ScopeSpec) ([]checkresult.Information, error)

ScopeInformation returns unknown-scope planned-subject notes in authored order.

func Select

func Select(p plan.Plan, selector string) (plan.Phase, plan.Task, error)

Select resolves one executable phase or task selector.

func TerminalTransition added in v0.41.0

func TerminalTransition(before, after []plan.Plan, selected map[string][]string) error

TerminalTransition validates selected before/after plan evidence. An Implemented plan is byte-frozen history. A Proposed-to-Implemented transition must reconcile the complete selected implementation path set and material route deviations in the plan-owned parsed Notes model.

func Validity

func Validity(plans []plan.Plan, corpus adr.Corpus, scopes []config.ScopeSpec, enabled bool) (checkresult.Result, error)

Validity evaluates plan status, ADR links, and planned commit subjects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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