Skip to content

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

Remove erroneous factory_droid coverage entry

Cursor Agent6d568e2ace03
diff --git a/cli/beacon/internal/tokens/coverage.go b/cli/beacon/internal/tokens/coverage.go
index bd1cad8f..795ef40e 100644
--- a/cli/beacon/internal/tokens/coverage.go
+++ b/cli/beacon/internal/tokens/coverage.go
@@ -103,8 +103,7 @@ var usageExpectation = map[string]struct {
// Factory keeps running totals in each session's settings file, and the sync differences them
// (factorysession/mapper.go, emitSettingsUsage). Its OTLP export still contributes when it
// carries the semconv names; the sync is the path Beacon reads Factory's own record from.
- "factory": {ExpectReported, "beacon endpoint factory sync reads session settings totals; OTLP only if it emits GenAI semconv usage"},
- "factory_droid": {ExpectReported, "beacon endpoint factory sync reads session settings totals; OTLP only if it emits GenAI semconv usage"},
+ "factory": {ExpectReported, "beacon endpoint factory sync reads session settings totals; OTLP only if it emits GenAI semconv usage"},
"gemini_cli": {ExpectGenericOTLP, "only if it emits OTel GenAI semconv usage"},
"vscode_copilot": {ExpectGenericOTLP, "only if it emits OTel GenAI semconv usage"},
diff --git a/cli/beacon/internal/tokens/coverage_test.go b/cli/beacon/internal/tokens/coverage_test.go
index 12fd36ba..8b0919c6 100644
--- a/cli/beacon/internal/tokens/coverage_test.go
+++ b/cli/beacon/internal/tokens/coverage_test.go
@@ -466,7 +466,6 @@ func TestCoverageExpectationsMatchTheCaptureCode(t *testing.T) {
{"openclaw_gateway", ExpectReported, "beacon endpoint integrations openclaw sessions sync"},
// goose's chat spans carry the semconv names, but only over OTLP configured by hand.
{"goose", ExpectGenericOTLP, "OTLP"},
- {"factory_droid", ExpectReported, "beacon endpoint factory sync"},
} {
expect, reason := expectationFor(tc.harness)
if expect != tc.expect {