Skip to content

Show owning chats for idle items in Look around - #50089

Merged
brennanb2025 merged 5 commits into
mainfrom
brennanb2025/look-idle-facts-652
Nov 27, 2026
Merged

brennanb2025 merged 5 commits into
mainfrom
brennanb2025/look-idle-facts-652

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Look around could suggest picking up an idle item and leave you guessing which chat to open. It can now name the item’s chat. Open the item in Items and use its Chat link to pick up where you left off.

What Changed

The registered Look around opening turn uses its existing work snapshot to present up to 12 idle In progress items and their owning chats. The Look is asked to recheck the item read-only and point the owner to its Chat link.

Why

The owning chat has the conversation you need to resume the work.

Linked Issue

No linked GitHub issue.

Visual Proof

Before mock and seeded desktop screenshots

Before mock showing a generic idle-item suggestion
Look around Suggestions naming three owning chats
Suggestion detail and the unsent Home draft
The item’s link to Design review thread

Testing

  • Seeded Linux desktop runs with Claude and Codex verified the suggestions, Chat link and unsent Start draft.
  • Native input checks covered retry, Stop, Clear and repeated message IDs.
  • The regression test checks title quoting, length limits and the data fence.

Performance

The existing work lookup supplies the list. Admission checks on four workloads recorded the same item reads, link joins, automation inventory work and worker report reads.

Risk

Level: Medium. A slow read can omit the list. The facts may also be absent when Orca rebuilds a conversation from its saved history. A plain revert requires no migration.

AI Disclosure

Review

The first provider message of a registered Look around run is the only message eligible for the list.

Agent skill upstream boundary

  • Not applicable.

Notes

Considered security, cross-platform behavior, SSH, mobile, compatibility and performance.

Checklist

  • Focused change with the problem, behavior, risk and rollback explained.
  • Before mock and seeded after screenshots attached.
  • Self-reviewed for correctness, security and performance.
  • Cross-platform, SSH, paths and shortcuts considered.
  • CI covers lint, typecheck, tests and builds.

@brennanb2025
brennanb2025 marked this pull request as ready for review November 27, 2026 01:16
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The active-work section now identifies idle items linked to working chats. Look around openings carry a client message ID, and turn planning passes that ID to unanswered-question notes. When the note is read, it adds formatted idle-item facts only if the opening is still registered for the same bot and session.

Merge Risk: Minimal · up to 63923

Look around suggestions now name the chat that owns each idle item, using the existing work snapshot. No concrete merge-blocking risk was found. A worst case is that the owning-chat facts are omitted from the first message, which is a safe fallback.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Show owning chats for idle items in Look around" matches the main change: the Look around opening now names each idle In progress item with its owning chat, as the raw summary and objective…
Description check Passed The description follows the template sections: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checkli…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Show owning chats for idle items in Look around" matches the main change: the Look around opening now names each idle In progress item with its owning chat, as the raw summary and objectives describe. It is concise, specific, and free of noise.

Full details: Description check

Explanation

The description follows the template sections: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist. It explains the before and after behavior, the mechanism, and the risk with a rollback note. Gaps: the Linked Issue section states there is no linked issue, the Risk level is set but the rollback explanation is brief, the Performance section gives only a short reasoning line, and the Testing items do not name the platforms beyond Linux desktop. The Review and AI Disclosure sections are sparse. These gaps are non-critical, so the description is mostly complete.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bcd863e2-9d3a-4fb1-8d1d-9e0061587828
Commits

Reviewing files that changed from the base of the PR and between 664650d and 63923df.

Files selected for processing: 11

  • src/main/bots/bot-active-work-read.ts
  • src/main/bots/bot-active-work.ts
  • src/main/bots/bot-look-around-prompt.test.ts
  • src/main/bots/bot-look-around-prompt.ts
  • src/main/bots/bot-look-around-runner.ts
  • src/main/bots/bot-look-around-runtime.ts
  • src/main/bots/bot-turn-context.ts
  • src/main/bots/bot-turn-ended.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-ride-along.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-turn-context.ts
  • src/main/runtime/orca-runtime-bots.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Look around can name an idle item’s owning chat and point you to its Chat link. Start still leaves an unsent draft in Home.

Seeded Linux desktop runs with Claude and Codex checked side chats, automation runs, and connector threads. Following the item’s Chat link opened the recorded conversation. The Looks added no turns in Home or in the owning chats. Native input tests covered retry, Stop, Clear and repeated message IDs.

Benchmark: head=63923df37cad2e1f2d6269413c8953d6f00dc524 gate=PASS The native opening-send benchmark used a test writer and recorded the same read, link join, inventory, worker report, and admission counts at baseline and head across four workloads. It seeded 10,000 items and varied worker count, automation count, and link width independently. The runner completion watch, item host status listener, and native journal and delivery loop were mounted.

Before mock and seeded desktop screenshots

Before mock showing a generic idle-item suggestion
Look around Suggestions naming three owning chats
Suggestion detail and the unsent Home draft
The item’s link to Design review thread

@brennanb2025
brennanb2025 merged commit f0ddb49 into main Nov 27, 2026
88 checks passed
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