Skip to content

Decouple agent sandbox boot from Data Machine#981

Merged
chubes4 merged 1 commit into
mainfrom
issue-842-decouple-agent-boot
Jun 15, 2026
Merged

Decouple agent sandbox boot from Data Machine#981
chubes4 merged 1 commit into
mainfrom
issue-842-decouple-agent-boot

Conversation

@chubes4

@chubes4 chubes4 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Removes Data Machine-specific workspace path, backend filter, workspace-adoption, PermissionHelper, plugin activation, and diagnostic probes from generated agent sandbox boot/probe code.
  • Leaves Agents API runtime-principal authorization, default agents/chat execution, runtime task ability execution, and generic bundle-import hooks intact.
  • Adds a generic mounted-runtime bootstrap context/action that mounted components can consume before WordPress lifecycle hooks run.

Fixes #842.

Paired upstream

Verification

wp-codebox:

  • npx tsx scripts/agent-sandbox-code-smoke.ts
  • npx tsx scripts/agent-sandbox-workspace-root-smoke.ts
  • npx tsx scripts/agent-task-run-runtime-components-smoke.ts
  • npm run build

Data Machine Code paired PR:

  • php tests/smoke-mounted-sandbox-bootstrap.php
  • php tests/smoke-remote-workspace-backend-filter.php
  • php -l inc/Runtime/MountedSandboxBootstrap.php
  • php -l tests/smoke-mounted-sandbox-bootstrap.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the Data Machine decoupling in the sandbox boot generator, added the generic mounted-runtime seam, updated targeted smoke coverage, and ran verification. Chris remains responsible for reviewing and testing the change before merge.

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.

Decouple Data Machine-specific plumbing from the agent-task sandbox boot script

1 participant