[BUG] Feature: Hide or collapse PR creation widgets in TUI when multiple nested git repos are detected

Resolved 💬 1 comment Opened May 3, 2026 by Upekrithen Closed Jun 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Summary

The Claude Code TUI displays a "Create PR" widget at the bottom of the UI for every git repository it detects in the workspace. When multiple nested git repos exist, this produces a stack of widgets that consume significant terminal screen space.

Current behavior

Workspace contains 4 nested git repos:

  • ~/.claude/state/ (substrate root)
  • ~/.claude/state/eblets/CANON/
  • ~/.claude/state/reckoning/
  • ~/.claude/state/colossus/

Result: 4 stacked PR widgets at the bottom of the TUI, each showing master ← master (nonsensical self-comparison since each repo has only a master branch with no peer) and the same +24009 -0 diff stat. Eats ~6 lines of vertical screen space permanently.

Why this matters

These widgets are essentially noise:

  • The master ← master arrow is never a valid PR target
  • No way to act on them productively
  • No way to dismiss / hide them via the existing UI

Settings.json check

I checked the full settings.json schema. The closest fields are:

  • attribution.pr — hides PR attribution text in commit messages (not the widget)
  • prUrlTemplate — formats PR URLs (not the widget)
  • includeGitInstructions — disables Claude's git system-prompt instructions (won't hide the widget)

No field appears to control the PR widget visibility.

Use case

The nested git repos are intentional — they implement a substrate-as-immutable-backup pattern where each substrate scope (canon, ledger, etc.) is its own git repo for tamper-evidence. Removing the nested repos isn't an option.

Proposed solutions (any one would work)

  1. New setting: hidePrWidgets: true to disable all PR widgets globally
  2. New setting: gitDetectionPaths: [...] allowlist scoping which paths Claude Code monitors for PR display
  3. Per-widget right-click "Hide for this repo" option
  4. Auto-hide widgets where source branch == target branch (no PR is possible)
  5. /config slash command exposing the same toggle

Environment

  • OS: Windows 11
  • Shell: PowerShell
  • Claude Code version: (latest as of 2026-05-03)

What Should Happen?

I should be able to toggle it OFF, it eats my screen real estate, and I can't make it go away, and for what I'm doing, I don't need it at all. Worse that useless.

Error Messages/Logs

Steps to Reproduce

<img width="962" height="368" alt="Image" src="https://github.com/user-attachments/assets/91ef838b-1a8b-4a69-b755-9a07cbfd69c4" />

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

I never saw it before ... maybe two versions ago it popped up, then added to it, and now my window area is smaller. Annoying.

Claude Code Version

  • Claude Code version: 2.0.37

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

I'm just using Claude Code. YOUR product.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗