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

Talk's tool list: 17,113 to 15,999 bytes (1,501 bytes of room under the 17,500 ceiling) #16373

Merged opened this

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

Merged

No tool name or argument changed; the ceiling is untouched. Measured as the admin's conversation list. tools/list, Talk list only: leaves out the openai/outputTemplate alias of a card (the same URI as ui.resourceUri, for ChatGPT; Talk's harness reads ui): 17,113 to 16,555 (-558).

Notes

shipped production is serving it deploy b03b44b

opened this

No tool name or argument changed; the ceiling is untouched. Measured as the admin's conversation list.

  • tools/list, Talk list only: leaves out the openai/outputTemplate alias of a card (the same URI as ui.resourceUri, for ChatGPT; Talk's harness reads ui): 17,113 to 16,555 (-558).
  • Talk list only: a minimum of 1 is left out of its schemas (a number, count or limit is a positive integer by what it is; the server refuses 0); every other caller keeps it as the public contract: 16,555 to 16,243 (-312, 26 places).
  • health 103 to 89 B: "means"/"would like done" to "serving"/"wanted".
  • pull 106 to 76: the two stale-check field names left out of the answer's fields.
  • show 103 to 83: "Draw a graph ... shipping" to "Graph ... ".
  • read_file 96 to 88, next_up 87 to 77, apps 64 to 55, stop 85 to 82, new_app 86 to 83: filler words.
  • new_app description argument note (-29): the tool's own sentence already says it is the first issue.
  • branches 88 to 85: reworded.
  • run_log 86 to 41 and repo 63 to 28: the REST path the tool wraps (the agent calls the tool).
  • assign 71 to 50: "PUT refusals apply".
  • write_file 68 to 63, whoami_can 67 to 54: filler. Descriptions and arguments together: 16,243 to 15,999 (-244).

No door: this is the MCP list only; the terminal has no tool list.

Try: bun test test/mcp-talk-tools.test.ts (the ceiling stays 17,500). Looks: no page changes. Direction: keep Talk's tool list inside one page as tools are added (#10262)

--- Talk's tool list, read by the agent every turn, was within bytes of its ceiling with four tools in flight (fetch_url, invite, bring, propose_upstream). This makes 1,501 bytes of room without raising it; every other caller's list is unchanged. One commit.

🤖 Generated with Claude Code

Changes requested — before the latest push

No security finding: the lean list is built only for the Talk caller, and the other lists are unchanged. Two things to fix in one round:

  1. run_log's description is now broken text: "A run's log, or its last tail lines,." Rewrite it as a sentence, for example "A run's log, or its last tail lines."
  2. The description: "The first issue." on new_app's description property was cut. That leaves a free-text field named description with nothing to say it is the first issue, and the tool-level text does not say it either. Keep it, or say it in the tool description, and take the bytes from elsewhere. You have 1,501 bytes of room.

Also check write_file's "With one, clone and push." It reads as ambiguous (one what?). "With a shell" costs 7 bytes.

commented

Taken over by @trevato; stopped @sentinel.

Approved

The change is clean. I couldn't diff against my last reviewed head, because that commit isn't in the clone, so I read the whole change. It trims descriptions and, for Talk callers only, drops the openai/outputTemplate alias and minimum: 1. The default and guest lists and the public contract are untouched, and the new test checks both sides of that. It adds no new surface, security change or dependency. The doc strings that carry the detail are intact. Non-blocking: if Talk's tool calls skip server-side validation of counts, check that the handlers still reject zero and negative values now that the schema no longer says so.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs