Every change Wellknown observed on this MCP server, newest first, with what it was before and what it became. Tool-surface changes carry the definition diff. Nothing here is edited after the fact.
Changed the definition of "run_recipe"
⟨23 unchanged words⟩ balance, and estimated_credits, a theoretical worst case. sufficient=false is informational and never prevents a real run; only an actual Marketplace fee must fit before execution starts. If credits run out during a run, it ⟨16 unchanged words⟩
⟨261 unchanged words⟩ "string","null"]},"sufficient":{"description":"Informational only: whether the theoretical worst case fits the current balance. False does not block real execution.","type":"boolean"}},"required":["outcome ⟨522 unchanged words⟩
Authorization not required, issuer https://api.stewai.com
Changed the definition of "update_recipe_build"
{"destructiveHint":falsetrue,"idempotentHint":true,"openWorldHint":falsetrue,"readOnlyHint":false}
Certificate changed, valid to 2026-12-31
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Changed the definition of "get_results"
⟨46 unchanged words⟩ use view=step with step_id for one full step. Open recipes expose all authorized steps; closed recipes expose only input and output steps. Sensitive values stay redacted. Step reads are provisional until get_run reports a ⟨21 unchanged words⟩
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Authorization not required, issuer https://api.stewai.com
Changed the definition of "check_recipe_build", "commit_recipe_build", "get_recipe_build" and 5 more
{"oneOf":[{"additionalProperties":false,"properties":{"automatic_acceptance_eligible":{"type":"boolean" ⟨731 unchanged words⟩
{"oneOf":[{"additionalProperties":false,"properties":{"commit_capability":{"maxLength":4096," ⟨129 unchanged words⟩ "evidence"],"type":"object"},{"additionalProperties":false,"properties":{"editor_url":{"maxLength":512," ⟨71 unchanged words⟩ "},"listed":{"const":false},"next_action":{"not":{}},"recipe_ref":{"not":{}},"
Changed the definition of "check_recipe_build", "commit_recipe_build", "get_recipe_build" and 5 more
⟨433 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
⟨463 unchanged words⟩ payload_too_large","chunk_sequence_invalid","chunk_digest_mismatch","chunk_expired","
Changed the definition of "get_recipe_preview", "get_results", "get_run" and 2 more
⟨614 unchanged words⟩ error":{"enum":["recipe_unavailable","invalid_cursor","recipe_ref_expired"]},"hint":{"maxLength":240,"type ⟨7 unchanged words⟩
⟨10 unchanged words⟩ owned run, including signed chunks for oversized steps. view=steps returns compact summaries, 10 per page by default and at most 20 (limit 1-20); follow next_cursor until it is null, pass detail=full for whole steps, or use view=step with step_id for one full step. Step reads are provisional until get_run reports a finished status. If outputs is empty, read view=steps; for a failed run, read the failed step and let the user decide.
Changed the definition of "get_recipe_preview"
Inspect a safe summary with bounded method and limitations excerpts,oroutput-contractpagestate, and evidence context. For complete authorized published details and executable contracts,withuse view=details. Concatenate content fragments in offset order per ⟨18 unchanged words⟩
⟨246 unchanged words⟩ ,"outputs"],"type":"object"},"decision_context":{"additionalProperties":false,"
Authorization not required, issuer https://api.stewai.com
Certificate recorded, valid to 2026-11-02
Authorization not required, issuer https://api.stewai.com
First tool surface recorded: 14 tools (server version 0.3.111)
Showing the latest 24 events. The API returns up to 500 and filters by kind: ?kind=tool_surface_changed
before
{"oneOf":[{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"capabilities":{"items":{"additionalProperties":false,"properties":{"detail_lookup_key":{"maxLength":64,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"purpose":{"maxLength":240,"type":"string"},"qualification_route":{"maxLength":64,"type":"string"}},"required":["node_type","purpose","qualification_route","detail_lookup_key"],"type":"object"},"maxItems":24,"type":"array"},"catalog_version":{"maxLength":64,"type":"string"},"usage":{"maxLength":500,"type":"string"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["catalog_version","usage","capabilities"],"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"},"view":{"const":"capabilities_index"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"capability":{"additionalProperties":false,"properties":{"acceptance_note":{"maxLength":240,"type":["string","null"]},"authoring_schema":{"maxProperties":20,"minProperties":4,"type":"object"},"automatic_acceptance_eligible":{"type":"boolean"},"defaults":{"maxProperties":32,"type":"object"},"draft_authoring_supported":{"type":"boolean"},"effect_class":{"enum":["none","provider_call","external_read","external_write","durable_write","wait","nested_recipe"]},"exposure":{"enum":["primary","alias","backend_only"]},"minimal_example":{"maxProperties":100,"minProperties":2,"type":"object"},"node_type":{"maxLength":64,"minLength":1,"type":"string"},"qualification_route":{"enum":["automatic","conditional","supervised"]},"required_fields":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":32,"minItems":2,"type":"array","uniqueItems":true},"resource_selector_paths":{"items":{"maxLength":256,"pattern":"^/[A-Za-z_][A-Za-z0-9_/]*$","type":"string"},"maxItems":8,"type":"array","uniqueItems":true},"user_handoff":{"enum":["none","budget_approval","side_effect_approval","resource_and_side_effect_approval","resource_or_oauth","oauth_or_platform_policy","runtime_wait","recipe_selection","resource_selection"]}},"required":["node_type","draft_authoring_supported","automatic_acceptance_eligible","qualification_route","exposure","effect_class","user_handoff","acceptance_note","authoring_schema","required_fields","defaults","resource_selector_paths","minimal_example"],"type":"object"},"catalog_version":{"maxLength":64,"type":"string"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["catalog_version","capability"],"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"},"view":{"const":"capability"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"contract_version":{"maxLength":64,"type":"string"},"count":{"minimum":0,"type":"integer"},"detail_lookup":{"maxLength":500,"type":"string"},"has_org_restrictions":{"type":"boolean"},"model":{"type":"object"},"models":{"items":{"type":"object"},"maxItems":10,"type":"array"},"next_cursor":{"maxLength":512,"type":"string"},"org_overrides":{"type":"object"},"parameters":{"items":{"type":"object"},"maxItems":100,"type":"array"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["contract_version"],"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"},"view":{"const":"models"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"builds":{"items":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"last_activity_at":{"format":"date-time","maxLength":64,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","qualification","last_activity_at","archived_at"],"type":"object"},"maxItems":25,"type":"array"}},"required":["builds"],"type":"object"},"next_cursor":{"maxLength":4096,"minLength":1,"type":"string"},"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"},"view":{"const":"listing"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"readiness":{"additionalProperties":false,"properties":{"acceptance_qualified":{"type":"boolean"},"commit_ready":{"type":"boolean"},"next_actions":{"items":{"additionalProperties":false,"properties":{"gate":{"maxLength":64,"type":"string"},"instruction":{"maxLength":300,"type":"string"},"tool":{"maxLength":64,"type":"string"}},"required":["gate","tool","instruction"],"type":"object"},"maxItems":10,"type":"array"},"remaining_gates":{"items":{"maxLength":64,"type":"string"},"maxItems":10,"type":"array"}},"required":["acceptance_qualified","commit_ready","remaining_gates","next_actions"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","readiness"],"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"},"view":{"const":"summary"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"input_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"type":"boolean"},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"name":{"maxLength":200,"minLength":1,"type":"string"},"output_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"const":true},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","input_contract","output_contract"],"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"},"view":{"const":"contracts"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"nodes":{"items":{"additionalProperties":false,"properties":{"id":{"maxLength":128,"type":["string","null"]},"type":{"maxLength":64,"type":["string","null"]}},"required":["id","type"],"type":"object"},"maxItems":500,"type":"array"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","nodes"],"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"},"view":{"const":"node_inventory"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"node":{"type":"object"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","node"],"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"},"view":{"const":"node"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"schemas":{"type":"object"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","schemas"],"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"},"view":{"const":"schemas"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"operator_fields":{"items":{"additionalProperties":false,"properties":{"allowed":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"conditional":{"additionalProperties":false,"properties":{"accepted_limitation":{"maxLength":240,"type":"string"}},"required":[],"type":"object"},"forbidden":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"operator":{"maxLength":64,"type":"string"},"required":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"type":{"maxLength":64,"type":"string"}},"required":["type","operator","required","allowed","forbidden","conditional"],"type":"object"},"maxItems":50,"type":"array"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"schema":{"type":"object"},"schema_name":{"enum":["update_recipe_build","acceptance_suite","start_recipe_build"]},"status":{"enum":["draft","qualified","committed","abandoned"]},"usage":{"maxLength":1500,"type":"string"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["schema_name","schema","usage"],"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"},"view":{"const":"authoring_schema"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"capabilities":{"items":{"additionalProperties":false,"properties":{"acceptance_note":{"maxLength":240,"type":["string","null"]},"authoring_schema":{"maxProperties":20,"minProperties":4,"type":"object"},"automatic_acceptance_eligible":{"type":"boolean"},"defaults":{"maxProperties":32,"type":"object"},"draft_authoring_supported":{"type":"boolean"},"effect_class":{"enum":["none","provider_call","external_read","external_write","durable_write","wait","nested_recipe"]},"exposure":{"enum":["primary","alias","backend_only"]},"minimal_example":{"maxProperties":100,"minProperties":2,"type":"object"},"node_type":{"maxLength":64,"minLength":1,"type":"string"},"qualification_route":{"enum":["automatic","conditional","supervised"]},"required_fields":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":32,"minItems":2,"type":"array","uniqueItems":true},"resource_selector_paths":{"items":{"maxLength":256,"pattern":"^/[A-Za-z_][A-Za-z0-9_/]*$","type":"string"},"maxItems":8,"type":"array","uniqueItems":true},"user_handoff":{"enum":["none","budget_approval","side_effect_approval","resource_and_side_effect_approval","resource_or_oauth","oauth_or_platform_policy","runtime_wait","recipe_selection","resource_selection"]}},"required":["node_type","draft_authoring_supported","automatic_acceptance_eligible","qualification_route","exposure","effect_class","user_handoff","acceptance_note","authoring_schema","required_fields","defaults","resource_selector_paths","minimal_example"],"type":"object"},"maxItems":8,"minItems":1,"type":"array"},"catalog_version":{"maxLength":64,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"next_cursor":{"maxLength":512,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","catalog_version","capabilities"],"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"},"view":{"const":"capabilities"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"evidence":{"items":{"additionalProperties":false,"properties":{"applicability":{"maxLength":1000,"minLength":1,"type":"string"},"retrieved_at":{"maxLength":64,"minLength":1,"type":"string"},"supported_claim":{"maxLength":1000,"minLength":1,"type":"string"},"title":{"maxLength":200,"minLength":1,"type":"string"},"url":{"maxLength":512,"minLength":1,"type":"string"}},"required":["url","title","retrieved_at","supported_claim","applicability"],"type":"object"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"research_policy":{"enum":["forbidden","allowed","required"]},"research_tier":{"enum":["skipped","recommended","required"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","research_policy","research_tier","evidence"],"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"},"view":{"const":"research"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"minimum_acceptance_categories":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"suite":{"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","suite","minimum_acceptance_categories"],"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"},"view":{"const":"acceptance_plan"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"minimum_acceptance_categories":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"next_cursor":{"maxLength":512,"type":["string","null"]},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"suite_page":{"additionalProperties":false,"properties":{"content":{"maxLength":16384,"minLength":1,"type":"string"},"encoding":{"const":"json"},"offset":{"minimum":0,"type":"integer"},"sha256":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"total_characters":{"minimum":1,"type":"integer"}},"required":["encoding","content","offset","total_characters","sha256"],"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","suite_page","next_cursor","minimum_acceptance_categories"],"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"},"view":{"const":"acceptance_plan"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"activities":{"items":{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"created_at":{"format":"date-time","maxLength":64,"type":"string"},"error_code":{"maxLength":64,"type":["string","null"]},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]}},"required":["activity_ref","kind","state","revision","error_code","created_at"],"type":"object"},"maxItems":25,"type":"array"},"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","activities"],"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"},"view":{"const":"activity"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"handoffs":{"items":{"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"},"maxItems":25,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","handoffs"],"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"},"view":{"const":"handoffs"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"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"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","resources"],"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"},"view":{"const":"resources"}},"required":["view","data"],"type":"object"},{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"catalog_version":{"maxLength":64,"type":"string"},"contract_bundle":{"additionalProperties":false,"properties":{"archetype":{"oneOf":[{"additionalProperties":false,"properties":{"archetype_id":{"maxLength":64,"minLength":1,"type":"string"},"capabilities":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"node_kinds":{"items":{"maxLength":64,"type":"string"},"maxItems":24,"type":"array"},"summary":{"maxLength":500,"minLength":1,"type":"string"},"title":{"maxLength":120,"minLength":1,"type":"string"}},"required":["archetype_id","title","summary","capabilities","node_kinds"],"type":"object"},{"type":"null"}]},"catalog_version":{"maxLength":64,"type":"string"},"input_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"type":"boolean"},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"output_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"const":true},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"recipe_spec":{"type":"object"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["catalog_version","archetype","input_contract","output_contract","recipe_spec"],"type":"object"},"dsl_version":{"const":2},"guidance_version":{"maxLength":64,"type":"string"},"matched_archetypes":{"items":{"additionalProperties":false,"properties":{"archetype_id":{"maxLength":64,"minLength":1,"type":"string"},"capabilities":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"node_kinds":{"items":{"maxLength":64,"type":"string"},"maxItems":24,"type":"array"},"summary":{"maxLength":500,"minLength":1,"type":"string"},"title":{"maxLength":120,"minLength":1,"type":"string"}},"required":["archetype_id","title","summary","capabilities","node_kinds"],"type":"object"},"maxItems":3,"type":"array"},"minimum_acceptance_categories":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","dsl_version","catalog_version","guidance_version","matched_archetypes","contract_bundle","minimum_acceptance_categories"],"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"},"view":{"const":"guidance"}},"required":["view","data"],"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"}],"type":"object"}after
{"oneOf":[{"properties":{"data":{"additionalProperties":false,"properties":{"capabilities":{"items":{"additionalProperties":false,"properties":{"detail_lookup_key":{"maxLength":64,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"purpose":{"maxLength":240,"type":"string"},"qualification_route":{"maxLength":64,"type":"string"}},"required":["node_type","purpose","qualification_route","detail_lookup_key"],"type":"object"},"maxItems":24,"type":"array"},"catalog_version":{"maxLength":64,"type":"string"},"usage":{"maxLength":500,"type":"string"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["catalog_version","usage","capabilities"],"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"},"view":{"const":"capabilities_index"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"capability":{"additionalProperties":false,"properties":{"acceptance_note":{"maxLength":240,"type":["string","null"]},"authoring_schema":{"maxProperties":20,"minProperties":4,"type":"object"},"automatic_acceptance_eligible":{"type":"boolean"},"defaults":{"maxProperties":32,"type":"object"},"draft_authoring_supported":{"type":"boolean"},"effect_class":{"enum":["none","provider_call","external_read","external_write","durable_write","wait","nested_recipe"]},"exposure":{"enum":["primary","alias","backend_only"]},"minimal_example":{"maxProperties":100,"minProperties":2,"type":"object"},"node_type":{"maxLength":64,"minLength":1,"type":"string"},"qualification_route":{"enum":["automatic","conditional","supervised"]},"required_fields":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":32,"minItems":2,"type":"array","uniqueItems":true},"resource_selector_paths":{"items":{"maxLength":256,"pattern":"^/[A-Za-z_][A-Za-z0-9_/]*$","type":"string"},"maxItems":8,"type":"array","uniqueItems":true},"user_handoff":{"enum":["none","budget_approval","side_effect_approval","resource_and_side_effect_approval","resource_or_oauth","oauth_or_platform_policy","runtime_wait","recipe_selection","resource_selection"]}},"required":["node_type","draft_authoring_supported","automatic_acceptance_eligible","qualification_route","exposure","effect_class","user_handoff","acceptance_note","authoring_schema","required_fields","defaults","resource_selector_paths","minimal_example"],"type":"object"},"catalog_version":{"maxLength":64,"type":"string"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["catalog_version","capability"],"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"},"view":{"const":"capability"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"contract_version":{"maxLength":64,"type":"string"},"count":{"minimum":0,"type":"integer"},"detail_lookup":{"maxLength":500,"type":"string"},"has_org_restrictions":{"type":"boolean"},"model":{"type":"object"},"models":{"items":{"type":"object"},"maxItems":10,"type":"array"},"next_cursor":{"maxLength":512,"type":"string"},"org_overrides":{"type":"object"},"parameters":{"items":{"type":"object"},"maxItems":100,"type":"array"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["contract_version"],"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"},"view":{"const":"models"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"builds":{"items":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"last_activity_at":{"format":"date-time","maxLength":64,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","qualification","last_activity_at","archived_at"],"type":"object"},"maxItems":25,"type":"array"}},"required":["builds"],"type":"object"},"next_cursor":{"maxLength":4096,"minLength":1,"type":"string"},"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"},"view":{"const":"listing"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"readiness":{"additionalProperties":false,"properties":{"acceptance_qualified":{"type":"boolean"},"commit_ready":{"type":"boolean"},"next_actions":{"items":{"additionalProperties":false,"properties":{"gate":{"maxLength":64,"type":"string"},"instruction":{"maxLength":300,"type":"string"},"tool":{"maxLength":64,"type":"string"}},"required":["gate","tool","instruction"],"type":"object"},"maxItems":10,"type":"array"},"remaining_gates":{"items":{"maxLength":64,"type":"string"},"maxItems":10,"type":"array"}},"required":["acceptance_qualified","commit_ready","remaining_gates","next_actions"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","readiness"],"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"},"view":{"const":"summary"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"input_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"type":"boolean"},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"name":{"maxLength":200,"minLength":1,"type":"string"},"output_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"const":true},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","input_contract","output_contract"],"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"},"view":{"const":"contracts"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"nodes":{"items":{"additionalProperties":false,"properties":{"id":{"maxLength":128,"type":["string","null"]},"type":{"maxLength":64,"type":["string","null"]}},"required":["id","type"],"type":"object"},"maxItems":500,"type":"array"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","nodes"],"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"},"view":{"const":"node_inventory"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"node":{"type":"object"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","node"],"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"},"view":{"const":"node"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"schemas":{"type":"object"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","schemas"],"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"},"view":{"const":"schemas"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"operator_fields":{"items":{"additionalProperties":false,"properties":{"allowed":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"conditional":{"additionalProperties":false,"properties":{"accepted_limitation":{"maxLength":240,"type":"string"}},"required":[],"type":"object"},"forbidden":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"operator":{"maxLength":64,"type":"string"},"required":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"type":{"maxLength":64,"type":"string"}},"required":["type","operator","required","allowed","forbidden","conditional"],"type":"object"},"maxItems":50,"type":"array"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"schema":{"type":"object"},"schema_name":{"enum":["update_recipe_build","acceptance_suite","start_recipe_build"]},"status":{"enum":["draft","qualified","committed","abandoned"]},"usage":{"maxLength":1500,"type":"string"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["schema_name","schema","usage"],"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"},"view":{"const":"authoring_schema"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"capabilities":{"items":{"additionalProperties":false,"properties":{"acceptance_note":{"maxLength":240,"type":["string","null"]},"authoring_schema":{"maxProperties":20,"minProperties":4,"type":"object"},"automatic_acceptance_eligible":{"type":"boolean"},"defaults":{"maxProperties":32,"type":"object"},"draft_authoring_supported":{"type":"boolean"},"effect_class":{"enum":["none","provider_call","external_read","external_write","durable_write","wait","nested_recipe"]},"exposure":{"enum":["primary","alias","backend_only"]},"minimal_example":{"maxProperties":100,"minProperties":2,"type":"object"},"node_type":{"maxLength":64,"minLength":1,"type":"string"},"qualification_route":{"enum":["automatic","conditional","supervised"]},"required_fields":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":32,"minItems":2,"type":"array","uniqueItems":true},"resource_selector_paths":{"items":{"maxLength":256,"pattern":"^/[A-Za-z_][A-Za-z0-9_/]*$","type":"string"},"maxItems":8,"type":"array","uniqueItems":true},"user_handoff":{"enum":["none","budget_approval","side_effect_approval","resource_and_side_effect_approval","resource_or_oauth","oauth_or_platform_policy","runtime_wait","recipe_selection","resource_selection"]}},"required":["node_type","draft_authoring_supported","automatic_acceptance_eligible","qualification_route","exposure","effect_class","user_handoff","acceptance_note","authoring_schema","required_fields","defaults","resource_selector_paths","minimal_example"],"type":"object"},"maxItems":8,"minItems":1,"type":"array"},"catalog_version":{"maxLength":64,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"next_cursor":{"maxLength":512,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","catalog_version","capabilities"],"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"},"view":{"const":"capabilities"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"evidence":{"items":{"additionalProperties":false,"properties":{"applicability":{"maxLength":1000,"minLength":1,"type":"string"},"retrieved_at":{"maxLength":64,"minLength":1,"type":"string"},"supported_claim":{"maxLength":1000,"minLength":1,"type":"string"},"title":{"maxLength":200,"minLength":1,"type":"string"},"url":{"maxLength":512,"minLength":1,"type":"string"}},"required":["url","title","retrieved_at","supported_claim","applicability"],"type":"object"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"research_policy":{"enum":["forbidden","allowed","required"]},"research_tier":{"enum":["skipped","recommended","required"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","research_policy","research_tier","evidence"],"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"},"view":{"const":"research"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"minimum_acceptance_categories":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"suite":{"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","suite","minimum_acceptance_categories"],"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"},"view":{"const":"acceptance_plan"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"minimum_acceptance_categories":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"next_cursor":{"maxLength":512,"type":["string","null"]},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"suite_page":{"additionalProperties":false,"properties":{"content":{"maxLength":16384,"minLength":1,"type":"string"},"encoding":{"const":"json"},"offset":{"minimum":0,"type":"integer"},"sha256":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"total_characters":{"minimum":1,"type":"integer"}},"required":["encoding","content","offset","total_characters","sha256"],"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","suite_page","next_cursor","minimum_acceptance_categories"],"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"},"view":{"const":"acceptance_plan"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"activities":{"items":{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"created_at":{"format":"date-time","maxLength":64,"type":"string"},"error_code":{"maxLength":64,"type":["string","null"]},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]}},"required":["activity_ref","kind","state","revision","error_code","created_at"],"type":"object"},"maxItems":25,"type":"array"},"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","activities"],"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"},"view":{"const":"activity"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"handoffs":{"items":{"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"},"maxItems":25,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","handoffs"],"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"},"view":{"const":"handoffs"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"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"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]}},"required":["build_ref","name","status","revision","qualification","archived_at","resources"],"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"},"view":{"const":"resources"}},"required":["view","data"],"type":"object"},{"properties":{"data":{"additionalProperties":false,"properties":{"archived_at":{"format":"date-time","maxLength":64,"type":["string","null"]},"build_ref":{"maxLength":4096,"minLength":1,"type":"string"},"catalog_version":{"maxLength":64,"type":"string"},"contract_bundle":{"additionalProperties":false,"properties":{"archetype":{"oneOf":[{"additionalProperties":false,"properties":{"archetype_id":{"maxLength":64,"minLength":1,"type":"string"},"capabilities":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"node_kinds":{"items":{"maxLength":64,"type":"string"},"maxItems":24,"type":"array"},"summary":{"maxLength":500,"minLength":1,"type":"string"},"title":{"maxLength":120,"minLength":1,"type":"string"}},"required":["archetype_id","title","summary","capabilities","node_kinds"],"type":"object"},{"type":"null"}]},"catalog_version":{"maxLength":64,"type":"string"},"input_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"type":"boolean"},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"output_contract":{"additionalProperties":false,"properties":{"fields":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":120,"minLength":1,"type":"string"},"required":{"const":true},"schema":{"maxProperties":100,"type":"object"}},"required":["handle","label","description","required","schema"],"type":"object"},"maxItems":20,"type":"array"}},"required":["fields"],"type":"object"},"recipe_spec":{"type":"object"},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["catalog_version","archetype","input_contract","output_contract","recipe_spec"],"type":"object"},"dsl_version":{"const":2},"guidance_version":{"maxLength":64,"type":"string"},"matched_archetypes":{"items":{"additionalProperties":false,"properties":{"archetype_id":{"maxLength":64,"minLength":1,"type":"string"},"capabilities":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"node_kinds":{"items":{"maxLength":64,"type":"string"},"maxItems":24,"type":"array"},"summary":{"maxLength":500,"minLength":1,"type":"string"},"title":{"maxLength":120,"minLength":1,"type":"string"}},"required":["archetype_id","title","summary","capabilities","node_kinds"],"type":"object"},"maxItems":3,"type":"array"},"minimum_acceptance_categories":{"items":{"maxLength":64,"type":"string"},"maxItems":20,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"qualification":{"enum":["none","pending","qualified","invalidated"]},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"status":{"enum":["draft","qualified","committed","abandoned"]},"versions":{"additionalProperties":false,"properties":{"archetypes":{"maxLength":64,"type":"string"},"capabilities":{"maxLength":64,"type":"string"},"checks":{"maxLength":64,"type":"string"},"guidance":{"maxLength":64,"type":"string"},"models":{"maxLength":64,"type":"string"}},"required":["archetypes","capabilities","checks","guidance","models"],"type":"object"}},"required":["build_ref","name","status","revision","qualification","archived_at","dsl_version","catalog_version","guidance_version","matched_archetypes","contract_bundle","minimum_acceptance_categories"],"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"},"view":{"const":"guidance"}},"required":["view","data"],"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"}],"type":"object"}before
{"oneOf":[{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"const":"review"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"summary"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"summary":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"category":{"enum":["runtime_contract","semantic_contract","method","safety","research","advisory"]},"code":{"maxLength":64,"type":"string"},"counterexample":{"maxLength":1000,"type":"string"},"evidence_path":{"maxLength":512,"type":"string"},"evidence_status":{"enum":["source_verified","unsupported"]},"recommendation":{"maxLength":4000,"type":"string"},"runtime_binding_status":{"const":"verified"},"severity":{"enum":["info","warning","error"]}},"required":["code","severity"],"type":"object"},"maxItems":50,"type":"array"},"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"},"strengths":{"items":{"maxLength":300,"type":"string"},"maxItems":20,"type":"array"},"verdict":{"enum":["pending","pass","revise"]}},"required":["verdict","issues","strengths"],"type":"object"},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","summary"],"type":"object"},{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"const":"acceptance_batch"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"summary"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"summary":{"additionalProperties":false,"properties":{"billing_anomalies":{"maximum":50,"minimum":0,"type":"integer"},"cancelled":{"maximum":50,"minimum":0,"type":"integer"},"case_count":{"maximum":50,"minimum":0,"type":"integer"},"failed":{"maximum":50,"minimum":0,"type":"integer"},"passed":{"maximum":50,"minimum":0,"type":"integer"}},"required":["case_count"],"type":"object"},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","summary"],"type":"object"},{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"const":"acceptance_case"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"summary"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"summary":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","summary"],"type":"object"},{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charge_disposition":{"const":"platform_absorbed"},"provider_cost_status":{"const":"unknown"},"remaining_budget":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"settled_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","settled_credits","remaining_budget"],"type":"object"}]},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"billing"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","billing"],"type":"object"},{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"nodes":{"items":{"additionalProperties":false,"properties":{"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charge_disposition":{"const":"platform_absorbed"},"provider_cost_status":{"const":"unknown"},"remaining_budget":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"settled_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","settled_credits","remaining_budget"],"type":"object"}]},"case_id":{"maxLength":64,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]}},"required":["case_id","state","billing"],"type":"object"},"maxItems":50,"type":"array"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"nodes"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","nodes"],"type":"object"},{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"coverage":{"additionalProperties":false,"properties":{"qualified":{"type":"boolean"},"required_case_ids":{"items":{"maxLength":64,"type":"string"},"maxItems":50,"type":"array"},"selected_case_ids":{"items":{"maxLength":64,"type":"string"},"maxItems":50,"type":"array"}},"required":["selected_case_ids","required_case_ids","qualified"],"type":"object"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"coverage"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","coverage"],"type":"object"},{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"cases":{"items":{"additionalProperties":false,"properties":{"assertions":{"items":{"additionalProperties":false,"properties":{"assertion_id":{"maxLength":64,"type":"string"},"code":{"maxLength":64,"type":"string"},"diagnostic":{"additionalProperties":false,"properties":{"actual_missing":{"type":"boolean"},"actual_preview":{"maxLength":256,"type":"string"},"availability":{"enum":["available","unavailable"]},"expected_preview":{"maxLength":256,"type":"string"},"operator":{"maxLength":64,"type":"string"},"paired_actual_missing":{"type":"boolean"},"paired_actual_preview":{"maxLength":256,"type":"string"},"path":{"maxLength":512,"type":"string"},"truncated":{"type":"boolean"},"type":{"maxLength":64,"type":"string"}},"required":["availability"],"type":"object"},"passed":{"type":"boolean"}},"required":["assertion_id","passed","code"],"type":"object"},"maxItems":50,"type":"array"},"case_id":{"maxLength":64,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]}},"required":["case_id","state","assertions"],"type":"object"},"maxItems":20,"type":"array"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"next_cursor":{"maxLength":32,"type":["string","null"]},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"assertions"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","cases","next_cursor"],"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"}],"type":"object"}after
{"oneOf":[{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"const":"review"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"summary"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"summary":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"category":{"enum":["runtime_contract","semantic_contract","method","safety","research","advisory"]},"code":{"maxLength":64,"type":"string"},"counterexample":{"maxLength":1000,"type":"string"},"evidence_path":{"maxLength":512,"type":"string"},"evidence_status":{"enum":["source_verified","unsupported"]},"recommendation":{"maxLength":4000,"type":"string"},"runtime_binding_status":{"const":"verified"},"severity":{"enum":["info","warning","error"]}},"required":["code","severity"],"type":"object"},"maxItems":50,"type":"array"},"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"},"strengths":{"items":{"maxLength":300,"type":"string"},"maxItems":20,"type":"array"},"verdict":{"enum":["pending","pass","revise"]}},"required":["verdict","issues","strengths"],"type":"object"},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","summary"],"type":"object"},{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"const":"acceptance_batch"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"summary"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"summary":{"additionalProperties":false,"properties":{"billing_anomalies":{"maximum":50,"minimum":0,"type":"integer"},"cancelled":{"maximum":50,"minimum":0,"type":"integer"},"case_count":{"maximum":50,"minimum":0,"type":"integer"},"failed":{"maximum":50,"minimum":0,"type":"integer"},"passed":{"maximum":50,"minimum":0,"type":"integer"}},"required":["case_count"],"type":"object"},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","summary"],"type":"object"},{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"const":"acceptance_case"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"summary"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"summary":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","summary"],"type":"object"},{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charge_disposition":{"const":"platform_absorbed"},"provider_cost_status":{"const":"unknown"},"remaining_budget":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"settled_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","settled_credits","remaining_budget"],"type":"object"}]},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"billing"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","billing"],"type":"object"},{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"nodes":{"items":{"additionalProperties":false,"properties":{"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charge_disposition":{"const":"platform_absorbed"},"provider_cost_status":{"const":"unknown"},"remaining_budget":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"settled_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","settled_credits","remaining_budget"],"type":"object"}]},"case_id":{"maxLength":64,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]}},"required":["case_id","state","billing"],"type":"object"},"maxItems":50,"type":"array"},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"nodes"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","nodes"],"type":"object"},{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"coverage":{"additionalProperties":false,"properties":{"qualified":{"type":"boolean"},"required_case_ids":{"items":{"maxLength":64,"type":"string"},"maxItems":50,"type":"array"},"selected_case_ids":{"items":{"maxLength":64,"type":"string"},"maxItems":50,"type":"array"}},"required":["selected_case_ids","required_case_ids","qualified"],"type":"object"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"coverage"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","coverage"],"type":"object"},{"properties":{"activity_ref":{"maxLength":4096,"minLength":1,"type":"string"},"cases":{"items":{"additionalProperties":false,"properties":{"assertions":{"items":{"additionalProperties":false,"properties":{"assertion_id":{"maxLength":64,"type":"string"},"code":{"maxLength":64,"type":"string"},"diagnostic":{"additionalProperties":false,"properties":{"actual_missing":{"type":"boolean"},"actual_preview":{"maxLength":256,"type":"string"},"availability":{"enum":["available","unavailable"]},"expected_preview":{"maxLength":256,"type":"string"},"operator":{"maxLength":64,"type":"string"},"paired_actual_missing":{"type":"boolean"},"paired_actual_preview":{"maxLength":256,"type":"string"},"path":{"maxLength":512,"type":"string"},"truncated":{"type":"boolean"},"type":{"maxLength":64,"type":"string"}},"required":["availability"],"type":"object"},"passed":{"type":"boolean"}},"required":["assertion_id","passed","code"],"type":"object"},"maxItems":50,"type":"array"},"case_id":{"maxLength":64,"type":"string"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]}},"required":["case_id","state","assertions"],"type":"object"},"maxItems":20,"type":"array"},"error_code":{"maxLength":64,"type":"string"},"execution_diagnostic":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"evidence":{"additionalProperties":false,"properties":{"attempt_count":{"maximum":100,"minimum":1,"type":"integer"},"finish_reason":{"enum":["max_output_tokens","max_tokens","length","content_filter","refusal","unknown"]},"max_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"reasoning_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"source":{"enum":["structured_executor","legacy_executor_message"]},"total_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"},"visible_output_tokens":{"maximum":10000000,"minimum":0,"type":"integer"}},"required":["source"],"type":"object"},"field_path":{"items":{"maxLength":64,"type":"string"},"maxItems":4,"type":"array"},"fix_hint":{"maxLength":300,"type":"string"},"message":{"maxLength":200,"type":"string"},"node_type":{"maxLength":64,"type":"string"},"step_id":{"maxLength":128,"type":"string"}},"required":["step_id","node_type","code","field_path","message","fix_hint"],"type":"object"},"kind":{"enum":["review","acceptance_batch","acceptance_case"]},"next_cursor":{"maxLength":32,"type":["string","null"]},"retry":{"additionalProperties":false,"properties":{"attempt":{"maximum":3,"minimum":1,"type":"integer"},"maximum_attempts":{"const":3},"reason":{"enum":["review_processing_interrupted","provider_result_processing_retry","settlement_retry"]},"retry_at":{"format":"date-time","maxLength":64,"type":"string"},"state":{"enum":["scheduled","retrying"]}},"required":["state","attempt","maximum_attempts","retry_at","reason"],"type":"object"},"revision":{"maxLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"},"section":{"const":"assertions"},"state":{"enum":["queued","running","blocked","done","failed","cancelled"]},"terminal":{"type":"boolean"},"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":["activity_ref","kind","state","revision","terminal","section","cases","next_cursor"],"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"}],"type":"object"}before
{"oneOf":[{"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"}],"type":"object"}after
{"oneOf":[{"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"}],"type":"object"}before
{"oneOf":[{"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"}],"type":"object"}after
{"oneOf":[{"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"}],"type":"object"}{"oneOf":[{"additionalProperties":false,"properties":{"archetype_bundle_role":{"const":"optional_guidance" ⟨880 unchanged words⟩
{"oneOf":[{"additionalProperties":false,"properties":{"activity_ref":{"maxLength":4096," ⟨692 unchanged words⟩
⟨3459 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
⟨2400 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
⟨2055 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
⟨2055 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
⟨582 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
Apply bounded optimistic changes to an owned private recipe build. After an uncertain response, inspect the build and replay the identical request with the same idempotency key; a new key duplicates the work. Use only the exact op names and payload keys in inputSchema: set_metadata takes metadata, upsert_schema takes schema_id and schema, and acceptance uses set_acceptance_cases with suite. Never invent set_schema or set_acceptance_suite. Ifopsanappearopasappears unknown,firstread get_recipe_build view='authoring_schema', schema_name='update_recipe_build'; read schema_name='acceptance_suite' forallthebehavioralcomplete suite shape and every assertionoperatorsoperator with its required, allowed and forbidden fields. Do not guess them. Use set_contracts to ⟨49 unchanged words⟩ must be the only op in its request.Use only the exact op names and payload keys in inputSchema: set_metadata takes metadata, upsert_schema takes schema_id and schema, and acceptance uses set_acceptance_cases with suite. Never invent set_schema or set_acceptance_suite.An acceptance suite is {version:1,cases: ⟨166 unchanged words⟩
⟨394 unchanged words⟩ 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"," ⟨22 unchanged words⟩ ","handoff_approval_required","handoff_expired","handoff_not_pending","handoff_stale","handoff_disclosure_incomplete","feature_unavailable","resource_unavailable","resource_binding_required","resource_requirement_not_found ⟨265 unchanged words⟩
⟨19 unchanged words⟩ ]*)$","type":"string"},"detail":{"description":"For view=steps: summary (default) lists each step's id, title, kind, status, timing and result type; full returns parameters, rendered input and result. view=step always returns the full step.","enum":["summary","full"]},"limit":{"description":"Steps per page for view=steps: default 10, at most 20.","maximum":20,"minimum":1,"type": ⟨30 unchanged words⟩
⟨142 unchanged words⟩ "},{"type":"null"}]},"observed_at":{"format":"date-time","maxLength":64,"type":"string"},"outcome":{"const":"steps"},"provisional":{"description":"True while the run is not finished: step statuses and results can still change. Unfinished steps show a pending result.","type":"boolean"},"run_id":{"maxLength":26,"minLength":26, ⟨14 unchanged words⟩ blocked"]},"steps":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"diagnostic_notes":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"meaning":{"maxLength":200,"type":"string"}},"required":["code","meaning"],"type":"object"},"maxItems":5,"type":"array"},"finished_at":{"maxLength":40,"type":["string","null"]},"kind":{"maxLength":32,"type":"string"},"redaction_reasons":{"items":{"enum":["sensitive_input","opaque_recipe"]},"maxItems":2,"type":"array","uniqueItems":true},"result_type":{"maxLength":32,"type":["string","null"]},"started_at":{"maxLength":40,"type":["string","null"]},"status":{"maxLength":32,"type":"string"},"step_id":{"maxLength":128,"type":"string"},"title":{"maxLength":500,"type":"string"}},"required":["step_id","title","kind","status","started_at","finished_at","result_type","redaction_reasons"],"type":"object"},{"additionalProperties":false,"properties":{"depends_on":{"items":{"maxLength":128,"type":"string"},"maxItems":1000,"type":"array"},"diagnostic_notes":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"meaning":{"maxLength":200,"type":"string"}},"required":["code","meaning"],"type":"object"},"maxItems":5,"type":"array"},"diagnostics":{"additionalProperties":false,"properties":{" ⟨83 unchanged words⟩ result","redaction_reasons"],"type":"object"}]},"maxItems":20,"type":"array"}, ⟨13 unchanged words⟩ "},{"additionalProperties":false,"properties":{"observed_at":{"format":"date-time","maxLength":64,"type":"string"},"outcome":{"const":"step"},"provisional":{"description":"True while the run is not finished: step statuses and results can still change. Unfinished steps show a pending result.","type":"boolean"},"run_id":{"maxLength":26,"minLength":26, ⟨22 unchanged words⟩ 128,"type":"string"},"maxItems":1000,"type":"array"},"diagnostic_notes":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"meaning":{"maxLength":200,"type":"string"}},"required":["code","meaning"],"type":"object"},"maxItems":5,"type":"array"},"diagnostics":{" ⟨324 unchanged words⟩
⟨12 unchanged words⟩ for its settled UI receipt. Default status requiresrun_id.run_id and includes live progress: updated_at is the run record time, progress.last_step_activity_at is the latest step activity. A blocked run paused for credits reports credit_pause.
before
{"oneOf":[{"oneOf":[{"additionalProperties":false,"properties":{"created_at":{"format":"date-time","maxLength":64,"type":"string"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"enum":["queued","running","blocked"]},"updated_at":{"format":"date-time","maxLength":64,"type":"string"}},"required":["run_id","status","created_at","updated_at"],"type":"object"},{"additionalProperties":false,"properties":{"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits"],"type":"object"},{"additionalProperties":false,"properties":{"available_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits","available_credits","balance_as_of"],"type":"object"}]},"created_at":{"format":"date-time","maxLength":64,"type":"string"},"results_available":{"type":"boolean"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"const":"done"},"updated_at":{"format":"date-time","maxLength":64,"type":"string"}},"required":["run_id","status","created_at","updated_at","results_available","billing"],"type":"object"},{"additionalProperties":false,"properties":{"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits"],"type":"object"},{"additionalProperties":false,"properties":{"available_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits","available_credits","balance_as_of"],"type":"object"}]},"created_at":{"format":"date-time","maxLength":64,"type":"string"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"enum":["failed","cancelled"]},"updated_at":{"format":"date-time","maxLength":64,"type":"string"}},"required":["run_id","status","created_at","updated_at","billing"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"const":"run_not_found"}},"required":["error"],"type":"object"}],"type":"object"},{"additionalProperties":false,"properties":{"next_cursor":{"maxLength":1024,"type":["string","null"]},"runs":{"items":{"additionalProperties":false,"properties":{"created_at":{"type":"string"},"recipe_id":{"type":"string"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"enum":["queued","running","done","failed","cancelled","blocked"]},"updated_at":{"type":"string"}},"required":["run_id","recipe_id","status","created_at","updated_at"],"type":"object"},"maxItems":20,"type":"array"},"view":{"const":"history"}},"required":["view","runs","next_cursor"],"type":"object"},{"additionalProperties":false,"properties":{"basis":{"const":"UI receipt estimate versus settled charge; not an admission ceiling. Null means unavailable."},"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits"],"type":"object"},{"additionalProperties":false,"properties":{"available_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits","available_credits","balance_as_of"],"type":"object"}]},"receipt":{"additionalProperties":false,"properties":{"charged_credits":{"type":["number","null"]},"estimated_credits":{"type":["number","null"]},"variance_pct":{"type":["number","null"]}},"required":["estimated_credits","charged_credits","variance_pct"],"type":"object"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"view":{"const":"diagnostics"}},"required":["view","run_id","billing","receipt","basis"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"const":"invalid_history_query"}},"required":["error"],"type":"object"}],"type":"object"}after
{"oneOf":[{"oneOf":[{"additionalProperties":false,"properties":{"created_at":{"format":"date-time","maxLength":64,"type":"string"},"credit_pause":{"additionalProperties":false,"description":"The run paused because a step could not reserve credits. It resumes from the StewAI web app after credits are added.","properties":{"available_credits":{"maxLength":32,"type":["string","null"]},"required_credits":{"maxLength":32,"type":["string","null"]},"resumable":{"const":true}},"required":["required_credits","available_credits","resumable"],"type":"object"},"progress":{"additionalProperties":false,"description":"Live progress from committed step rows. updated_at is the run record's time; last_step_activity_at shows the latest step start or finish.","properties":{"active_steps":{"items":{"additionalProperties":false,"properties":{"elapsed_seconds":{"minimum":0,"type":["integer","null"]},"kind":{"maxLength":32,"type":"string"},"started_at":{"maxLength":40,"type":["string","null"]},"step_id":{"maxLength":128,"type":"string"},"title":{"maxLength":120,"type":"string"}},"required":["step_id","kind","started_at","elapsed_seconds"],"type":"object"},"maxItems":5,"type":"array"},"last_step_activity_at":{"maxLength":40,"type":["string","null"]},"observed_at":{"maxLength":40,"type":"string"},"phase":{"enum":["queued","running_steps","between_steps","waiting_for_input","paused_insufficient_credits","terminal"]},"run_elapsed_seconds":{"minimum":0,"type":["integer","null"]},"steps":{"additionalProperties":false,"properties":{"done":{"minimum":0,"type":"integer"},"failed":{"minimum":0,"type":"integer"},"queued":{"minimum":0,"type":"integer"},"running":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"},"waiting_for_input":{"minimum":0,"type":"integer"}},"required":["total","queued","running","waiting_for_input","done","failed"],"type":"object"}},"required":["phase","steps","active_steps","run_elapsed_seconds","last_step_activity_at","observed_at"],"type":"object"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"enum":["queued","running","blocked"]},"updated_at":{"format":"date-time","maxLength":64,"type":"string"}},"required":["run_id","status","created_at","updated_at"],"type":"object"},{"additionalProperties":false,"properties":{"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits"],"type":"object"},{"additionalProperties":false,"properties":{"available_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits","available_credits","balance_as_of"],"type":"object"}]},"created_at":{"format":"date-time","maxLength":64,"type":"string"},"progress":{"additionalProperties":false,"description":"Live progress from committed step rows. updated_at is the run record's time; last_step_activity_at shows the latest step start or finish.","properties":{"active_steps":{"items":{"additionalProperties":false,"properties":{"elapsed_seconds":{"minimum":0,"type":["integer","null"]},"kind":{"maxLength":32,"type":"string"},"started_at":{"maxLength":40,"type":["string","null"]},"step_id":{"maxLength":128,"type":"string"},"title":{"maxLength":120,"type":"string"}},"required":["step_id","kind","started_at","elapsed_seconds"],"type":"object"},"maxItems":5,"type":"array"},"last_step_activity_at":{"maxLength":40,"type":["string","null"]},"observed_at":{"maxLength":40,"type":"string"},"phase":{"enum":["queued","running_steps","between_steps","waiting_for_input","paused_insufficient_credits","terminal"]},"run_elapsed_seconds":{"minimum":0,"type":["integer","null"]},"steps":{"additionalProperties":false,"properties":{"done":{"minimum":0,"type":"integer"},"failed":{"minimum":0,"type":"integer"},"queued":{"minimum":0,"type":"integer"},"running":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"},"waiting_for_input":{"minimum":0,"type":"integer"}},"required":["total","queued","running","waiting_for_input","done","failed"],"type":"object"}},"required":["phase","steps","active_steps","run_elapsed_seconds","last_step_activity_at","observed_at"],"type":"object"},"results_available":{"type":"boolean"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"const":"done"},"updated_at":{"format":"date-time","maxLength":64,"type":"string"}},"required":["run_id","status","created_at","updated_at","results_available","billing"],"type":"object"},{"additionalProperties":false,"properties":{"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits"],"type":"object"},{"additionalProperties":false,"properties":{"available_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits","available_credits","balance_as_of"],"type":"object"}]},"created_at":{"format":"date-time","maxLength":64,"type":"string"},"progress":{"additionalProperties":false,"description":"Live progress from committed step rows. updated_at is the run record's time; last_step_activity_at shows the latest step start or finish.","properties":{"active_steps":{"items":{"additionalProperties":false,"properties":{"elapsed_seconds":{"minimum":0,"type":["integer","null"]},"kind":{"maxLength":32,"type":"string"},"started_at":{"maxLength":40,"type":["string","null"]},"step_id":{"maxLength":128,"type":"string"},"title":{"maxLength":120,"type":"string"}},"required":["step_id","kind","started_at","elapsed_seconds"],"type":"object"},"maxItems":5,"type":"array"},"last_step_activity_at":{"maxLength":40,"type":["string","null"]},"observed_at":{"maxLength":40,"type":"string"},"phase":{"enum":["queued","running_steps","between_steps","waiting_for_input","paused_insufficient_credits","terminal"]},"run_elapsed_seconds":{"minimum":0,"type":["integer","null"]},"steps":{"additionalProperties":false,"properties":{"done":{"minimum":0,"type":"integer"},"failed":{"minimum":0,"type":"integer"},"queued":{"minimum":0,"type":"integer"},"running":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"},"waiting_for_input":{"minimum":0,"type":"integer"}},"required":["total","queued","running","waiting_for_input","done","failed"],"type":"object"}},"required":["phase","steps","active_steps","run_elapsed_seconds","last_step_activity_at","observed_at"],"type":"object"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"enum":["failed","cancelled"]},"updated_at":{"format":"date-time","maxLength":64,"type":"string"}},"required":["run_id","status","created_at","updated_at","billing"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"const":"run_not_found"}},"required":["error"],"type":"object"}],"type":"object"},{"additionalProperties":false,"properties":{"next_cursor":{"maxLength":1024,"type":["string","null"]},"runs":{"items":{"additionalProperties":false,"properties":{"charged_credits":{"description":"Credits charged by a finished run; null while it is active.","maxLength":32,"type":["string","null"]},"created_at":{"type":"string"},"recipe_id":{"type":"string"},"recipe_title":{"maxLength":200,"type":"string"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"status":{"enum":["queued","running","done","failed","cancelled","blocked"]},"updated_at":{"type":"string"}},"required":["run_id","recipe_id","recipe_title","status","created_at","updated_at","charged_credits"],"type":"object"},"maxItems":20,"type":"array"},"view":{"const":"history"}},"required":["view","runs","next_cursor"],"type":"object"},{"additionalProperties":false,"properties":{"basis":{"const":"UI receipt estimate versus settled charge; not an admission ceiling. Null means unavailable."},"billing":{"oneOf":[{"additionalProperties":false,"properties":{"retry_after_seconds":{"const":2},"state":{"const":"pending"}},"required":["state","retry_after_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"state":{"const":"unavailable"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits"],"type":"object"},{"additionalProperties":false,"properties":{"available_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"charged_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"state":{"const":"settled"}},"required":["state","charged_credits","available_credits","balance_as_of"],"type":"object"}]},"receipt":{"additionalProperties":false,"properties":{"charged_credits":{"type":["number","null"]},"estimated_credits":{"type":["number","null"]},"variance_pct":{"type":["number","null"]}},"required":["estimated_credits","charged_credits","variance_pct"],"type":"object"},"run_id":{"maxLength":26,"minLength":26,"pattern":"^[0-9A-Za-z]{26}$","type":"string"},"view":{"const":"diagnostics"}},"required":["view","run_id","billing","receipt","basis"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"const":"invalid_history_query"}},"required":["error"],"type":"object"}],"type":"object"}Estimate or run a previewed public or account-authorized published recipe. dry_run returns history (credits charged by past runs of this recipe), fees, your balance, and estimated_credits, a theoretical worst case. If credits run out during a run, it pauses and can be resumed after adding credits. On recipe_ref_expired, search or preview again and retry.⟨17 unchanged words⟩ ]+)?$","type":"string"},"balance_as_of":{"format":"date-time","maxLength":64,"type":"string"},"ceiling_explanation":{"additionalProperties":false,"properties":{" ⟨59 unchanged words⟩ ]+)?$","type":"string"},"fee_credits":{"maxLength":64,"pattern":"^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$","type":"string"},"historical_comparison":{"enum":["lower","same" ⟨6 unchanged words⟩ ,"0_to_10","10_to_100","over_100"]},"history":{"additionalProperties":false,"description":"Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.","properties":{"average_credits":{"maxLength":32,"type":["string","null"]},"failed_runs":{"minimum":0,"type":"integer"},"last_run_at":{"maxLength":40,"type":["string","null"]},"median_credits":{"maxLength":32,"type":["string","null"]},"p90_credits":{"maxLength":32,"type":["string","null"]},"recent_charges":{"description":"Actual charges of the one or two runs when there are too few for statistics.","items":{"maxLength":32,"type":"string"},"maxItems":2,"type":"array"},"successful_runs":{"minimum":0,"type":"integer"},"window_days":{"minimum":1,"type":["integer","null"]}},"required":["successful_runs","failed_runs","average_credits","median_credits","p90_credits","last_run_at","window_days","recent_charges"],"type":"object"},"input_token_floor":{"minimum":1,"type":"integer ⟨59 unchanged words⟩ ]+)?$","type":"string"},"history":{"additionalProperties":false,"description":"Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.","properties":{"average_credits":{"maxLength":32,"type":["string","null"]},"failed_runs":{"minimum":0,"type":"integer"},"last_run_at":{"maxLength":40,"type":["string","null"]},"median_credits":{"maxLength":32,"type":["string","null"]},"p90_credits":{"maxLength":32,"type":["string","null"]},"recent_charges":{"description":"Actual charges of the one or two runs when there are too few for statistics.","items":{"maxLength":32,"type":"string"},"maxItems":2,"type":"array"},"successful_runs":{"minimum":0,"type":"integer"},"window_days":{"minimum":1,"type":["integer","null"]}},"required":["successful_runs","failed_runs","average_credits","median_credits","p90_credits","last_run_at","window_days","recent_charges"],"type":"object"},"outcome":{"const":"started"},"run_id" ⟨181 unchanged words⟩ ,"required":["error","required_credits","available_credits"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"const":"recipe_ref_expired"},"hint":{"maxLength":240,"type":"string"}},"required":["error","hint"],"type":"object"},{"additionalProperties" ⟨175 unchanged words⟩
Find safe public recipes and published recipes available to the current account. results are direct fits (exact or strong); related_results are adjacent recipes, not direct fits. Each row states its output contract, past-run cost history and, for reviewed public recipes, that safety review is not output-quality validation. required_inputs and required_outputs match exact handles or normalized labels, never meanings. When paging.has_more is true, repeat the identical call with cursor=next_cursor.before
{"oneOf":[{"properties":{"candidate_counts":{"additionalProperties":false,"description":"Counts over the bounded ranked pool, not the whole catalogue.","properties":{"related":{"minimum":0,"type":"integer"},"returned":{"minimum":0,"type":"integer"},"suitable":{"description":"Suitable candidates within the ranked pool of at most 25; a value near 25 means more may exist.","minimum":0,"type":"integer"}},"required":["suitable","related","returned"],"type":"object"},"excluded_candidates":{"additionalProperties":false,"properties":{"awaiting_review_binding":{"minimum":1,"type":"integer"},"guidance":{"maxLength":240,"type":"string"}},"required":["awaiting_review_binding","guidance"],"type":"object"},"filter_diagnostics":{"additionalProperties":false,"properties":{"available_inputs":{"items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"available_outputs":{"items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"labels_note":{"maxLength":240,"type":"string"},"labels_truncated":{"type":"boolean"},"matching":{"const":"normalized_handles_or_labels_not_meanings"},"rejected_candidate_count":{"minimum":0,"type":"integer"},"required_inputs":{"items":{"type":"string"},"maxItems":20,"type":"array"},"required_outputs":{"items":{"type":"string"},"maxItems":20,"type":"array"}},"required":["matching","required_inputs","required_outputs","rejected_candidate_count","available_inputs","available_outputs","labels_truncated"],"type":"object"},"match_status":{"enum":["matches","no_suitable_match"]},"next_action":{"additionalProperties":false,"properties":{"action":{"enum":["list_recent_builds","review_requirements"]},"reason":{"maxLength":240,"type":"string"},"tool":{"enum":["get_recipe_build","discover_stewai"]}},"required":["tool","action","reason"],"type":"object"},"next_cursor":{"description":"Pass back as cursor with the identical query and filters to fetch the next page of suitable results; null on the last page.","maxLength":2,"type":["string","null"]},"related_results":{"items":{"additionalProperties":false,"properties":{"access":{"additionalProperties":false,"properties":{"can_fork":{"type":"boolean"},"can_run":{"type":"boolean"},"can_view":{"type":"boolean"}},"required":["can_view","can_run","can_fork"],"type":"object"},"category":{"maxLength":100,"type":"string"},"contracts":{"additionalProperties":false,"properties":{"inputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs_undeclared":{"type":"boolean"}},"required":["inputs","outputs"],"type":"object"},"description":{"maxLength":500,"type":"string"},"description_truncated":{"type":"boolean"},"duration_band":{"enum":["unknown","seconds","minutes","long"]},"evidence":{"additionalProperties":false,"properties":{"acceptance_case_count":{"maximum":50,"minimum":0,"type":"integer"},"last_qualified":{"enum":["unknown","last_7_days","last_30_days","older"]},"research_evidence_count":{"maximum":100,"minimum":0,"type":"integer"},"safety_review_state":{"enum":["unreviewed","pending_attestation","pending_review","approved","rejected","revision_requested","delisted","suspended"]}},"required":["research_evidence_count","acceptance_case_count","last_qualified","safety_review_state"],"type":"object"},"match_quality":{"description":"strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.","enum":["exact","strong","related","unknown"]},"matched_fields":{"items":{"maxLength":100,"type":"string"},"maxItems":10,"type":"array"},"pricing":{"additionalProperties":false,"properties":{"average_credits":{"maxLength":128,"pattern":"^\\d+(?:\\.\\d+)?$","type":"string"},"basis":{"const":"historical_average_successful_runs"},"creator_fee":{"enum":["marketplace_policy","none"]},"credit_band":{"description":"Band of the average credits per successful run; unknown means no successful runs yet.","enum":["unknown","free","0_to_10","10_to_100","over_100"]},"estimate_requires_dry_run":{"const":true}},"required":["basis","credit_band","estimate_requires_dry_run","creator_fee"],"type":"object"},"qualification":{"enum":["public_reviewed","authoring_qualified","published_unqualified","unknown"]},"rating":{"additionalProperties":false,"properties":{"average":{"type":["number","null"]},"count":{"minimum":0,"type":"integer"}},"required":["average","count"],"type":"object"},"recipe_ref":{"maxLength":32768,"type":"string"},"source":{"enum":["public","owned","organization","shared"]},"state":{"const":"published"},"title":{"maxLength":200,"type":"string"},"visibility":{"enum":["private","shared","public_open","public_opaque"]}},"required":["title","description","description_truncated","category","visibility","pricing","duration_band","rating","recipe_ref","source","access","state","qualification","contracts","evidence"],"type":"object"},"maxItems":5,"type":"array"},"related_results_guidance":{"maxLength":240,"type":"string"},"results":{"items":{"additionalProperties":false,"properties":{"access":{"additionalProperties":false,"properties":{"can_fork":{"type":"boolean"},"can_run":{"type":"boolean"},"can_view":{"type":"boolean"}},"required":["can_view","can_run","can_fork"],"type":"object"},"category":{"maxLength":100,"type":"string"},"contracts":{"additionalProperties":false,"properties":{"inputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs_undeclared":{"type":"boolean"}},"required":["inputs","outputs"],"type":"object"},"description":{"maxLength":500,"type":"string"},"description_truncated":{"type":"boolean"},"duration_band":{"enum":["unknown","seconds","minutes","long"]},"evidence":{"additionalProperties":false,"properties":{"acceptance_case_count":{"maximum":50,"minimum":0,"type":"integer"},"last_qualified":{"enum":["unknown","last_7_days","last_30_days","older"]},"research_evidence_count":{"maximum":100,"minimum":0,"type":"integer"},"safety_review_state":{"enum":["unreviewed","pending_attestation","pending_review","approved","rejected","revision_requested","delisted","suspended"]}},"required":["research_evidence_count","acceptance_case_count","last_qualified","safety_review_state"],"type":"object"},"match_quality":{"description":"strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.","enum":["exact","strong","related","unknown"]},"matched_fields":{"items":{"maxLength":100,"type":"string"},"maxItems":10,"type":"array"},"pricing":{"additionalProperties":false,"properties":{"average_credits":{"maxLength":128,"pattern":"^\\d+(?:\\.\\d+)?$","type":"string"},"basis":{"const":"historical_average_successful_runs"},"creator_fee":{"enum":["marketplace_policy","none"]},"credit_band":{"description":"Band of the average credits per successful run; unknown means no successful runs yet.","enum":["unknown","free","0_to_10","10_to_100","over_100"]},"estimate_requires_dry_run":{"const":true}},"required":["basis","credit_band","estimate_requires_dry_run","creator_fee"],"type":"object"},"qualification":{"enum":["public_reviewed","authoring_qualified","published_unqualified","unknown"]},"rating":{"additionalProperties":false,"properties":{"average":{"type":["number","null"]},"count":{"minimum":0,"type":"integer"}},"required":["average","count"],"type":"object"},"recipe_ref":{"maxLength":32768,"type":"string"},"source":{"enum":["public","owned","organization","shared"]},"state":{"const":"published"},"title":{"maxLength":200,"type":"string"},"visibility":{"enum":["private","shared","public_open","public_opaque"]}},"required":["title","description","description_truncated","category","visibility","pricing","duration_band","rating","recipe_ref","source","access","state","qualification","contracts","evidence"],"type":"object"},"maxItems":5,"type":"array"}},"required":["results","match_status"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"enum":["invalid_query","rate_limited","search_unavailable"],"type":"string"},"field":{"maxLength":32,"type":"string"},"hint":{"maxLength":240,"type":"string"},"retry_after_seconds":{"minimum":1,"type":"integer"}},"required":["error"],"type":"object"}],"type":"object"}after
{"oneOf":[{"properties":{"candidate_counts":{"additionalProperties":false,"description":"Counts over the bounded ranked pool, not the whole catalogue.","properties":{"related":{"minimum":0,"type":"integer"},"returned":{"minimum":0,"type":"integer"},"suitable":{"description":"Suitable candidates within the ranked pool of at most 25; a value near 25 means more may exist.","minimum":0,"type":"integer"}},"required":["suitable","related","returned"],"type":"object"},"excluded_candidates":{"additionalProperties":false,"properties":{"awaiting_review_binding":{"minimum":1,"type":"integer"},"guidance":{"maxLength":240,"type":"string"}},"required":["awaiting_review_binding","guidance"],"type":"object"},"filter_diagnostics":{"additionalProperties":false,"properties":{"available_inputs":{"items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"available_outputs":{"items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"labels_note":{"maxLength":240,"type":"string"},"labels_truncated":{"type":"boolean"},"matching":{"const":"normalized_handles_or_labels_not_meanings"},"rejected_candidate_count":{"minimum":0,"type":"integer"},"required_inputs":{"items":{"type":"string"},"maxItems":20,"type":"array"},"required_outputs":{"items":{"type":"string"},"maxItems":20,"type":"array"}},"required":["matching","required_inputs","required_outputs","rejected_candidate_count","available_inputs","available_outputs","labels_truncated"],"type":"object"},"match_status":{"enum":["matches","no_suitable_match"]},"next_action":{"additionalProperties":false,"properties":{"action":{"enum":["list_recent_builds","review_requirements"]},"reason":{"maxLength":240,"type":"string"},"tool":{"enum":["get_recipe_build","discover_stewai"]}},"required":["tool","action","reason"],"type":"object"},"next_cursor":{"description":"Pass back as cursor with the identical query and filters to fetch the next page of suitable results; null on the last page.","maxLength":2,"type":["string","null"]},"paging":{"additionalProperties":false,"properties":{"has_more":{"type":"boolean"},"how":{"maxLength":160,"type":"string"}},"required":["has_more","how"],"type":"object"},"related_results":{"items":{"additionalProperties":false,"properties":{"access":{"additionalProperties":false,"properties":{"can_fork":{"type":"boolean"},"can_run":{"type":"boolean"},"can_view":{"type":"boolean"}},"required":["can_view","can_run","can_fork"],"type":"object"},"category":{"maxLength":100,"type":"string"},"contracts":{"additionalProperties":false,"properties":{"inputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs_undeclared":{"type":"boolean"}},"required":["inputs","outputs"],"type":"object"},"description":{"maxLength":500,"type":"string"},"description_truncated":{"type":"boolean"},"duration_band":{"enum":["unknown","seconds","minutes","long"]},"evidence":{"additionalProperties":false,"properties":{"acceptance_case_count":{"maximum":50,"minimum":0,"type":"integer"},"last_qualified":{"enum":["unknown","last_7_days","last_30_days","older"]},"research_evidence_count":{"maximum":100,"minimum":0,"type":"integer"},"safety_review_state":{"enum":["unreviewed","pending_attestation","pending_review","approved","rejected","revision_requested","delisted","suspended"]}},"required":["research_evidence_count","acceptance_case_count","last_qualified","safety_review_state"],"type":"object"},"evidence_note":{"maxLength":240,"type":["string","null"]},"history":{"additionalProperties":false,"description":"Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.","properties":{"average_credits":{"maxLength":32,"type":["string","null"]},"failed_runs":{"minimum":0,"type":"integer"},"last_run_at":{"maxLength":40,"type":["string","null"]},"median_credits":{"maxLength":32,"type":["string","null"]},"p90_credits":{"maxLength":32,"type":["string","null"]},"recent_charges":{"description":"Actual charges of the one or two runs when there are too few for statistics.","items":{"maxLength":32,"type":"string"},"maxItems":2,"type":"array"},"successful_runs":{"minimum":0,"type":"integer"},"window_days":{"minimum":1,"type":["integer","null"]}},"required":["successful_runs","failed_runs","average_credits","median_credits","p90_credits","last_run_at","window_days","recent_charges"],"type":"object"},"match_quality":{"description":"strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.","enum":["exact","strong","related","unknown"]},"matched_fields":{"items":{"maxLength":100,"type":"string"},"maxItems":10,"type":"array"},"output_contract_state":{"description":"declared: stable output bindings; undeclared: the recipe declares no outputs even if its description promises some; unusable: outputs exist without a stable binding.","enum":["declared","undeclared","unusable"]},"pricing":{"additionalProperties":false,"properties":{"average_credits":{"maxLength":128,"pattern":"^\\d+(?:\\.\\d+)?$","type":"string"},"basis":{"const":"historical_average_successful_runs"},"creator_fee":{"enum":["marketplace_policy","none"]},"credit_band":{"description":"Band of the average credits per successful run; unknown means no successful runs yet.","enum":["unknown","free","0_to_10","10_to_100","over_100"]},"estimate_requires_dry_run":{"const":true}},"required":["basis","credit_band","estimate_requires_dry_run","creator_fee"],"type":"object"},"qualification":{"enum":["public_reviewed","authoring_qualified","published_unqualified","unknown"]},"rating":{"additionalProperties":false,"properties":{"average":{"type":["number","null"]},"count":{"minimum":0,"type":"integer"}},"required":["average","count"],"type":"object"},"recipe_ref":{"maxLength":32768,"type":"string"},"source":{"enum":["public","owned","organization","shared"]},"state":{"const":"published"},"title":{"maxLength":200,"type":"string"},"visibility":{"enum":["private","shared","public_open","public_opaque"]}},"required":["title","description","description_truncated","category","visibility","pricing","duration_band","rating","recipe_ref","source","access","state","qualification","contracts","evidence"],"type":"object"},"maxItems":5,"type":"array"},"related_results_guidance":{"maxLength":240,"type":"string"},"results":{"items":{"additionalProperties":false,"properties":{"access":{"additionalProperties":false,"properties":{"can_fork":{"type":"boolean"},"can_run":{"type":"boolean"},"can_view":{"type":"boolean"}},"required":["can_view","can_run","can_fork"],"type":"object"},"category":{"maxLength":100,"type":"string"},"contracts":{"additionalProperties":false,"properties":{"inputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"type":"string"},"handle":{"pattern":"^[a-z][a-z0-9_]{0,63}$","type":"string"},"label":{"maxLength":100,"type":"string"},"required":{"description":"Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.","type":"boolean"}},"required":["handle","label","required","description"],"type":"object"},"maxItems":50,"type":"array"},"outputs_undeclared":{"type":"boolean"}},"required":["inputs","outputs"],"type":"object"},"description":{"maxLength":500,"type":"string"},"description_truncated":{"type":"boolean"},"duration_band":{"enum":["unknown","seconds","minutes","long"]},"evidence":{"additionalProperties":false,"properties":{"acceptance_case_count":{"maximum":50,"minimum":0,"type":"integer"},"last_qualified":{"enum":["unknown","last_7_days","last_30_days","older"]},"research_evidence_count":{"maximum":100,"minimum":0,"type":"integer"},"safety_review_state":{"enum":["unreviewed","pending_attestation","pending_review","approved","rejected","revision_requested","delisted","suspended"]}},"required":["research_evidence_count","acceptance_case_count","last_qualified","safety_review_state"],"type":"object"},"evidence_note":{"maxLength":240,"type":["string","null"]},"history":{"additionalProperties":false,"description":"Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.","properties":{"average_credits":{"maxLength":32,"type":["string","null"]},"failed_runs":{"minimum":0,"type":"integer"},"last_run_at":{"maxLength":40,"type":["string","null"]},"median_credits":{"maxLength":32,"type":["string","null"]},"p90_credits":{"maxLength":32,"type":["string","null"]},"recent_charges":{"description":"Actual charges of the one or two runs when there are too few for statistics.","items":{"maxLength":32,"type":"string"},"maxItems":2,"type":"array"},"successful_runs":{"minimum":0,"type":"integer"},"window_days":{"minimum":1,"type":["integer","null"]}},"required":["successful_runs","failed_runs","average_credits","median_credits","p90_credits","last_run_at","window_days","recent_charges"],"type":"object"},"match_quality":{"description":"strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.","enum":["exact","strong","related","unknown"]},"matched_fields":{"items":{"maxLength":100,"type":"string"},"maxItems":10,"type":"array"},"output_contract_state":{"description":"declared: stable output bindings; undeclared: the recipe declares no outputs even if its description promises some; unusable: outputs exist without a stable binding.","enum":["declared","undeclared","unusable"]},"pricing":{"additionalProperties":false,"properties":{"average_credits":{"maxLength":128,"pattern":"^\\d+(?:\\.\\d+)?$","type":"string"},"basis":{"const":"historical_average_successful_runs"},"creator_fee":{"enum":["marketplace_policy","none"]},"credit_band":{"description":"Band of the average credits per successful run; unknown means no successful runs yet.","enum":["unknown","free","0_to_10","10_to_100","over_100"]},"estimate_requires_dry_run":{"const":true}},"required":["basis","credit_band","estimate_requires_dry_run","creator_fee"],"type":"object"},"qualification":{"enum":["public_reviewed","authoring_qualified","published_unqualified","unknown"]},"rating":{"additionalProperties":false,"properties":{"average":{"type":["number","null"]},"count":{"minimum":0,"type":"integer"}},"required":["average","count"],"type":"object"},"recipe_ref":{"maxLength":32768,"type":"string"},"source":{"enum":["public","owned","organization","shared"]},"state":{"const":"published"},"title":{"maxLength":200,"type":"string"},"visibility":{"enum":["private","shared","public_open","public_opaque"]}},"required":["title","description","description_truncated","category","visibility","pricing","duration_band","rating","recipe_ref","source","access","state","qualification","contracts","evidence"],"type":"object"},"maxItems":5,"type":"array"}},"required":["results","match_status"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"enum":["invalid_query","rate_limited","search_unavailable"],"type":"string"},"field":{"maxLength":32,"type":"string"},"hint":{"maxLength":240,"type":"string"},"retry_after_seconds":{"minimum":1,"type":"integer"}},"required":["error"],"type":"object"}],"type":"object"}