Skip to content

Define sandbox workspace contract#137

Merged
chubes4 merged 2 commits into
mainfrom
feat/issue-25-sandbox-workspace-contract
May 25, 2026
Merged

Define sandbox workspace contract#137
chubes4 merged 2 commits into
mainfrom
feat/issue-25-sandbox-workspace-contract

Conversation

@chubes4
Copy link
Copy Markdown
Owner

@chubes4 chubes4 commented May 25, 2026

Summary

  • Pins /workspace as the stable in-sandbox coding workspace root and documents repo-backed/site-backed modes plus wp-content coexistence.
  • Adds exported sandbox DMC ability allow-list/parent-only constants and carries the tool contract into sandbox agent context.
  • Records normalized workspace mount refs and DMC contract metadata in artifact provenance, with smoke coverage for recipe planning and artifact metadata.

Tests

  • npm run build
  • npm run recipe-dry-run-smoke
  • npm run discovery-command-smoke
  • npm run wordpress-plugin-smoke
  • npm run artifact-contract-smoke
  • npm run check reached runtime-episode-smoke, hit a transient Playground EADDRINUSE on 127.0.0.1:56812, then timed out because that Playground run did not exit cleanly.
  • npm run runtime-episode-smoke passed on immediate retry.
  • Remaining npm run check commands from core-phpunit-command-smoke through the final CLI run passed.

Notes

  • First slice only: this defines and records the contract in the current WP Codebox seams. It does not add a new DMC-side enforcement API.
  • Push/deploy/worktree/GitSync/PR mutation abilities are documented and exported as parent-only, not sandbox-safe.

Closes #25.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted and implemented the first-slice workspace contract, docs, metadata wiring, tests, and verification commands for Chris to review.

@chubes4 chubes4 merged commit 38da645 into main May 25, 2026
@chubes4 chubes4 deleted the feat/issue-25-sandbox-workspace-contract branch May 25, 2026 22:09
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.

Define in-sandbox DMC workspace and tool contract

1 participant