posture

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package posture derives Runtime health and diagnostics from Protocol values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	Surfaces   map[string]surface.State
	Info       types.RuntimeInfo
	Health     types.RuntimeHealth
	Counters   types.RuntimeCounters
	Drivers    types.RuntimeDrivers
	Metrics    types.MetricsSnapshot
	Governance types.GovernancePostureResponse
	LLM        types.LLMPostureResponse
	Partial    []string
}

State is the canonical Runtime, governance, LLM, and diagnostics projection.

func (State) Attention

func (s State) Attention(stream string, interventions, failedTasks int) (level, label string)

Attention is derived only from canonical health and stream state.

Jump to

Keyboard shortcuts

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