Skip to main content
Glama

Run recipe acceptance

run_recipe_acceptance
Idempotent

Quote or run selected or complete behavioral acceptance cases for an exact private draft revision. Quotes explain enforced input bounds, output caps and retry allowances in acceptance_cost. Preserve representative fixtures and assertions; remove unnecessary model stages rather than weakening tests to lower a quote. Paid work requires an approved budget. A full run that needs user approval returns supervised_required before any case, reservation, or external effect; first bind every returned required resource with update_recipe_build bind_resource, then open action_url for user approval, and finally resume the same activity with update_recipe_build resume_activity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
case_idsNoRequired for selected_cases, optional for quote, forbidden for full.
revisionYes
build_refYes
idempotency_keyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "acceptance_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "approval_cap_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "basis": {
      -            "const": "enforced_input_bytes_and_output_caps"
      -          },
      -          "cap_policy": {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          "case_count": {
      -            "maximum": 50,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "cases": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "max_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "steps": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "attempt_allowance": {
      -                        "minimum": 1,
      -                        "type": "integer"
      -                      },
      -                      "input_basis": {
      -                        "enum": [
      -                          "acceptance_message_fence",
      -                          "acceptance_schema_context_fallback"
      -                        ]
      -                      },
      -                      "input_token_bound": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "model": {
      -                        "maxLength": 200,
      -                        "type": "string"
      -                      },
      -                      "output_token_cap": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "provider_floor_credits": {
      -                        "maxLength": 64,
      -                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                        "type": "string"
      -                      },
      -                      "step_id": {
      -                        "maxLength": 128,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "step_id",
      -                      "model",
      -                      "input_basis",
      -                      "input_token_bound",
      -                      "output_token_cap",
      -                      "attempt_allowance",
      -                      "provider_floor_credits"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "maxItems": 2,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "max_credits",
      -                "steps"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "expected_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "expected_high_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "forecast": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "basis": {
      -                  "enum": [
      -                    "settled_same_revision_case",
      -                    "settled_same_revision",
      -                    "provider_usage_same_recipe_step",
      -                    "platform_model_usage",
      -                    "static_fraction",
      -                    "hard_bound"
      -                  ]
      -                },
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "expected_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "hard_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "high_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "sample_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "expected_credits",
      -                "high_credits",
      -                "hard_credits",
      -                "basis",
      -                "sample_count"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "forecast_basis": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "maxProperties": 8,
      -            "type": "object"
      -          },
      -          "hard_bound_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "note": {
      -            "maxLength": 400,
      -            "type": "string"
      -          },
      -          "observed_case_costs": {
      -            "anyOf": [
      -              {
      -                "type": "null"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "basis": {
      -                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      -                  },
      -                  "maximum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "minimum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "sample_count": {
      -                    "maximum": 20,
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "sample_count",
      -                  "minimum_credits",
      -                  "maximum_credits",
      -                  "basis"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "basis",
      -          "case_count",
      -          "cases",
      -          "note"
      -        ],
      -        "type": "object"
      -      },
      -      "available_credits": {
      -        "description": "Wallet funds currently available, independent of this build approval.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "budget_capability": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "budget_state": {
      -        "enum": [
      -          "not_redeemed",
      -          "active"
      -        ]
      -      },
      -      "expires_at": {
      -        "format": "date-time",
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "handoff_requirement_count": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "handoff_requirements": {
      -        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "node_id": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "node_path": {
      -              "items": {
      -                "type": [
      -                  "string",
      -                  "integer"
      -                ]
      -              },
      -              "maxItems": 32,
      -              "type": "array"
      -            },
      -            "node_type": {
      -              "maxLength": 64,
      -              "type": "string"
      -            },
      -            "parameter_digest": {
      -              "maxLength": 64,
      -              "pattern": "^[0-9a-f]{64}$",
      -              "type": "string"
      -            },
      -            "qualification_route": {
      -              "enum": [
      -                "conditional",
      -                "supervised"
      -              ]
      -            },
      -            "reason": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "required_decision": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "pattern": "^[0-9a-f]{32}$",
      -              "type": "string"
      -            },
      -            "resource_paths": {
      -              "items": {
      -                "maxLength": 256,
      -                "type": "string"
      -              },
      -              "maxItems": 8,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "requirement_id",
      -            "node_id",
      -            "node_type",
      -            "node_path",
      -            "qualification_route",
      -            "reason",
      -            "required_decision",
      -            "resource_paths",
      -            "parameter_digest"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "handoff_requirements_complete": {
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "enum": [
      -          "review",
      -          "acceptance"
      -        ]
      -      },
      -      "max_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "instruction": {
      -            "maxLength": 300,
      -            "type": "string"
      -          },
      -          "operation": {
      -            "const": "set_budget"
      -          },
      -          "tool": {
      -            "const": "update_recipe_build"
      -          }
      -        },
      -        "required": [
      -          "tool",
      -          "operation",
      -          "instruction"
      -        ],
      -        "type": "object"
      -      },
      -      "outcome": {
      -        "const": "quoted"
      -      },
      -      "planned_fan_out": {
      -        "maximum": 50,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "qualification_route": {
      -        "enum": [
      -          "automatic",
      -          "conditional",
      -          "supervised"
      -        ]
      -      },
      -      "remaining_build_budget": {
      -        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "review_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "utf8_byte_upper_bound"
      -          },
      -          "estimated_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "input_token_bound": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "model": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "output_token_cap": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "prompt_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "provider": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "section_bytes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "acceptance_suite": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "input_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "intent": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "output_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "research_evidence": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "spec": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "estimated_credits",
      -          "limit_credits",
      -          "provider",
      -          "model",
      -          "basis",
      -          "input_token_bound",
      -          "output_token_cap",
      -          "prompt_bytes",
      -          "section_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "unsupported_nodes": {
      -        "items": {
      -          "maxLength": 64,
      -          "type": "string"
      -        },
      -        "maxItems": 24,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "kind",
      -      "max_credits",
      -      "available_credits",
      -      "remaining_build_budget",
      -      "budget_capability",
      -      "expires_at",
      -      "budget_state",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "acceptance_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "approval_cap_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "basis": {
      -            "const": "enforced_input_bytes_and_output_caps"
      -          },
      -          "cap_policy": {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          "case_count": {
      -            "maximum": 50,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "cases": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "max_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "steps": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "attempt_allowance": {
      -                        "minimum": 1,
      -                        "type": "integer"
      -                      },
      -                      "input_basis": {
      -                        "enum": [
      -                          "acceptance_message_fence",
      -                          "acceptance_schema_context_fallback"
      -                        ]
      -                      },
      -                      "input_token_bound": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "model": {
      -                        "maxLength": 200,
      -                        "type": "string"
      -                      },
      -                      "output_token_cap": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "provider_floor_credits": {
      -                        "maxLength": 64,
      -                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                        "type": "string"
      -                      },
      -                      "step_id": {
      -                        "maxLength": 128,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "step_id",
      -                      "model",
      -                      "input_basis",
      -                      "input_token_bound",
      -                      "output_token_cap",
      -                      "attempt_allowance",
      -                      "provider_floor_credits"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "maxItems": 2,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "max_credits",
      -                "steps"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "expected_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "expected_high_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "forecast": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "basis": {
      -                  "enum": [
      -                    "settled_same_revision_case",
      -                    "settled_same_revision",
      -                    "provider_usage_same_recipe_step",
      -                    "platform_model_usage",
      -                    "static_fraction",
      -                    "hard_bound"
      -                  ]
      -                },
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "expected_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "hard_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "high_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "sample_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "expected_credits",
      -                "high_credits",
      -                "hard_credits",
      -                "basis",
      -                "sample_count"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "forecast_basis": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "maxProperties": 8,
      -            "type": "object"
      -          },
      -          "hard_bound_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "note": {
      -            "maxLength": 400,
      -            "type": "string"
      -          },
      -          "observed_case_costs": {
      -            "anyOf": [
      -              {
      -                "type": "null"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "basis": {
      -                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      -                  },
      -                  "maximum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "minimum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "sample_count": {
      -                    "maximum": 20,
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "sample_count",
      -                  "minimum_credits",
      -                  "maximum_credits",
      -                  "basis"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "basis",
      -          "case_count",
      -          "cases",
      -          "note"
      -        ],
      -        "type": "object"
      -      },
      -      "available_credits": {
      -        "description": "Wallet funds currently available, independent of this build approval.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "budget_state": {
      -        "enum": [
      -          "not_redeemed",
      -          "active"
      -        ]
      -      },
      -      "handoff_requirement_count": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "handoff_requirements": {
      -        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "node_id": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "node_path": {
      -              "items": {
      -                "type": [
      -                  "string",
      -                  "integer"
      -                ]
      -              },
      -              "maxItems": 32,
      -              "type": "array"
      -            },
      -            "node_type": {
      -              "maxLength": 64,
      -              "type": "string"
      -            },
      -            "parameter_digest": {
      -              "maxLength": 64,
      -              "pattern": "^[0-9a-f]{64}$",
      -              "type": "string"
      -            },
      -            "qualification_route": {
      -              "enum": [
      -                "conditional",
      -                "supervised"
      -              ]
      -            },
      -            "reason": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "required_decision": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "pattern": "^[0-9a-f]{32}$",
      -              "type": "string"
      -            },
      -            "resource_paths": {
      -              "items": {
      -                "maxLength": 256,
      -                "type": "string"
      -              },
      -              "maxItems": 8,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "requirement_id",
      -            "node_id",
      -            "node_type",
      -            "node_path",
      -            "qualification_route",
      -            "reason",
      -            "required_decision",
      -            "resource_paths",
      -            "parameter_digest"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "handoff_requirements_complete": {
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "enum": [
      -          "review",
      -          "acceptance"
      -        ]
      -      },
      -      "max_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "mode": {
      -                "const": "execute"
      -              },
      -              "tool": {
      -                "const": "review_recipe_build"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "mode",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "mode": {
      -                "const": "full"
      -              },
      -              "tool": {
      -                "const": "run_recipe_acceptance"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "mode",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "case_ids": {
      -                "items": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "maxItems": 50,
      -                "minItems": 1,
      -                "type": "array",
      -                "uniqueItems": true
      -              },
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "mode": {
      -                "const": "selected_cases"
      -              },
      -              "tool": {
      -                "const": "run_recipe_acceptance"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "mode",
      -              "case_ids",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "activity_ref": {
      -                "maxLength": 4096,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "tool": {
      -                "const": "get_recipe_build_activity"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "activity_ref",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "outcome": {
      -        "const": "quoted"
      -      },
      -      "planned_fan_out": {
      -        "maximum": 50,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "qualification_route": {
      -        "enum": [
      -          "automatic",
      -          "conditional",
      -          "supervised"
      -        ]
      -      },
      -      "remaining_build_budget": {
      -        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "review_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "utf8_byte_upper_bound"
      -          },
      -          "estimated_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "input_token_bound": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "model": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "output_token_cap": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "prompt_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "provider": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "section_bytes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "acceptance_suite": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "input_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "intent": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "output_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "research_evidence": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "spec": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "estimated_credits",
      -          "limit_credits",
      -          "provider",
      -          "model",
      -          "basis",
      -          "input_token_bound",
      -          "output_token_cap",
      -          "prompt_bytes",
      -          "section_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "unsupported_nodes": {
      -        "items": {
      -          "maxLength": 64,
      -          "type": "string"
      -        },
      -        "maxItems": 24,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "kind",
      -      "max_credits",
      -      "available_credits",
      -      "remaining_build_budget",
      -      "budget_state",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity_ref": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "fan_out": {
      -        "maximum": 50,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "outcome": {
      -        "const": "queued"
      -      },
      -      "poll_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "revision": {
      -        "maxLength": 64,
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "state": {
      -        "const": "queued"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "activity_ref",
      -      "state",
      -      "revision",
      -      "poll_after_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity_ref": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "handoff": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "action_url": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "activity_ref": {
      -            "maxLength": 4096,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "effect_digest": {
      -            "maxLength": 64,
      -            "pattern": "^[0-9a-f]{64}$",
      -            "type": "string"
      -          },
      -          "effects": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "details": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "additional_text": {},
      -                    "body_template": {},
      -                    "child_recipe_ulid": {},
      -                    "child_revision_sha": {},
      -                    "destination_mode": {},
      -                    "duration": {},
      -                    "external_conflict_mode": {},
      -                    "external_target_ulid": {},
      -                    "filename": {},
      -                    "folder_name": {},
      -                    "folder_ulid": {},
      -                    "format": {},
      -                    "html_only": {},
      -                    "input_mapping": {},
      -                    "local_conflict_mode": {},
      -                    "max_chunks": {},
      -                    "name": {},
      -                    "nested_effects": {},
      -                    "options": {},
      -                    "outcome_description": {},
      -                    "outcome_max_iterations": {},
      -                    "outcome_rubric": {},
      -                    "output_conflict_mode": {},
      -                    "params": {},
      -                    "pin_revision": {},
      -                    "preamble_enabled": {},
      -                    "prompt": {},
      -                    "query": {},
      -                    "score_threshold": {},
      -                    "source": {},
      -                    "sources": {},
      -                    "subject": {},
      -                    "system_message": {},
      -                    "title": {},
      -                    "to": {},
      -                    "tool_groups": {},
      -                    "top_k": {},
      -                    "visibility": {}
      -                  },
      -                  "required": [],
      -                  "type": "object"
      -                },
      -                "execution_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "node_id": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "node_type": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "node_id",
      -                "node_type",
      -                "execution_count",
      -                "details"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          },
      -          "expires_at": {
      -            "format": "date-time",
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "handoff_ref": {
      -            "maxLength": 4096,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "reason": {
      -            "maxLength": 500,
      -            "type": "string"
      -          },
      -          "required_decisions": {
      -            "items": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "maxItems": 100,
      -            "type": "array",
      -            "uniqueItems": true
      -          },
      -          "resources": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "binding_status": {
      -                  "enum": [
      -                    "required",
      -                    "bound"
      -                  ]
      -                },
      -                "node_id": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "node_path": {
      -                  "items": {
      -                    "type": [
      -                      "string",
      -                      "integer"
      -                    ]
      -                  },
      -                  "maxItems": 32,
      -                  "type": "array"
      -                },
      -                "node_type": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "parameter_digest": {
      -                  "maxLength": 64,
      -                  "pattern": "^[0-9a-f]{64}$",
      -                  "type": "string"
      -                },
      -                "qualification_route": {
      -                  "enum": [
      -                    "conditional",
      -                    "supervised"
      -                  ]
      -                },
      -                "reason": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "required_decision": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "requirement_id": {
      -                  "pattern": "^[0-9a-f]{32}$",
      -                  "type": "string"
      -                },
      -                "resource_paths": {
      -                  "items": {
      -                    "maxLength": 256,
      -                    "type": "string"
      -                  },
      -                  "maxItems": 8,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "requirement_id",
      -                "node_id",
      -                "node_type",
      -                "node_path",
      -                "qualification_route",
      -                "reason",
      -                "required_decision",
      -                "resource_paths",
      -                "parameter_digest",
      -                "binding_status"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          },
      -          "resume": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "operation": {
      -                "const": "resume_activity"
      -              },
      -              "tool": {
      -                "const": "update_recipe_build"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "operation"
      -            ],
      -            "type": "object"
      -          },
      -          "revision": {
      -            "maxLength": 64,
      -            "pattern": "^[0-9a-f]{64}$",
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "pending",
      -              "approved",
      -              "cancelled",
      -              "expired",
      -              "consumed"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "handoff_ref",
      -          "activity_ref",
      -          "revision",
      -          "status",
      -          "effect_digest",
      -          "reason",
      -          "required_decisions",
      -          "effects",
      -          "expires_at",
      -          "action_url",
      -          "resume"
      -        ],
      -        "type": "object"
      -      },
      -      "outcome": {
      -        "const": "supervised_required"
      -      },
      -      "qualification_route": {
      -        "const": "supervised"
      -      },
      -      "revision": {
      -        "maxLength": 64,
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "state": {
      -        "const": "blocked"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "activity_ref",
      -      "state",
      -      "revision",
      -      "qualification_route",
      -      "handoff"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "case_id": {
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "error": {
      -        "enum": [
      -          "not_found",
      -          "invalid_reference",
      -          "invalid_params",
      -          "revision_conflict",
      -          "idempotency_conflict",
      -          "document_too_large",
      -          "payload_too_large",
      -          "chunk_sequence_invalid",
      -          "chunk_digest_mismatch",
      -          "chunk_expired",
      -          "invalid_cursor",
      -          "suite_duplicate_case_id",
      -          "suite_unresolved_pair",
      -          "suite_schema_invalid",
      -          "suite_missing_categories",
      -          "suite_weak_normal_oracle",
      -          "suite_too_large",
      -          "unknown_case_id",
      -          "duplicate_case_id",
      -          "incomplete_case_selection",
      -          "unsupported_node_kind",
      -          "research_required",
      -          "review_required",
      -          "acceptance_required",
      -          "qualification_stale",
      -          "budget_not_approved",
      -          "budget_exhausted",
      -          "budget_superseded",
      -          "budget_capability_consumed",
      -          "budget_capability_expired",
      -          "acceptance_case_cost_exceeded",
      -          "authoring_budget_exceeded",
      -          "authoring_grant_not_active",
      -          "insufficient_credits",
      -          "billing_anomaly",
      -          "activity_stalled",
      -          "activity_in_flight",
      -          "handoff_approval_required",
      -          "handoff_expired",
      -          "handoff_not_pending",
      -          "handoff_stale",
      -          "handoff_disclosure_incomplete",
      -          "feature_unavailable",
      -          "resource_unavailable",
      -          "resource_binding_required",
      -          "resource_requirement_not_found",
      -          "activity_not_cancellable",
      -          "quota_exceeded",
      -          "rate_limited",
      -          "already_published",
      -          "safety_locked",
      -          "build_terminal",
      -          "commit_capability_expired",
      -          "account_unavailable",
      -          "limit_unavailable"
      -        ]
      -      },
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "field": {
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "hint": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "issue": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "field": {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "operator": {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "path": {
      -            "maxLength": 512,
      -            "type": "string"
      -          },
      -          "type": {
      -            "maxLength": 64,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "path"
      -        ],
      -        "type": "object"
      -      },
      -      "limit_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "missing_categories": {
      -        "items": {
      -          "maxLength": 64,
      -          "type": "string"
      -        },
      -        "maxItems": 10,
      -        "type": "array",
      -        "uniqueItems": true
      -      },
      -      "repair_hint": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "retry_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "review_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "utf8_byte_upper_bound"
      -          },
      -          "estimated_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "input_token_bound": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "model": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "output_token_cap": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "prompt_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "provider": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "section_bytes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "acceptance_suite": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "input_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "intent": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "output_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "research_evidence": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "spec": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "estimated_credits",
      -          "limit_credits",
      -          "provider",
      -          "model",
      -          "basis",
      -          "input_token_bound",
      -          "output_token_cap",
      -          "prompt_bytes",
      -          "section_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "acceptance_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "approval_cap_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "basis": {
      +            "const": "enforced_input_bytes_and_output_caps"
      +          },
      +          "cap_policy": {
      +            "maxLength": 120,
      +            "type": "string"
      +          },
      +          "case_count": {
      +            "maximum": 50,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "cases": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "max_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "steps": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "attempt_allowance": {
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      "input_basis": {
      +                        "enum": [
      +                          "acceptance_message_fence",
      +                          "acceptance_schema_context_fallback"
      +                        ]
      +                      },
      +                      "input_token_bound": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "model": {
      +                        "maxLength": 200,
      +                        "type": "string"
      +                      },
      +                      "output_token_cap": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "provider_floor_credits": {
      +                        "maxLength": 64,
      +                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                        "type": "string"
      +                      },
      +                      "step_id": {
      +                        "maxLength": 128,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "step_id",
      +                      "model",
      +                      "input_basis",
      +                      "input_token_bound",
      +                      "output_token_cap",
      +                      "attempt_allowance",
      +                      "provider_floor_credits"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 2,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "max_credits",
      +                "steps"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "expected_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "expected_high_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "forecast": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "basis": {
      +                  "enum": [
      +                    "settled_same_revision_case",
      +                    "settled_same_revision",
      +                    "provider_usage_same_recipe_step",
      +                    "platform_model_usage",
      +                    "static_fraction",
      +                    "hard_bound"
      +                  ]
      +                },
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "expected_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "hard_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "high_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "sample_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "expected_credits",
      +                "high_credits",
      +                "hard_credits",
      +                "basis",
      +                "sample_count"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "forecast_basis": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "maxProperties": 8,
      +            "type": "object"
      +          },
      +          "hard_bound_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "note": {
      +            "maxLength": 400,
      +            "type": "string"
      +          },
      +          "observed_case_costs": {
      +            "anyOf": [
      +              {
      +                "type": "null"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "basis": {
      +                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      +                  },
      +                  "maximum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "minimum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "sample_count": {
      +                    "maximum": 20,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "sample_count",
      +                  "minimum_credits",
      +                  "maximum_credits",
      +                  "basis"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "basis",
      +          "case_count",
      +          "cases",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "available_credits": {
      +        "description": "Wallet funds currently available, independent of this build approval.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "budget_capability": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "budget_state": {
      +        "enum": [
      +          "not_redeemed",
      +          "active"
      +        ]
      +      },
      +      "expires_at": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "handoff_requirement_count": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "handoff_requirements": {
      +        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "node_id": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "node_path": {
      +              "items": {
      +                "type": [
      +                  "string",
      +                  "integer"
      +                ]
      +              },
      +              "maxItems": 32,
      +              "type": "array"
      +            },
      +            "node_type": {
      +              "maxLength": 64,
      +              "type": "string"
      +            },
      +            "parameter_digest": {
      +              "maxLength": 64,
      +              "pattern": "^[0-9a-f]{64}$",
      +              "type": "string"
      +            },
      +            "qualification_route": {
      +              "enum": [
      +                "conditional",
      +                "supervised"
      +              ]
      +            },
      +            "reason": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "required_decision": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "pattern": "^[0-9a-f]{32}$",
      +              "type": "string"
      +            },
      +            "resource_paths": {
      +              "items": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "maxItems": 8,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "requirement_id",
      +            "node_id",
      +            "node_type",
      +            "node_path",
      +            "qualification_route",
      +            "reason",
      +            "required_decision",
      +            "resource_paths",
      +            "parameter_digest"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "handoff_requirements_complete": {
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "enum": [
      +          "review",
      +          "acceptance"
      +        ]
      +      },
      +      "max_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "instruction": {
      +            "maxLength": 300,
      +            "type": "string"
      +          },
      +          "operation": {
      +            "const": "set_budget"
      +          },
      +          "tool": {
      +            "const": "update_recipe_build"
      +          }
      +        },
      +        "required": [
      +          "tool",
      +          "operation",
      +          "instruction"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "quoted"
      +      },
      +      "planned_fan_out": {
      +        "maximum": 50,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "qualification_route": {
      +        "enum": [
      +          "automatic",
      +          "conditional",
      +          "supervised"
      +        ]
      +      },
      +      "remaining_build_budget": {
      +        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "review_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "utf8_byte_upper_bound"
      +          },
      +          "estimated_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "input_token_bound": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "model": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "output_token_cap": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "prompt_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "provider": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "section_bytes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "acceptance_suite": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "input_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "intent": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "output_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "research_evidence": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "spec": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "estimated_credits",
      +          "limit_credits",
      +          "provider",
      +          "model",
      +          "basis",
      +          "input_token_bound",
      +          "output_token_cap",
      +          "prompt_bytes",
      +          "section_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "unsupported_nodes": {
      +        "items": {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        "maxItems": 24,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "kind",
      +      "max_credits",
      +      "available_credits",
      +      "remaining_build_budget",
      +      "budget_capability",
      +      "expires_at",
      +      "budget_state",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "acceptance_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "approval_cap_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "basis": {
      +            "const": "enforced_input_bytes_and_output_caps"
      +          },
      +          "cap_policy": {
      +            "maxLength": 120,
      +            "type": "string"
      +          },
      +          "case_count": {
      +            "maximum": 50,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "cases": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "max_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "steps": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "attempt_allowance": {
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      "input_basis": {
      +                        "enum": [
      +                          "acceptance_message_fence",
      +                          "acceptance_schema_context_fallback"
      +                        ]
      +                      },
      +                      "input_token_bound": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "model": {
      +                        "maxLength": 200,
      +                        "type": "string"
      +                      },
      +                      "output_token_cap": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "provider_floor_credits": {
      +                        "maxLength": 64,
      +                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                        "type": "string"
      +                      },
      +                      "step_id": {
      +                        "maxLength": 128,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "step_id",
      +                      "model",
      +                      "input_basis",
      +                      "input_token_bound",
      +                      "output_token_cap",
      +                      "attempt_allowance",
      +                      "provider_floor_credits"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 2,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "max_credits",
      +                "steps"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "expected_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "expected_high_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "forecast": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "basis": {
      +                  "enum": [
      +                    "settled_same_revision_case",
      +                    "settled_same_revision",
      +                    "provider_usage_same_recipe_step",
      +                    "platform_model_usage",
      +                    "static_fraction",
      +                    "hard_bound"
      +                  ]
      +                },
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "expected_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "hard_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "high_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "sample_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "expected_credits",
      +                "high_credits",
      +                "hard_credits",
      +                "basis",
      +                "sample_count"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "forecast_basis": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "maxProperties": 8,
      +            "type": "object"
      +          },
      +          "hard_bound_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "note": {
      +            "maxLength": 400,
      +            "type": "string"
      +          },
      +          "observed_case_costs": {
      +            "anyOf": [
      +              {
      +                "type": "null"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "basis": {
      +                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      +                  },
      +                  "maximum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "minimum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "sample_count": {
      +                    "maximum": 20,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "sample_count",
      +                  "minimum_credits",
      +                  "maximum_credits",
      +                  "basis"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "basis",
      +          "case_count",
      +          "cases",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "available_credits": {
      +        "description": "Wallet funds currently available, independent of this build approval.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "budget_capability": {
      +        "not": {}
      +      },
      +      "budget_state": {
      +        "enum": [
      +          "not_redeemed",
      +          "active"
      +        ]
      +      },
      +      "expires_at": {
      +        "not": {}
      +      },
      +      "handoff_requirement_count": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "handoff_requirements": {
      +        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "node_id": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "node_path": {
      +              "items": {
      +                "type": [
      +                  "string",
      +                  "integer"
      +                ]
      +              },
      +              "maxItems": 32,
      +              "type": "array"
      +            },
      +            "node_type": {
      +              "maxLength": 64,
      +              "type": "string"
      +            },
      +            "parameter_digest": {
      +              "maxLength": 64,
      +              "pattern": "^[0-9a-f]{64}$",
      +              "type": "string"
      +            },
      +            "qualification_route": {
      +              "enum": [
      +                "conditional",
      +                "supervised"
      +              ]
      +            },
      +            "reason": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "required_decision": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "pattern": "^[0-9a-f]{32}$",
      +              "type": "string"
      +            },
      +            "resource_paths": {
      +              "items": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "maxItems": 8,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "requirement_id",
      +            "node_id",
      +            "node_type",
      +            "node_path",
      +            "qualification_route",
      +            "reason",
      +            "required_decision",
      +            "resource_paths",
      +            "parameter_digest"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "handoff_requirements_complete": {
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "enum": [
      +          "review",
      +          "acceptance"
      +        ]
      +      },
      +      "max_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "mode": {
      +                "const": "execute"
      +              },
      +              "tool": {
      +                "const": "review_recipe_build"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "mode",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "mode": {
      +                "const": "full"
      +              },
      +              "tool": {
      +                "const": "run_recipe_acceptance"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "mode",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "case_ids": {
      +                "items": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "maxItems": 50,
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "mode": {
      +                "const": "selected_cases"
      +              },
      +              "tool": {
      +                "const": "run_recipe_acceptance"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "mode",
      +              "case_ids",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "activity_ref": {
      +                "maxLength": 4096,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "tool": {
      +                "const": "get_recipe_build_activity"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "activity_ref",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "outcome": {
      +        "const": "quoted"
      +      },
      +      "planned_fan_out": {
      +        "maximum": 50,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "qualification_route": {
      +        "enum": [
      +          "automatic",
      +          "conditional",
      +          "supervised"
      +        ]
      +      },
      +      "remaining_build_budget": {
      +        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "review_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "utf8_byte_upper_bound"
      +          },
      +          "estimated_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "input_token_bound": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "model": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "output_token_cap": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "prompt_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "provider": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "section_bytes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "acceptance_suite": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "input_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "intent": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "output_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "research_evidence": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "spec": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "estimated_credits",
      +          "limit_credits",
      +          "provider",
      +          "model",
      +          "basis",
      +          "input_token_bound",
      +          "output_token_cap",
      +          "prompt_bytes",
      +          "section_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "unsupported_nodes": {
      +        "items": {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        "maxItems": 24,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "kind",
      +      "max_credits",
      +      "available_credits",
      +      "remaining_build_budget",
      +      "budget_state",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "activity_ref": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "fan_out": {
      +        "maximum": 50,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "outcome": {
      +        "const": "queued"
      +      },
      +      "poll_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "revision": {
      +        "maxLength": 64,
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "state": {
      +        "const": "queued"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "activity_ref",
      +      "state",
      +      "revision",
      +      "poll_after_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "activity_ref": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "handoff": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action_url": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "activity_ref": {
      +            "maxLength": 4096,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "effect_digest": {
      +            "maxLength": 64,
      +            "pattern": "^[0-9a-f]{64}$",
      +            "type": "string"
      +          },
      +          "effects": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "details": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "additional_text": {},
      +                    "body_template": {},
      +                    "child_recipe_ulid": {},
      +                    "child_revision_sha": {},
      +                    "destination_mode": {},
      +                    "duration": {},
      +                    "external_conflict_mode": {},
      +                    "external_target_ulid": {},
      +                    "filename": {},
      +                    "folder_name": {},
      +                    "folder_ulid": {},
      +                    "format": {},
      +                    "html_only": {},
      +                    "input_mapping": {},
      +                    "local_conflict_mode": {},
      +                    "max_chunks": {},
      +                    "name": {},
      +                    "nested_effects": {},
      +                    "options": {},
      +                    "outcome_description": {},
      +                    "outcome_max_iterations": {},
      +                    "outcome_rubric": {},
      +                    "output_conflict_mode": {},
      +                    "params": {},
      +                    "pin_revision": {},
      +                    "preamble_enabled": {},
      +                    "prompt": {},
      +                    "query": {},
      +                    "score_threshold": {},
      +                    "source": {},
      +                    "sources": {},
      +                    "subject": {},
      +                    "system_message": {},
      +                    "title": {},
      +                    "to": {},
      +                    "tool_groups": {},
      +                    "top_k": {},
      +                    "visibility": {}
      +                  },
      +                  "required": [],
      +                  "type": "object"
      +                },
      +                "execution_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "node_id": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "node_type": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "node_id",
      +                "node_type",
      +                "execution_count",
      +                "details"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          },
      +          "expires_at": {
      +            "format": "date-time",
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "handoff_ref": {
      +            "maxLength": 4096,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reason": {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          "required_decisions": {
      +            "items": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "maxItems": 100,
      +            "type": "array",
      +            "uniqueItems": true
      +          },
      +          "resources": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "binding_status": {
      +                  "enum": [
      +                    "required",
      +                    "bound"
      +                  ]
      +                },
      +                "node_id": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "node_path": {
      +                  "items": {
      +                    "type": [
      +                      "string",
      +                      "integer"
      +                    ]
      +                  },
      +                  "maxItems": 32,
      +                  "type": "array"
      +                },
      +                "node_type": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "parameter_digest": {
      +                  "maxLength": 64,
      +                  "pattern": "^[0-9a-f]{64}$",
      +                  "type": "string"
      +                },
      +                "qualification_route": {
      +                  "enum": [
      +                    "conditional",
      +                    "supervised"
      +                  ]
      +                },
      +                "reason": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "required_decision": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "requirement_id": {
      +                  "pattern": "^[0-9a-f]{32}$",
      +                  "type": "string"
      +                },
      +                "resource_paths": {
      +                  "items": {
      +                    "maxLength": 256,
      +                    "type": "string"
      +                  },
      +                  "maxItems": 8,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "requirement_id",
      +                "node_id",
      +                "node_type",
      +                "node_path",
      +                "qualification_route",
      +                "reason",
      +                "required_decision",
      +                "resource_paths",
      +                "parameter_digest",
      +                "binding_status"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          },
      +          "resume": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "operation": {
      +                "const": "resume_activity"
      +              },
      +              "tool": {
      +                "const": "update_recipe_build"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "operation"
      +            ],
      +            "type": "object"
      +          },
      +          "revision": {
      +            "maxLength": 64,
      +            "pattern": "^[0-9a-f]{64}$",
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "pending",
      +              "approved",
      +              "cancelled",
      +              "expired",
      +              "consumed"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "handoff_ref",
      +          "activity_ref",
      +          "revision",
      +          "status",
      +          "effect_digest",
      +          "reason",
      +          "required_decisions",
      +          "effects",
      +          "expires_at",
      +          "action_url",
      +          "resume"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "supervised_required"
      +      },
      +      "qualification_route": {
      +        "const": "supervised"
      +      },
      +      "revision": {
      +        "maxLength": 64,
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "state": {
      +        "const": "blocked"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "activity_ref",
      +      "state",
      +      "revision",
      +      "qualification_route",
      +      "handoff"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "case_id": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "error": {
      +        "enum": [
      +          "not_found",
      +          "invalid_reference",
      +          "invalid_params",
      +          "revision_conflict",
      +          "idempotency_conflict",
      +          "document_too_large",
      +          "payload_too_large",
      +          "chunk_sequence_invalid",
      +          "chunk_digest_mismatch",
      +          "chunk_expired",
      +          "invalid_cursor",
      +          "suite_duplicate_case_id",
      +          "suite_unresolved_pair",
      +          "suite_schema_invalid",
      +          "suite_missing_categories",
      +          "suite_weak_normal_oracle",
      +          "suite_too_large",
      +          "unknown_case_id",
      +          "duplicate_case_id",
      +          "incomplete_case_selection",
      +          "unsupported_node_kind",
      +          "research_required",
      +          "review_required",
      +          "acceptance_required",
      +          "qualification_stale",
      +          "budget_not_approved",
      +          "budget_exhausted",
      +          "budget_superseded",
      +          "budget_capability_consumed",
      +          "budget_capability_expired",
      +          "acceptance_case_cost_exceeded",
      +          "authoring_budget_exceeded",
      +          "authoring_grant_not_active",
      +          "insufficient_credits",
      +          "billing_anomaly",
      +          "activity_stalled",
      +          "activity_in_flight",
      +          "handoff_approval_required",
      +          "handoff_expired",
      +          "handoff_not_pending",
      +          "handoff_stale",
      +          "handoff_disclosure_incomplete",
      +          "feature_unavailable",
      +          "resource_unavailable",
      +          "resource_binding_required",
      +          "resource_requirement_not_found",
      +          "activity_not_cancellable",
      +          "quota_exceeded",
      +          "rate_limited",
      +          "already_published",
      +          "safety_locked",
      +          "build_terminal",
      +          "commit_capability_expired",
      +          "account_unavailable",
      +          "limit_unavailable"
      +        ]
      +      },
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "field": {
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "hint": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "issue": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "field": {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "operator": {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "path": {
      +            "maxLength": 512,
      +            "type": "string"
      +          },
      +          "type": {
      +            "maxLength": 64,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "path"
      +        ],
      +        "type": "object"
      +      },
      +      "limit_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "missing_categories": {
      +        "items": {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        "maxItems": 10,
      +        "type": "array",
      +        "uniqueItems": true
      +      },
      +      "repair_hint": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "retry_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "review_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "utf8_byte_upper_bound"
      +          },
      +          "estimated_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "input_token_bound": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "model": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "output_token_cap": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "prompt_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "provider": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "section_bytes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "acceptance_suite": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "input_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "intent": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "output_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "research_evidence": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "spec": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "estimated_credits",
      +          "limit_credits",
      +          "provider",
      +          "model",
      +          "basis",
      +          "input_token_bound",
      +          "output_token_cap",
      +          "prompt_bytes",
      +          "section_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "acceptance_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "approval_cap_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "basis": {
      -            "const": "enforced_input_bytes_and_output_caps"
      -          },
      -          "cap_policy": {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          "case_count": {
      -            "maximum": 50,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "cases": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "max_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "steps": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "attempt_allowance": {
      -                        "minimum": 1,
      -                        "type": "integer"
      -                      },
      -                      "input_basis": {
      -                        "enum": [
      -                          "acceptance_message_fence",
      -                          "acceptance_schema_context_fallback"
      -                        ]
      -                      },
      -                      "input_token_bound": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "model": {
      -                        "maxLength": 200,
      -                        "type": "string"
      -                      },
      -                      "output_token_cap": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "provider_floor_credits": {
      -                        "maxLength": 64,
      -                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                        "type": "string"
      -                      },
      -                      "step_id": {
      -                        "maxLength": 128,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "step_id",
      -                      "model",
      -                      "input_basis",
      -                      "input_token_bound",
      -                      "output_token_cap",
      -                      "attempt_allowance",
      -                      "provider_floor_credits"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "maxItems": 2,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "max_credits",
      -                "steps"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "expected_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "expected_high_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "forecast": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "basis": {
      -                  "enum": [
      -                    "settled_same_revision_case",
      -                    "settled_same_revision",
      -                    "provider_usage_same_recipe_step",
      -                    "platform_model_usage",
      -                    "static_fraction",
      -                    "hard_bound"
      -                  ]
      -                },
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "expected_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "hard_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "high_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "sample_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "expected_credits",
      -                "high_credits",
      -                "hard_credits",
      -                "basis",
      -                "sample_count"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "forecast_basis": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "maxProperties": 8,
      -            "type": "object"
      -          },
      -          "hard_bound_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "note": {
      -            "maxLength": 400,
      -            "type": "string"
      -          },
      -          "observed_case_costs": {
      -            "anyOf": [
      -              {
      -                "type": "null"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "basis": {
      -                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      -                  },
      -                  "maximum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "minimum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "sample_count": {
      -                    "maximum": 20,
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "sample_count",
      -                  "minimum_credits",
      -                  "maximum_credits",
      -                  "basis"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "basis",
      -          "case_count",
      -          "cases",
      -          "note"
      -        ],
      -        "type": "object"
      -      },
      -      "available_credits": {
      -        "description": "Wallet funds currently available, independent of this build approval.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "budget_capability": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "budget_state": {
      -        "enum": [
      -          "not_redeemed",
      -          "active"
      -        ]
      -      },
      -      "expires_at": {
      -        "format": "date-time",
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "handoff_requirement_count": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "handoff_requirements": {
      -        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "node_id": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "node_path": {
      -              "items": {
      -                "type": [
      -                  "string",
      -                  "integer"
      -                ]
      -              },
      -              "maxItems": 32,
      -              "type": "array"
      -            },
      -            "node_type": {
      -              "maxLength": 64,
      -              "type": "string"
      -            },
      -            "parameter_digest": {
      -              "maxLength": 64,
      -              "pattern": "^[0-9a-f]{64}$",
      -              "type": "string"
      -            },
      -            "qualification_route": {
      -              "enum": [
      -                "conditional",
      -                "supervised"
      -              ]
      -            },
      -            "reason": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "required_decision": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "pattern": "^[0-9a-f]{32}$",
      -              "type": "string"
      -            },
      -            "resource_paths": {
      -              "items": {
      -                "maxLength": 256,
      -                "type": "string"
      -              },
      -              "maxItems": 8,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "requirement_id",
      -            "node_id",
      -            "node_type",
      -            "node_path",
      -            "qualification_route",
      -            "reason",
      -            "required_decision",
      -            "resource_paths",
      -            "parameter_digest"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "handoff_requirements_complete": {
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "enum": [
      -          "review",
      -          "acceptance"
      -        ]
      -      },
      -      "max_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "instruction": {
      -            "maxLength": 300,
      -            "type": "string"
      -          },
      -          "operation": {
      -            "const": "set_budget"
      -          },
      -          "tool": {
      -            "const": "update_recipe_build"
      -          }
      -        },
      -        "required": [
      -          "tool",
      -          "operation",
      -          "instruction"
      -        ],
      -        "type": "object"
      -      },
      -      "outcome": {
      -        "const": "quoted"
      -      },
      -      "planned_fan_out": {
      -        "maximum": 50,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "qualification_route": {
      -        "enum": [
      -          "automatic",
      -          "conditional",
      -          "supervised"
      -        ]
      -      },
      -      "remaining_build_budget": {
      -        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "review_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "utf8_byte_upper_bound"
      -          },
      -          "estimated_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "input_token_bound": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "model": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "output_token_cap": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "prompt_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "provider": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "section_bytes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "acceptance_suite": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "input_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "intent": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "output_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "research_evidence": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "spec": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "estimated_credits",
      -          "limit_credits",
      -          "provider",
      -          "model",
      -          "basis",
      -          "input_token_bound",
      -          "output_token_cap",
      -          "prompt_bytes",
      -          "section_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "unsupported_nodes": {
      -        "items": {
      -          "maxLength": 64,
      -          "type": "string"
      -        },
      -        "maxItems": 24,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "kind",
      -      "max_credits",
      -      "available_credits",
      -      "remaining_build_budget",
      -      "budget_capability",
      -      "expires_at",
      -      "budget_state",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "acceptance_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "approval_cap_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "basis": {
      -            "const": "enforced_input_bytes_and_output_caps"
      -          },
      -          "cap_policy": {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          "case_count": {
      -            "maximum": 50,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "cases": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "max_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "steps": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "attempt_allowance": {
      -                        "minimum": 1,
      -                        "type": "integer"
      -                      },
      -                      "input_basis": {
      -                        "enum": [
      -                          "acceptance_message_fence",
      -                          "acceptance_schema_context_fallback"
      -                        ]
      -                      },
      -                      "input_token_bound": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "model": {
      -                        "maxLength": 200,
      -                        "type": "string"
      -                      },
      -                      "output_token_cap": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "provider_floor_credits": {
      -                        "maxLength": 64,
      -                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                        "type": "string"
      -                      },
      -                      "step_id": {
      -                        "maxLength": 128,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "step_id",
      -                      "model",
      -                      "input_basis",
      -                      "input_token_bound",
      -                      "output_token_cap",
      -                      "attempt_allowance",
      -                      "provider_floor_credits"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "maxItems": 2,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "max_credits",
      -                "steps"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "expected_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "expected_high_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "forecast": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "basis": {
      -                  "enum": [
      -                    "settled_same_revision_case",
      -                    "settled_same_revision",
      -                    "provider_usage_same_recipe_step",
      -                    "platform_model_usage",
      -                    "static_fraction",
      -                    "hard_bound"
      -                  ]
      -                },
      -                "case_id": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "expected_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "hard_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "high_credits": {
      -                  "maxLength": 64,
      -                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                  "type": "string"
      -                },
      -                "sample_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "case_id",
      -                "expected_credits",
      -                "high_credits",
      -                "hard_credits",
      -                "basis",
      -                "sample_count"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "type": "array"
      -          },
      -          "forecast_basis": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "maxProperties": 8,
      -            "type": "object"
      -          },
      -          "hard_bound_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "note": {
      -            "maxLength": 400,
      -            "type": "string"
      -          },
      -          "observed_case_costs": {
      -            "anyOf": [
      -              {
      -                "type": "null"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "basis": {
      -                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      -                  },
      -                  "maximum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "minimum_credits": {
      -                    "maxLength": 64,
      -                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -                    "type": "string"
      -                  },
      -                  "sample_count": {
      -                    "maximum": 20,
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "sample_count",
      -                  "minimum_credits",
      -                  "maximum_credits",
      -                  "basis"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "basis",
      -          "case_count",
      -          "cases",
      -          "note"
      -        ],
      -        "type": "object"
      -      },
      -      "available_credits": {
      -        "description": "Wallet funds currently available, independent of this build approval.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "budget_state": {
      -        "enum": [
      -          "not_redeemed",
      -          "active"
      -        ]
      -      },
      -      "handoff_requirement_count": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "handoff_requirements": {
      -        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "node_id": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "node_path": {
      -              "items": {
      -                "type": [
      -                  "string",
      -                  "integer"
      -                ]
      -              },
      -              "maxItems": 32,
      -              "type": "array"
      -            },
      -            "node_type": {
      -              "maxLength": 64,
      -              "type": "string"
      -            },
      -            "parameter_digest": {
      -              "maxLength": 64,
      -              "pattern": "^[0-9a-f]{64}$",
      -              "type": "string"
      -            },
      -            "qualification_route": {
      -              "enum": [
      -                "conditional",
      -                "supervised"
      -              ]
      -            },
      -            "reason": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "required_decision": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "pattern": "^[0-9a-f]{32}$",
      -              "type": "string"
      -            },
      -            "resource_paths": {
      -              "items": {
      -                "maxLength": 256,
      -                "type": "string"
      -              },
      -              "maxItems": 8,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "requirement_id",
      -            "node_id",
      -            "node_type",
      -            "node_path",
      -            "qualification_route",
      -            "reason",
      -            "required_decision",
      -            "resource_paths",
      -            "parameter_digest"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "handoff_requirements_complete": {
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "enum": [
      -          "review",
      -          "acceptance"
      -        ]
      -      },
      -      "max_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "mode": {
      -                "const": "execute"
      -              },
      -              "tool": {
      -                "const": "review_recipe_build"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "mode",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "mode": {
      -                "const": "full"
      -              },
      -              "tool": {
      -                "const": "run_recipe_acceptance"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "mode",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "case_ids": {
      -                "items": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "maxItems": 50,
      -                "minItems": 1,
      -                "type": "array",
      -                "uniqueItems": true
      -              },
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "mode": {
      -                "const": "selected_cases"
      -              },
      -              "tool": {
      -                "const": "run_recipe_acceptance"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "mode",
      -              "case_ids",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "activity_ref": {
      -                "maxLength": 4096,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "instruction": {
      -                "maxLength": 300,
      -                "type": "string"
      -              },
      -              "tool": {
      -                "const": "get_recipe_build_activity"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "activity_ref",
      -              "instruction"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "outcome": {
      -        "const": "quoted"
      -      },
      -      "planned_fan_out": {
      -        "maximum": 50,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "qualification_route": {
      -        "enum": [
      -          "automatic",
      -          "conditional",
      -          "supervised"
      -        ]
      -      },
      -      "remaining_build_budget": {
      -        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "review_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "utf8_byte_upper_bound"
      -          },
      -          "estimated_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "input_token_bound": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "model": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "output_token_cap": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "prompt_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "provider": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "section_bytes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "acceptance_suite": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "input_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "intent": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "output_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "research_evidence": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "spec": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "estimated_credits",
      -          "limit_credits",
      -          "provider",
      -          "model",
      -          "basis",
      -          "input_token_bound",
      -          "output_token_cap",
      -          "prompt_bytes",
      -          "section_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "unsupported_nodes": {
      -        "items": {
      -          "maxLength": 64,
      -          "type": "string"
      -        },
      -        "maxItems": 24,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "kind",
      -      "max_credits",
      -      "available_credits",
      -      "remaining_build_budget",
      -      "budget_state",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity_ref": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "fan_out": {
      -        "maximum": 50,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "outcome": {
      -        "const": "queued"
      -      },
      -      "poll_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "revision": {
      -        "maxLength": 64,
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "state": {
      -        "const": "queued"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "activity_ref",
      -      "state",
      -      "revision",
      -      "poll_after_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity_ref": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "handoff": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "action_url": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "activity_ref": {
      -            "maxLength": 4096,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "effect_digest": {
      -            "maxLength": 64,
      -            "pattern": "^[0-9a-f]{64}$",
      -            "type": "string"
      -          },
      -          "effects": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "details": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "additional_text": {},
      -                    "body_template": {},
      -                    "child_recipe_ulid": {},
      -                    "child_revision_sha": {},
      -                    "destination_mode": {},
      -                    "duration": {},
      -                    "external_conflict_mode": {},
      -                    "external_target_ulid": {},
      -                    "filename": {},
      -                    "folder_name": {},
      -                    "folder_ulid": {},
      -                    "format": {},
      -                    "html_only": {},
      -                    "input_mapping": {},
      -                    "local_conflict_mode": {},
      -                    "max_chunks": {},
      -                    "name": {},
      -                    "nested_effects": {},
      -                    "options": {},
      -                    "outcome_description": {},
      -                    "outcome_max_iterations": {},
      -                    "outcome_rubric": {},
      -                    "output_conflict_mode": {},
      -                    "params": {},
      -                    "pin_revision": {},
      -                    "preamble_enabled": {},
      -                    "prompt": {},
      -                    "query": {},
      -                    "score_threshold": {},
      -                    "source": {},
      -                    "sources": {},
      -                    "subject": {},
      -                    "system_message": {},
      -                    "title": {},
      -                    "to": {},
      -                    "tool_groups": {},
      -                    "top_k": {},
      -                    "visibility": {}
      -                  },
      -                  "required": [],
      -                  "type": "object"
      -                },
      -                "execution_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "node_id": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "node_type": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "node_id",
      -                "node_type",
      -                "execution_count",
      -                "details"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          },
      -          "expires_at": {
      -            "format": "date-time",
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "handoff_ref": {
      -            "maxLength": 4096,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "reason": {
      -            "maxLength": 500,
      -            "type": "string"
      -          },
      -          "required_decisions": {
      -            "items": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "maxItems": 100,
      -            "type": "array",
      -            "uniqueItems": true
      -          },
      -          "resources": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "binding_status": {
      -                  "enum": [
      -                    "required",
      -                    "bound"
      -                  ]
      -                },
      -                "node_id": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "node_path": {
      -                  "items": {
      -                    "type": [
      -                      "string",
      -                      "integer"
      -                    ]
      -                  },
      -                  "maxItems": 32,
      -                  "type": "array"
      -                },
      -                "node_type": {
      -                  "maxLength": 64,
      -                  "type": "string"
      -                },
      -                "parameter_digest": {
      -                  "maxLength": 64,
      -                  "pattern": "^[0-9a-f]{64}$",
      -                  "type": "string"
      -                },
      -                "qualification_route": {
      -                  "enum": [
      -                    "conditional",
      -                    "supervised"
      -                  ]
      -                },
      -                "reason": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "required_decision": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "requirement_id": {
      -                  "pattern": "^[0-9a-f]{32}$",
      -                  "type": "string"
      -                },
      -                "resource_paths": {
      -                  "items": {
      -                    "maxLength": 256,
      -                    "type": "string"
      -                  },
      -                  "maxItems": 8,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "requirement_id",
      -                "node_id",
      -                "node_type",
      -                "node_path",
      -                "qualification_route",
      -                "reason",
      -                "required_decision",
      -                "resource_paths",
      -                "parameter_digest",
      -                "binding_status"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          },
      -          "resume": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "operation": {
      -                "const": "resume_activity"
      -              },
      -              "tool": {
      -                "const": "update_recipe_build"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "operation"
      -            ],
      -            "type": "object"
      -          },
      -          "revision": {
      -            "maxLength": 64,
      -            "pattern": "^[0-9a-f]{64}$",
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "pending",
      -              "approved",
      -              "cancelled",
      -              "expired",
      -              "consumed"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "handoff_ref",
      -          "activity_ref",
      -          "revision",
      -          "status",
      -          "effect_digest",
      -          "reason",
      -          "required_decisions",
      -          "effects",
      -          "expires_at",
      -          "action_url",
      -          "resume"
      -        ],
      -        "type": "object"
      -      },
      -      "outcome": {
      -        "const": "supervised_required"
      -      },
      -      "qualification_route": {
      -        "const": "supervised"
      -      },
      -      "revision": {
      -        "maxLength": 64,
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "state": {
      -        "const": "blocked"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "activity_ref",
      -      "state",
      -      "revision",
      -      "qualification_route",
      -      "handoff"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "case_id": {
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "error": {
      -        "enum": [
      -          "not_found",
      -          "invalid_reference",
      -          "invalid_params",
      -          "revision_conflict",
      -          "idempotency_conflict",
      -          "document_too_large",
      -          "payload_too_large",
      -          "chunk_sequence_invalid",
      -          "chunk_digest_mismatch",
      -          "chunk_expired",
      -          "suite_duplicate_case_id",
      -          "suite_unresolved_pair",
      -          "suite_schema_invalid",
      -          "suite_missing_categories",
      -          "suite_weak_normal_oracle",
      -          "suite_too_large",
      -          "unknown_case_id",
      -          "duplicate_case_id",
      -          "incomplete_case_selection",
      -          "unsupported_node_kind",
      -          "research_required",
      -          "review_required",
      -          "acceptance_required",
      -          "qualification_stale",
      -          "budget_not_approved",
      -          "budget_exhausted",
      -          "budget_superseded",
      -          "budget_capability_consumed",
      -          "budget_capability_expired",
      -          "acceptance_case_cost_exceeded",
      -          "authoring_budget_exceeded",
      -          "authoring_grant_not_active",
      -          "insufficient_credits",
      -          "billing_anomaly",
      -          "activity_stalled",
      -          "activity_in_flight",
      -          "handoff_approval_required",
      -          "handoff_expired",
      -          "handoff_not_pending",
      -          "handoff_stale",
      -          "feature_unavailable",
      -          "resource_unavailable",
      -          "resource_binding_required",
      -          "resource_requirement_not_found",
      -          "activity_not_cancellable",
      -          "quota_exceeded",
      -          "rate_limited",
      -          "already_published",
      -          "safety_locked",
      -          "build_terminal",
      -          "commit_capability_expired",
      -          "account_unavailable",
      -          "limit_unavailable"
      -        ]
      -      },
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "field": {
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "hint": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "issue": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "field": {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "operator": {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          "path": {
      -            "maxLength": 512,
      -            "type": "string"
      -          },
      -          "type": {
      -            "maxLength": 64,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "path"
      -        ],
      -        "type": "object"
      -      },
      -      "limit_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "missing_categories": {
      -        "items": {
      -          "maxLength": 64,
      -          "type": "string"
      -        },
      -        "maxItems": 10,
      -        "type": "array",
      -        "uniqueItems": true
      -      },
      -      "repair_hint": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "retry_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "review_cost": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "utf8_byte_upper_bound"
      -          },
      -          "estimated_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "input_token_bound": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit_credits": {
      -            "maxLength": 64,
      -            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -            "type": "string"
      -          },
      -          "model": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "output_token_cap": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "prompt_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "provider": {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          "section_bytes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "acceptance_suite": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "input_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "intent": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "output_contract": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "research_evidence": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "spec": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "estimated_credits",
      -          "limit_credits",
      -          "provider",
      -          "model",
      -          "basis",
      -          "input_token_bound",
      -          "output_token_cap",
      -          "prompt_bytes",
      -          "section_bytes"
      -        ],
      -        "type": "object"
      -      },
      -      "truncation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied": {
      -            "const": true
      -          },
      -          "omitted_items": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "original_result_bytes": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "reason": {
      -            "const": "response_size_limit"
      -          },
      -          "truncated_values": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "applied",
      -          "reason",
      -          "omitted_items",
      -          "truncated_values",
      -          "original_result_bytes"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "acceptance_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "approval_cap_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "basis": {
      +            "const": "enforced_input_bytes_and_output_caps"
      +          },
      +          "cap_policy": {
      +            "maxLength": 120,
      +            "type": "string"
      +          },
      +          "case_count": {
      +            "maximum": 50,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "cases": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "max_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "steps": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "attempt_allowance": {
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      "input_basis": {
      +                        "enum": [
      +                          "acceptance_message_fence",
      +                          "acceptance_schema_context_fallback"
      +                        ]
      +                      },
      +                      "input_token_bound": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "model": {
      +                        "maxLength": 200,
      +                        "type": "string"
      +                      },
      +                      "output_token_cap": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "provider_floor_credits": {
      +                        "maxLength": 64,
      +                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                        "type": "string"
      +                      },
      +                      "step_id": {
      +                        "maxLength": 128,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "step_id",
      +                      "model",
      +                      "input_basis",
      +                      "input_token_bound",
      +                      "output_token_cap",
      +                      "attempt_allowance",
      +                      "provider_floor_credits"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 2,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "max_credits",
      +                "steps"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "expected_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "expected_high_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "forecast": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "basis": {
      +                  "enum": [
      +                    "settled_same_revision_case",
      +                    "settled_same_revision",
      +                    "provider_usage_same_recipe_step",
      +                    "platform_model_usage",
      +                    "static_fraction",
      +                    "hard_bound"
      +                  ]
      +                },
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "expected_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "hard_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "high_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "sample_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "expected_credits",
      +                "high_credits",
      +                "hard_credits",
      +                "basis",
      +                "sample_count"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "forecast_basis": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "maxProperties": 8,
      +            "type": "object"
      +          },
      +          "hard_bound_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "note": {
      +            "maxLength": 400,
      +            "type": "string"
      +          },
      +          "observed_case_costs": {
      +            "anyOf": [
      +              {
      +                "type": "null"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "basis": {
      +                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      +                  },
      +                  "maximum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "minimum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "sample_count": {
      +                    "maximum": 20,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "sample_count",
      +                  "minimum_credits",
      +                  "maximum_credits",
      +                  "basis"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "basis",
      +          "case_count",
      +          "cases",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "available_credits": {
      +        "description": "Wallet funds currently available, independent of this build approval.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "budget_capability": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "budget_state": {
      +        "enum": [
      +          "not_redeemed",
      +          "active"
      +        ]
      +      },
      +      "expires_at": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "handoff_requirement_count": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "handoff_requirements": {
      +        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "node_id": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "node_path": {
      +              "items": {
      +                "type": [
      +                  "string",
      +                  "integer"
      +                ]
      +              },
      +              "maxItems": 32,
      +              "type": "array"
      +            },
      +            "node_type": {
      +              "maxLength": 64,
      +              "type": "string"
      +            },
      +            "parameter_digest": {
      +              "maxLength": 64,
      +              "pattern": "^[0-9a-f]{64}$",
      +              "type": "string"
      +            },
      +            "qualification_route": {
      +              "enum": [
      +                "conditional",
      +                "supervised"
      +              ]
      +            },
      +            "reason": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "required_decision": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "pattern": "^[0-9a-f]{32}$",
      +              "type": "string"
      +            },
      +            "resource_paths": {
      +              "items": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "maxItems": 8,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "requirement_id",
      +            "node_id",
      +            "node_type",
      +            "node_path",
      +            "qualification_route",
      +            "reason",
      +            "required_decision",
      +            "resource_paths",
      +            "parameter_digest"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "handoff_requirements_complete": {
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "enum": [
      +          "review",
      +          "acceptance"
      +        ]
      +      },
      +      "max_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "instruction": {
      +            "maxLength": 300,
      +            "type": "string"
      +          },
      +          "operation": {
      +            "const": "set_budget"
      +          },
      +          "tool": {
      +            "const": "update_recipe_build"
      +          }
      +        },
      +        "required": [
      +          "tool",
      +          "operation",
      +          "instruction"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "quoted"
      +      },
      +      "planned_fan_out": {
      +        "maximum": 50,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "qualification_route": {
      +        "enum": [
      +          "automatic",
      +          "conditional",
      +          "supervised"
      +        ]
      +      },
      +      "remaining_build_budget": {
      +        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "review_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "utf8_byte_upper_bound"
      +          },
      +          "estimated_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "input_token_bound": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "model": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "output_token_cap": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "prompt_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "provider": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "section_bytes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "acceptance_suite": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "input_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "intent": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "output_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "research_evidence": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "spec": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "estimated_credits",
      +          "limit_credits",
      +          "provider",
      +          "model",
      +          "basis",
      +          "input_token_bound",
      +          "output_token_cap",
      +          "prompt_bytes",
      +          "section_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "unsupported_nodes": {
      +        "items": {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        "maxItems": 24,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "kind",
      +      "max_credits",
      +      "available_credits",
      +      "remaining_build_budget",
      +      "budget_capability",
      +      "expires_at",
      +      "budget_state",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "acceptance_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "approval_cap_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "basis": {
      +            "const": "enforced_input_bytes_and_output_caps"
      +          },
      +          "cap_policy": {
      +            "maxLength": 120,
      +            "type": "string"
      +          },
      +          "case_count": {
      +            "maximum": 50,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "cases": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "max_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "steps": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "attempt_allowance": {
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      "input_basis": {
      +                        "enum": [
      +                          "acceptance_message_fence",
      +                          "acceptance_schema_context_fallback"
      +                        ]
      +                      },
      +                      "input_token_bound": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "model": {
      +                        "maxLength": 200,
      +                        "type": "string"
      +                      },
      +                      "output_token_cap": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "provider_floor_credits": {
      +                        "maxLength": 64,
      +                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                        "type": "string"
      +                      },
      +                      "step_id": {
      +                        "maxLength": 128,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "step_id",
      +                      "model",
      +                      "input_basis",
      +                      "input_token_bound",
      +                      "output_token_cap",
      +                      "attempt_allowance",
      +                      "provider_floor_credits"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 2,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "max_credits",
      +                "steps"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "expected_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "expected_high_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "forecast": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "basis": {
      +                  "enum": [
      +                    "settled_same_revision_case",
      +                    "settled_same_revision",
      +                    "provider_usage_same_recipe_step",
      +                    "platform_model_usage",
      +                    "static_fraction",
      +                    "hard_bound"
      +                  ]
      +                },
      +                "case_id": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "expected_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "hard_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "high_credits": {
      +                  "maxLength": 64,
      +                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                  "type": "string"
      +                },
      +                "sample_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "case_id",
      +                "expected_credits",
      +                "high_credits",
      +                "hard_credits",
      +                "basis",
      +                "sample_count"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "forecast_basis": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "maxProperties": 8,
      +            "type": "object"
      +          },
      +          "hard_bound_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "note": {
      +            "maxLength": 400,
      +            "type": "string"
      +          },
      +          "observed_case_costs": {
      +            "anyOf": [
      +              {
      +                "type": "null"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "basis": {
      +                    "const": "recent_settled_cases_same_revision_not_a_forecast"
      +                  },
      +                  "maximum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "minimum_credits": {
      +                    "maxLength": 64,
      +                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +                    "type": "string"
      +                  },
      +                  "sample_count": {
      +                    "maximum": 20,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "sample_count",
      +                  "minimum_credits",
      +                  "maximum_credits",
      +                  "basis"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "basis",
      +          "case_count",
      +          "cases",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "available_credits": {
      +        "description": "Wallet funds currently available, independent of this build approval.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "budget_state": {
      +        "enum": [
      +          "not_redeemed",
      +          "active"
      +        ]
      +      },
      +      "handoff_requirement_count": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "handoff_requirements": {
      +        "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "node_id": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "node_path": {
      +              "items": {
      +                "type": [
      +                  "string",
      +                  "integer"
      +                ]
      +              },
      +              "maxItems": 32,
      +              "type": "array"
      +            },
      +            "node_type": {
      +              "maxLength": 64,
      +              "type": "string"
      +            },
      +            "parameter_digest": {
      +              "maxLength": 64,
      +              "pattern": "^[0-9a-f]{64}$",
      +              "type": "string"
      +            },
      +            "qualification_route": {
      +              "enum": [
      +                "conditional",
      +                "supervised"
      +              ]
      +            },
      +            "reason": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "required_decision": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "pattern": "^[0-9a-f]{32}$",
      +              "type": "string"
      +            },
      +            "resource_paths": {
      +              "items": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "maxItems": 8,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "requirement_id",
      +            "node_id",
      +            "node_type",
      +            "node_path",
      +            "qualification_route",
      +            "reason",
      +            "required_decision",
      +            "resource_paths",
      +            "parameter_digest"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "handoff_requirements_complete": {
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "enum": [
      +          "review",
      +          "acceptance"
      +        ]
      +      },
      +      "max_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "mode": {
      +                "const": "execute"
      +              },
      +              "tool": {
      +                "const": "review_recipe_build"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "mode",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "mode": {
      +                "const": "full"
      +              },
      +              "tool": {
      +                "const": "run_recipe_acceptance"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "mode",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "case_ids": {
      +                "items": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "maxItems": 50,
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "mode": {
      +                "const": "selected_cases"
      +              },
      +              "tool": {
      +                "const": "run_recipe_acceptance"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "mode",
      +              "case_ids",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "activity_ref": {
      +                "maxLength": 4096,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "instruction": {
      +                "maxLength": 300,
      +                "type": "string"
      +              },
      +              "tool": {
      +                "const": "get_recipe_build_activity"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "activity_ref",
      +              "instruction"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "outcome": {
      +        "const": "quoted"
      +      },
      +      "planned_fan_out": {
      +        "maximum": 50,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "qualification_route": {
      +        "enum": [
      +          "automatic",
      +          "conditional",
      +          "supervised"
      +        ]
      +      },
      +      "remaining_build_budget": {
      +        "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.",
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "review_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "utf8_byte_upper_bound"
      +          },
      +          "estimated_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "input_token_bound": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "model": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "output_token_cap": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "prompt_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "provider": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "section_bytes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "acceptance_suite": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "input_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "intent": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "output_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "research_evidence": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "spec": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "estimated_credits",
      +          "limit_credits",
      +          "provider",
      +          "model",
      +          "basis",
      +          "input_token_bound",
      +          "output_token_cap",
      +          "prompt_bytes",
      +          "section_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "unsupported_nodes": {
      +        "items": {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        "maxItems": 24,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "kind",
      +      "max_credits",
      +      "available_credits",
      +      "remaining_build_budget",
      +      "budget_state",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "activity_ref": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "fan_out": {
      +        "maximum": 50,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "outcome": {
      +        "const": "queued"
      +      },
      +      "poll_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "revision": {
      +        "maxLength": 64,
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "state": {
      +        "const": "queued"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "activity_ref",
      +      "state",
      +      "revision",
      +      "poll_after_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "activity_ref": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "handoff": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action_url": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "activity_ref": {
      +            "maxLength": 4096,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "effect_digest": {
      +            "maxLength": 64,
      +            "pattern": "^[0-9a-f]{64}$",
      +            "type": "string"
      +          },
      +          "effects": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "details": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "additional_text": {},
      +                    "body_template": {},
      +                    "child_recipe_ulid": {},
      +                    "child_revision_sha": {},
      +                    "destination_mode": {},
      +                    "duration": {},
      +                    "external_conflict_mode": {},
      +                    "external_target_ulid": {},
      +                    "filename": {},
      +                    "folder_name": {},
      +                    "folder_ulid": {},
      +                    "format": {},
      +                    "html_only": {},
      +                    "input_mapping": {},
      +                    "local_conflict_mode": {},
      +                    "max_chunks": {},
      +                    "name": {},
      +                    "nested_effects": {},
      +                    "options": {},
      +                    "outcome_description": {},
      +                    "outcome_max_iterations": {},
      +                    "outcome_rubric": {},
      +                    "output_conflict_mode": {},
      +                    "params": {},
      +                    "pin_revision": {},
      +                    "preamble_enabled": {},
      +                    "prompt": {},
      +                    "query": {},
      +                    "score_threshold": {},
      +                    "source": {},
      +                    "sources": {},
      +                    "subject": {},
      +                    "system_message": {},
      +                    "title": {},
      +                    "to": {},
      +                    "tool_groups": {},
      +                    "top_k": {},
      +                    "visibility": {}
      +                  },
      +                  "required": [],
      +                  "type": "object"
      +                },
      +                "execution_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "node_id": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "node_type": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "node_id",
      +                "node_type",
      +                "execution_count",
      +                "details"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          },
      +          "expires_at": {
      +            "format": "date-time",
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "handoff_ref": {
      +            "maxLength": 4096,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reason": {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          "required_decisions": {
      +            "items": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "maxItems": 100,
      +            "type": "array",
      +            "uniqueItems": true
      +          },
      +          "resources": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "binding_status": {
      +                  "enum": [
      +                    "required",
      +                    "bound"
      +                  ]
      +                },
      +                "node_id": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "node_path": {
      +                  "items": {
      +                    "type": [
      +                      "string",
      +                      "integer"
      +                    ]
      +                  },
      +                  "maxItems": 32,
      +                  "type": "array"
      +                },
      +                "node_type": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "parameter_digest": {
      +                  "maxLength": 64,
      +                  "pattern": "^[0-9a-f]{64}$",
      +                  "type": "string"
      +                },
      +                "qualification_route": {
      +                  "enum": [
      +                    "conditional",
      +                    "supervised"
      +                  ]
      +                },
      +                "reason": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "required_decision": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "requirement_id": {
      +                  "pattern": "^[0-9a-f]{32}$",
      +                  "type": "string"
      +                },
      +                "resource_paths": {
      +                  "items": {
      +                    "maxLength": 256,
      +                    "type": "string"
      +                  },
      +                  "maxItems": 8,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "requirement_id",
      +                "node_id",
      +                "node_type",
      +                "node_path",
      +                "qualification_route",
      +                "reason",
      +                "required_decision",
      +                "resource_paths",
      +                "parameter_digest",
      +                "binding_status"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          },
      +          "resume": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "operation": {
      +                "const": "resume_activity"
      +              },
      +              "tool": {
      +                "const": "update_recipe_build"
      +              }
      +            },
      +            "required": [
      +              "tool",
      +              "operation"
      +            ],
      +            "type": "object"
      +          },
      +          "revision": {
      +            "maxLength": 64,
      +            "pattern": "^[0-9a-f]{64}$",
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "pending",
      +              "approved",
      +              "cancelled",
      +              "expired",
      +              "consumed"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "handoff_ref",
      +          "activity_ref",
      +          "revision",
      +          "status",
      +          "effect_digest",
      +          "reason",
      +          "required_decisions",
      +          "effects",
      +          "expires_at",
      +          "action_url",
      +          "resume"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "supervised_required"
      +      },
      +      "qualification_route": {
      +        "const": "supervised"
      +      },
      +      "revision": {
      +        "maxLength": 64,
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "state": {
      +        "const": "blocked"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "activity_ref",
      +      "state",
      +      "revision",
      +      "qualification_route",
      +      "handoff"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "case_id": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "error": {
      +        "enum": [
      +          "not_found",
      +          "invalid_reference",
      +          "invalid_params",
      +          "revision_conflict",
      +          "idempotency_conflict",
      +          "document_too_large",
      +          "payload_too_large",
      +          "chunk_sequence_invalid",
      +          "chunk_digest_mismatch",
      +          "chunk_expired",
      +          "invalid_cursor",
      +          "suite_duplicate_case_id",
      +          "suite_unresolved_pair",
      +          "suite_schema_invalid",
      +          "suite_missing_categories",
      +          "suite_weak_normal_oracle",
      +          "suite_too_large",
      +          "unknown_case_id",
      +          "duplicate_case_id",
      +          "incomplete_case_selection",
      +          "unsupported_node_kind",
      +          "research_required",
      +          "review_required",
      +          "acceptance_required",
      +          "qualification_stale",
      +          "budget_not_approved",
      +          "budget_exhausted",
      +          "budget_superseded",
      +          "budget_capability_consumed",
      +          "budget_capability_expired",
      +          "acceptance_case_cost_exceeded",
      +          "authoring_budget_exceeded",
      +          "authoring_grant_not_active",
      +          "insufficient_credits",
      +          "billing_anomaly",
      +          "activity_stalled",
      +          "activity_in_flight",
      +          "handoff_approval_required",
      +          "handoff_expired",
      +          "handoff_not_pending",
      +          "handoff_stale",
      +          "handoff_disclosure_incomplete",
      +          "feature_unavailable",
      +          "resource_unavailable",
      +          "resource_binding_required",
      +          "resource_requirement_not_found",
      +          "activity_not_cancellable",
      +          "quota_exceeded",
      +          "rate_limited",
      +          "already_published",
      +          "safety_locked",
      +          "build_terminal",
      +          "commit_capability_expired",
      +          "account_unavailable",
      +          "limit_unavailable"
      +        ]
      +      },
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "field": {
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "hint": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "issue": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "field": {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "operator": {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          "path": {
      +            "maxLength": 512,
      +            "type": "string"
      +          },
      +          "type": {
      +            "maxLength": 64,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "path"
      +        ],
      +        "type": "object"
      +      },
      +      "limit_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "missing_categories": {
      +        "items": {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        "maxItems": 10,
      +        "type": "array",
      +        "uniqueItems": true
      +      },
      +      "repair_hint": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "retry_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "review_cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "utf8_byte_upper_bound"
      +          },
      +          "estimated_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "input_token_bound": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit_credits": {
      +            "maxLength": 64,
      +            "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +            "type": "string"
      +          },
      +          "model": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "output_token_cap": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "prompt_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "provider": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "section_bytes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "acceptance_suite": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "input_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "intent": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "output_contract": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "research_evidence": {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "spec": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "estimated_credits",
      +          "limit_credits",
      +          "provider",
      +          "model",
      +          "basis",
      +          "input_token_bound",
      +          "output_token_cap",
      +          "prompt_bytes",
      +          "section_bytes"
      +        ],
      +        "type": "object"
      +      },
      +      "truncation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "const": true
      +          },
      +          "omitted_items": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "original_result_bytes": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "reason": {
      +            "const": "response_size_limit"
      +          },
      +          "truncated_values": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "applied",
      +          "reason",
      +          "omitted_items",
      +          "truncated_values",
      +          "original_result_bytes"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnly=false, openWorld=true, idempotent=true, and destructive=false, but the description adds valuable non-obvious behavior: quotes expose acceptance_cost enforcement bounds, supervised_required is returned before any side effect, and external approval is needed via action_url. No contradiction with annotations exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main action is front-loaded in the first sentence, and subsequent sentences carry dense, relevant workflow information. The approval sequence is long but justified by complexity; there is no filler, though it could be slightly tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers modes, quote semantics, budget requirements, and the supervised approval flow, which is strong for a complex tool with an output schema and annotations. It does not explicitly define build_ref or idempotency_key, but the agent has enough context to call the tool correctly in most cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description partially compensates for the low 20% schema coverage by explaining mode-related intent ('Quote or run selected or complete') and the revision target, but it leaves build_ref and idempotency_key semantically unexplained. Since these are required parameters and the schema gives them no descriptions, there is still a meaningful gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb, resource, and scope: 'Quote or run selected or complete behavioral acceptance cases for an exact private draft revision.' It clearly distinguishes quote mode from run mode and names the sibling update_recipe_build for the approval workflow, so an agent can tell this tool apart from generic run_recipe.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives actionable context: quote vs. run, the paid-work budget prerequisite, and an explicit supervised_required flow using update_recipe_build bind_resource and resume_activity. It also tells the agent to bind required resources before opening action_url, which is concrete sequencing an agent can follow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources