( dir: string, targetPath: string, processedPaths: Set<string>, )
| 1327 | * @returns Array of MemoryFileInfo objects |
| 1328 | */ |
| 1329 | export async function getConditionalRulesForCwdLevelDirectory( |
| 1330 | dir: string, |
| 1331 | targetPath: string, |
| 1332 | processedPaths: Set<string>, |
| 1333 | ): Promise<MemoryFileInfo[]> { |
| 1334 | const rulesDir = join(dir, '.claude', 'rules') |
| 1335 | return processConditionedMdRules( |
| 1336 | targetPath, |
| 1337 | rulesDir, |
| 1338 | 'Project', |
| 1339 | processedPaths, |
| 1340 | false, |
| 1341 | ) |
| 1342 | } |
| 1343 | |
| 1344 | /** |
| 1345 | * Processes all .md files in the .claude/rules/ directory and its subdirectories, |
no test coverage detected