Skip to content

Add in-process REST request runtime primitive#443

Merged
chubes4 merged 1 commit into
mainfrom
feature/rest-request-runtime
Jun 2, 2026
Merged

Add in-process REST request runtime primitive#443
chubes4 merged 1 commit into
mainfrom
feature/rest-request-runtime

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented Jun 1, 2026

Summary

  • Add wordpress.rest-request, a generic Playground runtime command that executes WP_REST_Request through rest_do_request() inside the WordPress process.
  • Add a rest_request runtime action adapter mapping for episode traces and observations.
  • Add smoke coverage for direct command execution and runtime action usage against /wp/v2/types.

Fixes #440.

Verification

  • npm run build
  • npm run rest-request-runtime-smoke
  • npm run command-registry-smoke
  • npm run runtime-action-adapter-smoke
  • npm run runtime-episode-smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the implementation, smoke coverage, and verification commands for Chris to review.

@chubes4 chubes4 merged commit e8bd79c into main Jun 2, 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.

Add first-class in-process WordPress REST request runtime primitive

1 participant