Skip to content

ui: SUMMARY panel treats every user message as an objective, causing visual clutter #73

Description

@li-xiu-qi

Problem

The TUI renders a SUMMARY panel at the top of the transcript that shows "Current Objective" and "Superseded Objectives". After a short conversation it already looks like this:

SUMMARY Current Objective:
- 你去读取一下README的文件内容。
Superseded Objectives:
- 你是谁?
Image

Every user message is automatically promoted to an objective, so the panel quickly accumulates superseded entries and consumes vertical screen space. This feels noisy in normal chat usage where the user is just asking follow-up questions, not declaring long-lived goals.

Current behavior

  • ConversationMemory extracts goals from user messages (conversation-memory-transcript.ts).
  • TranscriptPane renders sessionData?.summary as a sticky SUMMARY block above the transcript.
  • Each new user message supersedes the previous one, so even trivial greetings become "Superseded Objectives".

Expected behavior (one or more of the following)

  • Only objectives explicitly created via /goal are shown in the SUMMARY panel.
  • Superseded objectives are hidden by default and can be expanded on demand.
  • The SUMMARY panel is collapsible (similar to how tool/reasoning output is collapsible with Ctrl+O).
  • Alternatively, the panel is removed from the main transcript view and moved to a status line or /status output.

Context

The /goal slash command is already documented in the welcome hint, so users have a way to set real objectives. Automatically treating every prompt as a goal makes the feature feel like visual noise rather than a helpful summary.

Related

  • src/tui/app.tsx TranscriptPane and buildTranscriptItems
  • packages/core/src/agent/conversation-memory-transcript.ts
  • /goal slash command handling in src/tui/app.tsx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions