Skip to content

Require MCP authorization in rust_verify - #5

Open
kiranandcode wants to merge 2 commits into
mainfrom
codex/direct-verus-mcp-gate
Open

Require MCP authorization in rust_verify#5
kiranandcode wants to merge 2 commits into
mainfrom
codex/direct-verus-mcp-gate

Conversation

@kiranandcode

Copy link
Copy Markdown

Summary

  • reject direct rust_verify invocation unless --mcp is present
  • consume the authorization flag before normal Verus argument parsing
  • preserve authorized cargo-verus, wrapper, trait-check, vstd-build, and test paths
  • update direct-invocation documentation

Tests

  • cargo test -p rust_verify --bin rust_verify
  • cargo test -p cargo-verus
  • cargo test -p vstd_build
  • cargo clippy -p rust_verify -p verus -p cargo-verus -p vstd_build --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • manual rust_verify --version rejection and rust_verify --mcp --version acceptance

Assisted-by: Codex:GPT-5

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