Run the tiered migration gate on a ported project
migrate_gateRuns a three-tier verification gate on a generated Maven project: compiles tests, replays recorded cases through a ReplayTest, and checks semantic trap coverage, returning a per-tier verdict.
Instructions
Run the tiered java-anything gate on a generated Maven project: Prove (mvn test-compile), Gate (mvn test on the generated ReplayTest ? 100% of recorded cases must replay), and Traps (all five semantic traps have recorded cases). Returns a per-tier verdict. Inspiration: rust-anything (MIT).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "migrate_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mvn | No | Maven command (default: project mvnw wrapper, else JAVABYTES_MVN, else 'mvn') | |
| test | No | Replay test class for the Gate tier, e.g. StoreReplayTest (omit to run the Prove tier only) | |
| cases | No | Optional .jsonl cases file for the Traps tier (trap coverage evidence) | |
| project | No | Generated Maven project root (must contain pom.xml) | |
| timeout_seconds | No | Per-Maven-run timeout in seconds (default 600) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| message | No | ||
| success | Yes |