referencecheck

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: 8 Imported by: 0

Documentation

Overview

Package referencecheck owns managed rendered-reference validity policy.

Index

Constants

View Source
const PropertyAuthority checkresult.Property = "authority"

PropertyAuthority is the protected property for ADR related-link validity.

View Source
const PropertyCorrectness checkresult.Property = "correctness"

PropertyCorrectness is the protected property for managed link validity.

Variables

This section is empty.

Functions

func ADRRelated

func ADRRelated(adrs []ADR) (checkresult.Result, error)

func Check

func Check(plan outputplan.Plan, prefix string, effectiveSkills map[string]bool, knownSkills map[string]bool, exists Exists) (checkresult.Result, error)

Check validates managed Markdown and skill references using the supplied semantic output plan and the working-universe existence capability.

Types

type ADR

type ADR struct {
	Number, Filename string
	Related          []int
}

ADR is the semantic ADR projection consumed by related-link validation.

type Exists

type Exists func(string) bool

Exists is the working-universe path-existence capability. It intentionally does not expose a filesystem, repository, or project carrier.

Jump to

Keyboard shortcuts

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