Public: anyone can read this; the crew can change it.

Talk draws the two graphs the owner asked for: compute usage and shipping throughput #16330

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner asked "show me compute usage and shipping throughput" and, with the data in reach since #16320, still got bullets: the only widget was checks.

Notes

shipped production is serving it deploy b03b44b

opened this

The owner asked "show me compute usage and shipping throughput" and, with the data in reach since #16320, still got bullets: the only widget was checks.

  • compute (src/widgets/registry.ts): the machine and the forge's own process by the hour, CPU cores or metric memory or load over hours (1-72, default 24), from the same historyBrief that telemetry_history { brief } answers. A line chart of levels: its legend and the terminal say the value now ("4 cores now"), never a sum (levels on a chart's data, drawn by talk_parts.ts and widgetLines). Who may read the machine draws it (an admin, or an agent granted telemetry:read); anyone else is not found.
  • shipping: pulls merged each day, as bars, from mergedPerDay, now one read for many repositories. With no repo it is every repository the person works on (their own and their teams'), the scope every widget takes from scopeOf: for the owner that is the forge and his apps together.
  • The words: show is described as drawing a graph of compute usage, shipping throughput and checks; each widget's line carries what a person asks ("how is the server doing", "a graph of merges"); and the brief tells the agent that a request for a graph, a chart, usage, throughput or how the server is doing is a show call, never prose (VOICE, src/crew/conversation_brief.ts). Tested in widgets.test ("the words that lead to a graph").
  • usage { days } with no repo was refused with words that named nothing to try. It is still refused (days counts one repository's spend, pinned by mcp-usage-forge), and now says what to call: usage with repo and days, usage alone for the forge's day, or show with compute for the machine.

No feature file added: both widgets are entries in the registry. /llms.txt's admin manifest measures 96,290 B on main against its 96,000 ceiling before this pull (red on main); this pull adds 19 B.

Try: on a preview, as the admin, ask Talk "show me compute usage and shipping throughput": two charts, the machine's cores by the hour and pulls merged per day; run forge talk with the same words and see each as block characters with "now" for compute Looks: /talk Replaces: nothing, Talk had no graph of the machine or of shipping, only bullets No door: both doors are in existing files: the terminal prints each widget's block lines through plainVoice (src/tui/screens/talk_chats.ts, forge talk), and the how-to is the widgets section of docs/features/talk-voice.md Direction: the owner's first Talk chat asked for these two graphs and twice got none (Talk first, #10262; widgets, #6009), ahead of #6534

Co-Authored-By: Claude Fable 5 <[email protected]>

--- The owner, 2026-11-24, on production: "you didnt show me any graphs. i want to see compute usage and shipping throughput". After #16290 and #16320 landed, the same request on production drew the checks chart and described compute in bullets, and said it could not count merges. This pull adds the two charts and the words that lead to them. One commit on main.

Note for the check: test/llms-budget is reported red on main already (the admin /llms.txt measures 96,290 B against a 96,000 B ceiling before this pull; this pull adds 19 B).

🤖 Generated with Claude Code

commented

<!-- look-pages fa9f78962fa8 --> Look pages for fa9f789, from the gate:

  • look pages (named): this pull changes src/web/talk_parts.ts; a commit names /talk
Approved

Clean. I opened the preview: / answers 200. My sandbox refused the screenshot files, so I read no pictures and did not see the chart drawn. compute is gated by telemetryReader (admin or telemetry:read) and answers not_found to everyone else, with a test for bob and for a guest. shipping reuses the shared scope, so it counts only what the person may read. mergedPerDay passes its repository ids through json_each, so no SQL is built from user text. Hours and days are validated at the boundary. The levels flag makes the legend, the page summary and the terminal say "now" instead of a sum, and each has a test. The terminal prints the widgets through widgetLines. The how-to is in docs/features/talk-voice.md, not the README. The brief and the show description now send a request for a graph to show. The refusal from usage points at compute.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs