[BUG] /goal long prompt has no Show less control and hides task status/messages

Resolved 💬 3 comments Opened May 23, 2026 by dev1Cognition Closed May 23, 2026

Preflight Checklist

  • [x] I searched existing issues for /goal, Show less, collapse behavior, and long-prompt UI behavior.
  • [x] 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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗