Expand description
Input validation and intent detection for agent ergonomics.
Provides O(1) validation sets and synonym maps so agents can use natural language for statuses, types, and priorities. Three-tier resolution: exact match → synonym lookup → error with suggestion.
Statics§
- PRIORITY_
SYNONYMS - Priority synonyms map to string digits. SaveContext: 0=lowest, 4=critical.
- STATUS_
SYNONYMS - TYPE_
SYNONYMS - VALID_
STATUSES - VALID_
TYPES
Functions§
- find_
similar_ ids - Find existing IDs similar to the searched ID.
- levenshtein_
distance - Compute the Levenshtein edit distance between two strings.
- normalize_
priority - Normalize a priority value from string, integer, synonym, or P-notation.
- normalize_
status - Normalize a status string via exact match or synonym lookup.
- normalize_
type - Normalize an issue type string via exact match or synonym lookup.