Pipeline Gate Check
pipeline_gate_checkEvaluate all gate checks for a pipeline phase without advancing state, recording a receipt on PASS and invalidating earlier receipts on FAIL or INCOMPLETE.
Instructions
Evaluate all gate checks for a pipeline phase without advancing the state. A PASS records the receipt for the batch (content_hash); a FAIL or INCOMPLETE invalidates any earlier receipt for that phase. Also returns read-only information_profiles (3-layer breakdown per row, excluded from receipt hash; length-only signals are advisory WARN, never blocking). deck_dir: deck folder (manifesto + anki_catalog.csv). batch_id: e.g. 'B07'. phase: drafted|curated|enriched|illustrated|validated. qa_csv / cloze_csv: full CSV texts. detail: 'compact' (default; diagnostics aggregated by code with affected rows) or 'full' (every check). Verdict: PASS | INCOMPLETE (a check could not run; no receipt) | FAIL.
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": {
"deck_dir": "<deck_dir>",
"batch_id": "<batch_id>",
"phase": "<phase>",
"qa_csv": "<qa_csv>",
"cloze_csv": "<cloze_csv>"
},
"name": "pipeline_gate_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | Yes | ||
| detail | No | compact | |
| qa_csv | Yes | ||
| batch_id | Yes | ||
| deck_dir | Yes | ||
| cloze_csv | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||