265
266
for (const { uri, type } of allCandidates) {
268
>
entries.add(varEntry);
269
>
if (type === AgentInstructionFileType.copilotInstructionsMd) {
270
copilotEntries.add(varEntry);
271
}
273
>
telemetryEvent.agentInstructionsCount++;
274
>
if (type === AgentInstructionFileType.claudeMd) {
275
telemetryEvent.claudeMdCount++;
276
}
277
>
debugInfo.debugDetails.push({ category: 'applying', name: basename(uri).toString(), uri, reason: localize('debugDetail.agentInstruction', 'always added') });
computeAutomaticInstructions.ts
278
>
logger.logInfo(`Agent instruction file added: ${uri.toString()}`);
279
>
}
280
281
// Process referenced instructions from copilot files (maintaining original behavior)