Skip to content

Thread timeline has no wall-clock time: proposal for date dividers and per-turn timestamps #1533

Description

@davekilleen

The problem

A bb thread has no wall-clock anchor anywhere in it.

Turn headers show Worked for 1m 7s — a duration. That tells me how long the agent worked, but never when it happened. So when I come back to a thread hours or days later, a run of updates like this:

Worked for 1m 7s
  Stale echo again from the completed review agent — nothing new.

Worked for 25s
  Final cleanup echo from the review agent — task fully closed.

Worked for 27s
  Same stale-cleanup echo, no new information.

gives me no way to tell whether those are three minutes apart or three days apart. I run a lot of long-lived threads that span several days, and reading one back I genuinely cannot answer "when did that actually come up?"

Nothing else in the timeline fills the gap — there's no date separator, and no timestamp on hover.

Proposed shape

Three tiers, each printing at the rate it actually changes, so the timeline doesn't turn into a wall of repeated dates:

  1. A date divider when the local day changes — Today, Yesterday, then an explicit Tuesday, 11 August for older days. The date changes rarely, so it prints rarely.
  2. The clock time on each turn header, after the duration and separated by a middot: Worked for 1m 7s · 14:32. Same muted weight as the duration, no extra vertical space.
  3. The full stamp on hover — Mon, 10 Aug 2026, 14:32:07 BST — for correlating against a CI run or a commit.

Light and dark:

Timeline timestamps, light theme

Timeline timestamps, dark theme

Deliberately absolute rather than relative past the current hour. 3d ago is vaguer than Tue 14:32 exactly when you need it most — reconstructing what happened on a specific day.

Prototype

Working branch, rebased on current main: https://github.com/davekilleen/bb/tree/timeline-timestamps-upstream

Single commit, ~200 lines including tests. Design notes:

  • Timestamp is a new TimelineTitleDecoration variant ({ kind: "timestamp"; at: number }) built in mapTurnTitle from the startedAt already on every row. No server-contract, wire-format or ThreadTimelineViewRow change.
  • It renders "" in formatTimelineDecorationText, so the CLI renderer and title.plain stay clock-free. That was deliberate: plain also feeds the App's title tooltip, and putting a clock time in it would make every timeline-cli-rendering snapshot depend on the machine's timezone. Happy to extend it to bb thread show if you want it there — it just needs a different approach to those snapshots.
  • Date dividers extend TimelineRowsListItem in ThreadTimelineRows.tsx (the app-local render-list union), modelled on the existing unread divider — not ThreadTimelineViewRow. Top-level lists only; nested bundle/step children sit under an already-dated parent.
  • Day boundaries use local calendar parts, and "yesterday" steps back a calendar day rather than subtracting 24h, so a DST change can't mislabel a divider.
  • Both formatters use Intl.DateTimeFormat(undefined, …), so 12h/24h and date order follow the viewer's own locale.

Verification

  • turbo run typecheck lint test for @bb/app, @bb/thread-view, @bb/cli
  • 6 new tests covering same-day/day-change dividers, the nested-list exclusion, the divider label, and the per-turn timestamp
  • CLI rendering snapshots are unchanged, by design
  • One pre-existing failure on main (PromptBoxInternal › "Magic Keyboard Enter on coarse-pointer iPadOS WebKit") reproduces identically on a clean origin/main checkout here, so it's unrelated to this change
  • Also ran it against a real multi-day thread in my own bb — dividers and times render correctly across a 5-day span

Asking first, per CONTRIBUTING

CONTRIBUTING.md says UI changes should start as an issue and wait for sign-off, so I haven't opened a PR. If you're interested I'll open one against main; if the shape is wrong I'm happy to rework it (or drop it entirely — no attachment to the specific design).

Activity

  1. added
    threads
    on Aug 18, 2026
  2. SawyerHood commented on Aug 18, 2026

    @SawyerHood
    Collaborator

    Folded in from #1445 (closed as duplicate): besides wall-clock timestamps, also show per-turn execution metadata — agent, model, provider, reasoning level — and leave room for plugins to add status info.

    AGENT GENERATED: by Claude Opus 5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    threads

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions