Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

feat(statusline): add 👤 N @you mention/review-request count#15

Open
serenakeyitan wants to merge 2 commits intomainfrom
feat-mention-count
Open

feat(statusline): add 👤 N @you mention/review-request count#15
serenakeyitan wants to merge 2 commits intomainfrom
feat-mention-count

Conversation

@serenakeyitan
Copy link
Copy Markdown
Contributor

Summary

Adds a `👤 N @you` segment to the `/breeze` statusline between `⚠ need-you` and the type counts. @you counts `new` notifications where `reason ∈ {mention, review_requested, assign}` — the everyday "someone's waiting on me" signal that was previously hidden inside the aggregate new count.

Before:
```
/breeze: ⚠ 0 need-you · 93 PRs · 87 issues · 2 discussions
```

After (hidden when zero):
```
/breeze: 👤 10 @you · 93 PRs · 87 issues · 2 discussions
```

Fixes #14

Why two numbers

  • `⚠ need-you` — rare + urgent (agent-escalated via `breeze:human`). Warning styling stays.
  • `👤 @you` — common + actionable (mentioned, review requested, assigned). Informational.

One number can't carry both signals.

Test plan

  • Locally: `printf '' | bin/breeze-status` returns `/breeze: 👤 10 @you · 93 PRs · 87 issues · 2 discussions` for my inbox.
  • Verify `@you` segment hides when zero mentions/review-requests.
  • Verify `⚠ need-you` still shows when `breeze:human` count > 0.

🤖 Generated with Claude Code

serenakeyitan and others added 2 commits April 20, 2026 12:25
Fixes #14

Adds a 👤 N @you segment between the ⚠ need-you warning and the type
counts. @you counts new notifications where reason ∈ {mention,
review_requested, assign} — the everyday "someone's waiting on me"
signal that previously hid inside the aggregate new count.

Before: /breeze: ⚠ 0 need-you · 93 PRs · 87 issues · 2 discussions
After:  /breeze: 👤 10 @you · 93 PRs · 87 issues · 2 discussions

⚠ need-you stays reserved for breeze:human-escalated items (rare +
urgent). @you covers the common + actionable case. Hidden when zero.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
⚠ need-you is the canonical escalation signal. Hiding it at 0 made
the line look inconsistent (you couldn't tell if it was "no
escalations" or "breeze is broken"). Always render it — seeing "0"
is the reassurance that nothing is on fire.

👤 @you stays hidden at 0 (informational, not a status).

Before (when human=0): /breeze: 👤 10 @you · 94 PRs · ...
After:                 /breeze: ⚠ 0 need-you · 👤 10 @you · 94 PRs · ...

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

statusline: add @you mention/review-request count next to need-you

1 participant