Skip to main content

Module classifier

Module classifier 

Source
Expand description

Event classifier: takes a chat chunk + recent task context, returns suggested event_type + task_id + confidence.

Modules§

cli
Subscription-based classifier: shells out to claude -p (Claude Code CLI) and uses the user’s existing Pro/Max subscription instead of an API key.
http
Anthropic API HTTP client implementing Classifier.
mock
Mock classifier: returns a pre-set output regardless of input.
prompt
Prompt builder for the classifier.
telemetry
Append-only classifier telemetry: one JSONL line per classification call.

Structs§

ClassifyInput
ClassifyOutput
TaskContext

Constants§

CONFIDENCE_THRESHOLD

Traits§

Classifier

Functions§

decide_status