Skip to content

refactor(tools): share static provider group container#790

Merged
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/refactor-tool-runtime-h1
May 19, 2026
Merged

refactor(tools): share static provider group container#790
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/refactor-tool-runtime-h1

Conversation

@limityan
Copy link
Copy Markdown
Collaborator

Summary

  • Move the reusable static provider group container into bitfun-agent-tools.
  • Keep core responsible for constructing concrete tools and preserving the existing provider group order.
  • Update boundary checks and H1 planning docs so this slice cannot be mistaken for concrete tool/runtime migration.

Scope guard

This is the first H1 tool-runtime migration slice, but it is intentionally behavior-neutral. It does not move ToolUseContext, concrete tool implementations, runtime manifest assembly, collapsed unlock state, snapshot decoration, or GetToolSpec execution. Core still assembles the product tool providers and the existing registry/manifest snapshots remain the behavior guard.

Validation

  • git merge-base --is-ancestor refs/remotes/gcwing/main HEAD
  • git diff --check refs/remotes/gcwing/main..HEAD
  • node scripts/check-core-boundaries.mjs
  • cargo test -p bitfun-agent-tools --test tool_contracts
  • cargo test -p bitfun-core registry_preserves --lib
  • cargo test -p bitfun-core manifest_snapshot --lib
  • cargo check -p bitfun-core --features product-full

@limityan limityan marked this pull request as ready for review May 19, 2026 08:57
@limityan limityan merged commit 235c0db into GCWing:main May 19, 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.

1 participant