GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web): Thread details keep the agent's task list in view by DevDock-AI · Pull Request #42181 · pingdotgg/t3code

Conversation

@DevDock-AI

@DevDock-AI DevDock-AI commented Nov 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Problem

When an agent works through a todo plan, the only place its progress shows is the inline "Tasks N/M"
row in the timeline. In a long run that row scrolls away, so there is no steady place to see which
step the agent is on, and after the run ends you have to scroll back to find the final list.

Change

Thread details get a Tasks card at the top that shows the thread's newest todo list: each step
with its status (pending, in progress, completed) and a done/total count.

  • It updates in place while the agent works, stays after the run ends, and survives reopening the
    thread.
  • The list is chosen by selectLatestTodoList in client-runtime, using the same order the server
    uses for bounded snapshots (run ordinal, then todo item ordinal, then plan id). Live and hydrated
    threads therefore agree, and an older plan left active never overrides a newer one. A new run keeps
    the previous list until it publishes its own.
  • Long plans stay usable: the list is capped at min(22rem, 45dvh) and scrolls the step in progress
    into view.
  • Steps headed Phase N: … are grouped under their phase, with a per-phase count.
  • Earlier lists from the same thread stay folded under "Earlier list N" above the newest one. A list
    that continues the previous one (never started, or mostly the same steps) replaces it instead.
  • Settings › Chat › "Show tasks in thread details" (on by default) hides the card.
  • Inline "Tasks N/M" timeline rows are unchanged. All 10 locales are translated.

Related: #29705 takes a different approach (opt-in, collapsed by default, toggled from the card menu).
Happy to align with whichever direction maintainers prefer, or to fold the pieces above into that PR.

Scope

This is a feature, not a bug fix, and the author is not on VOUCHED.td. It is opened for discussion
alongside #28421 / #29705; please close it if it doesn't fit.

Verification

  • Unit: latestTodoList.test.ts (13 tests: ordering, superseded plans, stacking, continuation) and
    ThreadDetailsTasks.logic.test.ts (4 tests: phase grouping and counts).
  • Browser: ThreadDetailsTasks.browser.test.tsx (6 tests: statuses and counts, follows the thread,
    30-step cap and scroll, phases, stacked lists, setting off). All 39 ThreadDetails tests in apps/web pass.
  • pnpm run check:changed and pnpm run i18n:check pass.
  • Manual, in a desktop build on macOS with OpenCode:
    • A 3-step plan advanced live 0/3 → 1/3 → 3/3.
    • A 30-step plan stayed capped, with the running step centred at 12/30.
    • A Phase N: plan advanced through 3 phases to 6/6.
    • A second request stacked "Earlier list 1 (6/6)" above the new list.
    • A plain question produced no card.
    • Light and dark themes.
    • Turning the setting off hid the card; turning it on restored it.
  • Not checked: mobile.

Screenshots are in the comment below.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
DevDock-AI and others added 4 commits November 24, 2026 15:51
@DevDock-AI @claude
feat(web): thread details show the agent's current task list
8550a11
Add a "Tasks" section at the top of Thread details that shows the thread's
newest todo list (pending, in progress, completed steps and a done/total
count). It updates in place while the agent works, stays after the run
ends, and survives reopening the thread.

The list is picked by selectLatestTodoList in client-runtime with the same
rule the server uses for bounded snapshots (run ordinal, then todo item
ordinal, then plan id), reading step statuses only, so live and hydrated
threads agree and an older plan left active never overrides a newer one.
A new run keeps the previous list until it publishes its own. Inline
"Tasks N/M" timeline rows are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DevDock-AI @claude
feat(web): group the task list by phase when steps are headed "Phase N:"
f7ba844
Agents often split a large plan into phases by naming a step "Phase N: ...".
The Tasks card now shows each such step as a phase heading with the steps
after it indented underneath and a per-phase done/total count. A phase is
completed when all its steps are, in progress when any has started, and
pending otherwise. The card's total counts steps, not headings; a phase
without steps counts as one. Lists without phase headings look as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DevDock-AI @claude
feat(web): keep earlier task lists in the thread, folded above the ne…
baab640
…west

Each request's final task list stays in the Tasks card; earlier lists are
folded under "Earlier list N" and the newest is shown open. A list that
continues the previous one (never started, or mostly the same steps) replaces
it instead of stacking. Earlier lists come from their last todo item, since
the bounded snapshot keeps only the newest plan.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DevDock-AI @claude
feat(web): setting to show or hide the Tasks card (on by default)
d6a3fff
Settings > Chat gets "Show tasks in thread details" (threadTasksEnabled,
default true). When off, Thread details leaves the Tasks card out.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DevDock-AI DevDock-AI mentioned this pull request Nov 24, 2026
feat(web): optional Agent tasks section in Thread details #29705
Merged
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XL 500-999 changed lines (additions + deletions). labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

This PR changes the test suite by +23 test cases (browser +6, unit +17, server 0).

New browser test files: apps/web/src/components/chat/ThreadDetailsTasks.browser.test.tsx.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Nov 24, 2026

Copy link
Copy Markdown
Member

Thanks for this. #29705 makes the same change and is the one being kept.

#29705 already addresses keeping the agent's task progress visible in Thread details. It is the smaller implementation to keep: it uses the existing visibility menu and provides a compact current-step row when space is limited, rather than adding a separate default-on Chat setting.

Your ordering tests and handling of long lists are useful contributions to that work. Phase grouping and earlier-list history expand the feature beyond the shared need and can be discussed separately before adding them.

Closing as a duplicate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Nov 24, 2026
@DevDock-AI

DevDock-AI commented Nov 24, 2026

Copy link
Copy Markdown
Author

Before: Thread details without the Tasks card (1).
After: the Tasks card with live progress (2), phases (3), an earlier list folded and opened (4, 5), and the light theme (6).

1-before-no-tasks-card 2-after-tasks-card 3-after-phases 4-after-earlier-list-folded 5-after-earlier-list-open 6-after-light-theme
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@DevDock-AI @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.