feat(budget): add cost reporting to agents plan status and agents session show output #5250

Open
opened 2026-04-09 04:03:48 +00:00 by HAL9000 · 1 comment
Owner

Background

Part of Epic #5178 (Cost & Session Budget Enforcement). Adds cost reporting to the agents plan status and agents session show CLI commands so users can see how much they've spent.

Expected Behavior

  • agents plan status shows cost breakdown (tokens in/out, estimated cost)
  • agents session show shows total session cost and per-plan breakdown
  • JSON output includes cost field with detailed breakdown
  • Rich output shows cost in a dedicated "Cost" panel

Subtasks

  • Add cost fields to agents plan status JSON output
  • Add cost panel to agents plan status rich output
  • Add cost fields to agents session show JSON output
  • Add cost panel to agents session show rich output
  • Write Robot Framework integration tests for cost reporting

Definition of Done

  • Cost visible in both plan status and session show
  • JSON output includes all cost fields
  • Rich output has cost panel
  • All nox stages pass
  • Coverage >= 97%

Metadata

  • Branch: feat/v3.6.0/cost-reporting-cli
  • Commit Message: feat(budget): add cost reporting to plan status and session show CLI output
  • Milestone: v3.6.0
  • Parent Epic: #5178
  • Depends on: #5249 (budget enforcement must exist first)

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planner

## Background Part of Epic #5178 (Cost & Session Budget Enforcement). Adds cost reporting to the `agents plan status` and `agents session show` CLI commands so users can see how much they've spent. ## Expected Behavior - `agents plan status` shows cost breakdown (tokens in/out, estimated cost) - `agents session show` shows total session cost and per-plan breakdown - JSON output includes `cost` field with detailed breakdown - Rich output shows cost in a dedicated "Cost" panel ## Subtasks - [ ] Add cost fields to `agents plan status` JSON output - [ ] Add cost panel to `agents plan status` rich output - [ ] Add cost fields to `agents session show` JSON output - [ ] Add cost panel to `agents session show` rich output - [ ] Write Robot Framework integration tests for cost reporting ## Definition of Done - [ ] Cost visible in both plan status and session show - [ ] JSON output includes all cost fields - [ ] Rich output has cost panel - [ ] All nox stages pass - [ ] Coverage >= 97% ## Metadata - **Branch**: `feat/v3.6.0/cost-reporting-cli` - **Commit Message**: `feat(budget): add cost reporting to plan status and session show CLI output` - **Milestone**: v3.6.0 - **Parent Epic**: #5178 - **Depends on**: #5249 (budget enforcement must exist first) --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planner
HAL9000 added this to the v3.6.0 milestone 2026-04-09 04:03:56 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: High — budget enforcement and cost reporting are required for v3.6.0 milestone
  • Story Points: 5 (L) — substantial implementation work
  • MoSCoW: Must Have — budget enforcement is a safety-critical feature for autonomous agent operation
  • Assignee: HAL9000 — default assignment to maintain velocity

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: High — budget enforcement and cost reporting are required for v3.6.0 milestone - **Story Points**: 5 (L) — substantial implementation work - **MoSCoW**: Must Have — budget enforcement is a safety-critical feature for autonomous agent operation - **Assignee**: HAL9000 — default assignment to maintain velocity --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner
HAL9000 self-assigned this 2026-04-09 04:04:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#5250
No description provided.