Documentation
¶
Overview ¶
Package validate provides graph-wide mechanical checks and named lint profiles over immutable Graph IR.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Core contains only soundness and safety checks. Core = Profile{Name: "core"} // RealtimeAgent exposes design omissions that are usually important in an // interactive, deadline-sensitive agent without assuming an audio topology. RealtimeAgent = Profile{ Name: "realtime-agent", RequireExportedBoundary: true, RequireTerminalOutcome: true, RequireInterruptDecision: true, RequireConsumedOutcomes: true, WarnLargeLosslessQueueDepth: 128, } // ConversationalVoice currently shares the general obligations; voice- // specific policy libraries can add named rules without changing Core. ConversationalVoice = Profile{ Name: "conversational-voice", RequireExportedBoundary: true, RequireTerminalOutcome: true, RequireInterruptDecision: true, RequireConsumedOutcomes: true, WarnLargeLosslessQueueDepth: 64, } // ComputerUse keeps external-effect authority mandatory (a Core rule) and // applies the general realtime completeness checks. ComputerUse = Profile{ Name: "computer-use", RequireExportedBoundary: true, RequireTerminalOutcome: true, RequireInterruptDecision: true, RequireConsumedOutcomes: true, WarnLargeLosslessQueueDepth: 64, } )
Functions ¶
This section is empty.
Types ¶
type Finding ¶
type Finding struct {
Severity Severity `json:"severity" yaml:"severity"`
Code string `json:"code" yaml:"code"`
Message string `json:"message" yaml:"message"`
Node string `json:"node,omitempty" yaml:"node,omitempty"`
Edge string `json:"edge,omitempty" yaml:"edge,omitempty"`
Boundary string `json:"boundary,omitempty" yaml:"boundary,omitempty"`
}
Finding is stable and addressable by node, edge, or boundary identity.
Click to show internal directories.
Click to hide internal directories.