[BUG] /goal long prompt has no Show less control and hides task status/messages
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
/goaltext remains expanded. - No
Show lessor 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 lesscontrols 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
- Open Claude Code in the app UI / Code tab.
- Submit a
/goalprompt with a long multi-paragraph task description, still within the expected/goalinput limit, approximately 4,000 characters. - Let the task start running.
- Observe the goal prompt block in the conversation.
- The block stays expanded with no
Show lesscontrol. - Subsequent messages/status are pushed out of view or obscured.
- 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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗