Repository navigation
refactor(mcp): bound results wi 8000 th chord output helpers - #186
Merged
Merged
Conversation
Pi 1.3 moved bounded output to @earendil-works/chord/output, so MCP and web_fetch results use boundOutput and utf8ByteLength instead of a local line and UTF-8 slicer, and the script result is copied with copyJson. Results are unchanged; the new tests pass on main too.
This was referenced Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pi 1.3 moved bounded output to
@earendil-works/chord/output. MCP andweb_fetchresults now useboundOutputandutf8ByteLengthin place of a local line and UTF-8 slicer, and the script result is copied withcopyJson.Other
JSON.parse(JSON.stringify(...))copies stay:copyJsonthrows onDate,NaN, functions, and array holes, which those copies take from arbitrary tools.Acceptance
mcp-resultcases (digest, head truncation, huge string)The new tests pass on
maintoo, so results are unchanged.Verification
slack-e2e.yml) not yet run: this changes the run loop and its tools, so it is on the Slack message path; they wait for approval.Research:
docs/research/pi-1.3-retirement-2026-10.md(added in #186).