Skip to content

Session gate: block when the MCP server reports toolchain_ok or solver_ok false - #22

Merged
kiranandcode merged 1 commit into
mainfrom
yl/verus-solver-pin-fix
Sep 11, 2026
Merged

kiranandcode merged 1 commit into
mainfrom
yl/verus-solver-pin-fix

Conversation

@yiyunliu

@yiyunliu yiyunliu commented Sep 8, 2026

Copy link
Copy Markdown

Problem

The fail-closed SessionStart gate only checked that a verus-tools-mcp server answered with the right identity. A reachable server whose Verus could not run — binaries missing, or the pinned solvers not matching what verus expects — passed the gate and failed later, mid-proof.

Change

mcp_probe._finalize now reports unhealthy when the version result carries toolchain_ok: false or solver_ok: false, surfacing the server's toolchain_error. Only an explicit False blocks, so an older server that does not report a field is still judged on identity alone.

Pairs with the verus-tools-mcp PR that adds solver_ok (same branch name).

🤖 Generated with Claude Code

https://claude.ai/code/session_016ct36f7iXo3uSsex1CiSnL

…r_ok false

A reachable server whose Verus cannot run (missing binaries, or pinned
solvers not matching what verus expects) now fails the fail-closed gate with
the server's toolchain_error, instead of passing on identity alone.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ct36f7iXo3uSsex1CiSnL

@kiranandcode kiranandcode left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kiranandcode
kiranandcode merged commit 928a7c8 into main Sep 11, 2026
6 checks passed
@kiranandcode
kiranandcode deleted the yl/verus-solver-pin-fix branch September 11, 2026 13:43
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.

2 participants