diff --git a/packages/coding-agent/src/core/resource-loader.ts b/packages/coding-agent/src/core/resource-loader.ts index 7466e69..ac2680f 100644 --- a/packages/coding-agent/src/core/resource-loader.ts +++ b/packages/coding-agent/src/core/resource-loader.ts @@ -126,7 +126,6 @@ const companionContextFilenames = [ "USER.md", "TOOLS.md", "MEMORY.md", - "BOOTSTRAP.md", ]; function loadNamedContextFilesFromDir( diff --git a/packages/coding-agent/src/core/system-prompt.ts b/packages/coding-agent/src/core/system-prompt.ts index 2a10911..5d2dc95 100644 --- a/packages/coding-agent/src/core/system-prompt.ts +++ b/packages/coding-agent/src/core/system-prompt.ts @@ -66,11 +66,6 @@ function buildProjectContextSection( if (hasFile("MEMORY.md")) { guides.push("**MEMORY.md** is what you remember. Keep it current."); } - if (hasFile("BOOTSTRAP.md")) { - guides.push( - "**BOOTSTRAP.md** has tasks to do first.", - ); - } if (guides.length > 0) { section += "\n" + guides.map((g) => `- ${g}`).join("\n") + "\n"; diff --git a/packages/coding-agent/test/resource-loader.test.ts b/packages/coding-agent/test/resource-loader.test.ts index 6b9253f..0e53864 100644 --- a/packages/coding-agent/test/resource-loader.test.ts +++ b/packages/coding-agent/test/resource-loader.test.ts @@ -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 () => { diff --git a/packages/coding-agent/test/system-prompt.test.ts b/packages/coding-agent/test/system-prompt.test.ts index 2a1f296..cfd1631 100644 --- a/packages/coding-agent/test/system-prompt.test.ts +++ b/packages/coding-agent/test/system-prompt.test.ts @@ -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: [