refactor(core): prepare high-risk runtime owner migration#841
Open
limityan wants to merge 2 commits into
Open
Conversation
Move provider-neutral tool path resolution, runtime artifact reference assembly, and path policy checks into bitfun-agent-tools while keeping ToolUseContext, workspace/runtime root lookup, containment callbacks, and BitFunError mapping in bitfun-core.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft Status
This PR is intentionally draft. The initial tool path/runtime contract migration is not meant to be submitted as a small standalone PR. The branch now also updates the architecture and implementation plan so the next work proceeds as complete high-risk owner migration blocks instead of fragmented helper/guard changes.
Current Scope
bitfun-agent-tools.bitfun-coreas the runtime binding owner forToolUseContext, workspace/runtime root lookup, containment callbacks,BitFunErrormapping, concrete tools, cancellation, and Deep Review hooks.Safety
Validation So Far
cargo test -p bitfun-agent-toolscargo test -p bitfun-core tool_context_runtime -- --nocapture$env:BITFUN_BOUNDARY_CHECK_SELF_TEST='1'; node scripts/check-core-boundaries.mjsnode scripts/check-core-boundaries.mjscargo check -p bitfun-core --no-default-featurescargo check -p bitfun-core --features product-fullgit diff --check