normalizer

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package normalizer converts raw tool calls into Canonical Action Representations (CARs). This is the bridge between the agent loop's free-form tool calls and the structured governance/orchestrator layer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fingerprint

func Fingerprint(p action.Proposal) string

Fingerprint produces a deterministic hash of (type + target + sorted params) for anti-loop detection. Repeated identical proposals get the same fingerprint.

func Normalize

func Normalize(runID string, sequence int, agent string, toolName string, params map[string]string) action.Proposal

Normalize converts a raw tool call into a Canonical Action Representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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