The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Merge main and classify the two harnesses added while this branch was open
Claude6558c76bc261
diff --git a/cli/beacon/internal/tokens/coverage.go b/cli/beacon/internal/tokens/coverage.goindex 98ee1552..261e0ac4 100644--- a/cli/beacon/internal/tokens/coverage.go+++ b/cli/beacon/internal/tokens/coverage.go@@ -83,6 +83,10 @@ var usageExpectation = map[string]struct {"factory": {ExpectGenericOTLP, "only if it emits OTel GenAI semconv usage"},"factory_droid": {ExpectGenericOTLP, "only if it emits OTel GenAI semconv usage"},"openclaw_gateway": {ExpectGenericOTLP, "only if it emits OTel GenAI semconv usage"},+ // Grok Bot runs on a Cursor-hosted cloud computer and reaches Beacon only through Cursor's+ // server-side OpenTelemetry export, so whether usage arrives depends on whether that export+ // carries the semconv names -- the generic-OTLP case exactly, not a runtime Beacon reads.+ "grok_bot": {ExpectGenericOTLP, "only if Cursor's server-side OTel export carries GenAI semconv usage"},"cursor": {ExpectNone, "Cursor hook payloads carry no token counts"},"antigravity_cli": {ExpectNone, "hook payloads carry no token counts"},diff --git a/cli/beacon/internal/tokens/coverage_test.go b/cli/beacon/internal/tokens/coverage_test.goindex 7ee45334..34c8787e 100644--- a/cli/beacon/internal/tokens/coverage_test.go+++ b/cli/beacon/internal/tokens/coverage_test.go@@ -212,7 +212,7 @@ func TestEveryScannedRuntimeHasAnExpectation(t *testing.T) {scanned := []string{"antigravity_cli", "claude_code", "cline", "codex_cli", "copilot_cli", "cursor","devin-cli", "devin-desktop", "factory", "gemini_cli", "grok", "hermes",- "muse_code", "omp", "opencode", "pi_cli", "qwen_code", "vscode",+ "muse_code", "omp", "opencode", "openhands", "pi_cli", "qwen_code", "vscode",}for _, runtime := range scanned {harness := normalizedHarnessForTest(runtime)@@ -236,3 +236,29 @@ func TestCoverageDoesNotFlagAnyDevinSpelling(t *testing.T) {}}}++// The two harnesses added to main while this branch was open, pinned so neither becomes a+// standing false alarm.+//+// They land in different categories for a reason that is the whole point of the distinction:+// OpenHands is hooked on the endpoint and none of its six hook payloads carries token counts, so+// its silence is a fact about the runtime. Grok Bot runs on a Cursor-hosted cloud computer and+// reaches Beacon only through Cursor's server-side OpenTelemetry export, so its silence depends+// on what that export carries -- unknown, not established.+func TestNewHarnessesAreClassifiedNotAlerted(t *testing.T) {+ openhands := lineFor(t, Coverage([]schema.Event{plainEvent("openhands")}, []string{"openhands"}), "openhands")+ if openhands.Status != CoverageNotInstrumented || openhands.Expectation != ExpectNone {+ t.Errorf("openhands = %+v, want not_instrumented/none -- no OpenHands hook payload carries token counts", openhands)+ }++ grokBot := lineFor(t, Coverage([]schema.Event{plainEvent("grok_bot")}, nil), "grok_bot")+ if grokBot.Expectation != ExpectGenericOTLP {+ t.Errorf("grok_bot expectation = %q, want generic_otlp -- it arrives only via Cursor's OTel export", grokBot.Expectation)+ }++ // Grok Bot and Grok Build are separate products and must not share a row.+ both := Coverage([]schema.Event{plainEvent("grok"), plainEvent("grok_bot")}, nil)+ if len(both.Runtimes) != 2 {+ t.Fatalf("got %d rows, want grok and grok_bot kept apart: %+v", len(both.Runtimes), both.Runtimes)+ }+}