Skip to content

Classify Claude plugin UI notifications as noise - #5253

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-5252
Oct 9, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-5252

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human comments

What was wrong

The Claude provider's closed system-subtype allow-list reduces seven plugin-UI notification kinds to unknown. The existing translator consequently emits provider/unhandled events, which become diagnostic timeline rows. The provider-boundary failure reproduces on trusted main in two clean checkouts: https://get-bb.github.io/reports/issues/5252.html.

What changed

Explicitly recognize the seven tested notification kinds and classify them as noise in the existing provider visibility path. Preserve unknown-event diagnostics rather than applying a blanket prefix rule. Add a translator/assembler-boundary regression with unknown-system controls. No public protocol, schema, permission, CLI/configuration, dependency, packaging, or stored-data change.

Changed-line count: 78 additions + 0 deletions = 78 total text lines across 2 files, measured with git diff --numstat origin/main.

How you verified

  • Trusted base: 9a47d42c78ca9689af0b78da9b3155a8c0b36251; frozen installs and the full base Turbo build succeed.
  • Before production changes, pnpm exec turbo run test --filter=bb-plugin-provider-claude-code -- src/system-ui.test.ts fails identically in two clean checkouts: 7 failing UI cases, 3 passing unknown-system controls.
  • After the fix, the same focused command passes all 10 tests.
  • pnpm exec turbo run test typecheck lint --filter=bb-plugin-provider-claude-code passes typecheck and lint. Its five bridge-test failures under UID 0 reproduce against unchanged production code; all five are existing non-root expectations.
  • Running the full provider suite as UID 1000 with an isolated home/cache via unshare --user --map-user=1000 --map-group=1000 ... pnpm exec turbo run test --filter=bb-plugin-provider-claude-code --cache=local:r passes 26 files / 385 tests, without changing unrelated code or tests.
  • Formatting and git diff --check pass; no binary changes.
  • Live upstream notification emission, CLI introduction version, macOS rendering, and notification frequency were not exercised; the report documents these limits.

Fixes #5252

AGENT GENERATED

@SawyerHood
SawyerHood merged commit a0fe135 into main Oct 9, 2026
24 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-5252 branch October 9, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Claude Code provider: ui_* plugin-UI system pushes (ui_invalidate etc., CLI >= 2.1.285) surface as "Unhandled Claude Code event"

1 participant