Skip to content

Add stable runtime invocation helpers#358

Merged
chubes4 merged 2 commits into
mainfrom
fix/runtime-invocation-boundary
Jun 21, 2026
Merged

Add stable runtime invocation helpers#358
chubes4 merged 2 commits into
mainfrom
fix/runtime-invocation-boundary

Conversation

@chubes4

@chubes4 chubes4 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add public wp_agent_dispatch_ability() and wp_agent_run_runtime_package() helpers so generated/runtime host code can use the bootstrap API instead of internal file paths or classes.
  • Document the stable runtime bundle import and invocation boundary.
  • Extend the runtime package smoke test to cover the public host helper.

Tests

  • php tests/runtime-package-run-contract-smoke.php
  • php tests/runtime-agent-bundle-importer-smoke.php
  • php tests/no-product-imports-smoke.php
  • composer smoke
  • composer phpstan

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Investigating existing runtime package/import APIs, implementing the public helper boundary, updating docs/tests, and running verification.

@chubes4 chubes4 merged commit fc81769 into main Jun 21, 2026
2 checks passed
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.

1 participant