⬡Repository health banners
Calm, inline banners that turn three classic git footguns into one-click fixes — instead of cryptic error walls.
Detached-HEAD banner
Entry points
- Main panelAppears automatically when
status.detachedis true (e.g. after checking out a commit).
What happens next
- The banner reads: "You're not on a branch (detached HEAD). Create one here to keep your work."
- Click Create branch here → prompted for a name → branch.create at the current commit, so work isn't stranded.
Git identity setup user.set
Entry points
- Main panelAppears when
user.name/user.emailare unset.
What happens next
- Instead of the cryptic "Please tell me who you are", the banner offers inline setup.
- Click Set up identity → enter name + email → user.set writes them globally.
Critical-error reload
- If the Go backend dies unexpectedly, the extension surfaces a "Reload Window" prompt.
- Reloading respawns the binary and restores the panel.