Skip to content

Fix Composer discovery for all public classes - #527

Merged
chubes4 merged 1 commit into
mainfrom
fix/526-full-public-classmap
Aug 25, 2026
Merged

Fix Composer discovery for all public classes#527
chubes4 merged 1 commit into
mainfrom
fix/526-full-public-classmap

Conversation

@chubes4

@chubes4 chubes4 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • extend the package-owned lazy Composer classmap from package contracts to the complete public src/ type surface
  • keep procedural registration and runtime bootstrap owned by agents-api.php
  • prove conversation, run-outcome, runtime-tool, transcript, and tool-executor contracts resolve in a consumer-only PHPStan fixture

Verification

  • consumer-only PHPStan: passed with no custom config or stubs
  • Agents API max-level PHPStan: passed
  • Composer autoload outside WordPress remains inert and public classes remain lazy
  • normal bootstrap: passed
  • version-skew bootstrap: passed
  • complete source vocabulary/bootstrap assertions: passed

Closes #526

@chubes4
chubes4 merged commit 6c785b3 into main Aug 25, 2026
4 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.

Classmap the complete public Agents API type surface

1 participant