(filePath)
| 255 | } |
| 256 | |
| 257 | function isLowRiskPath(filePath) { |
| 258 | const normalized = normalizePath(filePath); |
| 259 | const basename = path.posix.basename(normalized); |
| 260 | |
| 261 | if (normalized.startsWith("skills/lark-")) return false; |
| 262 | if (DOC_SUFFIXES.some((suffix) => normalized.endsWith(suffix))) return true; |
| 263 | if (LOW_RISK_FILENAMES.has(basename)) return true; |
| 264 | if (LOW_RISK_PREFIXES.some((prefix) => normalized.startsWith(prefix))) return true; |
| 265 | if (LOW_RISK_TEST_SUFFIXES.some((suffix) => normalized.endsWith(suffix))) return true; |
| 266 | return normalized.includes("/testdata/"); |
| 267 | } |
| 268 | |
| 269 | function isBusinessSkillPath(filePath) { |
| 270 | const normalized = normalizePath(filePath); |
no test coverage detected