Skip to content

feat(cli): add rtk-style --summary view to colony gain#555

Merged
NagyVikt merged 1 commit into
mainfrom
agent/claude/colony-gain-rtk-summary-view-2026-05-15-14-23
May 15, 2026
Merged

feat(cli): add rtk-style --summary view to colony gain#555
NagyVikt merged 1 commit into
mainfrom
agent/claude/colony-gain-rtk-summary-view-2026-05-15-14-23

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Adds --summary, --graph, --daily, --days, --top-ops on top of the
existing gain command. Renders a compact one-screen readout modelled
on rtk gain: headline KPIs with efficiency meter, top-N By Operation
table with proportional impact bars, Daily Activity bar graph, and
Daily Breakdown table over the same mcp_metrics receipts powering the
default view. Default colony gain output is unchanged.

Storage gains aggregateMcpMetricsDaily() returning per-UTC-day rollups
and exports AggregateMcpMetricsDailyOptions / McpMetricsDailyRow.

Existing gain.test.ts spy mocks now strip ANSI escapes so assertions
hold whether kleur is in color-on (local TTY with COLORTERM=truecolor)
or color-off (CI) mode.
@NagyVikt NagyVikt merged commit edc318f into main May 15, 2026
@NagyVikt NagyVikt deleted the agent/claude/colony-gain-rtk-summary-view-2026-05-15-14-23 branch May 15, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant