Skip to main content

Module detection

Module detection 

Source
Expand description

Detection: 3-layer Space detection strategy.

Layer 1: Filesystem path extraction (regex, fast, free) Layer 2: Keyword/tag matching (fast, free) Layer 3: LLM topic classification (slow, only when needed)

Structs§

PathMatcher
PathMatcher: matches filesystem paths to Spaces.
Topic
A topic classification result.

Functions§

classify_topic_stub
Classify the topic of a message (LLM-based, Phase 4 implementation).
detect_space
Match a message against all Spaces using a PathMatcher.
extract_filesystem_path
Extract a filesystem path from a message.
match_keywords
Match a message against Space keywords/tags.
path_name
Extract a display name from a filesystem path.