mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

Follow-ups from Spec 108-bd enforcement test gaps review (#1429)

Open Dumbris opened this issue 2 months ago • 0 comments

Low-severity findings left open after the review of #1429 (Spec 108-bd-tests). Both are missing assertions in tests; neither is a production defect.

  • [ ] internal/server/refusal_precedence_profile_v3_test.go:73 — row P1 (dangling pin before server_in_scope) checks the refusal text and that no upstream call was made, but never checks the activity/audit reason key. Rows P2, P3 and P9 do check it. As written, a regression that drops or mislabels the audit reason for a dangling-pin refusal would still pass.
  • [ ] internal/server/set_profile_v3_test.go:470 — matrix row 17 (switchable, then locked by the operator) checks the refusal text only. It never confirms that the stored session selection is unchanged, and it bypasses the shared refusedText helper that rows 1–14 use.

Dumbris avatar Sep 30 '26 07:09 Dumbris