Add native agent work grants to the MCP gateway #149
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/native-agent-work-grants-mcp-20261020"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds five authenticated MCP tools for native agent work grants: discover and inspect a grant, independently confirm its exact proposal, submit an Issue proposal, and reconcile the same durable request key. Agents use their own credentials; preparation, human approval and withdrawal stay in the native browser flow. Ordinary agent activity remains unassigned.
The adapter validates complete native receipts and preserves full UTF-8 task and Issue text. It sends each write once, refuses redirects and forged authorization fields, and leaves uncertain delivery for same-key readback rather than silently retrying. Current bot identity, repository access and scope remain Core-owned checks. The four public tools are unchanged.
Validation:
This is source integration. Deployment requires the matching native Core implementation, its database migration, a fresh fenced backup and a verified restore path; merging this PR does not deploy the gateway or grant anyone access.