| name | mcp-java-dev-tools-performance-suite |
| description | Run MCP-first Java performance suites with required strict line-hit verification, concurrency-based workload contracts, and deterministic threshold evaluation. Use when executing or reviewing performance-suite Artifacts under `.mcpjvm/.../plans/performance` or execution profiles with `suiteType=performance`. |
MCP JVM Performance Suite
Single-call execution skill for performance plans.
Intent Router
- Prompts like
run performance suite, execute performance suite, or using executionProfile <name> with suiteType=performance MUST route here.
- Do not route performance prompts to regression suite or execution-profile export.
- If an upstream flow attempts to treat a regression plan as a performance plan, fail closed with
reasonCode=execution_route_invalid.
Single-Call Execution Contract
- Required input:
project_name
- exactly one of:
plan_name
execution_profile
- Authoritative phase order:
phase_0_load_plan
phase_1_project_context
phase_2_preflight_and_runtime_readiness
phase_3_strict_line_gate
phase_4_workload_execution
phase_5_threshold_evaluation
phase_6_artifact_persist_and_summary
- No phase skipping. Fail closed with deterministic reason and next action.
Strict Line Key verification is mandatory for performance execution.
loadModel.mode currently supports only concurrency.
- MSTA is optional performance evidence and does not replace required
Strict Line Key proof.
Branch Router
execution_profile present => runtime_suite_branch:
- load workspace execution profile through
artifact_management (artifactType=project_context, action=read)
- require
executionProfiles[].suiteType=performance
- validate ordered
plans[] and execution policy
- load each ordered performance plan through the canonical performance-plan Artifact path/tooling when available
plan_name present => single_plan_branch
- both present => fail closed (
execution_input_conflict)
- neither present => fail closed (
execution_input_required)
Reference Router
Load only the references needed for the current phase.
phase_0_load_plan:
references/execution-fsm.md
phase_1_project_context:
references/runtime-policy.md
phase_2_preflight_and_runtime_readiness:
references/execution-contract.md
references/runtime-policy.md
phase_3_strict_line_gate:
references/execution-contract.md
phase_4_workload_execution:
references/execution-fsm.md
phase_5_threshold_evaluation:
references/output-contract.md
phase_6_artifact_persist_and_summary:
references/artifact-contract.md
references/output-contract.md
Runtime Suite Rules
- Execute
plans[] strictly by order.
- Respect suite
executionPolicy:
stop_on_fail
continue_on_fail
- Respect per-plan
onFail override:
- Require
suiteType=performance for all plans in the selected execution profile.
- Do not mix regression and performance plans in one execution profile.
Strict Line Key proof is not optional in performance mode.
- Empty
requiredLineHits is invalid and must fail closed before execution.
analysis.msta.enabled=true requires a valid analysis.executionTiming block and explicit method targets.
Context and Read Budget
- Always use bounded or windowed reads for Artifact inspection.
- Prefer canonical Artifact lifecycle tools over direct file reads when the MCP path is available.
- Do not dump full Artifacts into context when a bounded slice is sufficient.
Source of Truth
Always align with:
references/execution-contract.md
references/execution-fsm.md
references/runtime-policy.md
references/reason-codes.md
references/artifact-contract.md
references/output-contract.md
Artifact Rules
- Performance plans live under:
.mcpjvm/<project_name>/plans/performance/<plan_name>/
- Run Artifacts live under:
.mcpjvm/<project_name>/plans/performance/<plan_name>/runs/<run_id>/
- Expected files:
context.resolved.json
execution.result.json
evidence.json
- optional
execution-timing.msta.json
- Performance-plan
contract.json is workload-centric, not step-centric.
MCP-First and Wrapped Transport
- Mandatory MCP tools remain:
probe
artifact_management
route_synthesis when transport facts need discovery
- Wrapped transport remains the canonical request path for entrypoint execution.
- Third-party load generators are implementation details, not the primary Artifact contract.
- If the performance executor/toolchain is unavailable, fail closed with
reasonCode=toolchain_unavailable.
Deterministic Fail-Closed Codes
execution_route_invalid
execution_input_conflict
execution_input_required
performance_profile_required
performance_required_line_hit_missing
performance_load_model_unsupported
performance_threshold_invalid
toolchain_unavailable