Fix imported agent bundle frontmatter leakage

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dottaandPaperclip committed 2026-03-23 20:43:20 -05:00
1 parent eeb7e1a91a
commit e4e5b61596
2 files changed
+13

No files matched your search

@@ -2108,5 +2108,8 @@ describe("company portability", () => {
replaceExisting: true,
}),
);
const materializedFiles = agentInstructionsSvc.materializeManagedBundle.mock.calls[0]?.[1] as Record<string, string>;
expect(materializedFiles["AGENTS.md"]).not.toMatch(/^---\n/);
expect(materializedFiles["AGENTS.md"]).not.toContain('name: "ClaudeCoder"');
});
});