Fix Jev response fallbacks and redundant completion turn - #3070
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
The fast Jev path could send target questions containing only the fallback
nonechoice. The service still billed those HTTP 200 responses, but the client rejected their answer shape and silently returned to the main model on every changed snapshot. Browser actions that successfully navigated could also leave generic plan-execution evidence unresolved, forcing a seconddonemodel turn after the results page had already been read.This change omits unsupported operations and their degenerate target questions, gives response-contract failures bounded reason codes, and stops further Jev calls for the run after the first billable malformed response. It also reconciles a successful, verified, URL-changing action with a later successful read of that exact resulting page. Submit, send, publish, payment, and site-workflow completion contracts keep their existing evidence requirements.
Chrome and Firefox implementations, regression tests, architecture, privacy, security, and the Jev test guide are updated together. No live or paid Jev calls were made.
Validation:
npm run test:systemone— 26/26 passnpm run test:systemone:fast— 30/30 unit tests, 20 cumulative real-browser assertions, and 3/3 workflow fixtures passnpm run test:security— 60/60 passtest/run.js— 2,393 pass; its only two failures are existing release artifacts: the changelog remains at 36.7.0 while the package is 36.7.4, anddist/webbrain-chrome-36.7.4.zipis absent