Skip to content

Expose the HTTP proxy to external agents and delegate access to exe.dev VMs - #411

Merged
asselstine merged 1 commit into
mainfrom
feature/external-vm-grants
Nov 19, 2026
Merged

asselstine merged 1 commit into
mainfrom
feature/external-vm-grants

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

An external agent can discover its Factorize HTTP proxy through MCP, create a VM through the native exe.dev API, and call grant_vm to give that guest access to selected integrations. The guest authenticates with an exclusive exe.dev WIF attachment and a local enrollment proof. Revocation blocks further proxy requests and schedules identity cleanup while leaving the VM running.

Client migration. This removes the request_api and read_api_response MCP tools. Clients send the same JSON arguments to the HTTP endpoints advertised by get_api_reflection. The device-login launcher gives Codex and its shell one authorization. HTTP proxy use requires proxy:use, and delegation additionally requires vm:grant. Apply migration 0060_external_vm_grants.sql before deploying the Worker.

Validation. The complete npm test suite passed in the pinned validation runner. Integration coverage includes device login, enrollment retries, reduced access, expiry, and parent revocation. The exe.dev API was simulated for these tests. Live exe.dev enrollment remains unverified.

@asselstine
asselstine merged commit a87bf43 into main Nov 19, 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.

1 participant