Repository navigation
[CMUX Next] Chief pet: agent notices as a glass deck - #21732
teamleaderleo wants to merge 1 commit into
Conversation
What alerts on this Mac (a banner's rules) also shows over the pet, matching chief-chat-source-captures d154d558: glass capsules of the references' size (330 x 56 pt) with a bold title and one muted line and no status glyph, the older ones peeking out below as a deck; the rail's chevron unfolds them into a column and each capsule opens its tab. One notice per tab; identical content never re-animates; a finished turn leaves after 8 s while a question or failure stays, counted on the character's badge, until its tab is read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Found 55 test failures on Blacksmith runners: Failures
...and 45 more test failures. View all on Blacksmith
|
|
Probably yours: CI failed on
Matched log linesNot re-run automatically: Written by |
|
|
|
Owned by chief-ui on cosmic-gray · session |
Summary
Second of four Chief pet PRs, stacked on #21728. The pet now pops up agent events as they arrive. They show as notice capsules above the pet, as Leo's pill-stack references draw them.
What shows
NotificationPolicydecision a banner uses, so muted workspaces, quiet hours andnotifications.desktopapply. It shows even when the poster asked for no banner.NotificationCenterServiceis two lines:notifyChiefPetindeliver, andchiefPet?.readinacknowledge.How it looks
fd383405.Interaction
Motion and lifetime
Reference
Matched:
cmux-design-references/research/chief-chat-source-captures/d154d558-….png, at the same 1034 × 670 pixel size.Folded:

Unfolded with the chevron:

The right side is a composite: the bundled mascot, the rail and the capsules drawn at this PR's point sizes at @2x. It is not a screen capture. The live look needs a dogfood build, since no Mac capture host is reachable from the Linux build host.
Testing
ChiefPetFeedTests(CmuxNextFloatingTests) covers:ChiefPetNoticeTests(CmuxNextAppTests) drives the realNotificationCenterService.deliverandacknowledgewith aDaemonStore:ManualClock.These run in this PR's cmux-next CI lane. They were not run locally (Linux host). The App's source shrinks by 2 lines; the floating chat's tunable moved into
CmuxNextFloatingto pay for the hook.Changelog
none (off by default behind a Debug Settings toggle)
🤖 Generated with Claude Code
Summary by cubic
The Chief pet now pops up agent events as glass notice capsules above it. Anything that would alert on this Mac appears over the pet, using the same
NotificationPolicydecision a banner does—muted workspaces, quiet hours, andnotifications.desktopapply—even when the poster asked for no banner.notifyChiefPetinNotificationCenterService.deliverandchiefPet?.readinacknowledge; off by default behind a Debug Settings toggle.Written for commit f741982. Summary will update on new commits.