reasoningtrace

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Env = "AURA_REASONING_TRACE"

Env is the switch that enables JSONL reasoning trace output.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled reports whether reasoning tracing is enabled for the current process.

func FullEnabled added in v1.0.0

func FullEnabled() bool

FullEnabled reports whether the operator requested verbatim trace payloads. This mode is intentionally loud because prompt/history fields can contain PII, credentials typed by the user, and profile data.

func Path

func Path() string

Path returns the operator-selected JSONL trace path, or a temp-file default.

func Record

func Record(stage string, fields map[string]any)

Record writes a JSONL row with redacted fields when tracing is enabled.

func RuneLen

func RuneLen(s string) int

RuneLen returns the number of UTF-8 runes in s for trace-size metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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