Deferred from the round-2 strict review of #1153 (classified OUT-OF-SCOPE there).
abctl cost now labels a figure in the unit it is denominated in and refuses a cross-unit total. The TUI does not: cmd/abctl/tui has zero references to Snapshot.Currencies, and five of its money sites hard-code $:
cmd/abctl/tui/prune_saving.go:95
cmd/abctl/tui/sessions_pane.go:806, :818
cmd/abctl/tui/usage_render.go:763, :767
So a credits-only deployment reads dollars in the spend strip, the sessions COST cell and the Usage pane. That is a mislabel, not an understatement — the PR body originally claimed the latter and was corrected.
Labelling them needs Currencies threaded through the pane state, which is why this is a separate change: none of those files is in #1153's file set, and the plumbing is the bulk of the work.
Assisted-By: Claude (Anthropic AI) noreply@anthropic.com
Deferred from the round-2 strict review of #1153 (classified OUT-OF-SCOPE there).
abctl costnow labels a figure in the unit it is denominated in and refuses a cross-unit total. The TUI does not:cmd/abctl/tuihas zero references toSnapshot.Currencies, and five of its money sites hard-code$:cmd/abctl/tui/prune_saving.go:95cmd/abctl/tui/sessions_pane.go:806,:818cmd/abctl/tui/usage_render.go:763,:767So a credits-only deployment reads dollars in the spend strip, the sessions COST cell and the Usage pane. That is a mislabel, not an understatement — the PR body originally claimed the latter and was corrected.
Labelling them needs
Currenciesthreaded through the pane state, which is why this is a separate change: none of those files is in #1153's file set, and the plumbing is the bulk of the work.Assisted-By: Claude (Anthropic AI) noreply@anthropic.com