Repository navigation
Classify Claude plugin UI notifications as noise - #5253
Merged
Merged
Conversation
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚨 SLOP COP 🚨 ·
new-issue-autopilotHuman 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 emitsprovider/unhandledevents, 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
9a47d42c78ca9689af0b78da9b3155a8c0b36251; frozen installs and the full base Turbo build succeed.pnpm exec turbo run test --filter=bb-plugin-provider-claude-code -- src/system-ui.test.tsfails identically in two clean checkouts: 7 failing UI cases, 3 passing unknown-system controls.pnpm exec turbo run test typecheck lint --filter=bb-plugin-provider-claude-codepasses typecheck and lint. Its five bridge-test failures under UID 0 reproduce against unchanged production code; all five are existing non-root expectations.unshare --user --map-user=1000 --map-group=1000 ... pnpm exec turbo run test --filter=bb-plugin-provider-claude-code --cache=local:rpasses 26 files / 385 tests, without changing unrelated code or tests.git diff --checkpass; no binary changes.Fixes #5252