specdrift

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const WorkLogPath = "spec/18_WORK_LOG.md"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	RepoRoot       string
	Base           string
	Head           string
	ChangedFiles   []string
	RequireWorkLog bool
}

type Report

type Report struct {
	Specs        []Spec
	ChangedFiles []string
	Findings     []string
}

func Check

func Check(ctx context.Context, opts Options) (Report, error)

func (Report) OK

func (r Report) OK() bool

type Spec

type Spec struct {
	Path         string
	LastReviewed string
	TracksCode   []string
}

func LoadSpecs

func LoadSpecs(root string) ([]Spec, []string, error)

Jump to

Keyboard shortcuts

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