mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-15 13:03:43 +00:00
rm bootstrap
This commit is contained in:
parent
bf9bfe38f7
commit
85c2a0b675
4 changed files with 0 additions and 24 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue