engine

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package engine is the stateless batch pipeline (DESIGN.md section 9): load config (hard errors), read the workspace from disk, extract the one shared relation, run the enabled checks, produce findings. No cache, no persistence, no state between runs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	// WorkspaceRoot is the absolute workspace root.
	WorkspaceRoot string
	Findings      []findings.Finding
}

Result is one analysis run's output.

func Analyze

func Analyze(dir, cfgName string) (*Result, error)

Analyze runs the full pipeline over the workspace at dir. cfgName is the config file name resolved relative to dir.

Jump to

Keyboard shortcuts

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