validate

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidAnnotationCategories = map[string]bool{
	"observation":       true,
	"ai-failure":        true,
	"user-error":        true,
	"environment-issue": true,
	"success":           true,
	"question":          true,
	"to-discuss":        true,
	"to-improve":        true,
}

ValidAnnotationCategories is the set of known annotation categories.

View Source
var ValidAnnotationScopeTypes = map[string]bool{
	"session":   true,
	"turn":      true,
	"tool_call": true,
}

ValidAnnotationScopeTypes is the set of known scope types.

View Source
var ValidClassificationLevels = []string{
	"public",
	"internal",
	"confidential",
	"customer-confidential",
}

ValidClassificationLevels is the ordered set of classification levels. De-escalation (going from more to less restrictive) is not allowed.

Functions

This section is empty.

Types

type Result

type Result struct {
	Path  string
	Valid bool
	Error string
}

func ValidatePath

func ValidatePath(path string, recursive bool) ([]Result, error)

Jump to

Keyboard shortcuts

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