feat(devtools): add bounded Jev browser checks - #6
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Add an opt-in Jev controller for bounded browser checks in the site's agent workflow. A reviewed plan lists permitted controls and values; deterministic Playwright assertions and optional reload checks establish completion. Semantic text checks remain advisory and return a nonzero result when review is needed.
The helper validates pinned-model typed responses and bounds calls, input, time, and estimated spend. It rejects stale targets and origin changes, keeps credentials out of browser processes, and reports missing usage as unknown. Port the established shared Playwright session wrapper so this repository respects the machine-wide browser lock, and update the shared/generated browser instructions. This is development tooling only.
For pages with asynchronous account/directory initialization, such as Seedit, a control replacement during the model round trip now discards the stale decision and permits up to two fresh observations and choices. No stale action executes; these replans consume the existing step, request, and time budgets, and continued churn returns incomplete.
Review fixes:
--baselinenow requires explicit--live; relative CLI overrides resolve before the temporary working directory is entered; wrapper close warnings producecleanup_failedeven if the wrapper exits zero. Bounded, key-redacted plan references identify failed inputs without copying URL query/hash data. URL assertions use canonical URLs, and Jev configuration is checked before opening a browser. Each behavior has offline regression coverage.Validation: