From 52172378e5d677d84db5e330c5ad069b4ae03b40 Mon Sep 17 00:00:00 2001 From: David Witwer Date: Sun, 6 Sep 2026 15:33:57 -0700 Subject: [PATCH] fix(harness): count the Agent Map generating state in the terminology allowlist `main` is red on `pnpm terminology:check`, and has been since #844: it added a third neutral Agent Map state to `AgentMapPane.tsx` carrying the same private `icon="Workflow"` design-system identifier, while the allowlist entry that covers that file still declares two. The guard treats an entry matching more than it declares as stale and fails, which is the guard working correctly. The third occurrence is the same private icon identifier as the other two, on `agent-map-generating`, a neutral state with no user-visible "workflow" anywhere. So the count is the thing that is wrong, not the code: bumped to three and the reason now names the generating state alongside loading and empty. Split out of #841 rather than fixed inside it. It is nobody's feature, it blocks every PR rebased past 8495be29, and it should be able to merge on its own. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_019o9uM8fivJobCpT5zd4ChM --- scripts/agent-studio-terminology-allowlist.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/agent-studio-terminology-allowlist.json b/scripts/agent-studio-terminology-allowlist.json index 5d2b6f3c..cf81c0e2 100644 --- a/scripts/agent-studio-terminology-allowlist.json +++ b/scripts/agent-studio-terminology-allowlist.json @@ -227,8 +227,8 @@ "id": "agent-map-pane-icon-identifier", "path": "packages/harness/web/src/components/AgentMapPane.tsx", "pattern": "^Workflow$", - "occurrences": 2, - "reason": "The design-system Workflow icon identifier remains private in the neutral Agent Map loading and empty states." + "occurrences": 3, + "reason": "The design-system Workflow icon identifier remains private in the neutral Agent Map loading, generating and empty states." }, { "id": "agent-map-canvas-icon-identifier",