Skip to content

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

Fix memory dashboard nav link

Justin D'Souza214c503ae9df
diff --git a/cli/beacon/internal/endpoint/dashboard/server_test.go b/cli/beacon/internal/endpoint/dashboard/server_test.go
index ebaeedf2..bd40d4c1 100644
--- a/cli/beacon/internal/endpoint/dashboard/server_test.go
+++ b/cli/beacon/internal/endpoint/dashboard/server_test.go
@@ -632,8 +632,10 @@ func TestStaticDashboardPagesServe(t *testing.T) {
want string
}{
{path: "/", want: "Beacon Endpoint Agent Activity"},
+ {path: "/session.html", want: "Beacon Endpoint Session Events"},
{path: "/overview.html", want: "Beacon Endpoint Agent Activity"},
{path: "/tokens.html", want: "Beacon Endpoint Token Usage"},
+ {path: "/memory.html", want: "Beacon Memory"},
{path: "/detections.html", want: "Beacon Endpoint Detections"},
{path: "/findings.html", want: "Beacon Endpoint Findings"},
{path: "/inventory.html", want: "Beacon Endpoint Agent Inventory"},
@@ -650,6 +652,9 @@ func TestStaticDashboardPagesServe(t *testing.T) {
if !strings.Contains(rec.Body.String(), tc.want) {
t.Fatalf("body did not contain %q", tc.want)
}
+ if count := strings.Count(rec.Body.String(), `href="/memory.html"`); count != 1 {
+ t.Fatalf("memory nav link count = %d, want 1", count)
+ }
})
}
}