Skip to content

Add browser materialization capture contract#448

Merged
chubes4 merged 1 commit into
mainfrom
issue/438-browser-materializer
Jun 2, 2026
Merged

Add browser materialization capture contract#448
chubes4 merged 1 commit into
mainfrom
issue/438-browser-materializer

Conversation

@chubes4

@chubes4 chubes4 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds browser_runner.capture_paths to the browser Playground session contract so callers can ask Codebox to capture sandbox-local output files or reports after invocation.
  • Normalizes generated browser runner results into wp-codebox/browser-materialization/v1 with invocation metadata, captured file records, and structured errors.
  • Documents the generic capture contract and extends the WordPress plugin smoke coverage.

Closes #438.

Testing

  • php -l packages/wordpress-plugin/src/class-wp-codebox-abilities.php
  • git diff --check
  • npm run wordpress-plugin-smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the generic browser materialization invocation/capture contract, documentation, and smoke coverage under Chris's requested issue scope.

@chubes4
chubes4 force-pushed the issue/438-browser-materializer branch from 00e9abf to 2d8de1b Compare June 2, 2026 00:26
@chubes4
chubes4 merged commit 352de8e into main Jun 2, 2026
@chubes4
chubes4 deleted the issue/438-browser-materializer branch June 2, 2026 00:32
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.

Provide generic browser materialization invocation and result capture

1 participant