Skip to content

extractTargetPaths

extractTargetPaths(texts, repoPath?): string[]

Defined in: src/house-rules.ts:142

Extract repo-relative path-like tokens from free task text (prompt + issue title/body). Deduped; capped to bound the match work at spawn. The session’s actual touched files are unknowable before it runs, so this is a heuristic over the task description — a miss simply falls back to Always-rules-only (never worse than the pre-#842 behavior).

(string | undefined)[]

string

string[]