9 references to SectionStartMarkerPrefix
aspire (5)
Agents\AgentInstructionsFile.cs (5)
82
private const string SectionStartMarker =
SectionStartMarkerPrefix
+
248
var start = FindMarker(existing,
SectionStartMarkerPrefix
, 0, fencedCodeBlocks);
271
var startClose = FindCommentClose(existing, start,
SectionStartMarkerPrefix
);
283
FindMarker(existing,
SectionStartMarkerPrefix
, start +
SectionStartMarkerPrefix
.Length, fencedCodeBlocks) is >= 0 and var nextStart &&
Aspire.Cli.Tests (4)
Agents\AgentInstructionsFileTests.cs (4)
241
var existing = $"# Rules\n\n{AgentInstructionsFile.
SectionStartMarkerPrefix
} -->\nMy own notes.\n";
271
var existing = $"# Rules\n\n{AgentInstructionsFile.
SectionStartMarkerPrefix
} -->\nOld section.\n{AgentInstructionsFile.SectionEndMarkerPrefix}\nMy own notes.\n";
285
var existing = $"# Rules\n\n{AgentInstructionsFile.
SectionStartMarkerPrefix
} -->\nOld section.\n{AgentInstructionsFile.SectionEndMarkerPrefix}\nKeep this team rule.\n<!-- unrelated note -->\n";
299
var existing = $"# Rules\n\n{AgentInstructionsFile.
SectionStartMarkerPrefix
}\nKeep this team rule.\n{AgentInstructionsFile.SectionEndMarkerPrefix} -->\n";