Skip to main content

Module intent

Module intent 

Source
Expand description

Harn Flow Intent primitive.

An Intent is a semantic bundle of atoms that appear to serve one goal. The default clusterer stays intentionally mechanical: it groups atoms that share an agent run and transcript, then splits them when transcript event indexes drift too far apart. Ambiguous same-run gaps can be delegated to an optional semantic classifier, bounded by an explicit budget.

Structs§

Intent
A semantic bundle of atoms that expresses one goal.
IntentBoundaryDispute
Boundary dispute passed to optional semantic classifiers.
IntentClusterOptions
Options for deterministic intent clustering.
IntentClusterer
Pure default clusterer for flow intents.
IntentId
32-byte deterministic identifier for an Intent.
ObservedAtom
Atom plus transcript location, as observed from transcripts and tool-call logs.
SealedIntent
Immutable snapshot of an intent’s atoms at seal time.
TranscriptSpan
Inclusive transcript event span for the observations that produced an intent.

Enums§

IntentBoundaryDecision
Semantic classifier verdict for an ambiguous boundary.
IntentError
Errors produced when parsing or validating intent inputs.

Traits§

IntentBoundaryClassifier
Optional hook for semantic boundary classification.