Skip to content

mistral:7b suppresses tool-calling on ANY injected candidate block, regardless of content — check before any future model-lock change #1828

Closed

Description

@malibio

Overview

Surfaced as a side-finding in #1815 (PR #1826), on a model NodeSpace does not ship. Recording it as its own issue so it isn't lost inside a closed PR body if the locked model ever changes.

Finding

A four-arm diagnostic isolating which part of ADR-038's two-stage routing affects tool-calling, run against both the locked model and mistral:7b over an OpenAI-compatible endpoint:

arm block injected at Stage 2 gemma-4-e4b (locked) mistral:7b
baseline none fires fires
Stage-1 only, no candidates none fires fires
routed + full instructions yes fires suppressed
routed + names only yes fires suppressed

On mistral:7b, any injected candidate block suppresses the tool call — including one containing only skill names, with no instructions and no metadata at all. Stage 1 alone (no injected block) is harmless on both models.

This contradicts ADR-064 rule 4's mechanism as measured on the locked model, where the operative variable was how procedural the payload is. Here, content did not matter — only the block's presence did.

Why this doesn't block anything today

ADR-056 locks the native model to Gemma 4 E4B, which is unaffected. #1815 shipped correctly on the model NodeSpace actually runs.

Why it's worth tracking anyway

If the locked model ever changes, ADR-038's Stage-2 design — inject candidates into the prompt — could silently stop working on the new model for a reason nobody will think to check, because the failure mode ("any block at all suppresses calling") doesn't match the mechanism the design was built against ("procedural content suppresses calling").

Acceptance Criteria

  • Regression guard: if a future model-lock change is proposed, this four-arm pattern is run against the candidate model before the lock changes
  • No production change required unless a lock change is under consideration

Architecture Impact

A caveat on ADR-064 rule 4, scoped to a specific model rather than the design generally. Does not warrant amending the ADR itself — the locked model is unaffected — but should be checked against any future ADR-056 supersession.

Activity

  1. malibio commented on Jul 30, 2026

    @malibio
    CollaboratorAuthor

    Superseded by #1829.

    ADR-056 keeps the OpenAI-compat path open by design — this isn't about removing mistral or any other user-configured model, it's that there's no routing-reliability testing on that path at all, so a failure like this one is only found by accident (as it was here) rather than by a check that runs regularly. #1829 scopes the actual gap: extend test coverage to the routed path specifically, and decide what NodeSpace does when a served model's tool-calling breaks under Stage-2 candidate injection.

    Closing this narrower framing in favor of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions