userPromptKeywords.ts

Description

Small (28-line) source file hosting two regex-based prompt classifiers: matchesNegativeKeyword (frustration/profanity detection for telemetry) and matchesKeepGoingKeyword (continuation-intent detection). Cheap lexical signals used in place of inference calls.

Key claims

Relations

Sources

src-20260419-be936b1b7d4c