Documentation
¶
Index ¶
- func Build(raw any) (map[string]any, error)
- func BuildAgentEnvelope(raw any) (map[string]any, error)
- func BuildText(raw any) (string, error)
- func MergeSuccessor(prior map[string]any, delta map[string]any) (map[string]any, error)
- func RenderText(lines []TextLine) (string, error)
- func RuleID(err error) string
- type Result
- type TextLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAgentEnvelope ¶
BuildAgentEnvelope returns the bounded generic agent-envelope projection.
func MergeSuccessor ¶
MergeSuccessor applies the only fields owned by a successor delta and returns a fresh input value for ordinary admission tests and integrations.
func RenderText ¶
RenderText emits the canonical plain bytes from a structured projection.
Types ¶
type Result ¶
type Result struct {
AgentEnvelope map[string]any
Plan map[string]any
Text string
TextLines []TextLine
}
Result is the complete set of deterministic presentation projections for one admitted snapshot. Callers select one projection; none is authoritative.
type TextLine ¶
TextLine separates command-owned labels from admitted values so a caller may style labels without parsing or altering semantic text values.
func BuildTextProjection ¶
BuildTextProjection returns a fresh command-owned label/value projection. Labels may be styled by an app; values must be emitted unchanged.