Skip to content

Feature request: Add session duration (elapsed time) to status footer #68226

Description

@marshall-gordfam

Summary

Add the current session's elapsed time (duration) to the 🧵 Session: line in the status footer.

Current Behaviour

🧵 Session: agent:fraser:slack:channel:c0asptb5dmj • updated 1m ago

The status footer shows when the session was last updated but not how long the session has been active.

Requested Behaviour

🧵 Session: agent:fraser:slack:channel:c0asptb5dmj • duration 2h 14m • updated 1m ago

Include the elapsed time since the session was created, so operators can see at a glance how long a session has been running.

Implementation Notes

  • The session transcript already records a type: "session" entry with a timestamp field at session creation — this could serve as the createdAt source.
  • Alternatively, persist a createdAt field on the sessionEntry in sessions.json when a session is first initialised.
  • The display would use the existing formatTimeAgo helper or a similar duration formatter.
  • Relevant code: buildStatusMessage() in status-BIycj26I.js, specifically the sessionLine construction at line ~308.

Context

Requested by an operator managing multi-agent deployments who wants visibility into session health and longevity at a glance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivity

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions