Skip to content

docs(policy): allow agent control on the user's profile and tabs - #111

Merged
rgxdev merged 1 commit into
mainfrom
quavon/policy-agent-user-profile
Nov 24, 2026
Merged

rgxdev merged 1 commit into
mainfrom
quavon/policy-agent-user-profile

Conversation

@rgxdev

@rgxdev rgxdev commented Nov 24, 2026

Copy link
Copy Markdown
Member

Extends the agent-control exception from #110 (AGENTS.md hard rule 7, threat model S22) with two further opt-in modes:

  • Own tabs, your profile: the agent opens its own tabs in a profile the user picks, with that profile's cookies and logins.
  • Your tabs: the agent controls tabs the user already has open.

Each mode is off by default, behind its own setting that only the user can switch in Tarn. The throwaway Strict profile stays the default. In both modes:

  • every agent connection and every site needs approval in Tarn, and the approved site list starts empty for each session
  • the profile's Shield level applies and is never lowered for the agent
  • private-space tabs are out of reach
  • every controlled tab shows an indicator with a one-click stop
  • form submissions, payments and filled secret fields need the user's confirmation
  • no access to saved passwords, passkeys or autofill
  • turning the setting off closes the listener and releases every tab, leaving the user's data unchanged

S22 now names the residual risk: in these modes, page content can steer the agent (prompt injection) while it acts with the user's logins on an approved site. Approval and confirmations limit what the agent can do, not what it is told. Maintainers may want to raise S22's rating from Medium for this reason.

Protected paths changed: AGENTS.md, docs/threat-model.md (policy only, no code). The status column marks the new modes as not built. The implementation follows in a separate PR after this one merges.

Checks: docs only, no workspace checks run.

Adds two opt-in agent-control modes to the hard-rule 7 exception and threat model S22: own tabs in a profile the user picks, and control of the user's open tabs. Each stays off by default behind its own setting, with per-session site approval, no Shield lowering, no private-space tabs, a per-tab indicator with one-click stop, confirmation for submissions, payments and filled secret fields, and no access to saved passwords, passkeys or autofill.

Signed-off-by: rgxdev <hello@d-aaron.dev>
@rgxdev
rgxdev requested a review from a team as a code owner November 24, 2026 20:47
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 27 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 259cfab and 745bb54.

Files selected for processing: 2

  • AGENTS.md
  • docs/threat-model.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@rgxdev
rgxdev merged commit e2759bf into main Nov 24, 2026
18 checks passed
@rgxdev
rgxdev deleted the quavon/policy-agent-user-profile branch November 24, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants