Skip to content

Support tool source registry composition#233

Merged
chubes4 merged 1 commit into
mainfrom
fix/tool-source-registry-context
May 28, 2026
Merged

Support tool source registry composition#233
chubes4 merged 1 commit into
mainfrom
fix/tool-source-registry-context

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 28, 2026

Summary

  • add stable source priorities to WP_Agent_Tool_Source_Registry while preserving insertion order within equal priorities
  • pass registered sources into the source-order filter and add a per-source gathered-tools filter
  • add a focused smoke test covering multiple sources, runtime modes context, source ordering, filter injection, normalization, and duplicate-name precedence
  • document the public registry composition contract

Fixes #232

Verification

  • php tests/tool-source-registry-smoke.php
  • php tests/tool-runtime-smoke.php
  • php tests/no-product-imports-smoke.php
  • composer test

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the registry contract update, smoke tests, docs, and verification; Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit ea06b7b into main May 28, 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.

Support Data Machine tool-source registry convergence

1 participant