redline_diff
Compare candidate JSONL outputs against a redline suite and return behavioral diffs to catch prompt regressions before release.
Instructions
Compare candidate JSONL outputs against a redline suite and return the behavioral diff.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"candidate_path": "<candidate_path>"
},
"name": "redline_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory where redline should run. | |
| json | No | Print machine-readable JSON. | |
| config | No | Config path to read. | |
| out_md | No | Write Markdown report. | |
| compact | No | Print compact one-line-per-case output. | |
| fail_on | No | Comma-separated statuses that produce exit code 1; use none for report-only. | |
| profile | No | Diff profile: strict or review. | |
| out_html | No | Write self-contained HTML report. | |
| out_json | No | Write JSON report. | |
| out_junit | No | Write JUnit XML report. | |
| out_slack | No | Write Slack Block Kit JSON report. | |
| suite_path | No | Suite JSON path. Defaults to config when omitted. | |
| input_field | No | Candidate prompt field path. | |
| out_comment | No | Write concise PR-comment Markdown report. | |
| output_field | No | Candidate response field path. | |
| candidate_path | Yes | Candidate JSONL path. | |
| max_output_bytes | No | Maximum stdout/stderr bytes returned to the MCP client. |