84
* rule concept, so they are never filtered post-materialize.
85
*/
87
>
workingDirectory: URI | undefined,
88
>
userHome: URI,
89
>
fileService: IFileService,
90
>
): Promise<readonly IParsedRule[]> {
91
>
const result: IParsedRule[] = [];
92
>
93
>
// CLAUDE.md memory files — always-on, no path scoping, no frontmatter.
94
>
for (const uri of claudeMemoryFiles(workingDirectory, userHome)) {
95
>
if (await pathExists(uri, fileService)) {
96
const ruleUri = uri.toString();
97
const name = basename(uri);