Skip to content

Support generic caller sandbox invocation#370

Merged
chubes4 merged 2 commits into
mainfrom
feature/caller-mu-plugin-runtime
May 31, 2026
Merged

Support generic caller sandbox invocation#370
chubes4 merged 2 commits into
mainfrom
feature/caller-mu-plugin-runtime

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented May 31, 2026

Summary

  • Adds a generic browser_runner.invocation contract for browser Playground sessions so callers can invoke a sandbox-local Ability or caller-owned hook task.
  • Keeps runtime.mu_plugins as the extension seam and proves caller MU plugin installation happens before invocation.
  • Chooses a safe ephemeral Playground port range to avoid adjacent worker-port collisions when multiple runtimes overlap.

Verification

  • npm run build
  • npm run wordpress-plugin-smoke (240 assertions)
  • npm run runtime-snapshot-restore-smoke
  • npm run artifact-contract-smoke
  • npm run runtime-action-adapter-smoke
  • npm run recipe-dry-run-smoke
  • Attempted npm run check; the aggregate command exceeded the 15-minute tool timeout after passing build, plugin smoke, browser runtime, package, artifact verifier, artifact patch, and while inside artifact-contract smoke. The timed-out smoke was rerun independently and passed.

Closes #317.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the generic invocation implementation, smoke coverage, documentation updates, and verification commands; Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit a3769ea into main May 31, 2026
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.

Support caller-provided sandbox MU plugins and task invocation for repair runtimes

1 participant