# summary

Show AI effort classification breakdown for delivered workflow phases.

# description

Reads recorded effort-estimate records (written automatically when phases close
via `sf setup-agents workflow run`) and reports minutes by autonomy mode:

- `ai_autonomous` — agent completed phase with no gate
- `ai_supervised` — agent completed phase, gate review was required
- `ai_calibration_baseline` — estimate declared without active rules (baseline)
- `human_manual` — human wrote deliverable directly
- `human_review` — human approved a gate, no AI authorship

Use `--story <id>` to scope the report to a single story, or omit to aggregate
across all recorded phases.

# flags.story.summary

Story id to scope the report to.

# flags.story.description

Filter effort records by story id. Omit to aggregate all stories.

# flags.recalculate.summary

Recompute effort summary from all recorded data.

# flags.recalculate.description

Re-reads all effort estimate records and recomputes the summary, including rules_multiplier.

# flags.all.summary

Report all stories aggregated.

# flags.all.description

Print the aggregated effort table across every recorded phase. Default when --story is not provided.

# examples

- Show effort breakdown for a single story:

  <%= config.bin %> <%= command.id %> --story US-42

- Show aggregated effort across all stories:

  <%= config.bin %> <%= command.id %>

# info.story-header

Effort breakdown — %s

# info.aggregate-header

Effort breakdown — all stories (%d phase records)

# info.by-mode

%s: %d min (%d%%)

# info.total

Total recorded: %d min

# info.autonomy

AI autonomy: %s

# info.empty

No effort estimates recorded yet. Effort is auto-recorded when phases close via sf setup-agents workflow run.

# info.token-cost-header

Token cost (USD)

# info.token-cost-total

Total: $%s

# info.token-cost-by-mode

%s: $%s (%d phases)

# info.token-cost-by-story-header

By story:

# info.token-cost-by-story

    %s: $%s
