Skip to content

Regression: non-file feed operations collapse to opaque Ran ellipsis rows #530

Description

@Juliusolsson05

Regression

The post-ledger feed rewrite makes non-file operations close to unusable in real sessions.

Observed in the July 14 npm start build:

  • file writes and file edits are useful and should be preserved;
  • command operations frequently render only Ran plus an opaque dark token;
  • the actual command is not visible;
  • streaming/final command output is not visible as the primary content;
  • surrounding non-file operation families are over-collapsed and harder to scan than the old feed.

The placeholder is consistent with commandFromLive() falling back to command: '…' while CommandCard treats that fallback as the command headline. The result is technically a rendered operation but not useful information.

User contract

For commands, the feed must show immediately:

  1. the best currently known command or structured operation name;
  2. live output as it arrives;
  3. final output, exit status, and useful structure without requiring a mystery disclosure click;
  4. an honest preparing state when the command has not been decoded yet—not Ran ….

File edit/write rendering is explicitly out of scope for rollback because it is the part of the rewrite that currently works well.

Acceptance criteria

  • A live Claude Bash command shows its command text before completion.
  • A live Codex exec_command shows its decoded cmd before completion.
  • A partial Codex unified-exec script shows a named preparing/running row until command decoding is possible; it never claims Ran ….
  • stdout/stderr streams visibly into the row before the durable result exists.
  • completed commands retain the command and raw output.
  • unknown/non-file operations expose useful name, parameters, status, and result by default.
  • Add renderer fixtures/tests for the exact black-square ellipsis regression.

Relevant code

  • src/renderer/src/features/feed/ui/resolve/fromLive.ts
  • src/renderer/src/features/feed/ui/artifacts/command.tsx
  • src/renderer/src/features/feed/ui/operations/OperationRow.tsx
  • src/renderer/src/features/feed/presentation/projectBlock.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions