Make doctrine source smoke platform-neutral

This commit is contained in:
Meta Vens 2026-07-16 03:59:16 +01:00
commit c4cacbc9d7

View file

@ -726,7 +726,7 @@ const doctrineObservation = await readGlobalAgentDoctrine({
homeDirectory: "C:/User",
readText: async (path) => {
doctrineReads.push(path);
if (path.endsWith("Codex\\AGENTS.md")) throw new Error("missing");
if (doctrineReads.length === 1) throw new Error("missing");
return "Global doctrine from the first readable authority.";
},
});