normalizeExtractedPath
normalizeExtractedPath(
token,repoPath?):string
Defined in: src/house-rules.ts:109
Canonicalize a path-like token scraped from task text to the same repo-relative
forward-slash form so it can be matched against normalizeGlob’d patterns.
Strips wrapping quotes/brackets and trailing sentence punctuation, and (when given)
the absolute repoPath prefix. Returns "" for empty / non-path tokens.
Parameters
Section titled “Parameters”string
repoPath?
Section titled “repoPath?”string
Returns
Section titled “Returns”string