You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a datamachine-code/run-agent-sandbox ability that asks Sandbox Runtime to run a task inside an isolated WordPress Playground agent stack.
Validates required plugin checkout paths and task input, invokes sandbox-runtime agent-sandbox-run, and returns sandbox run/artifact metadata to the parent WordPress site.
Adds pure-PHP smoke coverage for command construction, JSON parsing, path validation, missing task rejection, invalid binary rejection, and .js CLI execution through node.
Scope
This is the first DMC control-plane seam for frontend/chat-driven isolated coding sandboxes. A chat agent can be granted this ability without getting raw shell or parent-site filesystem access. Apply-back should remain a separate reviewed/permissioned ability.
Closing this because DMC is a component mounted into Sandbox Runtime, not the owner of the Sandbox Runtime product/control-plane surface. The real upstream primitive is continuing in chubes4/sandbox-runtime#21; the WordPress-facing ability layer should live in a dedicated Sandbox Runtime integration, with DMC available as an optional source/worktree component rather than registering the public sandbox task ability itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
datamachine-code/run-agent-sandboxability that asks Sandbox Runtime to run a task inside an isolated WordPress Playground agent stack.sandbox-runtime agent-sandbox-run, and returns sandbox run/artifact metadata to the parent WordPress site..jsCLI execution throughnode.Scope
This is the first DMC control-plane seam for frontend/chat-driven isolated coding sandboxes. A chat agent can be granted this ability without getting raw shell or parent-site filesystem access. Apply-back should remain a separate reviewed/permissioned ability.
Verification
php tests/smoke-sandbox-runtime-agent-sandbox-runner.phpphp tests/smoke-wordpress-runtime-inspection.phphomeboy lint --changed-since origin/mainhomeboy test --changed-since origin/mainDepends on Sandbox Runtime PR: https://github.com/chubes4/sandbox-runtime/pull/21
AI assistance