Skip to content

feat(workhub): inspect existing Session conversations without starting work #5874

Closed

Description

@chihumyum

Problem

WorkHub can discover recent Session identities and query a known delegated Turn, but it cannot inspect the recent conversation of an existing Session before deciding what to report or where to continue work. Similar titles do not provide enough evidence to identify a task or explain its current progress.

This slice was agreed as independent from the main WorkHub refactor in #5745: #5745 (comment).

Desired outcome

Give the WorkHub coordinator a read-only inspection capability for existing Sessions in its current same-Host candidate scope. The coordinator should be able to quote the latest assistant reply accurately and report recent progress using bounded source evidence.

Scope

  • Read bounded recent user and assistant messages using the existing Host transcript reader, with source Session/Turn/message identities and timestamps.
  • Report authoritative execution status separately from the conversation text; execution completion must not imply that the task goal or artifacts have been verified.
  • Support bounded pagination and explicit truncation/unavailable results. Do not load all Session history merely to return a recent page.
  • Revalidate current same-Host candidate eligibility and preserve existing visibility boundaries.
  • Keep returned conversation content as data. Inspection must not send messages, admit Turns, resume work, or mutate target configuration.
  • Reuse existing Session/RuntimeEvent storage and leave routing decisions to the main agent. This issue does not add a resolver model, background summaries, an index, broader discovery, or a new task lifecycle.

Acceptance cases

  • A user can ask for the latest assistant reply in a selected eligible Session and receive its source text with identity/time evidence; truncation is visible.
  • Recent user/assistant messages and execution state let WorkHub summarize progress without confusing an ended Turn with a completed user objective.
  • Same-name Sessions remain distinguishable by exact identity and workspace; reads never silently switch targets.
  • Large histories and oversized messages respect page/output budgets; pagination does not duplicate or skip visible text within its snapshot.
  • Archived, excluded, missing, or otherwise unavailable targets fail explicitly instead of exposing out-of-scope content.
  • Inspection leaves target Turn admission, messages, and configuration unchanged, including when the target is running or waiting for input.

Alternatives or workarounds

Opening each Session manually works but defeats conversational coordination. Delegating a request just to ask for progress starts work unnecessarily. Existing delegated-result delivery is useful after WorkHub dispatches work, but does not cover inspection of an independently started Session.

Related: #5745, #3492. The main coordination/configuration refactor and this discovery capability can ship independently.

Activity

  1. added
    enhancement
    on Sep 30, 2026
  2. chihumyum commented on Sep 30, 2026

    @chihumyum
    ContributorAuthor

    take

  3. added a commit that references this issue on Sep 30, 2026
    d97557a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions