Skip to content

Confirm ACP model identity before recording discovery support - #6874

Merged
ymichael merged 1 commit into
mainfrom
slopcop/issue-6871
Nov 3, 2026
Merged

ymichael merged 1 commit into
mainfrom
slopcop/issue-6871

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human comments

What was wrong

ACP-native discovery recorded reasoning and service-tier options under the requested model without checking which model the successful configuration reply described. A stale reply could therefore mark a different model's reasoning support as known-empty or advertise incorrect choices.

Fixes #6871

Reproduction and root-cause report: https://get-bb.github.io/reports/issues/6871.html

What changed

  • Confirm the reply's selected model before recording discovery support.
  • Retry an unconfirmed model switch once within the existing discovery deadline; keep reasoning unknown if neither reply confirms the model, and continue discovering later models.
  • Extend the existing subprocess ACP fixture and bridge-boundary regression table for transient stale replies, persistent stale replies, missing model options, and missing selected values.
  • Scope: one existing ACP bridge subsystem, three files, 136 changed text lines (114 additions + 22 deletions). No dependencies, generated files, stored-data changes, public protocol/API changes, or CLI/configuration changes.

How you verified

  • Add the four regression cases before the production fix: all four fail for the intended catalogue mismatch on unchanged trusted origin/main at 21ff1a47f7a1e79b408a2c95b1f9c01b90d18c6b.
  • Repeat the same test-only reproduction in a second clean checkout at that commit: the same four failures.
  • After the fix: pnpm exec turbo run test --filter=@bb/provider-bridge-acp -- src/bridge/bridge.test.ts -t 'attributes native reasoning only' passes all four cases.
  • pnpm exec turbo run test lint typecheck --filter=@bb/provider-bridge-acp: 25 test files pass, 572 tests pass, four skip; lint and typecheck pass.
  • Recorded ACP Cursor parity with an empty temporary allowlist: 10 cells pass, one process-only cell skips, no event/row differences. The default allowlist rejects stale entries in six cells on both base-versus-base and base-versus-fix; no unrelated allowlist changes are included.
  • Format the three changed files with the repository formatter; git diff --check passes; git diff --numstat origin/main confirms the line count and text-only changes.

The reproduction exercises the real bridge using a repository-owned ACP subprocess. It does not measure an external agent's race frequency.

AGENT GENERATED

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.

ACP model discovery stores reasoning levels from a config reply that describes a different model

2 participants