feat: add bounded supervised network access - #369
Open
ferchosud-bit wants to merge 7 commits into
Open
Conversation
ferchosud-bit
marked this pull request as ready for review
August 15, 2026 12:45
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.
Summary
Adds supervised level S5: bounded, read-only HTTPS access layered on top of the existing S2, S3, and S4 authorization chain.
What changed
supervised_fetch_url.GETrequests only to exact human-authorized domains.step_idand records factual completion evidence automatically.grant-s5, S5 status reporting, cascading revocation, automatic persistent continuation, and an S5-specific security prompt.Security properties
S5 does not authorize shell access, deletion, arbitrary commands, POST requests, uploads, credentials, external mutations, financial actions, deployments, social actions, delegation, workers, or access outside the exact domain allowlist.
Network content cannot expand permissions or override the human-authored mission.
Validation
248/248selected security and supervised-mode tests passed.--noEmitpassed.git diff --checkpassed.https://example.com/completed successfully.1/1authorized request and received559bytes.2/2evidence-backed steps.Compatibility
S1 remains the default. S5 requires explicit supervised mode, explicit level selection, an exact human-confirmed task, valid S2-S4 parent permits, and a separately issued S5 network permit.