Add optional Jev web decision handoff to Python client - #80
Merged
Merged
Conversation
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.
Purpose
Add an optional Jev → selected-model decision handoff for the Python client. Jev makes bounded navigation choices over caller-approved URLs; the host application's chosen model handles reasoning and generation. Explain the split and privacy boundary in the root README and Python README.
Exact scope
9981040b2e873b4120d0bc57850cbbb9176037089b2e1aa2a3bae38ca01c9f306278e02f7dfd3434README.md,clients/python/README.md,clients/python/src/aether_browser/jev.py,clients/python/tests/test_jev.py,docs/JEV.mddocs/JEV.md)Verification
PYTHONPATH=clients/python/src python -m unittest discover -s clients/python/tests -v— 53 passed, including 8 Jev tests.python -m compileall -q clients/python/src/aether_browser/jev.py— passed.git diff --cached --check— passed before commit.Security and privacy
No browser-server security-boundary change. The optional Python client sends caller-selected text, goal, URL/title, and up to three candidate URLs to OpenRouter using a caller-owned key. It sends no screenshots, follows no provider redirects, accepts only the pinned Choice schema/model, and cannot invent a destination. The existing browser server still enforces navigation policy. Common login/payment signals cause human takeover before sending page text; callers must also filter sensitive text and signed URLs because this detector is necessarily incomplete. There are no new dependencies, listeners, containers, or CI permissions.
Rollback
Revert this commit; no server or persisted state migrates. Any already-sent provider requests remain in the provider's records according to the caller's account settings.
Confidence and unknowns
Checklist