Skip to content

feat: mark the status report read - #1222

Merged
small-angel merged 3 commits into
mainfrom
clover/orx-861-mark-the-status-report-read-so-the-next-one
Nov 26, 2026
Merged

small-angel merged 3 commits into
mainfrom
clover/orx-861-mark-the-status-report-read-so-the-next-one

Conversation

@small-angel

@small-angel small-angel commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

The status report only grows: findings, ruled-out lines and Next items stay until a result removes them, so the same text is still there each time you come back. Mark read folds the card until a newer version arrives. The next update gets the version you read as read context instead of a report to edit, and writes a whole new report with only what changed since. Next keeps only steps the agent is taking or you asked for, and UNCHANGED keeps the card read. The open card also resizes from its top edge, and the height is kept across chats.

Load-bearing: a new chat_reports.read_version column (added through the ALTER list, so existing dev stores pick it up), version/read on the report JSON, and POST /api/chat/sessions/{id}/report/read {version}.

Proof: a Rust test drives mark read → whole rewrite from read → UNCHANGED stays read, and UI tests cover the button, the fold, focus and the resize. All 65 e2e specs pass. In WebKit against orx up, I clicked Mark read and dragged the resize in light and dark. Against Haiku 5.5, a read-mode update cut a 1,061-character report to about five new lines over two runs; before the prompt change it repeated the whole report. Not checked: the desktop window, Windows/Linux, and a full update through orx up with a real model.

Fixes ORX-861

Assisted-by: claude-opus-5.5
Assisted-by: gemini-4-neon

Open status with Mark read

After Mark read: folded, headline muted

Mark read folds the card until a newer version lands. The next update gets
the read version as context instead of a report to edit, and writes a whole
new report with only what changed since, so the report shrinks each time the
user reads it. The open card also resizes from its top edge, kept across chats.

Fixes [ORX-861](https://linear.app/alphaxiv/issue/ORX-861/mark-the-status-report-read-so-the-next-one-only-says-whats-new)

Assisted-by: claude-opus-5.5
@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge; no new actionable issues remain from this review.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues remain from this review.

Summary

Adds Mark read to status reports. The next update writes only what changed, while UNCHANGED leaves the report read.

  • Read status reports lead to updates about what changed.
  • The status card folds when you mark its report read.
  • The open status card can be resized from its top edge.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Unread report] --> B[User clicks Mark read]
  B --> C[Save read version and fold card]
  C --> D[Next update receives read context]
  D --> E{Model response}
  E -->|New report| F[Save new unread version]
  E -->|UNCHANGED| G[Keep current version read]
  A --> H[Update already running]
  H --> I{Source marked read before save?}
  I -->|Yes| D
  I -->|No| F
Loading

Reviews (2) · Last reviewed commit: "fix: handle mark-read race and legacy se..." · Reviewed by Greptile

Comment thread src/engine/watch/report.rs Resolved
Comment thread ui/src/components/StatusReport.tsx Resolved
Comment thread ui/src/components/StatusReport.tsx Resolved
Discard a stale report edit when the user marks the unread source version
read mid-update and rebuild from the read report instead, hide Mark read
when an older server omits version/read, clamp the saved report height to
the available space, and update the route test for the new fields.

Assisted-by: gemini-4-neon
@small-angel

Copy link
Copy Markdown
Contributor Author

@greptileai review

@small-angel
small-angel merged commit 2789e03 into main Nov 26, 2026
53 of 55 checks passed
@small-angel
small-angel deleted the clover/orx-861-mark-the-status-report-read-so-the-next-one branch November 26, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant