Skip to content

Honor named tool overrides across additive plugin contributions - #1196

Merged
PurpleCHOIms merged 3 commits into
mainfrom
fix/plugin-tool-override-precedence-20261114
Nov 14, 2026
Merged

PurpleCHOIms merged 3 commits into
mainfrom
fix/plugin-tool-override-precedence-20261114

Conversation

@PurpleCHOIms

@PurpleCHOIms PurpleCHOIms commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Explicitly replaced or disabled tools are currently appended again by additive plugins in build_tools. This can expose two implementations with the same name and different input schemas, or resurrect a disabled tool. Filter only explicitly replaced/disabled names after existing role-scoped resolution and safety checks; preserve unrelated contributions and host-owned policy tool selection.

This correction supports the existing hosted MITRE v19.2 contract in BitterSecurity/decepticon-saas#1720. The consumer registers a deliberate scoped replacement; the framework does not invent a winner for unspecified plugin collisions.

Validation:

  • Three focused regressions fail on unchanged main. After correction, 120 connected composition, host-refusal, browser and plugin tests pass. Actual LangChain invocation and input-schema checks prove that the selected contract is callable exactly once.
  • Seven SaaS consumer cases pass with the actual installed OSS additive entry point and proposed scoped host override.
  • Full local make ci-lint ci-test: 6,292 passed, five skips, process exit zero; full Ruff check/922-file formatting pass; basedpyright zero errors, 928 existing warnings; uv pip check confirms 171 compatible distributions.
  • Skips are an unavailable Obscura binary, unavailable curl_cffi and three Windows-only locking cases; none is claimed as qualified integration coverage. Two existing research-type deprecation warnings also remain in focused runs.
  • The first aggregate process ended 143 despite its assertion summary and is retained as unqualified. The same full commands rerun in a separate process session, without ignored signals, completed exit zero. No dependency or product source changed between those runs.

Only the changelog changed after the tested product source. No inference, external model/tool execution, Secret access, public version bump or deployment. Hosted checks are supplementary and are inspected separately; no protections are bypassed.

CHAGELOG.md records the proposed, unreleased correction.

@PurpleCHOIms
PurpleCHOIms merged commit 4cecf55 into main Nov 14, 2026
25 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