Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
area: aiAI features and agent surfacesarea: integrationsGitHub, Slack and webhooksarea: mcpThe MCP server, its tools and its OAuthblockedWaiting on something elseenhancementA new capability or an improvement to an existing oneneeds designThe shape has to be agreed before code is writtenp1 highBlocks real work, fix this weekpoints: 8Fibonacci estimate: 8schema changeAdds, drops or alters a table. Migrations are applied by hand before the code shipssize: largeA week or so. Several surfaces, or a schema changestaleNo activity for a long time
Description
The loop most teams actually want from an agent is: assign an issue, the agent works on it somewhere else, a pull request appears, review happens on GitHub, and the issue closes when the PR merges. Orbit has most of the pieces and none of the glue.
What exists: git_link records the pull request to issue relationship, the GitHub webhook receives PR events, #215 is defining an agent as an assignable actor, and #126 is defining outbound webhooks.
What to build
- Assign to an agent from the issue and from MCP. An agent identity comes from Agents as a first class actor, assignable and attributed #215. The assignment is a normal issue update: activity row, realtime fan-out, notification to the agent's owner.
- An outbound event on assignment, through Outbound webhooks #126, carrying the issue, the agent, the workspace and a short-lived token the runner can use to call back. This is what an external runner (a CI job, a hosted agent, a developer's machine) listens for. Orbit never runs the agent itself.
- The way back. The runner opens a PR with the issue identifier in the branch or title, which the existing GitHub integration links. Add the narrow GitHub lifecycle automation rules #193's narrow rules move the issue to in review on PR open and to done on merge.
- Visible state. While the agent holds the issue it should read as "delegated" on the board and in the detail view, with the owning human shown next to the agent, so a stalled delegation has a name attached.
- Escalation. A delegated issue with no PR and no session activity (see Agent sessions on an issue: progress, questions and completion in the thread #404) after N hours notifies the owner. Choose N per workspace with a sane default.
Rules
- The agent never gets more than its owner has: the token in the event carries the intersection of the grant scopes and the owner's role, the property Agents as a first class actor, assignable and attributed #215 tests for.
- Delegation is a normal write through
packages/core. No special path. - A workspace with no outbound webhook configured can still assign to an agent; the event simply has nowhere to go, and the UI says so.
Depends on
#215 for the agent identity, #126 for delivery, #193 for the state moves on PR events. Design comment first, on the event payload and the callback token.
Metadata
Metadata
Assignees
Labels
area: aiAI features and agent surfacesarea: integrationsGitHub, Slack and webhooksarea: mcpThe MCP server, its tools and its OAuthblockedWaiting on something elseenhancementA new capability or an improvement to an existing oneneeds designThe shape has to be agreed before code is writtenp1 highBlocks real work, fix this weekpoints: 8Fibonacci estimate: 8schema changeAdds, drops or alters a table. Migrations are applied by hand before the code shipssize: largeA week or so. Several surfaces, or a schema changestaleNo activity for a long time
Activity
github-actions commentedon Nov 6, 2026
This issue has had no activity for 60 days, so it is being marked stale.
If it still matters, say so and it stays open. Adding what you have
learned since filing it helps more than a bump on its own. Otherwise it
will close in 14 days, and closing is not a judgement, it just keeps the
list honest about what is actually being worked on. Reopening is always
fine.
github-actions commentedon Nov 20, 2026
Closing this after 60 days without activity and 14 days after it was
marked stale. If you are still hitting this, comment and we will reopen
it. No need to file a new one.