Skip to content

feat(project): single approval grants full web access (no per-domain blocking)#227

Merged
AVADSA25 merged 2 commits into
mainfrom
claude/single-approval
Jul 8, 2026
Merged

feat(project): single approval grants full web access (no per-domain blocking)#227
AVADSA25 merged 2 commits into
mainfrom
claude/single-approval

Conversation

@AVADSA25

@AVADSA25 AVADSA25 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Research/browse projects blocked on every new domain. Now approve_plan grants network_domains=[''] when the plan browses, and permission_gate honors ''. One approval = full web for the run. Path grants stay scoped. Verified E2E: web project ran to completed with 0 domain blocks.

Mikarina13 and others added 2 commits July 8, 2026 20:54
… blocking

User pain: research/browse projects blocked on EVERY new domain (softr.io,
techrepublic.com, ...), each needing a manual Grant — tedious and demo-hostile.

Now one approval covers the whole plan's web access:
- approve_plan(): if the plan browses (declares any network_domains OR uses a
  web/browse skill: web_search, web_fetch, chrome_*), grant network_domains=['*'].
  Path grants stay scoped (least privilege) — only network breadth widens, and
  only for plans that actually browse.
- permission_gate(): '*' in network_domains authorizes any domain.

Verified E2E on the live daemon: web research project drafted -> approved
(granted ['*']) -> ran to COMPLETED with 0 domain blocks and produced its file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ate test

Broaden rather than replace: a browsing plan's grants keep their declared domains
AND gain '*', so existing 'domain in grants' assertions hold and permission_gate
still short-circuits on '*'. Updated test_e2e_full_lifecycle to assert both the
'*' broad grant and the declared domains are present.
@AVADSA25 AVADSA25 merged commit 9c29b81 into main Jul 8, 2026
1 check passed
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