diff --git a/pkg/mcp/notify.go b/pkg/mcp/notify.go index 7bbcd47..487bd6d 100644 --- a/pkg/mcp/notify.go +++ b/pkg/mcp/notify.go @@ -114,6 +114,7 @@ func channelCapability() map[string]any { "brain.remember.complete", "brain.recall.complete", "inbox.message", + "process.start", "process.exit", "harvest.complete", "test.result", diff --git a/pkg/mcp/notify_test.go b/pkg/mcp/notify_test.go index fb90c96..79de58a 100644 --- a/pkg/mcp/notify_test.go +++ b/pkg/mcp/notify_test.go @@ -64,4 +64,15 @@ func TestChannelCapability_Good(t *testing.T) { if len(channels) == 0 { t.Fatal("expected at least one channel in capability definition") } + + foundProcessStart := false + for _, channel := range channels { + if channel == "process.start" { + foundProcessStart = true + break + } + } + if !foundProcessStart { + t.Fatal("expected process.start to be advertised in capability definition") + } }