ivd_judgment_codify
Generates a structured codify prompt and raw correction from a ledger entry so an agent can fill diagnosis fields for later persistence.
Instructions
Returns a structured codify prompt for the agent to fill in, plus the original raw correction. The agent fills the 5 codified fields (expected_result, detected_via, diagnosed_cause, proposed_fix, fix_action_type) and then calls ivd_judgment_save_codified to persist. Dormant unless .judgment/ exists. (IVD v3.0)
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": {
"entry_id": "<entry_id>"
},
"name": "ivd_judgment_codify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes | Ledger entry id returned by ivd_judgment_capture. | |
| project_root | No | Optional path to repo root. |