Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

Fix Windows path comparison in TestAgentSkillsManifestsAgree

Cursor Agentb38e374de637
diff --git a/cli/beacon/cmd/agent_skills_test.go b/cli/beacon/cmd/agent_skills_test.go
index 5f874fcf..5a0a3bb4 100644
--- a/cli/beacon/cmd/agent_skills_test.go
+++ b/cli/beacon/cmd/agent_skills_test.go
@@ -170,7 +170,7 @@ func TestAgentSkillsManifestsAgree(t *testing.T) {
if err := json.Unmarshal(data, &pkg); err != nil {
t.Fatal(err)
}
- if len(pkg.Pi.Skills) != 1 || filepath.Clean(pkg.Pi.Skills[0]) != "agent-skills/skills" {
+ if len(pkg.Pi.Skills) != 1 || filepath.Clean(pkg.Pi.Skills[0]) != filepath.Join("agent-skills", "skills") {
t.Errorf("package.json pi.skills = %v, want [./agent-skills/skills]", pkg.Pi.Skills)
}
for _, path := range agentSkillFiles(t) {