autonomy

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelInteractive  = "interactive"
	LevelCopilot      = "copilot"
	LevelHeadlessGate = "headless_gated"
	LevelHeadlessAuto = "headless_auto"
)

Variables

This section is empty.

Functions

func Classify

func Classify(signals Signals) string

func IsCritical

func IsCritical(signals Signals) bool

Types

type Signals

type Signals struct {
	Tool            string
	Headless        bool
	HasApprovalGate bool
	HasSecretAccess bool
	DangerousFlags  bool
}

Signals are extracted from CI/headless execution context.

Jump to

Keyboard shortcuts

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