Skip to content

feat(taskctl): show elapsed time in current stage in taskctl status #270

@randomm

Description

@randomm

Task Description

taskctl status shows the pipeline stage but not how long the task has been in it. The PM cannot tell if a developer has been working for 2 minutes or 20 minutes, or if an adversarial agent went silent.

Implementation

  • Compute elapsed time from pipeline.last_activity to now
  • Show in taskctl status output: e.g. Pipeline: adversarial-running (attempt 1, 4m32s)
  • Also show per-stage duration in taskctl inspect pipeline history

Quality Gates (Non-Negotiable)

  • TDD: Write tests before implementation
  • Linting passes
  • Local verification: all tests pass

Acceptance Criteria

  • taskctl status shows elapsed time for in-progress stages
  • taskctl inspect shows per-stage duration in pipeline history
  • Elapsed time formats as: Xs, Xm Ys, Xh Ym (no decimals)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions