Skip to main content

Module validation

Module validation 

Source

Constants§

PAST_TENSE_MAP

Functions§

check_type_scope_consistency
Check type-scope consistency (warn if mismatched)
is_past_tense_first_word
Check whether a summary’s first raw token is a past-tense verb, tolerating trailing non-alpha suffixes (e.g. bound-check, isolated-subagent).
is_past_tense_verb
Check if word is past-tense verb using morphology + common irregulars. word should be a bare verb (no trailing suffix); use is_past_tense_first_word for raw summary tokens.
present_to_past
Look up the past-tense form of a lowercase present-tense verb.
split_verb_token
Split a first-word token into (stem, suffix) where stem is the leading ASCII-alphabetic run and suffix is the remainder.
validate_commit_message
Validate conventional commit message
verb_stem
Extract the verb stem from a first-word token by stripping any trailing non-alphabetic suffix (dash, slash, number, etc.).