Repository navigation
web 0.5.1: board #138's findings, and an interrupted fetch says so - #394
Merged
Merged
Conversation
…tool, and parallel calls run one at a time Detach acts only on send now, a mod's tool cannot declare it, and the engine refuses it for any tool a mod hooks with tool.call. The gap that costs time is concurrency: $.tool.register carries no readOnlyHint. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
…ould not run (board #138) After send now, the engine abandons the call's dispatch and kills the clipper; the reply read 'fetch failed: ... the clipper could not run: ... aborted', and the model told the person the fetch had failed. The mod reads next.signal.aborted and replies 'fetch interrupted:'. web 0.5.1. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Board #138, a spike: can a slow
mcp__web__fetchcall leave the turn, the wayWebFetch'sbackgrounding: "detach"lets it? It cannot, and detach turned out to be narrower than the ticket assumed. The owner chose one fix from the findings, and it ships as web 0.5.1.Findings (docs only, 693eb2c)
ToolSpechas no field for it. A mod's tools are an in-process MCP server whose tools declarebackgrounding: "self". And the engine refuses detach for any tool a loaded mod hooks withtool.call, which a mod's own tool always is. On the owner's machines, devcloud's, sminos's and doperpowers' mods hook every tool, so nothing detaches there,WebSearchincluded.readOnlyHint, and$.tool.registerpasses none. Two 8 s pages in one message took 16.6 s throughmcp__web__fetchand 9.2 s throughWebFetch. In the eval transcripts, 13 of 313 fetch messages held two or more calls. The fix is an engine change; the owner is sending the request to Anthropic.The record is in the design spec (Progress, Surprises & Discoveries, Decision Log) and in item 7 of the code comparison. The full findings, with the engine references, are on board #138 (comment 979).
The fix (web 0.5.1, 110e532)
When the user stops a fetch with send now, the engine abandons the call's dispatch and kills the clipper. The reply then read
fetch failed: … the clipper could not run: web: $.process.run(node) aborted, and the model told the person the fetch had failed. The mod now readsnext.signal.abortedand replies:After Esc, the engine puts its own rejection text in the result, so this reply is the one the model reads after send now.
Evidence
prependtier answers first, which abandons the call beneath it. The test fails on main with the old text and passes with the fix. 68 mod tests pass, and the typecheck is clean.fetch interrupted: …, and the model answered "The fetch was interrupted before the page was saved";Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)