rm bootstrap

This commit is contained in:
Harivansh Rathi 2026-03-09 12:44:17 -07:00
parent bf9bfe38f7
commit 85c2a0b675
4 changed files with 0 additions and 24 deletions

View file

@ -327,7 +327,6 @@ Content`,
mkdirSync(appDir, { recursive: true });
writeFileSync(join(workspaceDir, "IDENTITY.md"), "# Identity\n\nPi");
writeFileSync(join(workspaceDir, "TOOLS.md"), "# Tools\n\nUse ~/.pi");
writeFileSync(join(workspaceDir, "BOOTSTRAP.md"), "# Bootstrap\n\nDo it");
const loader = new DefaultResourceLoader({ cwd: appDir, agentDir });
await loader.reload();
@ -337,9 +336,6 @@ Content`,
true,
);
expect(agentsFiles.some((f) => f.path.endsWith("TOOLS.md"))).toBe(true);
expect(agentsFiles.some((f) => f.path.endsWith("BOOTSTRAP.md"))).toBe(
true,
);
});
it("should discover SYSTEM.md from cwd/.pi", async () => {

View file

@ -99,20 +99,6 @@ describe("buildSystemPrompt", () => {
expect(prompt).toContain("## /tmp/project/SOUL.md");
});
test("adds bootstrap guidance when BOOTSTRAP.md is present", () => {
const prompt = buildSystemPrompt({
contextFiles: [
{
path: "/home/node/.pi/workspace/BOOTSTRAP.md",
content: "# Bootstrap\n\nDo the setup",
},
],
skills: [],
});
expect(prompt).toContain("BOOTSTRAP.md** has tasks to do first");
});
test("includes file contents in context section", () => {
const prompt = buildSystemPrompt({
contextFiles: [