claude-code - 💡(How to fix) Fix [BUG] /goal long prompt has no Show less control and hides task status/messages

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

No error message. This is a UI visibility/state-awareness issue.

Code Example

No error message. This is a UI visibility/state-awareness issue.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I searched existing issues for /goal, Show less, collapse behavior, and long-prompt UI behavior.
  • This is a single bug report.
  • Exact Claude Code version is included below. It is not visible in the screenshots.

What's Wrong?

When /goal is used with a large but valid prompt, around the expected 4,000-character range, the goal prompt is rendered as a large expanded block in the conversation with no visible Show less / collapse control.

In the app UI, the long goal prompt can fill most of the viewport. New messages and status updates are pushed out of sight or appear hidden behind the prompt/input area, so the user cannot reliably tell whether Claude is still running, blocked, or completed.

Observed behavior:

  • Long /goal text remains expanded.
  • No Show less or collapse affordance is visible for the goal prompt.
  • The latest activity/status is not reliably visible without scrolling/guessing.
  • The input box remains visible at the bottom, but the active/completion state is obscured by the large prompt content.

What Should Happen?

Long /goal prompts should be bounded in the UI, for example by:

  • rendering collapsed by default after a reasonable number of lines,
  • showing Show more / Show less controls like other long content blocks, and/or
  • using a max-height scrollable container for the goal text.

The latest agent status/messages and completion state should remain visible or easy to reach while the goal is active.

Error Messages/Logs

No error message. This is a UI visibility/state-awareness issue.

Steps to Reproduce

  1. Open Claude Code in the app UI / Code tab.
  2. Submit a /goal prompt with a long multi-paragraph task description, still within the expected /goal input limit, approximately 4,000 characters.
  3. Let the task start running.
  4. Observe the goal prompt block in the conversation.
  5. The block stays expanded with no Show less control.
  6. Subsequent messages/status are pushed out of view or obscured.
  7. The user cannot reliably tell whether the task is still running, blocked, or completed without scrolling around.

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Unknown from screenshot. Please advise where to capture the exact app/CLI version if needed.

Platform

Claude Code app UI / Code tab

Operating System

macOS

Terminal/Shell

Other

Additional Information

This is related to long /goal prompts, but distinct from prompt-length/evaluator errors such as #58192 and #60966. In this case, the prompt is accepted and the task may be running; the problem is that the visible UI has no collapse affordance and hides the current conversation/status behind the prompt.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] /goal long prompt has no Show less control and hides task status/messages