Skip to content

Launch project runs directly with optional skills and MCP outcome subscriptions - #412

Merged
asselstine merged 2 commits into
mainfrom
feature/run-first
Nov 19, 2026
Merged

asselstine merged 2 commits into
mainfrom
feature/run-first

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

Agents can start a background VM run with a literal prompt and an optional launch skill through MCP or REST. Project defaults supply the VM configuration and permissions. Jobs remain reusable templates and share the same queue, scheduler and execution backends as direct launches.

  • Snapshot launch skill and origin so the Runs UI can filter by skill and retained history survives template deletion.
  • Return a subscribable MCP outcome URI with every direct launch. A host can deliver completion, failure or cancellation to the originating conversation and deduplicate replay after reconnecting.
  • Add an owner-controlled project setup, an explicit runs:start scope, same-project child launches and idempotent submission.

Validation

npm run test:local passed in the pinned validation runner, including the backend, Chromium, proxy and Docker lanes. The new local acceptance scenario uses workerd, PostgreSQL and a deterministic VM backend to exercise MCP dispatch, live notification, reconnect replay, authorization, capacity and template history. The browser scenario exercises launch and filtering by skill.

Rollout

Apply migration 0061_project_runs.sql before deploying the Worker and static app. Configure direct run defaults on each project where agents should be able to launch runs.

@asselstine
asselstine merged commit cfdcfc9 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