Skip to content

Show a compaction in progress in the pane and the sidebar #331

Open

Description

@SSFSKIM

Problem & intent

While a session compacts, MAWS shows nothing. The pane shows the compaction only after it has finished, as the divider "Compacted earlier · 38k → 9k". Until then, the person can't tell the session is compacting rather than stuck or idle. This was seen in the owner's lane A sitting (P5 O9 M8, 2026-10-29), and it applies to MAWS-run sessions too.

Constraints

  • Take the start and end of a compaction from the engine's own records: its status and compact-boundary messages. Verify them against spikes/protocol-probe/fixtures/ or a new probe on the pinned engine, not against the spec alone.
  • Claude Desktop runs the same engine, so its indicator is the reference for form and wording (research/SOURCES.md).
  • Both lanes render from the same records.
  • This belongs to the paused P4 UX wave; take it up when UX work resumes.

Success criteria

  • While a compaction runs, the pane shows it in progress with its elapsed time, and the session's sidebar row shows a compacting state.
  • When it ends, the indicator resolves into today's "Compacted" divider with the token counts.
  • A failed or interrupted compaction shows as such and does not leave a stale indicator.
  • e2e coverage on a recorded compaction for both lanes.

Open questions

  • Does the engine report progress within a compaction, or only its start and end?

Decision log

  • 2026-10-29: the owner deferred this to the paused UX wave after the O9 sitting and asked for a ticket rather than a tech-debt row.

Activity

  1. added
    enhancement
    on Oct 29, 2026
  2. SSFSKIM commented on Oct 29, 2026

    @SSFSKIM
    OwnerAuthor

    [board] deferred: Paused P4 UX wave; the owner takes it up when UX work resumes

  3. added
    status:deferred
    priority:P2
    on Oct 29, 2026
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

    enhancementpriority:P2status:deferred

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions