Skip to content

Fix runtime package helper late registration#365

Merged
chubes4 merged 1 commit into
mainfrom
fix/runtime-package-helper-late-registration
Jun 23, 2026
Merged

Fix runtime package helper late registration#365
chubes4 merged 1 commit into
mainfrom
fix/runtime-package-helper-late-registration

Conversation

@chubes4

@chubes4 chubes4 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Ensure wp_agent_run_runtime_package() attempts to register the canonical runtime package abilities before reading the Abilities API registry.
  • Add regression coverage for the helper path after wp_abilities_api_init has already fired.

Testing

  • php -l src/Abilities/functions-ability-dispatch.php
  • php tests/runtime-package-run-contract-smoke.php
  • composer smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Root-cause investigation, code change, regression test, and verification.

@chubes4 chubes4 merged commit 1f394df into main Jun 23, 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