Skip to content
Proposals/Surface live GitLab MR badges in Claude Code foo
proposalteamP5High impactClaude Code

Surface live GitLab MR badges in Claude Code footer and statusline

On Claude Code v2.1.234, authenticate glab and use GitLab remotes so the new footer/statusline badge shows MR !N with draft/pending/green states during coding sessions.

Why this loop

v2.1.234 adds a GitLab merge request badge to the footer and statusline when a repo has a GitLab remote and an authenticated glab CLI. That puts draft/pending/green MR state next to the session and reduces browser context switches. The same release also fixed repository detection mis-reading git remote hosts with unusual userinfo, which previously produced wrong-host links and repo-specific behavior—so cleaning remotes and standardizing glab auth makes the badge reliable across the team.

Proposed actions

  1. Upgrade Claude Code to v2.1.234 on every machine that should show MR status
  2. Install and authenticate the GitLab CLI for your host, e.g. `glab auth login --hostname gitlab.com` (or your self-managed hostname)
  3. In each active repo, ensure the origin remote is the real GitLab host: `git remote -v` and fix SCP-style/userinfo URLs that point at the wrong host
  4. Open the repo in Claude Code on a branch with an open MR and confirm the footer and statusline show `MR !N` with draft, pending, or green state
  5. Document for the team: badge requires a GitLab remote + authenticated glab; no badge means re-check `glab auth status` and `git remote -v`

Agent prompt

Paste into your agent or query via MCP (`get_agent_prompt`) — free, no extra AI cost

Paste into Claude Code / CLAUDE.md task

# DevAgentRadar → Claude Code

You are helping me adopt a real coding-assistant change. Work only from the facts below. Do not invent features.

## Context
Assistant: Claude Code
Proposal: Surface live GitLab MR badges in Claude Code footer and statusline
Summary: On Claude Code v2.1.234, authenticate glab and use GitLab remotes so the new footer/statusline badge shows MR !N with draft/pending/green states during coding sessions.
Primary source: https://github.com/anthropics/claude-code/releases/tag/v2.1.234

## Why it matters
v2.1.234 adds a GitLab merge request badge to the footer and statusline when a repo has a GitLab remote and an authenticated glab CLI. That puts draft/pending/green MR state next to the session and reduces browser context switches. The same release also fixed repository detection mis-reading git remote hosts with unusual userinfo, which previously produced wrong-host links and repo-specific behavior—so cleaning remotes and standardizing glab auth makes the badge reliable across the team.

## Suggested actions
1. Upgrade Claude Code to v2.1.234 on every machine that should show MR status
2. Install and authenticate the GitLab CLI for your host, e.g. `glab auth login --hostname gitlab.com` (or your self-managed hostname)
3. In each active repo, ensure the origin remote is the real GitLab host: `git remote -v` and fix SCP-style/userinfo URLs that point at the wrong host
4. Open the repo in Claude Code on a branch with an open MR and confirm the footer and statusline show `MR !N` with draft, pending, or green state
5. Document for the team: badge requires a GitLab remote + authenticated glab; no badge means re-check `glab auth status` and `git remote -v`

## Config surfaces this release may change
- agent context files **(high confidence)** — check your repo before applying
- permission rules **(high confidence)** — check your repo before applying
- background and headless runs **(high confidence)** — check your repo before applying
- settings files — check your repo before applying
- MCP servers — check your repo before applying
- skills — check your repo before applying


## Your job
1. Restate the change in one sentence.
2. Propose a minimal plan for my repo (or a throwaway pilot).
3. Implement only what I approve; prefer small diffs and tests.
4. Call out risks (permissions, breaking APIs, cost).

Start by confirming you understood the proposal.
agentmcpmodelpricingsecurityRelease source ↗

Your loop

This browser · no sign-in · not shared as “you”

Your decision stays on this device. A public tally appears after a few votes.

Originating release signal

Claude Codev2.1.234Aug 17, 2026

v2.1.234

Added the optional `CLAUDE_CODE_PROJECT_DIR_NAME` environment variable: hosts that give each session its own config directory can choose a short name for the per-project transcript directory · Added the `selection:clear` keybinding action, so a key can be bound to clear an in-app text selection; also works in the agents view · Added a GitLab merge request badge to the footer and statusline: repos with a GitLab remote and an authenticated glab CLI show MR !N with draft/pending/green states · +48 more changes

Verified excerpt — the source's own words
## What's changed

- Added the optional `CLAUDE_CODE_PROJECT_DIR_NAME` environment variable: hosts that give each session its own config directory can choose a short name for the per-project transcript directory
- Added the `selection:clear` keybinding action, so a key can be bound to clear an in-app text selection; also works in the agents view
- Added a GitLab merge request badge to the footer and statusline: repos with a GitLab remote and an authenticated glab CLI show MR !N with draft/pending/green states
- Claude Code now continues your session automatically when a claude.ai usage limit resets; turn it off in `/config` ("Continue automatically at usage limit")
- Claude is now told to use your account email only to identify you, and not to send it to unrelated services unless you ask
- Security: remote file reads, session restore, CLAUDE.md includes, workflow scripts and file uploads now reject Windows NT-namespace (`\??\`) paths, hardening the remaining pre-approval file accesses against the NTLM credential-leak vector
- Fixed auto mode in very long sessions repeatedly re-checking and denying sandboxed commands' network access after the conversation had been compacted

Excerpt ends here — this release continues at the source ↗.

Primary source ↗