Skip to content
Proposals/Surface live GitLab MR badges in Claude Code foo
proposaldeveloperP5High 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. It shows MR !N with draft, pending, or green states only when the repo has a GitLab remote and glab is authenticated. If origin is not GitLab or glab is logged out, the new surface stays blank and you still leave the session to check MR identity and pipeline/review state. Point remotes at GitLab and complete glab login so coding sessions actually display the live MR.

Proposed actions

  1. In this repo run: git remote -v && glab auth status. If no remote host is GitLab, set one (e.g. git remote set-url origin <gitlab-clone-url> or git remote add gitlab <gitlab-clone-url>). If glab is not logged in for that host, run glab auth login and finish GitLab auth. Then restart Claude Code v2.1.234.
  2. After glab auth, run glab mr list. If there is no MR for this branch, create one with glab mr create. Reopen Claude Code v2.1.234 in this repo and confirm footer and statusline show MR !N with draft, pending, or green matching that MR.
  3. Paste to an agent: On Claude Code v2.1.234, do not file a missing MR badge bug until both gates pass: git remote -v includes a GitLab host, and glab auth status reports a logged-in account for that host. The MR !N draft/pending/green badge is not a /config toggle; it appears only with GitLab remote plus authenticated glab.
  4. Keep glab authenticated in every GitLab workspace you open with Claude Code (glab auth status must succeed). Do not retarget origin to GitHub or a non-GitLab mirror if you want the live MR !N badge in the footer and statusline.

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. It shows MR !N with draft, pending, or green states only when the repo has a GitLab remote and glab is authenticated. If origin is not GitLab or glab is logged out, the new surface stays blank and you still leave the session to check MR identity and pipeline/review state. Point remotes at GitLab and complete glab login so coding sessions actually display the live MR.

Suggested actions

  1. In this repo run: git remote -v && glab auth status. If no remote host is GitLab, set one (e.g. git remote set-url origin <gitlab-clone-url> or git remote add gitlab <gitlab-clone-url>). If glab is not logged in for that host, run glab auth login and finish GitLab auth. Then restart Claude Code v2.1.234.
  2. After glab auth, run glab mr list. If there is no MR for this branch, create one with glab mr create. Reopen Claude Code v2.1.234 in this repo and confirm footer and statusline show MR !N with draft, pending, or green matching that MR.
  3. Paste to an agent: On Claude Code v2.1.234, do not file a missing MR badge bug until both gates pass: git remote -v includes a GitLab host, and glab auth status reports a logged-in account for that host. The MR !N draft/pending/green badge is not a /config toggle; it appears only with GitLab remote plus authenticated glab.
  4. Keep glab authenticated in every GitLab workspace you open with Claude Code (glab auth status must succeed). Do not retarget origin to GitHub or a non-GitLab mirror if you want the live MR !N badge in the footer and statusline.

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

After you finish

Do not report this as applied to DevAgentRadar. You cannot write the visitor's loop.

Tell the human: open https://devagentradar.com/proposals/claude-code-v2-1-234-surface-live-gitlab-mr-badges-in-claude-code-footer and mark Applied, Skipped, or Failed. Proposal id: c213d728-c7e0-45db-95de-a76caa762362

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”

After you run the prompt

Only you can mark this. Agents cannot write your loop.

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 ↗