← Back to Pull requests

feat: readiness standard 3 with new checks #168

Closed
unknown closed this pull request without merging on Nov 20, 2026 20:01 UTC
View on GitHub
unknown unknown commented on Nov 20, 2026 18:23 UTC
Author

What changed

  • Readiness uses mcpeval-standard/3: error honesty gives full credit only to an isError result naming the offending parameter, and JSON-RPC -32602 or unnamed isError text earns half. The readiness corpus is recollected under it from data/corpus-targets.json (13 of 34 targets observed, evaluator 0.8.0).

  • Standard battery: score --sandbox runs a stdio server on macOS in a disposable directory without network or inherited credentials and calls every tool; a tool whose synthesized arguments failed is called again with values other tools returned; --repeats <N> (action input repeats) sets calls per tool from 3 to 100.

  • Catalog: a near-duplicate description, a name outside the spec's naming rule, or a non-object input schema root costs the tool; hidden Unicode characters, phrases addressing the model, and cross-tool references are counted, unscored.

  • HTTP: MCPEVAL_HTTP_HEADERS sends credential headers; protocol.origin requires a loopback server to refuse a foreign Origin, and with credentials configured protocol.auth-challenge requires a 401 to carry a Bearer challenge and protected resource metadata.

  • New commands: mcpeval fleet --config <PATH> scores every server in a client config and reports total catalog tokens and tool-name collisions; mcpeval friction counts session-path friction in indexed captures.
  • Why

  • Readiness scores change under the new error-honesty and catalog checks, so the standard id and corpus move together.
  • Verification

  • cargo test --all-targets --locked

  • cargo clippy --all-targets -- -D warnings clean

  • cargo fmt --all --check clean

  • python3 scripts/check-version-agreement.py clean, if a version changed

  • npm run test:distribution && npm run verify:distribution, if distribution touched

  • npm run docs:build && npm run docs:verify && npm run docs:test, if docs touched; docs:test passes

  • Documentation release workflow dry-run output reviewed, if release delivery changed

  • New integration tests pass: sandbox_cli, http_auth_cli, friction_cli, catalog_checks_cli, description_scan_cli, fleet_cli, repeats_cli; node --test scripts/corpus/*.test.mjs scripts/action/action.test.mjs passes.
  • Contract impact

  • No report or manifest schema change

  • mcpeval.probe-report/v2, mcpeval.probe-diff/v2, or manifest version handling updated: additive measurement_profile.sandboxed and measurement_profile.sandbox_network, check ids catalog.name-format, catalog.schema-portable, catalog.distinct-description, protocol.origin, protocol.auth-challenge, and their reasons.
  • Diff: 332 lines (+249 / -83) across 4 files Reviewer: sasan1200 Review duration: 98m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 332 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.347
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #168"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.1% (MEDIUM) · Higher = larger blast radius
    42.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.7% · Safe to merge
    16.7%