test: update expectations for session reset behavior

This commit is contained in:
Peter Steinberger
2026-01-18 22:49:28 +00:00
parent 404c373153
commit 0d543dd1ff
3 changed files with 23 additions and 15 deletions

View File

@@ -94,7 +94,7 @@ describe("buildAgentSystemPrompt", () => {
expect(prompt).toContain("- Read: Read file contents");
expect(prompt).toContain("- Exec: Run shell commands");
expect(prompt).toContain(
"read its SKILL.md at <location> with `Read`",
"- If exactly one skill clearly applies: read its SKILL.md at <location> with `Read`, then follow it.",
);
expect(prompt).toContain("Clawdbot docs: /tmp/clawd/docs");
expect(prompt).toContain(
@@ -188,7 +188,7 @@ describe("buildAgentSystemPrompt", () => {
expect(prompt).toContain("## Skills");
expect(prompt).toContain(
"read its SKILL.md at <location> with `read`",
"- If exactly one skill clearly applies: read its SKILL.md at <location> with `read`, then follow it.",
);
});