feat(extension): bind managed Agent Task policy to browser session - #97
Draft
seonghobae wants to merge 4 commits into
Draft
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Aug 11, 2026
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.
Partial implementation of #27, stacked on PR #94.
Buyer/security gap
PR #94 makes managed Agent Task extension admission time-bounded but still leaves the policy reusable across OriginWeave browser sessions. A valid managed-extension policy for one isolated Agent Task session must not become ambient authority for another session, and an evaluator must not leak extension allow-list membership across a mismatched session.
Dependency
This Draft is stacked on unchanged exact PR #94 head
759d2f04d81dcf52bca29b88d860fb9aaeca56e8, transitively on #85/#83/#82. Keep Draft while those prerequisites remain active. No prerequisite check, review, status, or mergeability result is transferred.Current implementation evidence
Exact current head
912e0909169ed2fee1b26bce126f14e9390822bdimplements the session-bound policy contract:AgentTaskExtensionPolicyis constructed for one exactBrowserSessionId; evaluation receives the current session; a mismatched session fails with typedDenySessionMismatchbefore extension allow-list membership is considered; existing validity-window and separate Agent-capability boundaries remain intact.CI run
31546164773checked out that exact head and completed successfully. ItsRust contractsjob passed repository contracts, formatting, workspace check, full tests, strict Clippy and rustdoc. ItsProduction coveragejob passed exact production function/line/region/branch coverage enforcement. There are currently no submitted formal reviews or inline review threads. CodeRabbit reports onlyReview skipped: draft pull request, which is not independent review evidence.This PR remains Draft because its prerequisite stack is still active; the green exact-head evidence does not transfer from or to prerequisite PRs.
Truth boundary
This slice binds deterministic managed-extension admission policy to an OriginWeave browser session. It does not authenticate an administrator, read or attest Chrome enterprise policy, prove the browser profile belongs to that session, attest a clock, install/update/enable extensions, verify signatures or supply-chain provenance, authorize native messaging, grant Agent capabilities, persist policy, or claim managed enterprise extension support complete.