StewAI
Server Details
Discover, preview, estimate, run, and retrieve reusable AI workflows.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP ยท MCP 2025-11-25
- URL
TDQS
Scored across 14 tools
Each tool targets a distinct action and resource: building, checking, reviewing, running, committing, searching, and inspection. The separate get_* tools for builds, previews, results, and runs have clear boundaries, and even overlapping actions (check vs. review vs. acceptance) are differentiated by their deterministic vs. semantic vs. behavioral nature.
All tools follow a consistent verb_noun snake_case pattern (e.g., check_recipe_build, get_results, run_recipe_acceptance). The lone discover_stewai still uses a verb and object, and the pattern is uniform across the set.
14 tools is well within the ideal range for a comprehensive domain. Each tool serves a distinct purpose in the recipe lifecycle, and none feel redundant or extraneous.
The toolset covers the full workflow: creation (start_recipe_build), modification (update_recipe_build), validation (check_recipe_build, review_recipe_build), execution (run_recipe, run_recipe_acceptance), publishing (commit_recipe_build), discovery (search_recipes, discover_stewai), and inspection (get_* family). The inclusion of activity polling and results retrieval closes potential dead ends.
Available Tools
14 toolscheck_recipe_buildCheck a StewAI Recipe BuildARead-onlyIdempotentInspect
Run free deterministic lint, render, policy, and compiler checks. Omit fixtures for the normal structural check; a supplied fixture probe must also provide every referenced upstream dependency value.
| Name | Required | Description | Default |
|---|---|---|---|
| fixtures | No | ||
| build_ref | Yes | ||
| render_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds 'deterministic' and 'free', which are consistent with annotations. It does not mention any side effects, error handling, or return behavior, but annotations cover the safety profile. It adds moderate value by clarifying deterministic and free nature.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the purpose and includes a conditional usage note. No filler words; every clause adds information. It is appropriately sized.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 3 parameters, an output schema, and annotations. The description covers the core purpose and the fixtures parameter, but misses usage guidance relative to siblings and explanations for build_ref and render_only. Given the complexity (multiple check types, fixture mode), the description is incomplete for an agent to correctly invoke the tool without further inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must explain parameters. It only explains the fixtures parameter in detail (how to use it and the requirement to provide upstream dependency values). It does not explain build_ref (what it is, its purpose) or render_only (whether it limits to rendering only). This is a significant gap since the schema provides no descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it runs lint, render, policy, and compiler checks on a recipe build. The verb 'run' and the specific check types distinguish it from sibling tools like run_recipe or get_recipe_build. It is specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives instructions on how to use fixtures ('Omit fixtures for the normal structural check; a supplied fixture probe must also provide every referenced upstream dependency value') but does not explicitly state when to choose this tool over siblings. It implies it's for pre-run validation but doesn't mention alternatives like review_recipe_build or run_recipe. This is a gap.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
commit_recipe_buildCommit a StewAI Recipe BuildCDestructiveIdempotentInspect
Preflight and privately publish only the exact fully qualified recipe revision.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| revision | Yes | ||
| build_ref | Yes | ||
| idempotency_key | Yes | ||
| commit_capability | No | Required for commit; omit for preflight. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate destructiveHint=true, readOnlyHint=false, and idempotentHint=true. The description adds the concepts of 'preflight' and 'privately publish' but does not clarify what each mode does, whether commit is reversible, or what 'privately publish' implies. It adds minimal behavioral context beyond the annotations and fails to explain the destructive nature or side effects of the commit operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is concise and front-loaded. However, it is so terse that it becomes cryptic; it could benefit from a two-part structure separating preflight and commit behavior. Still, there is no fluff or unnecessary words, so it scores well on conciseness but loses points for structure due to ambiguity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 5 parameters, a two-mode operation (preflight vs commit), and only 20% schema coverage, the description is severely incomplete. It does not explain the distinction between modes, the meaning of idempotency, what output is expected, or the consequences of committing. The presence of an output schema does not help because the description does not describe the tool's behavior enough for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 20%, with only commit_capability having a description. The tool description does not explain any parameters. The phrase 'exact fully qualified recipe revision' hints at build_ref and revision but does not clarify their format, purpose, or the role of mode and idempotency_key. The description fails to compensate for the low schema coverage, leaving parameter meanings ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Preflight and privately publish only the exact fully qualified recipe revision' gives a general idea of preflight and publication, but it is vague about the actual operation on the recipe build. It does not explicitly say 'commit' or clearly distinguish from siblings like start_recipe_build or update_recipe_build. The phrase 'exact fully qualified recipe revision' is jargon that lacks concrete definition.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives. The description does not mention any conditions or exclusions, and the 'mode' parameter (preflight vs commit) is not explained as a usage differentiator. With many sibling tools (start_recipe_build, check_recipe_build, etc.), the agent is left without clear routing information.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
discover_stewaiDiscover and Connect to StewAIARead-onlyIdempotentInspect
Learn how any MCP agent can authenticate, discover, preview, run, author, qualify, commit, inspect, and recover StewAI recipes. Call this first.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| rules | Yes | |
| account | No | |
| connection | Yes | |
| capabilities | Yes | |
| scope_groups | Yes | |
| authenticated | Yes | |
| granted_scopes | Yes | |
| consumer_journey | Yes | |
| authoring_journey | Yes | |
| authoring_available | Yes | |
| gateway_contract_version | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only, idempotent, and non-destructive behavior, so the description does not need to restate those. It adds useful context about scope and entrypoint sequencing, but it does not describe what the tool actually returns or how it behaves at runtime beyond being a starting point.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no filler. The scope is front-loaded and the final directive 'Call this first' is crisp. The lengthy verb list is dense but purposeful, covering the full recipe lifecycle in one compressed clause.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool with annotations and an output schema, the description provides the essential selection context: it is the first-call discovery tool covering the full StewAI recipe lifecycle. Nothing critical is missing for an agent to decide when and why to invoke it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so there is nothing to document and the baseline 4 applies. The description imposes no parameter expectations and the schema already confirms the tool takes no input.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description makes clear this is the discovery/entrypoint tool for StewAI recipes and broadly states what an agent can learn about: authenticate, discover, preview, run, author, qualify, commit, inspect, and recover. It is distinguishable from the sibling tools, which are specific operational recipe actions, but the framing as 'learn how' is slightly indirect about what the tool actually returns.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Call this first' is an explicit, actionable usage directive that tells the agent when to invoke this tool before any sibling operations. It does not explicitly name alternatives or exclusions, but the sequencing guidance is clear given the list of operational sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_recipe_buildInspect a StewAI Recipe BuildARead-onlyIdempotentInspect
List or inspect only the authenticated creator's private recipe builds. To list builds omit both build_ref and view; limit/cursor paginate that list. With or without build_ref, use view='authoring_schema' and schema_name='update_recipe_build', 'acceptance_suite', or 'start_recipe_build' to read the complete executable JSON Schema when a client hides nested operation or assertion fields. Large acceptance_plan reads return data.suite_page JSON fragments: append content in offset order, pass data.next_cursor as cursor until null, then parse the complete suite and verify its sha256. Small plans retain data.suite. Use view='capabilities' to discover the complete 24-handler authoring and automatic-acceptance capability catalog.
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| limit | No | ||
| cursor | No | ||
| node_id | No | ||
| model_id | No | ||
| build_ref | No | ||
| node_type | No | ||
| schema_name | No | ||
| include_archived | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, and the description does not contradict these. It adds substantial behavioral context: pagination mechanics (limit/cursor, next_cursor until null), handling of large vs. small acceptance plans (suite_page fragments vs. suite), and the need to verify sha256. This goes beyond the annotations and equips the agent with concrete execution details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but dense; every sentence adds operational detail without redundancy. It is structured logically: scoping, list behavior, schema reads, acceptance plan handling, and capabilities. While it could be tightened, it front-loads the core purpose and then layers specifics, making it efficient for an agent to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (9 parameters, many views, pagination, output schema), the description covers the most critical usage patterns: listing, pagination, schema retrieval, and large response handling. It also notes the authenticated creator scope. It does not enumerate every view's meaning, but it explains the ones likely to be used and provides enough context to call the tool effectively. The presence of an output schema reduces the need to describe return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It explains the semantics of view (with examples for authoring_schema and capabilities), build_ref, limit, cursor, and schema_name, which covers the core parameters. However, node_id, model_id, node_type, and include_archived are left unexplained, leaving gaps for an agent to infer their purpose. The description adds meaning for many parameters but not all.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists or inspects the authenticated creator's private recipe builds, which is a specific verb and resource. It differentiates from siblings like check_recipe_build (which likely validates) and get_recipe_build_activity (which focuses on activity) by scoping to the creator's own builds and covering both list and inspect operations. The wording leaves no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit conditions: omit build_ref and view to list, use limit/cursor for pagination, use specific view values for schema reading and capabilities discovery. It also details how to handle large acceptance_plan reads with pagination and sha256 verification. This provides clear when-to-use guidance and even distinguishes list vs. inspect scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_recipe_build_activityGet recipe build activityCRead-onlyIdempotentInspect
Poll a review or acceptance batch through a bounded, disclosure-safe view.
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| section | No | ||
| activity_ref | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds a useful behavioral constraint with 'bounded, disclosure-safe view,' though this phrasing is vague about what exactly is bounded or hidden.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler or redundancy. It is concise, though the 'disclosure-safe' phrasing is imprecise and could be more concrete without adding length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema and helpful annotations, the description leaves important operational context unexplained: what a 'batch' is, how cursor pagination works, what each section means, and when polling is appropriate. This is too thin for a tool with three parameters including a complex enum.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the schema's lack of parameter documentation. It does not mention activity_ref, cursor, or section, nor does it clarify how the section enum affects the returned view. The description adds almost no meaning beyond the parameter names themselves.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Poll') and identifies a bounded view of recipe build activity, which distinguishes it from sibling tools like get_recipe_build or check_recipe_build. The phrase 'review or acceptance batch' is somewhat jargon-heavy, but the title and action make the core purpose clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given about when to use this tool instead of siblings such as check_recipe_build, review_recipe_build, or get_recipe_build. The word 'Poll' implies repeated monitoring, but there is no explicit context, exclusions, or alternative routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_recipe_previewPreview a StewAI RecipeARead-onlyIdempotentInspect
Inspect a safe summary with bounded method and limitations excerpts, output-contract state, and evidence context. For complete authorized published details and executable contracts, use view=details. Concatenate content fragments in offset order per section; decode JSON sections after completion. Use next_cursor with the same recipe_ref until null. Opaque internals remain withheld.
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| cursor | No | ||
| recipe_ref | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so the description adds meaningful behavioral context: pagination via next_cursor until null, concatenation of content fragments in offset order, and decoding of JSON sections after completion. It also discloses that opaque internals remain withheld, which goes beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with purpose, then provides operational details. Every sentence earns its place, though the jargon-dense phrasing ('bounded method and limitations excerpts') slightly reduces clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema is present, so return-value details are covered. The description supplies pagination, assembly, and view-mode mechanics needed to invoke the tool correctly. A minor gap is the lack of a stated default for the optional view parameter and no definition of 'safe summary'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It does explain cursor usage ('Use next_cursor with the same recipe_ref until null') and the view enum's purpose, but recipe_ref semantics are only implied by the tool name, and cursor formatting is not specified. Meaningful but incomplete compensation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Inspect') and a specific resource ('a safe summary with bounded method and limitations excerpts, output-contract state, and evidence context'). It clearly identifies the tool as a preview mechanism, though it does not explicitly distinguish it from sibling tools like get_recipe_build or search_recipes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives internal mode guidance ('use view=details' for complete details) but offers no guidance on when to choose this tool over sibling alternatives. It does not state exclusions or when-not-to-use, leaving the agent without tool-selection context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_resultsGet StewAI Run ResultsARead-onlyIdempotentInspect
Read declared outputs or a sanitized per-step trace from an 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.
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| limit | No | Steps per page for view=steps: default 10, at most 20. | |
| cursor | No | ||
| detail | No | 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. | |
| run_id | Yes | ||
| step_id | No | ||
| chunk_ref | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent annotations, the description discloses significant behavior: results are sanitized, oversized steps are handled with signed chunks, step reads are provisional until the run finishes, and pagination requires following next_cursor until null. This gives the agent accurate expectations not present in the structured annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core purpose is front-loaded in the first sentence, and the following sentences pack precisely the needed operational detailsโviews, pagination, detail modes, and provisional semanticsโwithout filler. The punctuation keeps the dense information parseable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 7 parameters and no nested objects, the description is remarkably complete: it covers pagination, watermarking/provisional behavior, failure handling, and fallback strategies. Since an output schema exists, return-value details are appropriately left to the schema, and the description fills all essential usage gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 29%, so the description carries the parameter-documentation burden. It thoroughly explains view values, the limit default and range (10 default, max 20), cursor semantics (follow next_cursor), detail summary vs full, and step_id/chunk_ref usage. Every parameter gains practical meaning from the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with the specific verb 'Read' and names the exact resources: 'declared outputs or a sanitized per-step trace from an owned run.' It also distinguishes itself from the sibling tool get_run by describing step reads as provisional until get_run reports a finished status, so an agent can disambiguate the two.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit conditional guidance: 'If outputs is empty, read view=steps' and 'for a failed run, read the failed step and let the user decide.' It also directs the agent to get_run for status checks, effectively stating when to use this tool versus a key alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_runGet StewAI Run StatusARead-onlyIdempotentInspect
Read an owned run, view=history to resume normal runs (recipe_ref/status/cursor/limit), or view=diagnostics for its settled UI receipt. Default status requires 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.
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| limit | No | ||
| cursor | No | ||
| run_id | No | ||
| status | No | ||
| recipe_ref | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already establish read-only/idempotent/non-destructive behavior, and the description adds meaningful operational context: status requires run_id, the distinction between updated_at and progress.last_step_activity_at, and the credit_pause signal for blocked runs. This goes beyond simply restating the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description packs all essential behavior into two dense sentences with no filler, and the most important purpose is front-loaded. The second sentence is long and technical, but every clause contributes; it could be split for readability without gaining information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 6-parameter tool with three views, an output schema, and read-only annotations, the description covers the conditional requirements, view semantics, timestamp distinction, and a special blocked-run state. It does not describe pagination semantics or error behavior in depth, but the output schema and annotations fill the main remaining gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry parameter meaning. It maps view values to use cases and notes that default status requires run_id, and it lists recipe_ref/status/cursor/limit as the history-view parameters. However, it never explains what cursor/limit/status/recipe_ref mean or how they interplay, leaving the agent to infer from names and schema constraints.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Read an owned run' and then defines the three views (status/history/diagnostics) with distinct purposes, so the operation and resource are explicit. It clearly separates get_run from the recipe-build sibling tools by focusing on owned run states and resumption.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides concrete when-to-use guidance: view=history for resuming normal runs with recipe_ref/status/cursor/limit, view=diagnostics for the settled UI receipt, and default status for live progress with run_id. It does not name sibling alternatives or give explicit when-not-to-use conditions, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
review_recipe_buildReview recipe buildCIdempotentInspect
Quote or run a bounded semantic quality review of the exact private draft revision.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| revision | Yes | ||
| build_ref | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover idempotency and non-destructiveness, so the description only needed to add contextual behavior. It does add 'bounded' and 'exact private draft revision', which give some useful scoping beyond the annotations. However, it does not clarify what actually happens in 'quote' mode versus 'execute' mode, or whether executing a review writes any state to the revision.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no filler, and the primary mode distinction is front-loaded. It is appropriately concise, though the brevity comes at the cost of missing substantive guidance captured in other dimensions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a four-parameter tool with zero schema description coverage, the description is too sparse. Although an output schema exists, the agent still lacks enough context to understand what quote vs. execute yields, what the idempotency key is for, or when this tool should be selected among twelve siblings. It is minimally viable at best.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description needed to explain the four required parameters. It only loosely covers 'revision' and 'build_ref' via 'exact private draft revision', and it merely echoes the 'mode' enum with 'Quote or run'. It provides no meaningful semantics for 'idempotency_key' and no parameter-level guidance.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Quote or run') and a concrete scope ('a bounded semantic quality review of the exact private draft revision'). It is not a tautology and gives the agent a sense of what the tool operates on. However, it does not explicitly distinguish itself from sibling tools like 'check_recipe_build', and the phrase 'bounded semantic quality review' is somewhat jargon-heavy.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to use this tool versus alternatives. Sibling names like 'check_recipe_build', 'commit_recipe_build', and 'update_recipe_build' suggest related workflows, but the description never says why an agent should choose 'review_recipe_build' over them. The only implicit context is that it targets a 'private draft revision'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
run_recipeRun a StewAI RecipeADestructiveIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| dry_run | No | ||
| recipe_ref | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate destructiveHint=true and readOnlyHint=false, so the description's mention of charging credits and pausing/resuming aligns. It adds critical behavioral context: dry_run is non-destructive, runs can pause on credit exhaustion, and retry on recipe_ref_expired. This goes beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is reasonably concise, front-loading the primary purpose (estimate or run) and dry_run specifics. It covers key behaviors in a few sentences without excessive detail, though it could be slightly more organized.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, the description doesn't need to detail return values. It explains the high-level behavior, error handling, and credit implications, which is sufficient for an agent to select and invoke correctly. Missing details like exact format of inputs are covered by schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate. It explains dry_run and recipe_ref (expired handling), but doesn't detail inputs or idempotency_key beyond schema. However, for a complex tool with 4 params, it gives enough meaning to understand the core parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it estimates or runs a published recipe, distinguishing two modes: dry_run for estimation and actual execution. It references 'previewed public or account-authorized published recipe', which differentiates from siblings like get_recipe_preview (preview) and start_recipe_build (building), but doesn't explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use dry_run (to estimate credits, fees, balance) and when to run (after preview), and mentions handling of paused runs and recipe_ref_expired with retry guidance. It doesn't explicitly say when not to use this tool vs siblings, but the context is sufficient for an agent to infer.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
run_recipe_acceptanceRun recipe acceptanceAIdempotentInspect
Quote or run selected or complete behavioral acceptance cases for an exact private draft revision. Quotes explain enforced input bounds, output caps and retry allowances in acceptance_cost. Preserve representative fixtures and assertions; remove unnecessary model stages rather than weakening tests to lower a quote. Paid work requires an approved budget. A full run that needs user approval returns supervised_required before any case, reservation, or external effect; first bind every returned required resource with update_recipe_build bind_resource, then open action_url for user approval, and finally resume the same activity with update_recipe_build resume_activity.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| case_ids | No | Required for selected_cases, optional for quote, forbidden for full. | |
| revision | Yes | ||
| build_ref | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnly=false, openWorld=true, idempotent=true, and destructive=false, but the description adds valuable non-obvious behavior: quotes expose acceptance_cost enforcement bounds, supervised_required is returned before any side effect, and external approval is needed via action_url. No contradiction with annotations exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The main action is front-loaded in the first sentence, and subsequent sentences carry dense, relevant workflow information. The approval sequence is long but justified by complexity; there is no filler, though it could be slightly tightened.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers modes, quote semantics, budget requirements, and the supervised approval flow, which is strong for a complex tool with an output schema and annotations. It does not explicitly define build_ref or idempotency_key, but the agent has enough context to call the tool correctly in most cases.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description partially compensates for the low 20% schema coverage by explaining mode-related intent ('Quote or run selected or complete') and the revision target, but it leaves build_ref and idempotency_key semantically unexplained. Since these are required parameters and the schema gives them no descriptions, there is still a meaningful gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence states a specific verb, resource, and scope: 'Quote or run selected or complete behavioral acceptance cases for an exact private draft revision.' It clearly distinguishes quote mode from run mode and names the sibling update_recipe_build for the approval workflow, so an agent can tell this tool apart from generic run_recipe.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives actionable context: quote vs. run, the paid-work budget prerequisite, and an explicit supervised_required flow using update_recipe_build bind_resource and resume_activity. It also tells the agent to bind required resources before opening action_url, which is concrete sequencing an agent can follow.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_recipesSearch StewAI RecipesARead-onlyIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | At least 3 non-padding characters, up to 2000. Name the task in a few words; add constraints as required_inputs or required_outputs; follow next_cursor when results are cut. | |
| cursor | No | next_cursor from the previous page of the identical query and filters. Omit for the first page. | |
| sources | No | When omitted, search public recipes and any library lanes authorized by this connection. Explicit private lanes require recipes:read permission. | |
| runnable_only | No | ||
| required_inputs | No | Exact normalized handle/label matching, not semantic meaning; inspect filter_diagnostics for available labels. | |
| required_outputs | No | Exact normalized handle/label matching, not semantic meaning; filters are never weakened automatically. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral details beyond these: it explains the distinction between direct fits and related_results, discloses that each row includes output contract and cost history, and clarifies that safety review is not output-quality validation. It also specifies the exact-matching semantics for required inputs/outputs and the pagination protocol. This is rich, non-redundant transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a tight, front-loaded paragraph of four sentences. It leads with the primary purpose, then covers output semantics, row contents, matching rules, and paging in a logical order. Every sentence earns its place; there is no fluff or repetition. This is exemplary conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 parameters, an output schema, and a rich result structure), the description is remarkably complete. It explains the output fields (results vs. related_results, row contents), the matching rules, and the pagination contract. The output schema is present, so detailed return formatting is not required, but the description still provides a high-level contract. Nothing an agent needs to call this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 83%, so the schema already documents each parameter thoroughly. The description reinforces the matching semantics for required_inputs and required_outputs, and the paging behavior, but it adds little new meaning beyond what the schema descriptions already state. It does clarify the overall contract (direct fits vs. related_results), which indirectly aids parameter understanding, but the marginal value over the schema is limited. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Find safe public recipes and published recipes available to the current account.' It further distinguishes itself by explaining the result structure (direct fits vs. related_results) and by its focus on search, which is unique among the sibling tools that manage builds and runs. This clearly states what the tool does and sets it apart.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context for using the tool: it is for searching recipes and explains how to handle pagination (repeat with cursor) and how to phrase queries (add constraints via required_inputs/required_outputs). It does not explicitly list when to prefer alternative tools, but the purpose is obvious from the domain and sibling names. No exclusion guidance is provided, but the context is sufficient for a competent agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
start_recipe_buildStart a StewAI Recipe BuildAIdempotentInspect
Create a private recipe build from a bounded intent and declared contract. Recipe inputs are strings: use type:string, positive maxLength, and only minLength:1 on required inputs. Richer input constraints must be handled in recipe logic and tested, not claimed as enforced by the input node. The response returns the stored contracts when they fit the bounded result; the archetype bundle is optional guidance, not the build contract. Optionally provide source_recipe_ref to adapt an owned recipe or a fully viewable public-open recipe into a new private draft.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| intent | Yes | ||
| capabilities | Yes | ||
| risk_domains | Yes | ||
| input_contract | Yes | ||
| idempotency_key | Yes | ||
| output_contract | Yes | ||
| quality_profile | Yes | ||
| research_policy | Yes | ||
| source_recipe_ref | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds real value beyond the annotations: it discloses that the response returns stored contracts only when they fit the bounded result, that the archetype bundle is optional guidance rather than the build contract, and that richer input constraints must be handled in recipe logic and tested rather than claimed as enforced. This behavioral context is not signaled anywhere in the structured annotations and is genuinely useful. No contradiction with annotations (idempotentHint=true aligns with the idempotency-related context, readOnlyHint=false matches the create operation).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but purposeful, front-loading the purpose in sentence one and adding behavioral and constraint context in the following sentences. It's longer than ideal but every sentence earns its place, covering response semantics, constraint enforcement, and the source-adaptation option.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a complex tool (10 params, 9 required, nested objects, 2 enums) and the description covers the most important semantics well, including response behavior and input constraint philosophy. But it leaves the enums (quality_profile, research_policy, capabilities, risk_domains) and the idempotency_key contract unexplained, relying on the output schema and agent inference to fill gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description carries the burden. It partially compensates by explaining source_recipe_ref's purpose and setting input string constraint norms (type:string, positive maxLength, minLength:1 only on required inputs). However, it does not address several key parameters (idempotency_key semantics, quality_profile, research_policy, capabilities, risk_domains), leaving the agent to infer or open the schema for those.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence 'Create a private recipe build from a bounded intent and declared contract' gives a specific verb, resource, and scope, and the 'private draft' wording helps distinguish it from update/commit siblings. However, it doesn't explicitly name which siblings it is not (e.g., update_recipe_build, commit_recipe_build), leaving some differentiation to inference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use it (creating a new private draft) and explains the optional source_recipe_ref for adapting owned or public-open recipes, which is genuinely useful routing context. But it never explicitly states when NOT to use it or names alternatives like update_recipe_build or review_recipe_build, so the guidance is implied rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_recipe_buildUpdate a StewAI Recipe BuildAIdempotentInspect
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. If an op appears unknown, read get_recipe_build view='authoring_schema', schema_name='update_recipe_build'; read schema_name='acceptance_suite' for the complete suite shape and every assertion operator with its required, allowed and forbidden fields. Do not guess them. Use set_contracts to replace the declared executable input and output contracts; this changes the revision and invalidates qualification. For a supervised acceptance handoff, use bind_resource only to approve an exact selector already frozen in the draft, then resume_activity or cancel_activity with the returned opaque handoff and activity references. Each handoff control operation must be the only op in its request. An acceptance suite is {version:1,cases:[{case_id,label,kind,fixtures,assertions}]}. Each fixture is {target,content_type,value}. A minimal assertion is {assertion_id:'result_exists',type:'scalar',operator:'exists',path:'/result'}. JSON Pointer paths start with '/'. A metamorphic case also requires pair_with naming another case. Use a paired assertion such as {assertion_id:'stable',type:'paired',operator:'fields_unchanged',path:'',pair_case_id:'base',fields:['/summary']}; pair_case_id is not valid on a scalar assertion. Client transport recommendation, not a server limit: keep serialized tool arguments below 32 KiB including JSON escaping and the request envelope. For larger spec, suite, or research content use begin_chunk, ordered append_chunk (seq starts at 0), then commit_chunk. Keep each complete append request below 12 KiB; split text further after measuring escaped JSON bytes. Hash the exact assembled UTF-8 text with SHA-256. Begin/append do not change the revision; commit changes it once. After an uncertain response, inspect the build and replay the identical request with the same idempotency key; do not create duplicate work with a new key.
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| revision | Yes | ||
| build_ref | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=false, idempotentHint=true, destructiveHint=false. The description adds substantial behavioral context beyond those: it explains that set_contracts 'changes the revision and invalidates qualification,' that begin/append do not change the revision but commit changes it once, and that each handoff control operation must be the only op in its request. It also warns against inventing op names and tells the agent to read schemas rather than guess. This is exactly the kind of behavioral disclosure that annotations alone cannot provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long, but every sentence earns its place given the tool's complexity: 20+ op variants, a nested acceptance suite schema, idempotency semantics, and chunking protocol. It front-loads the core purpose and idempotency warning, then moves through op-specific guidance, acceptance suite shape, and transport limits. It is dense but not padded. It loses one point because the idempotency replay sentence appears twice (once at the start and once at the end), which is redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 4 required params, a 20-variant ops array, and an output schema, the description covers the critical operational knowledge: idempotency, revision semantics, op name constraints, acceptance suite structure, chunking limits, and handoff control. The output schema exists, so return values need not be described. The only thing an agent might still need is the full assertion operator list, but the description explicitly tells the agent where to read it (get_recipe_build with view='authoring_schema'), which is the correct move rather than duplicating the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It does: it names the exact op names and payload keys (set_metadata takes metadata, upsert_schema takes schema_id and schema, acceptance uses set_acceptance_cases with suite), gives a concrete minimal assertion example, and explains the suite/fixture/assertion shapes. It also explains the idempotency_key semantics and the chunking parameters (seq starts at 0, sha256 of exact UTF-8 text). It doesn't enumerate every assertion operator, but it explicitly routes the agent to get_recipe_build for the complete shape, which is a reasonable division of labor.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Apply bounded optimistic changes to an owned private recipe build.' It clearly distinguishes this from siblings like get_recipe_build (read-only) and commit_recipe_build (finalization) by framing it as a mutation tool for incremental updates. The title 'Update a StewAI Recipe Build' reinforces the resource and action.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit when-to-use guidance: 'After an uncertain response, inspect the build and replay the identical request with the same idempotency key; a new key duplicates the work.' It also names alternatives indirectly by pointing to get_recipe_build for reading the authoring schema and acceptance suite shape. It tells the agent when to use chunking ops vs direct ops, and when to use bind_resource/resume_activity/cancel_activity for supervised handoffs. This is rich, actionable routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
8 tool updates
- Changed
check_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "automatic_acceptance_eligible": { - "type": "boolean" - }, - "catalog_version": { - "maxLength": 64, - "type": "string" - }, - "compute_results": { - "maxItems": 0, - "type": "array" - }, - "draft_valid": { - "type": "boolean" - }, - "dsl_version": { - "minimum": 2, - "type": "integer" - }, - "effect_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "fan_out": { - "minimum": 0, - "type": "integer" - }, - "findings": { - "items": { - "additionalProperties": false, - "properties": { - "choices_truncated": { - "type": "boolean" - }, - "code": { - "maxLength": 64, - "type": "string" - }, - "declared_schema": { - "maxProperties": 100, - "type": "object" - }, - "difference_pointer": { - "maxLength": 512, - "type": "string" - }, - "executable_schema": { - "maxProperties": 100, - "type": "object" - }, - "field_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": [ - "array", - "null" - ] - }, - "fix_hint": { - "maxLength": 1000, - "type": [ - "string", - "null" - ] - }, - "inference_source": { - "additionalProperties": false, - "properties": { - "field_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "kind": { - "enum": [ - "recipe_input_max_length", - "recipe_input_default_text_contract", - "producer_response_schema", - "registered_schema", - "recipe_output_default_string" - ] - }, - "step_id": { - "maxLength": 128, - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "step_id", - "field_path" - ], - "type": "object" - }, - "message": { - "maxLength": 1000, - "type": "string" - }, - "missing_producer": { - "maxLength": 128, - "type": "string" - }, - "severity": { - "enum": [ - "info", - "warning", - "error" - ] - }, - "step_id": { - "maxLength": 128, - "type": [ - "string", - "null" - ] - }, - "suggested_mutation": { - "additionalProperties": false, - "properties": { - "field_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "operation": { - "enum": [ - "upsert_node", - "set_contracts" - ] - }, - "replacement": {}, - "step_id": { - "maxLength": 128, - "type": [ - "string", - "null" - ] - }, - "target": { - "enum": [ - "executable_recipe", - "authoring_contract" - ] - } - }, - "required": [ - "operation", - "target", - "step_id", - "field_path", - "replacement" - ], - "type": "object" - }, - "valid_producer_choices": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 50, - "type": "array" - } - }, - "required": [ - "code", - "severity", - "step_id", - "field_path", - "message", - "fix_hint" - ], - "type": "object" - }, - "maxItems": 200, - "type": "array" - }, - "gate_results": { - "maxItems": 0, - "type": "array" - }, - "guidance_version": { - "maxLength": 64, - "type": "string" - }, - "qualification_requirements": { - "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" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "rendered": { - "items": { - "additionalProperties": false, - "properties": { - "path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "text": { - "maxLength": 4096, - "type": "string" - } - }, - "required": [ - "path", - "text" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "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", - "uniqueItems": true - }, - "valid": { - "type": "boolean" - }, - "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": [ - "valid", - "draft_valid", - "automatic_acceptance_eligible", - "qualification_route", - "qualification_requirements", - "effect_digest", - "findings", - "rendered", - "gate_results", - "compute_results", - "fan_out", - "unsupported_nodes", - "dsl_version", - "catalog_version", - "guidance_version" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "invalid_cursor", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "handoff_disclosure_incomplete", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "automatic_acceptance_eligible": { + "type": "boolean" + }, + "catalog_version": { + "maxLength": 64, + "type": "string" + }, + "compute_results": { + "maxItems": 0, + "type": "array" + }, + "draft_valid": { + "type": "boolean" + }, + "dsl_version": { + "minimum": 2, + "type": "integer" + }, + "effect_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "fan_out": { + "minimum": 0, + "type": "integer" + }, + "findings": { + "items": { + "additionalProperties": false, + "properties": { + "choices_truncated": { + "type": "boolean" + }, + "code": { + "maxLength": 64, + "type": "string" + }, + "declared_schema": { + "maxProperties": 100, + "type": "object" + }, + "difference_pointer": { + "maxLength": 512, + "type": "string" + }, + "executable_schema": { + "maxProperties": 100, + "type": "object" + }, + "field_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": [ + "array", + "null" + ] + }, + "fix_hint": { + "maxLength": 1000, + "type": [ + "string", + "null" + ] + }, + "inference_source": { + "additionalProperties": false, + "properties": { + "field_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "kind": { + "enum": [ + "recipe_input_max_length", + "recipe_input_default_text_contract", + "producer_response_schema", + "registered_schema", + "recipe_output_default_string" + ] + }, + "step_id": { + "maxLength": 128, + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "kind", + "step_id", + "field_path" + ], + "type": "object" + }, + "message": { + "maxLength": 1000, + "type": "string" + }, + "missing_producer": { + "maxLength": 128, + "type": "string" + }, + "severity": { + "enum": [ + "info", + "warning", + "error" + ] + }, + "step_id": { + "maxLength": 128, + "type": [ + "string", + "null" + ] + }, + "suggested_mutation": { + "additionalProperties": false, + "properties": { + "field_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "operation": { + "enum": [ + "upsert_node", + "set_contracts" + ] + }, + "replacement": {}, + "step_id": { + "maxLength": 128, + "type": [ + "string", + "null" + ] + }, + "target": { + "enum": [ + "executable_recipe", + "authoring_contract" + ] + } + }, + "required": [ + "operation", + "target", + "step_id", + "field_path", + "replacement" + ], + "type": "object" + }, + "valid_producer_choices": { + "items": { + "maxLength": 128, + "type": "string" + }, + "maxItems": 50, + "type": "array" + } + }, + "required": [ + "code", + "severity", + "step_id", + "field_path", + "message", + "fix_hint" + ], + "type": "object" + }, + "maxItems": 200, + "type": "array" + }, + "gate_results": { + "maxItems": 0, + "type": "array" + }, + "guidance_version": { + "maxLength": 64, + "type": "string" + }, + "qualification_requirements": { + "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" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "rendered": { + "items": { + "additionalProperties": false, + "properties": { + "path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "text": { + "maxLength": 4096, + "type": "string" + } + }, + "required": [ + "path", + "text" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "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", + "uniqueItems": true + }, + "valid": { + "type": "boolean" + }, + "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": [ + "valid", + "draft_valid", + "automatic_acceptance_eligible", + "qualification_route", + "qualification_requirements", + "effect_digest", + "findings", + "rendered", + "gate_results", + "compute_results", + "fan_out", + "unsupported_nodes", + "dsl_version", + "catalog_version", + "guidance_version" + ], + "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" + } +]
- Changed
commit_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "commit_capability": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "effects": { - "items": { - "enum": [ - "create_private_revision_1", - "keep_recipe_unlisted", - "keep_recipe_unreviewed" - ] - }, - "maxItems": 3, - "minItems": 3, - "type": "array" - }, - "evidence": { - "additionalProperties": false, - "properties": { - "acceptance": { - "enum": [ - "full_suite_passed", - "accepted_with_limitations" - ] - }, - "accepted_limitations": { - "items": { - "additionalProperties": false, - "properties": { - "acknowledgement": { - "maxLength": 500, - "type": "string" - }, - "assertion_id": { - "maxLength": 64, - "type": "string" - }, - "case_id": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "case_id", - "assertion_id", - "acknowledgement" - ], - "type": "object" - }, - "maxItems": 10, - "type": "array" - }, - "billing": { - "const": "settled" - }, - "human_review_required": { - "const": true - }, - "research": { - "enum": [ - "recorded", - "not_required" - ] - }, - "review": { - "const": "passed" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - } - }, - "required": [ - "revision", - "review", - "research", - "acceptance", - "billing" - ], - "type": "object" - }, - "expires_in_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "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": [ - "commit_capability", - "expires_in_seconds", - "effects", - "evidence" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "editor_url": { - "maxLength": 512, - "type": "string" - }, - "evidence": { - "additionalProperties": false, - "properties": { - "acceptance": { - "enum": [ - "full_suite_passed", - "accepted_with_limitations" - ] - }, - "accepted_limitations": { - "items": { - "additionalProperties": false, - "properties": { - "acknowledgement": { - "maxLength": 500, - "type": "string" - }, - "assertion_id": { - "maxLength": 64, - "type": "string" - }, - "case_id": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "case_id", - "assertion_id", - "acknowledgement" - ], - "type": "object" - }, - "maxItems": 10, - "type": "array" - }, - "billing": { - "const": "settled" - }, - "human_review_required": { - "const": true - }, - "research": { - "enum": [ - "recorded", - "not_required" - ] - }, - "review": { - "const": "passed" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - } - }, - "required": [ - "revision", - "review", - "research", - "acceptance", - "billing" - ], - "type": "object" - }, - "listed": { - "const": false - }, - "recipe_ulid": { - "maxLength": 26, - "minLength": 1, - "type": "string" - }, - "rev": { - "const": 1 - }, - "sha": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - }, - "visibility": { - "const": "private" - } - }, - "required": [ - "recipe_ulid", - "rev", - "sha", - "visibility", - "listed", - "editor_url" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "editor_url": { - "maxLength": 512, - "type": "string" - }, - "evidence": { - "additionalProperties": false, - "properties": { - "acceptance": { - "enum": [ - "full_suite_passed", - "accepted_with_limitations" - ] - }, - "accepted_limitations": { - "items": { - "additionalProperties": false, - "properties": { - "acknowledgement": { - "maxLength": 500, - "type": "string" - }, - "assertion_id": { - "maxLength": 64, - "type": "string" - }, - "case_id": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "case_id", - "assertion_id", - "acknowledgement" - ], - "type": "object" - }, - "maxItems": 10, - "type": "array" - }, - "billing": { - "const": "settled" - }, - "human_review_required": { - "const": true - }, - "research": { - "enum": [ - "recorded", - "not_required" - ] - }, - "review": { - "const": "passed" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - } - }, - "required": [ - "revision", - "review", - "research", - "acceptance", - "billing" - ], - "type": "object" - }, - "listed": { - "const": false - }, - "next_action": { - "const": "dry_run_recipe" - }, - "recipe_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "recipe_ulid": { - "maxLength": 26, - "minLength": 1, - "type": "string" - }, - "rev": { - "const": 1 - }, - "runnable": { - "type": "boolean" - }, - "sha": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - }, - "visibility": { - "const": "private" - } - }, - "required": [ - "recipe_ulid", - "rev", - "sha", - "visibility", - "listed", - "editor_url", - "recipe_ref", - "runnable", - "next_action" - ], - "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 - }, - "next_actions": { - "items": { - "additionalProperties": false, - "properties": { - "gate": { - "maxLength": 64, - "type": "string" - }, - "instruction": { - "maxLength": 500, - "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" - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "commit_capability": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "effects": { + "items": { + "enum": [ + "create_private_revision_1", + "keep_recipe_unlisted", + "keep_recipe_unreviewed" + ] + }, + "maxItems": 3, + "minItems": 3, + "type": "array" + }, + "evidence": { + "additionalProperties": false, + "properties": { + "acceptance": { + "enum": [ + "full_suite_passed", + "accepted_with_limitations" + ] + }, + "accepted_limitations": { + "items": { + "additionalProperties": false, + "properties": { + "acknowledgement": { + "maxLength": 500, + "type": "string" + }, + "assertion_id": { + "maxLength": 64, + "type": "string" + }, + "case_id": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "case_id", + "assertion_id", + "acknowledgement" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "billing": { + "const": "settled" + }, + "human_review_required": { + "const": true + }, + "research": { + "enum": [ + "recorded", + "not_required" + ] + }, + "review": { + "const": "passed" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "revision", + "review", + "research", + "acceptance", + "billing" + ], + "type": "object" + }, + "expires_in_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "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": [ + "commit_capability", + "expires_in_seconds", + "effects", + "evidence" + ], + "type": "object" + }, + { + "properties": { + "editor_url": { + "maxLength": 512, + "type": "string" + }, + "evidence": { + "additionalProperties": false, + "properties": { + "acceptance": { + "enum": [ + "full_suite_passed", + "accepted_with_limitations" + ] + }, + "accepted_limitations": { + "items": { + "additionalProperties": false, + "properties": { + "acknowledgement": { + "maxLength": 500, + "type": "string" + }, + "assertion_id": { + "maxLength": 64, + "type": "string" + }, + "case_id": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "case_id", + "assertion_id", + "acknowledgement" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "billing": { + "const": "settled" + }, + "human_review_required": { + "const": true + }, + "research": { + "enum": [ + "recorded", + "not_required" + ] + }, + "review": { + "const": "passed" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "revision", + "review", + "research", + "acceptance", + "billing" + ], + "type": "object" + }, + "listed": { + "const": false + }, + "next_action": { + "not": {} + }, + "recipe_ref": { + "not": {} + }, + "recipe_ulid": { + "maxLength": 26, + "minLength": 1, + "type": "string" + }, + "rev": { + "const": 1 + }, + "runnable": { + "not": {} + }, + "sha": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + }, + "visibility": { + "const": "private" + } + }, + "required": [ + "recipe_ulid", + "rev", + "sha", + "visibility", + "listed", + "editor_url" + ], + "type": "object" + }, + { + "properties": { + "editor_url": { + "maxLength": 512, + "type": "string" + }, + "evidence": { + "additionalProperties": false, + "properties": { + "acceptance": { + "enum": [ + "full_suite_passed", + "accepted_with_limitations" + ] + }, + "accepted_limitations": { + "items": { + "additionalProperties": false, + "properties": { + "acknowledgement": { + "maxLength": 500, + "type": "string" + }, + "assertion_id": { + "maxLength": 64, + "type": "string" + }, + "case_id": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "case_id", + "assertion_id", + "acknowledgement" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "billing": { + "const": "settled" + }, + "human_review_required": { + "const": true + }, + "research": { + "enum": [ + "recorded", + "not_required" + ] + }, + "review": { + "const": "passed" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "revision", + "review", + "research", + "acceptance", + "billing" + ], + "type": "object" + }, + "listed": { + "const": false + }, + "next_action": { + "const": "dry_run_recipe" + }, + "recipe_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "recipe_ulid": { + "maxLength": 26, + "minLength": 1, + "type": "string" + }, + "rev": { + "const": 1 + }, + "runnable": { + "type": "boolean" + }, + "sha": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + }, + "visibility": { + "const": "private" + } + }, + "required": [ + "recipe_ulid", + "rev", + "sha", + "visibility", + "listed", + "editor_url", + "recipe_ref", + "runnable", + "next_action" + ], + "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 + }, + "next_actions": { + "items": { + "additionalProperties": false, + "properties": { + "gate": { + "maxLength": 64, + "type": "string" + }, + "instruction": { + "maxLength": 500, + "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" + }, + "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" + } +]
- Changed
get_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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" - } -]New value: +[ + { + "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" + } +]
- Changed
get_recipe_build_activity1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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" - } -]New value: +[ + { + "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" + } +]
- Changed
review_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_capability": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "operation": { - "const": "set_budget" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation", - "instruction" - ], - "type": "object" - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_capability", - "expires_at", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "execute" - }, - "tool": { - "const": "review_recipe_build" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "full" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_ids": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 50, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "selected_cases" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "case_ids", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "tool": { - "const": "get_recipe_build_activity" - } - }, - "required": [ - "tool", - "activity_ref", - "instruction" - ], - "type": "object" - } - ] - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "outcome": { - "const": "queued" - }, - "poll_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "queued" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "poll_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "handoff": { - "additionalProperties": false, - "properties": { - "action_url": { - "maxLength": 2048, - "minLength": 1, - "type": "string" - }, - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "effect_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "effects": { - "items": { - "additionalProperties": false, - "properties": { - "details": { - "additionalProperties": false, - "properties": { - "additional_text": {}, - "body_template": {}, - "child_recipe_ulid": {}, - "child_revision_sha": {}, - "destination_mode": {}, - "duration": {}, - "external_conflict_mode": {}, - "external_target_ulid": {}, - "filename": {}, - "folder_name": {}, - "folder_ulid": {}, - "format": {}, - "html_only": {}, - "input_mapping": {}, - "local_conflict_mode": {}, - "max_chunks": {}, - "name": {}, - "nested_effects": {}, - "options": {}, - "outcome_description": {}, - "outcome_max_iterations": {}, - "outcome_rubric": {}, - "output_conflict_mode": {}, - "params": {}, - "pin_revision": {}, - "preamble_enabled": {}, - "prompt": {}, - "query": {}, - "score_threshold": {}, - "source": {}, - "sources": {}, - "subject": {}, - "system_message": {}, - "title": {}, - "to": {}, - "tool_groups": {}, - "top_k": {}, - "visibility": {} - }, - "required": [], - "type": "object" - }, - "execution_count": { - "minimum": 0, - "type": "integer" - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "node_id", - "node_type", - "execution_count", - "details" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "reason": { - "maxLength": 500, - "type": "string" - }, - "required_decisions": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 100, - "type": "array", - "uniqueItems": true - }, - "resources": { - "items": { - "additionalProperties": false, - "properties": { - "binding_status": { - "enum": [ - "required", - "bound" - ] - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest", - "binding_status" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "resume": { - "additionalProperties": false, - "properties": { - "operation": { - "const": "resume_activity" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation" - ], - "type": "object" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "status": { - "enum": [ - "pending", - "approved", - "cancelled", - "expired", - "consumed" - ] - } - }, - "required": [ - "handoff_ref", - "activity_ref", - "revision", - "status", - "effect_digest", - "reason", - "required_decisions", - "effects", - "expires_at", - "action_url", - "resume" - ], - "type": "object" - }, - "outcome": { - "const": "supervised_required" - }, - "qualification_route": { - "const": "supervised" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "blocked" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "qualification_route", - "handoff" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "invalid_cursor", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "handoff_disclosure_incomplete", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_capability": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "operation": { + "const": "set_budget" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation", + "instruction" + ], + "type": "object" + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_capability", + "expires_at", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_capability": { + "not": {} + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "expires_at": { + "not": {} + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "execute" + }, + "tool": { + "const": "review_recipe_build" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "full" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_ids": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "selected_cases" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "case_ids", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "tool": { + "const": "get_recipe_build_activity" + } + }, + "required": [ + "tool", + "activity_ref", + "instruction" + ], + "type": "object" + } + ] + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "outcome": { + "const": "queued" + }, + "poll_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "queued" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "poll_after_seconds" + ], + "type": "object" + }, + { + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "handoff": { + "additionalProperties": false, + "properties": { + "action_url": { + "maxLength": 2048, + "minLength": 1, + "type": "string" + }, + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "effect_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "effects": { + "items": { + "additionalProperties": false, + "properties": { + "details": { + "additionalProperties": false, + "properties": { + "additional_text": {}, + "body_template": {}, + "child_recipe_ulid": {}, + "child_revision_sha": {}, + "destination_mode": {}, + "duration": {}, + "external_conflict_mode": {}, + "external_target_ulid": {}, + "filename": {}, + "folder_name": {}, + "folder_ulid": {}, + "format": {}, + "html_only": {}, + "input_mapping": {}, + "local_conflict_mode": {}, + "max_chunks": {}, + "name": {}, + "nested_effects": {}, + "options": {}, + "outcome_description": {}, + "outcome_max_iterations": {}, + "outcome_rubric": {}, + "output_conflict_mode": {}, + "params": {}, + "pin_revision": {}, + "preamble_enabled": {}, + "prompt": {}, + "query": {}, + "score_threshold": {}, + "source": {}, + "sources": {}, + "subject": {}, + "system_message": {}, + "title": {}, + "to": {}, + "tool_groups": {}, + "top_k": {}, + "visibility": {} + }, + "required": [], + "type": "object" + }, + "execution_count": { + "minimum": 0, + "type": "integer" + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "node_id", + "node_type", + "execution_count", + "details" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 500, + "type": "string" + }, + "required_decisions": { + "items": { + "maxLength": 128, + "type": "string" + }, + "maxItems": 100, + "type": "array", + "uniqueItems": true + }, + "resources": { + "items": { + "additionalProperties": false, + "properties": { + "binding_status": { + "enum": [ + "required", + "bound" + ] + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest", + "binding_status" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "resume": { + "additionalProperties": false, + "properties": { + "operation": { + "const": "resume_activity" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation" + ], + "type": "object" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "status": { + "enum": [ + "pending", + "approved", + "cancelled", + "expired", + "consumed" + ] + } + }, + "required": [ + "handoff_ref", + "activity_ref", + "revision", + "status", + "effect_digest", + "reason", + "required_decisions", + "effects", + "expires_at", + "action_url", + "resume" + ], + "type": "object" + }, + "outcome": { + "const": "supervised_required" + }, + "qualification_route": { + "const": "supervised" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "blocked" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "qualification_route", + "handoff" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "minLength": 1, + "type": "string" + }, + "error": { + "enum": [ + "not_found", + "invalid_reference", + "invalid_params", + "revision_conflict", + "idempotency_conflict", + "document_too_large", + "payload_too_large", + "chunk_sequence_invalid", + "chunk_digest_mismatch", + "chunk_expired", + "invalid_cursor", + "suite_duplicate_case_id", + "suite_unresolved_pair", + "suite_schema_invalid", + "suite_missing_categories", + "suite_weak_normal_oracle", + "suite_too_large", + "unknown_case_id", + "duplicate_case_id", + "incomplete_case_selection", + "unsupported_node_kind", + "research_required", + "review_required", + "acceptance_required", + "qualification_stale", + "budget_not_approved", + "budget_exhausted", + "budget_superseded", + "budget_capability_consumed", + "budget_capability_expired", + "acceptance_case_cost_exceeded", + "authoring_budget_exceeded", + "authoring_grant_not_active", + "insufficient_credits", + "billing_anomaly", + "activity_stalled", + "activity_in_flight", + "handoff_approval_required", + "handoff_expired", + "handoff_not_pending", + "handoff_stale", + "handoff_disclosure_incomplete", + "feature_unavailable", + "resource_unavailable", + "resource_binding_required", + "resource_requirement_not_found", + "activity_not_cancellable", + "quota_exceeded", + "rate_limited", + "already_published", + "safety_locked", + "build_terminal", + "commit_capability_expired", + "account_unavailable", + "limit_unavailable" + ] + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "hint": { + "maxLength": 240, + "type": "string" + }, + "issue": { + "additionalProperties": false, + "properties": { + "code": { + "maxLength": 64, + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "operator": { + "maxLength": 64, + "type": "string" + }, + "path": { + "maxLength": 512, + "type": "string" + }, + "type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "code", + "path" + ], + "type": "object" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "missing_categories": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 10, + "type": "array", + "uniqueItems": true + }, + "repair_hint": { + "maxLength": 500, + "type": "string" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
run_recipe_acceptance1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_capability": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "operation": { - "const": "set_budget" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation", - "instruction" - ], - "type": "object" - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_capability", - "expires_at", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "execute" - }, - "tool": { - "const": "review_recipe_build" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "full" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_ids": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 50, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "selected_cases" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "case_ids", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "tool": { - "const": "get_recipe_build_activity" - } - }, - "required": [ - "tool", - "activity_ref", - "instruction" - ], - "type": "object" - } - ] - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "outcome": { - "const": "queued" - }, - "poll_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "queued" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "poll_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "handoff": { - "additionalProperties": false, - "properties": { - "action_url": { - "maxLength": 2048, - "minLength": 1, - "type": "string" - }, - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "effect_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "effects": { - "items": { - "additionalProperties": false, - "properties": { - "details": { - "additionalProperties": false, - "properties": { - "additional_text": {}, - "body_template": {}, - "child_recipe_ulid": {}, - "child_revision_sha": {}, - "destination_mode": {}, - "duration": {}, - "external_conflict_mode": {}, - "external_target_ulid": {}, - "filename": {}, - "folder_name": {}, - "folder_ulid": {}, - "format": {}, - "html_only": {}, - "input_mapping": {}, - "local_conflict_mode": {}, - "max_chunks": {}, - "name": {}, - "nested_effects": {}, - "options": {}, - "outcome_description": {}, - "outcome_max_iterations": {}, - "outcome_rubric": {}, - "output_conflict_mode": {}, - "params": {}, - "pin_revision": {}, - "preamble_enabled": {}, - "prompt": {}, - "query": {}, - "score_threshold": {}, - "source": {}, - "sources": {}, - "subject": {}, - "system_message": {}, - "title": {}, - "to": {}, - "tool_groups": {}, - "top_k": {}, - "visibility": {} - }, - "required": [], - "type": "object" - }, - "execution_count": { - "minimum": 0, - "type": "integer" - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "node_id", - "node_type", - "execution_count", - "details" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "reason": { - "maxLength": 500, - "type": "string" - }, - "required_decisions": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 100, - "type": "array", - "uniqueItems": true - }, - "resources": { - "items": { - "additionalProperties": false, - "properties": { - "binding_status": { - "enum": [ - "required", - "bound" - ] - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest", - "binding_status" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "resume": { - "additionalProperties": false, - "properties": { - "operation": { - "const": "resume_activity" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation" - ], - "type": "object" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "status": { - "enum": [ - "pending", - "approved", - "cancelled", - "expired", - "consumed" - ] - } - }, - "required": [ - "handoff_ref", - "activity_ref", - "revision", - "status", - "effect_digest", - "reason", - "required_decisions", - "effects", - "expires_at", - "action_url", - "resume" - ], - "type": "object" - }, - "outcome": { - "const": "supervised_required" - }, - "qualification_route": { - "const": "supervised" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "blocked" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "qualification_route", - "handoff" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "invalid_cursor", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "handoff_disclosure_incomplete", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_capability": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "operation": { + "const": "set_budget" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation", + "instruction" + ], + "type": "object" + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_capability", + "expires_at", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_capability": { + "not": {} + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "expires_at": { + "not": {} + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "execute" + }, + "tool": { + "const": "review_recipe_build" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "full" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_ids": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "selected_cases" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "case_ids", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "tool": { + "const": "get_recipe_build_activity" + } + }, + "required": [ + "tool", + "activity_ref", + "instruction" + ], + "type": "object" + } + ] + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "outcome": { + "const": "queued" + }, + "poll_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "queued" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "poll_after_seconds" + ], + "type": "object" + }, + { + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "handoff": { + "additionalProperties": false, + "properties": { + "action_url": { + "maxLength": 2048, + "minLength": 1, + "type": "string" + }, + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "effect_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "effects": { + "items": { + "additionalProperties": false, + "properties": { + "details": { + "additionalProperties": false, + "properties": { + "additional_text": {}, + "body_template": {}, + "child_recipe_ulid": {}, + "child_revision_sha": {}, + "destination_mode": {}, + "duration": {}, + "external_conflict_mode": {}, + "external_target_ulid": {}, + "filename": {}, + "folder_name": {}, + "folder_ulid": {}, + "format": {}, + "html_only": {}, + "input_mapping": {}, + "local_conflict_mode": {}, + "max_chunks": {}, + "name": {}, + "nested_effects": {}, + "options": {}, + "outcome_description": {}, + "outcome_max_iterations": {}, + "outcome_rubric": {}, + "output_conflict_mode": {}, + "params": {}, + "pin_revision": {}, + "preamble_enabled": {}, + "prompt": {}, + "query": {}, + "score_threshold": {}, + "source": {}, + "sources": {}, + "subject": {}, + "system_message": {}, + "title": {}, + "to": {}, + "tool_groups": {}, + "top_k": {}, + "visibility": {} + }, + "required": [], + "type": "object" + }, + "execution_count": { + "minimum": 0, + "type": "integer" + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "node_id", + "node_type", + "execution_count", + "details" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 500, + "type": "string" + }, + "required_decisions": { + "items": { + "maxLength": 128, + "type": "string" + }, + "maxItems": 100, + "type": "array", + "uniqueItems": true + }, + "resources": { + "items": { + "additionalProperties": false, + "properties": { + "binding_status": { + "enum": [ + "required", + "bound" + ] + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest", + "binding_status" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "resume": { + "additionalProperties": false, + "properties": { + "operation": { + "const": "resume_activity" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation" + ], + "type": "object" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "status": { + "enum": [ + "pending", + "approved", + "cancelled", + "expired", + "consumed" + ] + } + }, + "required": [ + "handoff_ref", + "activity_ref", + "revision", + "status", + "effect_digest", + "reason", + "required_decisions", + "effects", + "expires_at", + "action_url", + "resume" + ], + "type": "object" + }, + "outcome": { + "const": "supervised_required" + }, + "qualification_route": { + "const": "supervised" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "blocked" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "qualification_route", + "handoff" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "minLength": 1, + "type": "string" + }, + "error": { + "enum": [ + "not_found", + "invalid_reference", + "invalid_params", + "revision_conflict", + "idempotency_conflict", + "document_too_large", + "payload_too_large", + "chunk_sequence_invalid", + "chunk_digest_mismatch", + "chunk_expired", + "invalid_cursor", + "suite_duplicate_case_id", + "suite_unresolved_pair", + "suite_schema_invalid", + "suite_missing_categories", + "suite_weak_normal_oracle", + "suite_too_large", + "unknown_case_id", + "duplicate_case_id", + "incomplete_case_selection", + "unsupported_node_kind", + "research_required", + "review_required", + "acceptance_required", + "qualification_stale", + "budget_not_approved", + "budget_exhausted", + "budget_superseded", + "budget_capability_consumed", + "budget_capability_expired", + "acceptance_case_cost_exceeded", + "authoring_budget_exceeded", + "authoring_grant_not_active", + "insufficient_credits", + "billing_anomaly", + "activity_stalled", + "activity_in_flight", + "handoff_approval_required", + "handoff_expired", + "handoff_not_pending", + "handoff_stale", + "handoff_disclosure_incomplete", + "feature_unavailable", + "resource_unavailable", + "resource_binding_required", + "resource_requirement_not_found", + "activity_not_cancellable", + "quota_exceeded", + "rate_limited", + "already_published", + "safety_locked", + "build_terminal", + "commit_capability_expired", + "account_unavailable", + "limit_unavailable" + ] + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "hint": { + "maxLength": 240, + "type": "string" + }, + "issue": { + "additionalProperties": false, + "properties": { + "code": { + "maxLength": 64, + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "operator": { + "maxLength": 64, + "type": "string" + }, + "path": { + "maxLength": 512, + "type": "string" + }, + "type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "code", + "path" + ], + "type": "object" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "missing_categories": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 10, + "type": "array", + "uniqueItems": true + }, + "repair_hint": { + "maxLength": 500, + "type": "string" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
start_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "archetype_bundle_role": { - "const": "optional_guidance" - }, - "budget_ceiling": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "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" - }, - "contracts_in_response": { - "type": "boolean" - }, - "dsl_version": { - "minimum": 2, - "type": "integer" - }, - "editor_url": { - "maxLength": 512, - "type": "string" - }, - "guidance_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" - }, - "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" - }, - "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" - }, - "research_tier": { - "enum": [ - "skipped", - "recommended", - "required" - ] - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - }, - "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", - "revision", - "contracts_in_response", - "editor_url", - "matched_archetypes", - "contract_bundle", - "archetype_bundle_role", - "research_tier", - "minimum_acceptance_categories", - "dsl_version", - "catalog_version", - "guidance_version", - "budget_ceiling" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "invalid_cursor", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "handoff_disclosure_incomplete", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "archetype_bundle_role": { + "const": "optional_guidance" + }, + "budget_ceiling": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "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" + }, + "contracts_in_response": { + "type": "boolean" + }, + "dsl_version": { + "minimum": 2, + "type": "integer" + }, + "editor_url": { + "maxLength": 512, + "type": "string" + }, + "guidance_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" + }, + "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" + }, + "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" + }, + "research_tier": { + "enum": [ + "skipped", + "recommended", + "required" + ] + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + }, + "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", + "revision", + "contracts_in_response", + "editor_url", + "matched_archetypes", + "contract_bundle", + "archetype_bundle_role", + "research_tier", + "minimum_acceptance_categories", + "dsl_version", + "catalog_version", + "guidance_version", + "budget_ceiling" + ], + "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" + } +]
- Changed
update_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "activity_state": { - "enum": [ - "queued", - "running", - "blocked", - "done", - "failed", - "cancelled" - ] - }, - "budget_superseded": { - "type": "boolean" - }, - "findings": { - "maxItems": 0, - "type": "array" - }, - "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" - }, - "normalization_diff": { - "items": { - "additionalProperties": false, - "properties": { - "changed": { - "type": "boolean" - }, - "op": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "op", - "changed" - ], - "type": "object" - }, - "maxItems": 25, - "type": "array" - }, - "outcome": { - "enum": [ - "resource_bound", - "activity_resumed", - "activity_cancelled" - ] - }, - "qualification_invalidated": { - "type": "boolean" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - } - }, - "required": [ - "revision", - "normalization_diff", - "findings", - "qualification_invalidated", - "budget_superseded" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "invalid_cursor", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "handoff_disclosure_incomplete", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "activity_state": { + "enum": [ + "queued", + "running", + "blocked", + "done", + "failed", + "cancelled" + ] + }, + "budget_superseded": { + "type": "boolean" + }, + "findings": { + "maxItems": 0, + "type": "array" + }, + "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" + }, + "normalization_diff": { + "items": { + "additionalProperties": false, + "properties": { + "changed": { + "type": "boolean" + }, + "op": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "op", + "changed" + ], + "type": "object" + }, + "maxItems": 25, + "type": "array" + }, + "outcome": { + "enum": [ + "resource_bound", + "activity_resumed", + "activity_cancelled" + ] + }, + "qualification_invalidated": { + "type": "boolean" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + } + }, + "required": [ + "revision", + "normalization_diff", + "findings", + "qualification_invalidated", + "budget_superseded" + ], + "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" + } +]
8 tool updates
- Changed
check_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "automatic_acceptance_eligible": { - "type": "boolean" - }, - "catalog_version": { - "maxLength": 64, - "type": "string" - }, - "compute_results": { - "maxItems": 0, - "type": "array" - }, - "draft_valid": { - "type": "boolean" - }, - "dsl_version": { - "minimum": 2, - "type": "integer" - }, - "effect_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "fan_out": { - "minimum": 0, - "type": "integer" - }, - "findings": { - "items": { - "additionalProperties": false, - "properties": { - "choices_truncated": { - "type": "boolean" - }, - "code": { - "maxLength": 64, - "type": "string" - }, - "declared_schema": { - "maxProperties": 100, - "type": "object" - }, - "difference_pointer": { - "maxLength": 512, - "type": "string" - }, - "executable_schema": { - "maxProperties": 100, - "type": "object" - }, - "field_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": [ - "array", - "null" - ] - }, - "fix_hint": { - "maxLength": 1000, - "type": [ - "string", - "null" - ] - }, - "inference_source": { - "additionalProperties": false, - "properties": { - "field_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "kind": { - "enum": [ - "recipe_input_max_length", - "recipe_input_default_text_contract", - "producer_response_schema", - "registered_schema", - "recipe_output_default_string" - ] - }, - "step_id": { - "maxLength": 128, - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "step_id", - "field_path" - ], - "type": "object" - }, - "message": { - "maxLength": 1000, - "type": "string" - }, - "missing_producer": { - "maxLength": 128, - "type": "string" - }, - "severity": { - "enum": [ - "info", - "warning", - "error" - ] - }, - "step_id": { - "maxLength": 128, - "type": [ - "string", - "null" - ] - }, - "suggested_mutation": { - "additionalProperties": false, - "properties": { - "field_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "operation": { - "enum": [ - "upsert_node", - "set_contracts" - ] - }, - "replacement": {}, - "step_id": { - "maxLength": 128, - "type": [ - "string", - "null" - ] - }, - "target": { - "enum": [ - "executable_recipe", - "authoring_contract" - ] - } - }, - "required": [ - "operation", - "target", - "step_id", - "field_path", - "replacement" - ], - "type": "object" - }, - "valid_producer_choices": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 50, - "type": "array" - } - }, - "required": [ - "code", - "severity", - "step_id", - "field_path", - "message", - "fix_hint" - ], - "type": "object" - }, - "maxItems": 200, - "type": "array" - }, - "gate_results": { - "maxItems": 0, - "type": "array" - }, - "guidance_version": { - "maxLength": 64, - "type": "string" - }, - "qualification_requirements": { - "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" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "rendered": { - "items": { - "additionalProperties": false, - "properties": { - "path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "text": { - "maxLength": 4096, - "type": "string" - } - }, - "required": [ - "path", - "text" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "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", - "uniqueItems": true - }, - "valid": { - "type": "boolean" - }, - "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": [ - "valid", - "draft_valid", - "automatic_acceptance_eligible", - "qualification_route", - "qualification_requirements", - "effect_digest", - "findings", - "rendered", - "gate_results", - "compute_results", - "fan_out", - "unsupported_nodes", - "dsl_version", - "catalog_version", - "guidance_version" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "automatic_acceptance_eligible": { + "type": "boolean" + }, + "catalog_version": { + "maxLength": 64, + "type": "string" + }, + "compute_results": { + "maxItems": 0, + "type": "array" + }, + "draft_valid": { + "type": "boolean" + }, + "dsl_version": { + "minimum": 2, + "type": "integer" + }, + "effect_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "fan_out": { + "minimum": 0, + "type": "integer" + }, + "findings": { + "items": { + "additionalProperties": false, + "properties": { + "choices_truncated": { + "type": "boolean" + }, + "code": { + "maxLength": 64, + "type": "string" + }, + "declared_schema": { + "maxProperties": 100, + "type": "object" + }, + "difference_pointer": { + "maxLength": 512, + "type": "string" + }, + "executable_schema": { + "maxProperties": 100, + "type": "object" + }, + "field_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": [ + "array", + "null" + ] + }, + "fix_hint": { + "maxLength": 1000, + "type": [ + "string", + "null" + ] + }, + "inference_source": { + "additionalProperties": false, + "properties": { + "field_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "kind": { + "enum": [ + "recipe_input_max_length", + "recipe_input_default_text_contract", + "producer_response_schema", + "registered_schema", + "recipe_output_default_string" + ] + }, + "step_id": { + "maxLength": 128, + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "kind", + "step_id", + "field_path" + ], + "type": "object" + }, + "message": { + "maxLength": 1000, + "type": "string" + }, + "missing_producer": { + "maxLength": 128, + "type": "string" + }, + "severity": { + "enum": [ + "info", + "warning", + "error" + ] + }, + "step_id": { + "maxLength": 128, + "type": [ + "string", + "null" + ] + }, + "suggested_mutation": { + "additionalProperties": false, + "properties": { + "field_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "operation": { + "enum": [ + "upsert_node", + "set_contracts" + ] + }, + "replacement": {}, + "step_id": { + "maxLength": 128, + "type": [ + "string", + "null" + ] + }, + "target": { + "enum": [ + "executable_recipe", + "authoring_contract" + ] + } + }, + "required": [ + "operation", + "target", + "step_id", + "field_path", + "replacement" + ], + "type": "object" + }, + "valid_producer_choices": { + "items": { + "maxLength": 128, + "type": "string" + }, + "maxItems": 50, + "type": "array" + } + }, + "required": [ + "code", + "severity", + "step_id", + "field_path", + "message", + "fix_hint" + ], + "type": "object" + }, + "maxItems": 200, + "type": "array" + }, + "gate_results": { + "maxItems": 0, + "type": "array" + }, + "guidance_version": { + "maxLength": 64, + "type": "string" + }, + "qualification_requirements": { + "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" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "rendered": { + "items": { + "additionalProperties": false, + "properties": { + "path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "text": { + "maxLength": 4096, + "type": "string" + } + }, + "required": [ + "path", + "text" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "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", + "uniqueItems": true + }, + "valid": { + "type": "boolean" + }, + "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": [ + "valid", + "draft_valid", + "automatic_acceptance_eligible", + "qualification_route", + "qualification_requirements", + "effect_digest", + "findings", + "rendered", + "gate_results", + "compute_results", + "fan_out", + "unsupported_nodes", + "dsl_version", + "catalog_version", + "guidance_version" + ], + "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" + } +]
- Changed
commit_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "commit_capability": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "effects": { - "items": { - "enum": [ - "create_private_revision_1", - "keep_recipe_unlisted", - "keep_recipe_unreviewed" - ] - }, - "maxItems": 3, - "minItems": 3, - "type": "array" - }, - "evidence": { - "additionalProperties": false, - "properties": { - "acceptance": { - "enum": [ - "full_suite_passed", - "accepted_with_limitations" - ] - }, - "accepted_limitations": { - "items": { - "additionalProperties": false, - "properties": { - "acknowledgement": { - "maxLength": 500, - "type": "string" - }, - "assertion_id": { - "maxLength": 64, - "type": "string" - }, - "case_id": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "case_id", - "assertion_id", - "acknowledgement" - ], - "type": "object" - }, - "maxItems": 10, - "type": "array" - }, - "billing": { - "const": "settled" - }, - "human_review_required": { - "const": true - }, - "research": { - "enum": [ - "recorded", - "not_required" - ] - }, - "review": { - "const": "passed" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - } - }, - "required": [ - "revision", - "review", - "research", - "acceptance", - "billing" - ], - "type": "object" - }, - "expires_in_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "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": [ - "commit_capability", - "expires_in_seconds", - "effects", - "evidence" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "editor_url": { - "maxLength": 512, - "type": "string" - }, - "evidence": { - "additionalProperties": false, - "properties": { - "acceptance": { - "enum": [ - "full_suite_passed", - "accepted_with_limitations" - ] - }, - "accepted_limitations": { - "items": { - "additionalProperties": false, - "properties": { - "acknowledgement": { - "maxLength": 500, - "type": "string" - }, - "assertion_id": { - "maxLength": 64, - "type": "string" - }, - "case_id": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "case_id", - "assertion_id", - "acknowledgement" - ], - "type": "object" - }, - "maxItems": 10, - "type": "array" - }, - "billing": { - "const": "settled" - }, - "human_review_required": { - "const": true - }, - "research": { - "enum": [ - "recorded", - "not_required" - ] - }, - "review": { - "const": "passed" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - } - }, - "required": [ - "revision", - "review", - "research", - "acceptance", - "billing" - ], - "type": "object" - }, - "listed": { - "const": false - }, - "recipe_ulid": { - "maxLength": 26, - "minLength": 1, - "type": "string" - }, - "rev": { - "const": 1 - }, - "sha": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - }, - "visibility": { - "const": "private" - } - }, - "required": [ - "recipe_ulid", - "rev", - "sha", - "visibility", - "listed", - "editor_url" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "editor_url": { - "maxLength": 512, - "type": "string" - }, - "evidence": { - "additionalProperties": false, - "properties": { - "acceptance": { - "enum": [ - "full_suite_passed", - "accepted_with_limitations" - ] - }, - "accepted_limitations": { - "items": { - "additionalProperties": false, - "properties": { - "acknowledgement": { - "maxLength": 500, - "type": "string" - }, - "assertion_id": { - "maxLength": 64, - "type": "string" - }, - "case_id": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "case_id", - "assertion_id", - "acknowledgement" - ], - "type": "object" - }, - "maxItems": 10, - "type": "array" - }, - "billing": { - "const": "settled" - }, - "human_review_required": { - "const": true - }, - "research": { - "enum": [ - "recorded", - "not_required" - ] - }, - "review": { - "const": "passed" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - } - }, - "required": [ - "revision", - "review", - "research", - "acceptance", - "billing" - ], - "type": "object" - }, - "listed": { - "const": false - }, - "next_action": { - "const": "dry_run_recipe" - }, - "recipe_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "recipe_ulid": { - "maxLength": 26, - "minLength": 1, - "type": "string" - }, - "rev": { - "const": 1 - }, - "runnable": { - "type": "boolean" - }, - "sha": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - }, - "visibility": { - "const": "private" - } - }, - "required": [ - "recipe_ulid", - "rev", - "sha", - "visibility", - "listed", - "editor_url", - "recipe_ref", - "runnable", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "next_actions": { - "items": { - "additionalProperties": false, - "properties": { - "gate": { - "maxLength": 64, - "type": "string" - }, - "instruction": { - "maxLength": 500, - "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" - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "commit_capability": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "effects": { + "items": { + "enum": [ + "create_private_revision_1", + "keep_recipe_unlisted", + "keep_recipe_unreviewed" + ] + }, + "maxItems": 3, + "minItems": 3, + "type": "array" + }, + "evidence": { + "additionalProperties": false, + "properties": { + "acceptance": { + "enum": [ + "full_suite_passed", + "accepted_with_limitations" + ] + }, + "accepted_limitations": { + "items": { + "additionalProperties": false, + "properties": { + "acknowledgement": { + "maxLength": 500, + "type": "string" + }, + "assertion_id": { + "maxLength": 64, + "type": "string" + }, + "case_id": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "case_id", + "assertion_id", + "acknowledgement" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "billing": { + "const": "settled" + }, + "human_review_required": { + "const": true + }, + "research": { + "enum": [ + "recorded", + "not_required" + ] + }, + "review": { + "const": "passed" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "revision", + "review", + "research", + "acceptance", + "billing" + ], + "type": "object" + }, + "expires_in_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "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": [ + "commit_capability", + "expires_in_seconds", + "effects", + "evidence" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "editor_url": { + "maxLength": 512, + "type": "string" + }, + "evidence": { + "additionalProperties": false, + "properties": { + "acceptance": { + "enum": [ + "full_suite_passed", + "accepted_with_limitations" + ] + }, + "accepted_limitations": { + "items": { + "additionalProperties": false, + "properties": { + "acknowledgement": { + "maxLength": 500, + "type": "string" + }, + "assertion_id": { + "maxLength": 64, + "type": "string" + }, + "case_id": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "case_id", + "assertion_id", + "acknowledgement" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "billing": { + "const": "settled" + }, + "human_review_required": { + "const": true + }, + "research": { + "enum": [ + "recorded", + "not_required" + ] + }, + "review": { + "const": "passed" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "revision", + "review", + "research", + "acceptance", + "billing" + ], + "type": "object" + }, + "listed": { + "const": false + }, + "recipe_ulid": { + "maxLength": 26, + "minLength": 1, + "type": "string" + }, + "rev": { + "const": 1 + }, + "sha": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + }, + "visibility": { + "const": "private" + } + }, + "required": [ + "recipe_ulid", + "rev", + "sha", + "visibility", + "listed", + "editor_url" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "editor_url": { + "maxLength": 512, + "type": "string" + }, + "evidence": { + "additionalProperties": false, + "properties": { + "acceptance": { + "enum": [ + "full_suite_passed", + "accepted_with_limitations" + ] + }, + "accepted_limitations": { + "items": { + "additionalProperties": false, + "properties": { + "acknowledgement": { + "maxLength": 500, + "type": "string" + }, + "assertion_id": { + "maxLength": 64, + "type": "string" + }, + "case_id": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "case_id", + "assertion_id", + "acknowledgement" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "billing": { + "const": "settled" + }, + "human_review_required": { + "const": true + }, + "research": { + "enum": [ + "recorded", + "not_required" + ] + }, + "review": { + "const": "passed" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + } + }, + "required": [ + "revision", + "review", + "research", + "acceptance", + "billing" + ], + "type": "object" + }, + "listed": { + "const": false + }, + "next_action": { + "const": "dry_run_recipe" + }, + "recipe_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "recipe_ulid": { + "maxLength": 26, + "minLength": 1, + "type": "string" + }, + "rev": { + "const": 1 + }, + "runnable": { + "type": "boolean" + }, + "sha": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + }, + "visibility": { + "const": "private" + } + }, + "required": [ + "recipe_ulid", + "rev", + "sha", + "visibility", + "listed", + "editor_url", + "recipe_ref", + "runnable", + "next_action" + ], + "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 + }, + "next_actions": { + "items": { + "additionalProperties": false, + "properties": { + "gate": { + "maxLength": 64, + "type": "string" + }, + "instruction": { + "maxLength": 500, + "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" + }, + "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" + } +]
- Changed
get_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "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" + } +]
- Changed
get_recipe_build_activity1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "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" + } +]
- Changed
review_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_capability": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "operation": { - "const": "set_budget" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation", - "instruction" - ], - "type": "object" - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_capability", - "expires_at", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "execute" - }, - "tool": { - "const": "review_recipe_build" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "full" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_ids": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 50, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "selected_cases" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "case_ids", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "tool": { - "const": "get_recipe_build_activity" - } - }, - "required": [ - "tool", - "activity_ref", - "instruction" - ], - "type": "object" - } - ] - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "outcome": { - "const": "queued" - }, - "poll_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "queued" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "poll_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "handoff": { - "additionalProperties": false, - "properties": { - "action_url": { - "maxLength": 2048, - "minLength": 1, - "type": "string" - }, - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "effect_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "effects": { - "items": { - "additionalProperties": false, - "properties": { - "details": { - "additionalProperties": false, - "properties": { - "additional_text": {}, - "body_template": {}, - "child_recipe_ulid": {}, - "child_revision_sha": {}, - "destination_mode": {}, - "duration": {}, - "external_conflict_mode": {}, - "external_target_ulid": {}, - "filename": {}, - "folder_name": {}, - "folder_ulid": {}, - "format": {}, - "html_only": {}, - "input_mapping": {}, - "local_conflict_mode": {}, - "max_chunks": {}, - "name": {}, - "nested_effects": {}, - "options": {}, - "outcome_description": {}, - "outcome_max_iterations": {}, - "outcome_rubric": {}, - "output_conflict_mode": {}, - "params": {}, - "pin_revision": {}, - "preamble_enabled": {}, - "prompt": {}, - "query": {}, - "score_threshold": {}, - "source": {}, - "sources": {}, - "subject": {}, - "system_message": {}, - "title": {}, - "to": {}, - "tool_groups": {}, - "top_k": {}, - "visibility": {} - }, - "required": [], - "type": "object" - }, - "execution_count": { - "minimum": 0, - "type": "integer" - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "node_id", - "node_type", - "execution_count", - "details" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "reason": { - "maxLength": 500, - "type": "string" - }, - "required_decisions": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 100, - "type": "array", - "uniqueItems": true - }, - "resources": { - "items": { - "additionalProperties": false, - "properties": { - "binding_status": { - "enum": [ - "required", - "bound" - ] - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest", - "binding_status" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "resume": { - "additionalProperties": false, - "properties": { - "operation": { - "const": "resume_activity" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation" - ], - "type": "object" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "status": { - "enum": [ - "pending", - "approved", - "cancelled", - "expired", - "consumed" - ] - } - }, - "required": [ - "handoff_ref", - "activity_ref", - "revision", - "status", - "effect_digest", - "reason", - "required_decisions", - "effects", - "expires_at", - "action_url", - "resume" - ], - "type": "object" - }, - "outcome": { - "const": "supervised_required" - }, - "qualification_route": { - "const": "supervised" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "blocked" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "qualification_route", - "handoff" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_capability": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "operation": { + "const": "set_budget" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation", + "instruction" + ], + "type": "object" + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_capability", + "expires_at", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "execute" + }, + "tool": { + "const": "review_recipe_build" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "full" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_ids": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "selected_cases" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "case_ids", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "tool": { + "const": "get_recipe_build_activity" + } + }, + "required": [ + "tool", + "activity_ref", + "instruction" + ], + "type": "object" + } + ] + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "outcome": { + "const": "queued" + }, + "poll_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "queued" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "poll_after_seconds" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "handoff": { + "additionalProperties": false, + "properties": { + "action_url": { + "maxLength": 2048, + "minLength": 1, + "type": "string" + }, + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "effect_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "effects": { + "items": { + "additionalProperties": false, + "properties": { + "details": { + "additionalProperties": false, + "properties": { + "additional_text": {}, + "body_template": {}, + "child_recipe_ulid": {}, + "child_revision_sha": {}, + "destination_mode": {}, + "duration": {}, + "external_conflict_mode": {}, + "external_target_ulid": {}, + "filename": {}, + "folder_name": {}, + "folder_ulid": {}, + "format": {}, + "html_only": {}, + "input_mapping": {}, + "local_conflict_mode": {}, + "max_chunks": {}, + "name": {}, + "nested_effects": {}, + "options": {}, + "outcome_description": {}, + "outcome_max_iterations": {}, + "outcome_rubric": {}, + "output_conflict_mode": {}, + "params": {}, + "pin_revision": {}, + "preamble_enabled": {}, + "prompt": {}, + "query": {}, + "score_threshold": {}, + "source": {}, + "sources": {}, + "subject": {}, + "system_message": {}, + "title": {}, + "to": {}, + "tool_groups": {}, + "top_k": {}, + "visibility": {} + }, + "required": [], + "type": "object" + }, + "execution_count": { + "minimum": 0, + "type": "integer" + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "node_id", + "node_type", + "execution_count", + "details" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 500, + "type": "string" + }, + "required_decisions": { + "items": { + "maxLength": 128, + "type": "string" + }, + "maxItems": 100, + "type": "array", + "uniqueItems": true + }, + "resources": { + "items": { + "additionalProperties": false, + "properties": { + "binding_status": { + "enum": [ + "required", + "bound" + ] + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest", + "binding_status" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "resume": { + "additionalProperties": false, + "properties": { + "operation": { + "const": "resume_activity" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation" + ], + "type": "object" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "status": { + "enum": [ + "pending", + "approved", + "cancelled", + "expired", + "consumed" + ] + } + }, + "required": [ + "handoff_ref", + "activity_ref", + "revision", + "status", + "effect_digest", + "reason", + "required_decisions", + "effects", + "expires_at", + "action_url", + "resume" + ], + "type": "object" + }, + "outcome": { + "const": "supervised_required" + }, + "qualification_route": { + "const": "supervised" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "blocked" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "qualification_route", + "handoff" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "minLength": 1, + "type": "string" + }, + "error": { + "enum": [ + "not_found", + "invalid_reference", + "invalid_params", + "revision_conflict", + "idempotency_conflict", + "document_too_large", + "payload_too_large", + "chunk_sequence_invalid", + "chunk_digest_mismatch", + "chunk_expired", + "invalid_cursor", + "suite_duplicate_case_id", + "suite_unresolved_pair", + "suite_schema_invalid", + "suite_missing_categories", + "suite_weak_normal_oracle", + "suite_too_large", + "unknown_case_id", + "duplicate_case_id", + "incomplete_case_selection", + "unsupported_node_kind", + "research_required", + "review_required", + "acceptance_required", + "qualification_stale", + "budget_not_approved", + "budget_exhausted", + "budget_superseded", + "budget_capability_consumed", + "budget_capability_expired", + "acceptance_case_cost_exceeded", + "authoring_budget_exceeded", + "authoring_grant_not_active", + "insufficient_credits", + "billing_anomaly", + "activity_stalled", + "activity_in_flight", + "handoff_approval_required", + "handoff_expired", + "handoff_not_pending", + "handoff_stale", + "handoff_disclosure_incomplete", + "feature_unavailable", + "resource_unavailable", + "resource_binding_required", + "resource_requirement_not_found", + "activity_not_cancellable", + "quota_exceeded", + "rate_limited", + "already_published", + "safety_locked", + "build_terminal", + "commit_capability_expired", + "account_unavailable", + "limit_unavailable" + ] + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "hint": { + "maxLength": 240, + "type": "string" + }, + "issue": { + "additionalProperties": false, + "properties": { + "code": { + "maxLength": 64, + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "operator": { + "maxLength": 64, + "type": "string" + }, + "path": { + "maxLength": 512, + "type": "string" + }, + "type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "code", + "path" + ], + "type": "object" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "missing_categories": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 10, + "type": "array", + "uniqueItems": true + }, + "repair_hint": { + "maxLength": 500, + "type": "string" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
run_recipe_acceptance1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_capability": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "operation": { - "const": "set_budget" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation", - "instruction" - ], - "type": "object" - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_capability", - "expires_at", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "acceptance_cost": { - "additionalProperties": false, - "properties": { - "approval_cap_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "basis": { - "const": "enforced_input_bytes_and_output_caps" - }, - "cap_policy": { - "maxLength": 120, - "type": "string" - }, - "case_count": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "cases": { - "items": { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "type": "string" - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "attempt_allowance": { - "minimum": 1, - "type": "integer" - }, - "input_basis": { - "enum": [ - "acceptance_message_fence", - "acceptance_schema_context_fallback" - ] - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "provider_floor_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "step_id", - "model", - "input_basis", - "input_token_bound", - "output_token_cap", - "attempt_allowance", - "provider_floor_credits" - ], - "type": "object" - }, - "maxItems": 2, - "type": "array" - } - }, - "required": [ - "case_id", - "max_credits", - "steps" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "expected_high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "forecast": { - "items": { - "additionalProperties": false, - "properties": { - "basis": { - "enum": [ - "settled_same_revision_case", - "settled_same_revision", - "provider_usage_same_recipe_step", - "platform_model_usage", - "static_fraction", - "hard_bound" - ] - }, - "case_id": { - "maxLength": 64, - "type": "string" - }, - "expected_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "hard_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "high_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "case_id", - "expected_credits", - "high_credits", - "hard_credits", - "basis", - "sample_count" - ], - "type": "object" - }, - "maxItems": 3, - "type": "array" - }, - "forecast_basis": { - "additionalProperties": { - "minimum": 0, - "type": "integer" - }, - "maxProperties": 8, - "type": "object" - }, - "hard_bound_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "note": { - "maxLength": 400, - "type": "string" - }, - "observed_case_costs": { - "anyOf": [ - { - "type": "null" - }, - { - "additionalProperties": false, - "properties": { - "basis": { - "const": "recent_settled_cases_same_revision_not_a_forecast" - }, - "maximum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "minimum_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "sample_count": { - "maximum": 20, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "sample_count", - "minimum_credits", - "maximum_credits", - "basis" - ], - "type": "object" - } - ] - } - }, - "required": [ - "basis", - "case_count", - "cases", - "note" - ], - "type": "object" - }, - "available_credits": { - "description": "Wallet funds currently available, independent of this build approval.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "budget_state": { - "enum": [ - "not_redeemed", - "active" - ] - }, - "handoff_requirement_count": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "handoff_requirements": { - "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", - "items": { - "additionalProperties": false, - "properties": { - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "handoff_requirements_complete": { - "type": "boolean" - }, - "kind": { - "enum": [ - "review", - "acceptance" - ] - }, - "max_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "next_action": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "execute" - }, - "tool": { - "const": "review_recipe_build" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "full" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_ids": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 50, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "mode": { - "const": "selected_cases" - }, - "tool": { - "const": "run_recipe_acceptance" - } - }, - "required": [ - "tool", - "mode", - "case_ids", - "instruction" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "instruction": { - "maxLength": 300, - "type": "string" - }, - "tool": { - "const": "get_recipe_build_activity" - } - }, - "required": [ - "tool", - "activity_ref", - "instruction" - ], - "type": "object" - } - ] - }, - "outcome": { - "const": "quoted" - }, - "planned_fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "qualification_route": { - "enum": [ - "automatic", - "conditional", - "supervised" - ] - }, - "remaining_build_budget": { - "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - }, - "unsupported_nodes": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 24, - "type": "array" - } - }, - "required": [ - "outcome", - "kind", - "max_credits", - "available_credits", - "remaining_build_budget", - "budget_state", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "fan_out": { - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "outcome": { - "const": "queued" - }, - "poll_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "queued" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "poll_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "handoff": { - "additionalProperties": false, - "properties": { - "action_url": { - "maxLength": 2048, - "minLength": 1, - "type": "string" - }, - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "effect_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "effects": { - "items": { - "additionalProperties": false, - "properties": { - "details": { - "additionalProperties": false, - "properties": { - "additional_text": {}, - "body_template": {}, - "child_recipe_ulid": {}, - "child_revision_sha": {}, - "destination_mode": {}, - "duration": {}, - "external_conflict_mode": {}, - "external_target_ulid": {}, - "filename": {}, - "folder_name": {}, - "folder_ulid": {}, - "format": {}, - "html_only": {}, - "input_mapping": {}, - "local_conflict_mode": {}, - "max_chunks": {}, - "name": {}, - "nested_effects": {}, - "options": {}, - "outcome_description": {}, - "outcome_max_iterations": {}, - "outcome_rubric": {}, - "output_conflict_mode": {}, - "params": {}, - "pin_revision": {}, - "preamble_enabled": {}, - "prompt": {}, - "query": {}, - "score_threshold": {}, - "source": {}, - "sources": {}, - "subject": {}, - "system_message": {}, - "title": {}, - "to": {}, - "tool_groups": {}, - "top_k": {}, - "visibility": {} - }, - "required": [], - "type": "object" - }, - "execution_count": { - "minimum": 0, - "type": "integer" - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "node_id", - "node_type", - "execution_count", - "details" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "expires_at": { - "format": "date-time", - "maxLength": 64, - "type": "string" - }, - "handoff_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "reason": { - "maxLength": 500, - "type": "string" - }, - "required_decisions": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 100, - "type": "array", - "uniqueItems": true - }, - "resources": { - "items": { - "additionalProperties": false, - "properties": { - "binding_status": { - "enum": [ - "required", - "bound" - ] - }, - "node_id": { - "maxLength": 128, - "type": "string" - }, - "node_path": { - "items": { - "type": [ - "string", - "integer" - ] - }, - "maxItems": 32, - "type": "array" - }, - "node_type": { - "maxLength": 64, - "type": "string" - }, - "parameter_digest": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "qualification_route": { - "enum": [ - "conditional", - "supervised" - ] - }, - "reason": { - "maxLength": 128, - "type": "string" - }, - "required_decision": { - "maxLength": 128, - "type": "string" - }, - "requirement_id": { - "pattern": "^[0-9a-f]{32}$", - "type": "string" - }, - "resource_paths": { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 8, - "type": "array" - } - }, - "required": [ - "requirement_id", - "node_id", - "node_type", - "node_path", - "qualification_route", - "reason", - "required_decision", - "resource_paths", - "parameter_digest", - "binding_status" - ], - "type": "object" - }, - "maxItems": 100, - "type": "array" - }, - "resume": { - "additionalProperties": false, - "properties": { - "operation": { - "const": "resume_activity" - }, - "tool": { - "const": "update_recipe_build" - } - }, - "required": [ - "tool", - "operation" - ], - "type": "object" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "status": { - "enum": [ - "pending", - "approved", - "cancelled", - "expired", - "consumed" - ] - } - }, - "required": [ - "handoff_ref", - "activity_ref", - "revision", - "status", - "effect_digest", - "reason", - "required_decisions", - "effects", - "expires_at", - "action_url", - "resume" - ], - "type": "object" - }, - "outcome": { - "const": "supervised_required" - }, - "qualification_route": { - "const": "supervised" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "type": "string" - }, - "state": { - "const": "blocked" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "outcome", - "activity_ref", - "state", - "revision", - "qualification_route", - "handoff" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_capability": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "operation": { + "const": "set_budget" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation", + "instruction" + ], + "type": "object" + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_capability", + "expires_at", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "acceptance_cost": { + "additionalProperties": false, + "properties": { + "approval_cap_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "basis": { + "const": "enforced_input_bytes_and_output_caps" + }, + "cap_policy": { + "maxLength": 120, + "type": "string" + }, + "case_count": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "cases": { + "items": { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "type": "string" + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "attempt_allowance": { + "minimum": 1, + "type": "integer" + }, + "input_basis": { + "enum": [ + "acceptance_message_fence", + "acceptance_schema_context_fallback" + ] + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "provider_floor_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "step_id", + "model", + "input_basis", + "input_token_bound", + "output_token_cap", + "attempt_allowance", + "provider_floor_credits" + ], + "type": "object" + }, + "maxItems": 2, + "type": "array" + } + }, + "required": [ + "case_id", + "max_credits", + "steps" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "expected_high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "forecast": { + "items": { + "additionalProperties": false, + "properties": { + "basis": { + "enum": [ + "settled_same_revision_case", + "settled_same_revision", + "provider_usage_same_recipe_step", + "platform_model_usage", + "static_fraction", + "hard_bound" + ] + }, + "case_id": { + "maxLength": 64, + "type": "string" + }, + "expected_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "hard_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "high_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "case_id", + "expected_credits", + "high_credits", + "hard_credits", + "basis", + "sample_count" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "forecast_basis": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "maxProperties": 8, + "type": "object" + }, + "hard_bound_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "note": { + "maxLength": 400, + "type": "string" + }, + "observed_case_costs": { + "anyOf": [ + { + "type": "null" + }, + { + "additionalProperties": false, + "properties": { + "basis": { + "const": "recent_settled_cases_same_revision_not_a_forecast" + }, + "maximum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "minimum_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "sample_count": { + "maximum": 20, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "sample_count", + "minimum_credits", + "maximum_credits", + "basis" + ], + "type": "object" + } + ] + } + }, + "required": [ + "basis", + "case_count", + "cases", + "note" + ], + "type": "object" + }, + "available_credits": { + "description": "Wallet funds currently available, independent of this build approval.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "budget_state": { + "enum": [ + "not_redeemed", + "active" + ] + }, + "handoff_requirement_count": { + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "handoff_requirements": { + "description": "Bounded quote preview. When incomplete, full acceptance creates the handoff with complete effects and resource requirements for approval.", + "items": { + "additionalProperties": false, + "properties": { + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "handoff_requirements_complete": { + "type": "boolean" + }, + "kind": { + "enum": [ + "review", + "acceptance" + ] + }, + "max_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "execute" + }, + "tool": { + "const": "review_recipe_build" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "full" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_ids": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "mode": { + "const": "selected_cases" + }, + "tool": { + "const": "run_recipe_acceptance" + } + }, + "required": [ + "tool", + "mode", + "case_ids", + "instruction" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "instruction": { + "maxLength": 300, + "type": "string" + }, + "tool": { + "const": "get_recipe_build_activity" + } + }, + "required": [ + "tool", + "activity_ref", + "instruction" + ], + "type": "object" + } + ] + }, + "outcome": { + "const": "quoted" + }, + "planned_fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "qualification_route": { + "enum": [ + "automatic", + "conditional", + "supervised" + ] + }, + "remaining_build_budget": { + "description": "Unspent and unreserved cumulative authority in the active grant for this build revision; zero before redemption.", + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + }, + "unsupported_nodes": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 24, + "type": "array" + } + }, + "required": [ + "outcome", + "kind", + "max_credits", + "available_credits", + "remaining_build_budget", + "budget_state", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "fan_out": { + "maximum": 50, + "minimum": 1, + "type": "integer" + }, + "outcome": { + "const": "queued" + }, + "poll_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "queued" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "poll_after_seconds" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "handoff": { + "additionalProperties": false, + "properties": { + "action_url": { + "maxLength": 2048, + "minLength": 1, + "type": "string" + }, + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "effect_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "effects": { + "items": { + "additionalProperties": false, + "properties": { + "details": { + "additionalProperties": false, + "properties": { + "additional_text": {}, + "body_template": {}, + "child_recipe_ulid": {}, + "child_revision_sha": {}, + "destination_mode": {}, + "duration": {}, + "external_conflict_mode": {}, + "external_target_ulid": {}, + "filename": {}, + "folder_name": {}, + "folder_ulid": {}, + "format": {}, + "html_only": {}, + "input_mapping": {}, + "local_conflict_mode": {}, + "max_chunks": {}, + "name": {}, + "nested_effects": {}, + "options": {}, + "outcome_description": {}, + "outcome_max_iterations": {}, + "outcome_rubric": {}, + "output_conflict_mode": {}, + "params": {}, + "pin_revision": {}, + "preamble_enabled": {}, + "prompt": {}, + "query": {}, + "score_threshold": {}, + "source": {}, + "sources": {}, + "subject": {}, + "system_message": {}, + "title": {}, + "to": {}, + "tool_groups": {}, + "top_k": {}, + "visibility": {} + }, + "required": [], + "type": "object" + }, + "execution_count": { + "minimum": 0, + "type": "integer" + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "node_id", + "node_type", + "execution_count", + "details" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "expires_at": { + "format": "date-time", + "maxLength": 64, + "type": "string" + }, + "handoff_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 500, + "type": "string" + }, + "required_decisions": { + "items": { + "maxLength": 128, + "type": "string" + }, + "maxItems": 100, + "type": "array", + "uniqueItems": true + }, + "resources": { + "items": { + "additionalProperties": false, + "properties": { + "binding_status": { + "enum": [ + "required", + "bound" + ] + }, + "node_id": { + "maxLength": 128, + "type": "string" + }, + "node_path": { + "items": { + "type": [ + "string", + "integer" + ] + }, + "maxItems": 32, + "type": "array" + }, + "node_type": { + "maxLength": 64, + "type": "string" + }, + "parameter_digest": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "qualification_route": { + "enum": [ + "conditional", + "supervised" + ] + }, + "reason": { + "maxLength": 128, + "type": "string" + }, + "required_decision": { + "maxLength": 128, + "type": "string" + }, + "requirement_id": { + "pattern": "^[0-9a-f]{32}$", + "type": "string" + }, + "resource_paths": { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "requirement_id", + "node_id", + "node_type", + "node_path", + "qualification_route", + "reason", + "required_decision", + "resource_paths", + "parameter_digest", + "binding_status" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "resume": { + "additionalProperties": false, + "properties": { + "operation": { + "const": "resume_activity" + }, + "tool": { + "const": "update_recipe_build" + } + }, + "required": [ + "tool", + "operation" + ], + "type": "object" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "status": { + "enum": [ + "pending", + "approved", + "cancelled", + "expired", + "consumed" + ] + } + }, + "required": [ + "handoff_ref", + "activity_ref", + "revision", + "status", + "effect_digest", + "reason", + "required_decisions", + "effects", + "expires_at", + "action_url", + "resume" + ], + "type": "object" + }, + "outcome": { + "const": "supervised_required" + }, + "qualification_route": { + "const": "supervised" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "type": "string" + }, + "state": { + "const": "blocked" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "outcome", + "activity_ref", + "state", + "revision", + "qualification_route", + "handoff" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "minLength": 1, + "type": "string" + }, + "error": { + "enum": [ + "not_found", + "invalid_reference", + "invalid_params", + "revision_conflict", + "idempotency_conflict", + "document_too_large", + "payload_too_large", + "chunk_sequence_invalid", + "chunk_digest_mismatch", + "chunk_expired", + "invalid_cursor", + "suite_duplicate_case_id", + "suite_unresolved_pair", + "suite_schema_invalid", + "suite_missing_categories", + "suite_weak_normal_oracle", + "suite_too_large", + "unknown_case_id", + "duplicate_case_id", + "incomplete_case_selection", + "unsupported_node_kind", + "research_required", + "review_required", + "acceptance_required", + "qualification_stale", + "budget_not_approved", + "budget_exhausted", + "budget_superseded", + "budget_capability_consumed", + "budget_capability_expired", + "acceptance_case_cost_exceeded", + "authoring_budget_exceeded", + "authoring_grant_not_active", + "insufficient_credits", + "billing_anomaly", + "activity_stalled", + "activity_in_flight", + "handoff_approval_required", + "handoff_expired", + "handoff_not_pending", + "handoff_stale", + "handoff_disclosure_incomplete", + "feature_unavailable", + "resource_unavailable", + "resource_binding_required", + "resource_requirement_not_found", + "activity_not_cancellable", + "quota_exceeded", + "rate_limited", + "already_published", + "safety_locked", + "build_terminal", + "commit_capability_expired", + "account_unavailable", + "limit_unavailable" + ] + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "hint": { + "maxLength": 240, + "type": "string" + }, + "issue": { + "additionalProperties": false, + "properties": { + "code": { + "maxLength": 64, + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "operator": { + "maxLength": 64, + "type": "string" + }, + "path": { + "maxLength": 512, + "type": "string" + }, + "type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "code", + "path" + ], + "type": "object" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "missing_categories": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 10, + "type": "array", + "uniqueItems": true + }, + "repair_hint": { + "maxLength": 500, + "type": "string" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
start_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "archetype_bundle_role": { - "const": "optional_guidance" - }, - "budget_ceiling": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "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" - }, - "contracts_in_response": { - "type": "boolean" - }, - "dsl_version": { - "minimum": 2, - "type": "integer" - }, - "editor_url": { - "maxLength": 512, - "type": "string" - }, - "guidance_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" - }, - "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" - }, - "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" - }, - "research_tier": { - "enum": [ - "skipped", - "recommended", - "required" - ] - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - }, - "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", - "revision", - "contracts_in_response", - "editor_url", - "matched_archetypes", - "contract_bundle", - "archetype_bundle_role", - "research_tier", - "minimum_acceptance_categories", - "dsl_version", - "catalog_version", - "guidance_version", - "budget_ceiling" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "archetype_bundle_role": { + "const": "optional_guidance" + }, + "budget_ceiling": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "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" + }, + "contracts_in_response": { + "type": "boolean" + }, + "dsl_version": { + "minimum": 2, + "type": "integer" + }, + "editor_url": { + "maxLength": 512, + "type": "string" + }, + "guidance_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" + }, + "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" + }, + "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" + }, + "research_tier": { + "enum": [ + "skipped", + "recommended", + "required" + ] + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + }, + "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", + "revision", + "contracts_in_response", + "editor_url", + "matched_archetypes", + "contract_bundle", + "archetype_bundle_role", + "research_tier", + "minimum_acceptance_categories", + "dsl_version", + "catalog_version", + "guidance_version", + "budget_ceiling" + ], + "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" + } +]
- Changed
update_recipe_build1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "activity_ref": { - "maxLength": 4096, - "minLength": 1, - "type": "string" - }, - "activity_state": { - "enum": [ - "queued", - "running", - "blocked", - "done", - "failed", - "cancelled" - ] - }, - "budget_superseded": { - "type": "boolean" - }, - "findings": { - "maxItems": 0, - "type": "array" - }, - "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" - }, - "normalization_diff": { - "items": { - "additionalProperties": false, - "properties": { - "changed": { - "type": "boolean" - }, - "op": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "op", - "changed" - ], - "type": "object" - }, - "maxItems": 25, - "type": "array" - }, - "outcome": { - "enum": [ - "resource_bound", - "activity_resumed", - "activity_cancelled" - ] - }, - "qualification_invalidated": { - "type": "boolean" - }, - "revision": { - "maxLength": 64, - "pattern": "^[0-9a-f]{64}$", - "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" - } - }, - "required": [ - "revision", - "normalization_diff", - "findings", - "qualification_invalidated", - "budget_superseded" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "case_id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "error": { - "enum": [ - "not_found", - "invalid_reference", - "invalid_params", - "revision_conflict", - "idempotency_conflict", - "document_too_large", - "payload_too_large", - "chunk_sequence_invalid", - "chunk_digest_mismatch", - "chunk_expired", - "suite_duplicate_case_id", - "suite_unresolved_pair", - "suite_schema_invalid", - "suite_missing_categories", - "suite_weak_normal_oracle", - "suite_too_large", - "unknown_case_id", - "duplicate_case_id", - "incomplete_case_selection", - "unsupported_node_kind", - "research_required", - "review_required", - "acceptance_required", - "qualification_stale", - "budget_not_approved", - "budget_exhausted", - "budget_superseded", - "budget_capability_consumed", - "budget_capability_expired", - "acceptance_case_cost_exceeded", - "authoring_budget_exceeded", - "authoring_grant_not_active", - "insufficient_credits", - "billing_anomaly", - "activity_stalled", - "activity_in_flight", - "handoff_approval_required", - "handoff_expired", - "handoff_not_pending", - "handoff_stale", - "feature_unavailable", - "resource_unavailable", - "resource_binding_required", - "resource_requirement_not_found", - "activity_not_cancellable", - "quota_exceeded", - "rate_limited", - "already_published", - "safety_locked", - "build_terminal", - "commit_capability_expired", - "account_unavailable", - "limit_unavailable" - ] - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - }, - "issue": { - "additionalProperties": false, - "properties": { - "code": { - "maxLength": 64, - "type": "string" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "operator": { - "maxLength": 64, - "type": "string" - }, - "path": { - "maxLength": 512, - "type": "string" - }, - "type": { - "maxLength": 64, - "type": "string" - } - }, - "required": [ - "code", - "path" - ], - "type": "object" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "missing_categories": { - "items": { - "maxLength": 64, - "type": "string" - }, - "maxItems": 10, - "type": "array", - "uniqueItems": true - }, - "repair_hint": { - "maxLength": 500, - "type": "string" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - }, - "review_cost": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "utf8_byte_upper_bound" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "input_token_bound": { - "minimum": 0, - "type": "integer" - }, - "limit_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "model": { - "maxLength": 200, - "type": "string" - }, - "output_token_cap": { - "minimum": 0, - "type": "integer" - }, - "prompt_bytes": { - "minimum": 0, - "type": "integer" - }, - "provider": { - "maxLength": 200, - "type": "string" - }, - "section_bytes": { - "additionalProperties": false, - "properties": { - "acceptance_suite": { - "minimum": 0, - "type": "integer" - }, - "input_contract": { - "minimum": 0, - "type": "integer" - }, - "intent": { - "minimum": 0, - "type": "integer" - }, - "output_contract": { - "minimum": 0, - "type": "integer" - }, - "research_evidence": { - "minimum": 0, - "type": "integer" - }, - "spec": { - "minimum": 0, - "type": "integer" - } - }, - "required": [], - "type": "object" - } - }, - "required": [ - "estimated_credits", - "limit_credits", - "provider", - "model", - "basis", - "input_token_bound", - "output_token_cap", - "prompt_bytes", - "section_bytes" - ], - "type": "object" - }, - "truncation": { - "additionalProperties": false, - "properties": { - "applied": { - "const": true - }, - "omitted_items": { - "minimum": 0, - "type": "integer" - }, - "original_result_bytes": { - "minimum": 1, - "type": "integer" - }, - "reason": { - "const": "response_size_limit" - }, - "truncated_values": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "applied", - "reason", - "omitted_items", - "truncated_values", - "original_result_bytes" - ], - "type": "object" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "activity_ref": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "activity_state": { + "enum": [ + "queued", + "running", + "blocked", + "done", + "failed", + "cancelled" + ] + }, + "budget_superseded": { + "type": "boolean" + }, + "findings": { + "maxItems": 0, + "type": "array" + }, + "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" + }, + "normalization_diff": { + "items": { + "additionalProperties": false, + "properties": { + "changed": { + "type": "boolean" + }, + "op": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "op", + "changed" + ], + "type": "object" + }, + "maxItems": 25, + "type": "array" + }, + "outcome": { + "enum": [ + "resource_bound", + "activity_resumed", + "activity_cancelled" + ] + }, + "qualification_invalidated": { + "type": "boolean" + }, + "revision": { + "maxLength": 64, + "pattern": "^[0-9a-f]{64}$", + "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" + } + }, + "required": [ + "revision", + "normalization_diff", + "findings", + "qualification_invalidated", + "budget_superseded" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "case_id": { + "maxLength": 64, + "minLength": 1, + "type": "string" + }, + "error": { + "enum": [ + "not_found", + "invalid_reference", + "invalid_params", + "revision_conflict", + "idempotency_conflict", + "document_too_large", + "payload_too_large", + "chunk_sequence_invalid", + "chunk_digest_mismatch", + "chunk_expired", + "invalid_cursor", + "suite_duplicate_case_id", + "suite_unresolved_pair", + "suite_schema_invalid", + "suite_missing_categories", + "suite_weak_normal_oracle", + "suite_too_large", + "unknown_case_id", + "duplicate_case_id", + "incomplete_case_selection", + "unsupported_node_kind", + "research_required", + "review_required", + "acceptance_required", + "qualification_stale", + "budget_not_approved", + "budget_exhausted", + "budget_superseded", + "budget_capability_consumed", + "budget_capability_expired", + "acceptance_case_cost_exceeded", + "authoring_budget_exceeded", + "authoring_grant_not_active", + "insufficient_credits", + "billing_anomaly", + "activity_stalled", + "activity_in_flight", + "handoff_approval_required", + "handoff_expired", + "handoff_not_pending", + "handoff_stale", + "handoff_disclosure_incomplete", + "feature_unavailable", + "resource_unavailable", + "resource_binding_required", + "resource_requirement_not_found", + "activity_not_cancellable", + "quota_exceeded", + "rate_limited", + "already_published", + "safety_locked", + "build_terminal", + "commit_capability_expired", + "account_unavailable", + "limit_unavailable" + ] + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "hint": { + "maxLength": 240, + "type": "string" + }, + "issue": { + "additionalProperties": false, + "properties": { + "code": { + "maxLength": 64, + "type": "string" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "operator": { + "maxLength": 64, + "type": "string" + }, + "path": { + "maxLength": 512, + "type": "string" + }, + "type": { + "maxLength": 64, + "type": "string" + } + }, + "required": [ + "code", + "path" + ], + "type": "object" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "missing_categories": { + "items": { + "maxLength": 64, + "type": "string" + }, + "maxItems": 10, + "type": "array", + "uniqueItems": true + }, + "repair_hint": { + "maxLength": 500, + "type": "string" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + }, + "review_cost": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "utf8_byte_upper_bound" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "input_token_bound": { + "minimum": 0, + "type": "integer" + }, + "limit_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "model": { + "maxLength": 200, + "type": "string" + }, + "output_token_cap": { + "minimum": 0, + "type": "integer" + }, + "prompt_bytes": { + "minimum": 0, + "type": "integer" + }, + "provider": { + "maxLength": 200, + "type": "string" + }, + "section_bytes": { + "additionalProperties": false, + "properties": { + "acceptance_suite": { + "minimum": 0, + "type": "integer" + }, + "input_contract": { + "minimum": 0, + "type": "integer" + }, + "intent": { + "minimum": 0, + "type": "integer" + }, + "output_contract": { + "minimum": 0, + "type": "integer" + }, + "research_evidence": { + "minimum": 0, + "type": "integer" + }, + "spec": { + "minimum": 0, + "type": "integer" + } + }, + "required": [], + "type": "object" + } + }, + "required": [ + "estimated_credits", + "limit_credits", + "provider", + "model", + "basis", + "input_token_bound", + "output_token_cap", + "prompt_bytes", + "section_bytes" + ], + "type": "object" + }, + "truncation": { + "additionalProperties": false, + "properties": { + "applied": { + "const": true + }, + "omitted_items": { + "minimum": 0, + "type": "integer" + }, + "original_result_bytes": { + "minimum": 1, + "type": "integer" + }, + "reason": { + "const": "response_size_limit" + }, + "truncated_values": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "applied", + "reason", + "omitted_items", + "truncated_values", + "original_result_bytes" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
3 tool updates
- Changed
get_recipe_preview1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "properties": { - "disclosure": { - "enum": [ - "view_authorized", - "public_summary_only" - ] - }, - "items": { - "items": { - "additionalProperties": false, - "properties": { - "complete": { - "type": "boolean" - }, - "content": { - "maxLength": 6000, - "type": "string" - }, - "encoding": { - "enum": [ - "text", - "json" - ] - }, - "offset": { - "minimum": 0, - "type": "integer" - }, - "section": { - "type": "string" - }, - "total_characters": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "section", - "encoding", - "content", - "offset", - "total_characters", - "complete" - ], - "type": "object" - }, - "maxItems": 20, - "type": "array" - }, - "metrics": { - "additionalProperties": false, - "properties": { - "average_credits": { - "type": [ - "number", - "null" - ] - }, - "average_duration_seconds": { - "type": [ - "number", - "null" - ] - }, - "basis": { - "const": "successful_runs" - }, - "sample_count": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "basis", - "sample_count", - "average_credits", - "average_duration_seconds" - ], - "type": "object" - }, - "next_cursor": { - "maxLength": 2000, - "type": [ - "string", - "null" - ] - }, - "recipe_ref": { - "maxLength": 32768, - "type": "string" - }, - "revision_sha": { - "type": "string" - }, - "view": { - "const": "details" - } - }, - "required": [ - "view", - "revision_sha", - "disclosure", - "items", - "next_cursor", - "recipe_ref", - "metrics" - ], - "type": "object" - }, - { - "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" - }, - "decision_context": { - "additionalProperties": false, - "description": "Bounded selection hints from the pinned published revision, with explicitly labeled safety-reviewed public copy as a fallback; text is withheld without view permission.", - "properties": { - "evidence_note": { - "maxLength": 240, - "type": [ - "string", - "null" - ] - }, - "limitations_excerpt": { - "maxLength": 800, - "type": [ - "string", - "null" - ] - }, - "method_excerpt": { - "maxLength": 800, - "type": [ - "string", - "null" - ] - }, - "output_contract_state": { - "description": "Unusable means output nodes exist but no stable executable output binding is available.", - "enum": [ - "declared", - "undeclared", - "unusable" - ] - } - }, - "required": [ - "method_excerpt", - "limitations_excerpt", - "output_contract_state", - "evidence_note" - ], - "type": "object" - }, - "description": { - "maxLength": 4000, - "type": "string" - }, - "description_truncated": { - "type": "boolean" - }, - "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" - }, - "input_limits": { - "additionalProperties": false, - "properties": { - "max_total_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "note": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "max_total_utf8_bytes" - ], - "type": "object" - }, - "inputs": { - "items": { - "additionalProperties": false, - "properties": { - "default_available": { - "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", - "type": "boolean" - }, - "handle": { - "pattern": "^input_[1-9][0-9]*$", - "type": "string" - }, - "label": { - "maxLength": 100, - "type": "string" - }, - "max_characters": { - "minimum": 1, - "type": "integer" - }, - "max_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "must_provide": { - "description": "True only when the input is required and has no default; the caller has to supply it.", - "type": "boolean" - }, - "required": { - "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", - "type": "boolean" - } - }, - "required": [ - "handle", - "label", - "required", - "must_provide", - "default_available", - "max_characters", - "max_utf8_bytes" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "outputs": { - "items": { - "maxLength": 100, - "type": "string" - }, - "maxItems": 50, - "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" - ] - }, - "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", - "pricing", - "visibility", - "inputs", - "outputs", - "recipe_ref", - "input_limits", - "source", - "access", - "state", - "qualification", - "contracts", - "evidence", - "decision_context" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "enum": [ - "recipe_unavailable", - "invalid_cursor" - ] - }, - "hint": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "disclosure": { + "enum": [ + "view_authorized", + "public_summary_only" + ] + }, + "items": { + "items": { + "additionalProperties": false, + "properties": { + "complete": { + "type": "boolean" + }, + "content": { + "maxLength": 6000, + "type": "string" + }, + "encoding": { + "enum": [ + "text", + "json" + ] + }, + "offset": { + "minimum": 0, + "type": "integer" + }, + "section": { + "type": "string" + }, + "total_characters": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "section", + "encoding", + "content", + "offset", + "total_characters", + "complete" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + }, + "metrics": { + "additionalProperties": false, + "properties": { + "average_credits": { + "type": [ + "number", + "null" + ] + }, + "average_duration_seconds": { + "type": [ + "number", + "null" + ] + }, + "basis": { + "const": "successful_runs" + }, + "sample_count": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "basis", + "sample_count", + "average_credits", + "average_duration_seconds" + ], + "type": "object" + }, + "next_cursor": { + "maxLength": 2000, + "type": [ + "string", + "null" + ] + }, + "recipe_ref": { + "maxLength": 32768, + "type": "string" + }, + "revision_sha": { + "type": "string" + }, + "view": { + "const": "details" + } + }, + "required": [ + "view", + "revision_sha", + "disclosure", + "items", + "next_cursor", + "recipe_ref", + "metrics" + ], + "type": "object" + }, + { + "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" + }, + "decision_context": { + "additionalProperties": false, + "description": "Bounded selection hints from the pinned published revision, with explicitly labeled safety-reviewed public copy as a fallback; text is withheld without view permission.", + "properties": { + "evidence_note": { + "maxLength": 240, + "type": [ + "string", + "null" + ] + }, + "limitations_excerpt": { + "maxLength": 800, + "type": [ + "string", + "null" + ] + }, + "method_excerpt": { + "maxLength": 800, + "type": [ + "string", + "null" + ] + }, + "output_contract_state": { + "description": "Unusable means output nodes exist but no stable executable output binding is available.", + "enum": [ + "declared", + "undeclared", + "unusable" + ] + } + }, + "required": [ + "method_excerpt", + "limitations_excerpt", + "output_contract_state", + "evidence_note" + ], + "type": "object" + }, + "description": { + "maxLength": 4000, + "type": "string" + }, + "description_truncated": { + "type": "boolean" + }, + "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" + }, + "input_limits": { + "additionalProperties": false, + "properties": { + "max_total_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "note": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "max_total_utf8_bytes" + ], + "type": "object" + }, + "inputs": { + "items": { + "additionalProperties": false, + "properties": { + "default_available": { + "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", + "type": "boolean" + }, + "handle": { + "pattern": "^input_[1-9][0-9]*$", + "type": "string" + }, + "label": { + "maxLength": 100, + "type": "string" + }, + "max_characters": { + "minimum": 1, + "type": "integer" + }, + "max_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "must_provide": { + "description": "True only when the input is required and has no default; the caller has to supply it.", + "type": "boolean" + }, + "required": { + "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", + "type": "boolean" + } + }, + "required": [ + "handle", + "label", + "required", + "must_provide", + "default_available", + "max_characters", + "max_utf8_bytes" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "outputs": { + "items": { + "maxLength": 100, + "type": "string" + }, + "maxItems": 50, + "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" + ] + }, + "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", + "pricing", + "visibility", + "inputs", + "outputs", + "recipe_ref", + "input_limits", + "source", + "access", + "state", + "qualification", + "contracts", + "evidence", + "decision_context" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "enum": [ + "recipe_unavailable", + "invalid_cursor", + "recipe_ref_expired" + ] + }, + "hint": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
get_run1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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": { - "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" - } -]New value: +[ + { + "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" + } +]
- Changed
run_recipe1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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" - }, - "ceiling_explanation": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "current_effective_rates_and_runtime_bounds" - }, - "details_limited": { - "type": "boolean" - }, - "meaning": { - "maxLength": 500, - "type": "string" - }, - "provider_floors": { - "items": { - "type": "object" - }, - "maxItems": 20, - "type": "array" - } - }, - "required": [ - "meaning", - "basis", - "provider_floors", - "details_limited" - ], - "type": "object" - }, - "estimate_basis": { - "const": "conservative_input_aware" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "execution_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "fee_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "historical_comparison": { - "enum": [ - "lower", - "same", - "higher", - "unknown" - ] - }, - "historical_credit_band": { - "enum": [ - "unknown", - "free", - "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" - }, - "marketplace_fee_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "outcome": { - "const": "estimated" - }, - "pricing_warning": { - "maxLength": 240, - "type": [ - "string", - "null" - ] - }, - "sufficient": { - "type": "boolean" - } - }, - "required": [ - "outcome", - "execution_credits", - "marketplace_fee_credits", - "estimated_credits", - "available_credits", - "sufficient", - "estimate_basis", - "input_token_floor", - "historical_credit_band", - "historical_comparison", - "pricing_warning" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "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": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "const": "queued" - } - }, - "required": [ - "outcome", - "run_id", - "status", - "estimated_credits" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "replayed" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "done", - "failed", - "cancelled", - "blocked" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "recipe_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "account_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_inputs" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "idempotency_conflict" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "idempotency_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_limit" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "rate_limited" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "error", - "retry_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "available_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "error": { - "const": "insufficient_credits" - }, - "required_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - } - }, - "required": [ - "error", - "required_credits", - "available_credits" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_inputs" - }, - "issues": { - "items": { - "additionalProperties": false, - "properties": { - "code": { - "enum": [ - "required", - "blank", - "invalid_type", - "unknown_handle", - "too_many_inputs", - "max_characters", - "max_value_utf8_bytes", - "max_total_utf8_bytes" - ] - }, - "hint": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "limit": { - "minimum": 1, - "type": "integer" - }, - "message": { - "maxLength": 160, - "minLength": 1, - "type": "string" - }, - "path": { - "maxLength": 32, - "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$", - "type": "string" - }, - "received": { - "additionalProperties": false, - "properties": { - "characters": { - "minimum": 0, - "type": "integer" - }, - "item_count": { - "minimum": 0, - "type": "integer" - }, - "type": { - "enum": [ - "missing", - "null", - "boolean", - "integer", - "number", - "string", - "array", - "object", - "other" - ] - }, - "utf8_bytes": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "required": [ - "path", - "code", - "message", - "hint" - ], - "type": "object" - }, - "maxItems": 50, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "error", - "issues" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_unavailable" - }, - "message": { - "maxLength": 240, - "type": "string" - }, - "next_action": { - "maxLength": 240, - "type": "string" - }, - "reason": { - "enum": [ - "recipe_validation_failed", - "recipe_step_policy_restricted", - "recipe_fee_configuration_invalid", - "invalid_credit_evidence", - "admission_inconsistent", - "configuration_unavailable" - ] - } - }, - "required": [ - "error", - "reason", - "message", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "pricing_unavailable" - }, - "message": { - "maxLength": 240, - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "action": { - "const": "choose_another_recipe" - }, - "reason": { - "maxLength": 240, - "type": "string" - }, - "tool": { - "const": "search_recipes" - } - }, - "required": [ - "tool", - "action", - "reason" - ], - "type": "object" - } - }, - "required": [ - "error", - "message", - "next_action" - ], - "type": "object" - } -]New value: +[ + { + "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" + }, + "ceiling_explanation": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "current_effective_rates_and_runtime_bounds" + }, + "details_limited": { + "type": "boolean" + }, + "meaning": { + "maxLength": 500, + "type": "string" + }, + "provider_floors": { + "items": { + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "required": [ + "meaning", + "basis", + "provider_floors", + "details_limited" + ], + "type": "object" + }, + "estimate_basis": { + "const": "conservative_input_aware" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "execution_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "fee_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "historical_comparison": { + "enum": [ + "lower", + "same", + "higher", + "unknown" + ] + }, + "historical_credit_band": { + "enum": [ + "unknown", + "free", + "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" + }, + "marketplace_fee_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "outcome": { + "const": "estimated" + }, + "pricing_warning": { + "maxLength": 240, + "type": [ + "string", + "null" + ] + }, + "sufficient": { + "type": "boolean" + } + }, + "required": [ + "outcome", + "execution_credits", + "marketplace_fee_credits", + "estimated_credits", + "available_credits", + "sufficient", + "estimate_basis", + "input_token_floor", + "historical_credit_band", + "historical_comparison", + "pricing_warning" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "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": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "const": "queued" + } + }, + "required": [ + "outcome", + "run_id", + "status", + "estimated_credits" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "replayed" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "done", + "failed", + "cancelled", + "blocked" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "recipe_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "account_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "invalid_inputs" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "idempotency_conflict" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "idempotency_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_limit" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "rate_limited" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "error", + "retry_after_seconds" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "available_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "error": { + "const": "insufficient_credits" + }, + "required_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + } + }, + "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": false, + "properties": { + "error": { + "const": "invalid_inputs" + }, + "issues": { + "items": { + "additionalProperties": false, + "properties": { + "code": { + "enum": [ + "required", + "blank", + "invalid_type", + "unknown_handle", + "too_many_inputs", + "max_characters", + "max_value_utf8_bytes", + "max_total_utf8_bytes" + ] + }, + "hint": { + "maxLength": 200, + "minLength": 1, + "type": "string" + }, + "limit": { + "minimum": 1, + "type": "integer" + }, + "message": { + "maxLength": 160, + "minLength": 1, + "type": "string" + }, + "path": { + "maxLength": 32, + "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$", + "type": "string" + }, + "received": { + "additionalProperties": false, + "properties": { + "characters": { + "minimum": 0, + "type": "integer" + }, + "item_count": { + "minimum": 0, + "type": "integer" + }, + "type": { + "enum": [ + "missing", + "null", + "boolean", + "integer", + "number", + "string", + "array", + "object", + "other" + ] + }, + "utf8_bytes": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "path", + "code", + "message", + "hint" + ], + "type": "object" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "error", + "issues" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_unavailable" + }, + "message": { + "maxLength": 240, + "type": "string" + }, + "next_action": { + "maxLength": 240, + "type": "string" + }, + "reason": { + "enum": [ + "recipe_validation_failed", + "recipe_step_policy_restricted", + "recipe_fee_configuration_invalid", + "invalid_credit_evidence", + "admission_inconsistent", + "configuration_unavailable" + ] + } + }, + "required": [ + "error", + "reason", + "message", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "pricing_unavailable" + }, + "message": { + "maxLength": 240, + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "action": { + "const": "choose_another_recipe" + }, + "reason": { + "maxLength": 240, + "type": "string" + }, + "tool": { + "const": "search_recipes" + } + }, + "required": [ + "tool", + "action", + "reason" + ], + "type": "object" + } + }, + "required": [ + "error", + "message", + "next_action" + ], + "type": "object" + } +]
2 tool updates
- Changed
run_recipe1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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" - }, - "ceiling_explanation": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "current_effective_rates_and_runtime_bounds" - }, - "details_limited": { - "type": "boolean" - }, - "meaning": { - "maxLength": 500, - "type": "string" - }, - "provider_floors": { - "items": { - "type": "object" - }, - "maxItems": 20, - "type": "array" - } - }, - "required": [ - "meaning", - "basis", - "provider_floors", - "details_limited" - ], - "type": "object" - }, - "estimate_basis": { - "const": "conservative_input_aware" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "execution_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "fee_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "historical_comparison": { - "enum": [ - "lower", - "same", - "higher", - "unknown" - ] - }, - "historical_credit_band": { - "enum": [ - "unknown", - "free", - "0_to_10", - "10_to_100", - "over_100" - ] - }, - "history": { - "additionalProperties": false, - "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", - "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" - ] - }, - "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" - ], - "type": "object" - }, - "input_token_floor": { - "minimum": 1, - "type": "integer" - }, - "marketplace_fee_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "outcome": { - "const": "estimated" - }, - "pricing_warning": { - "maxLength": 240, - "type": [ - "string", - "null" - ] - }, - "sufficient": { - "type": "boolean" - } - }, - "required": [ - "outcome", - "execution_credits", - "marketplace_fee_credits", - "estimated_credits", - "available_credits", - "sufficient", - "estimate_basis", - "input_token_floor", - "historical_credit_band", - "historical_comparison", - "pricing_warning" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "history": { - "additionalProperties": false, - "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", - "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" - ] - }, - "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" - ], - "type": "object" - }, - "outcome": { - "const": "started" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "const": "queued" - } - }, - "required": [ - "outcome", - "run_id", - "status", - "estimated_credits" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "replayed" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "done", - "failed", - "cancelled", - "blocked" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "recipe_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "account_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_inputs" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "idempotency_conflict" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "idempotency_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_limit" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "rate_limited" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "error", - "retry_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "available_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "error": { - "const": "insufficient_credits" - }, - "required_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - } - }, - "required": [ - "error", - "required_credits", - "available_credits" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_inputs" - }, - "issues": { - "items": { - "additionalProperties": false, - "properties": { - "code": { - "enum": [ - "required", - "blank", - "invalid_type", - "unknown_handle", - "too_many_inputs", - "max_characters", - "max_value_utf8_bytes", - "max_total_utf8_bytes" - ] - }, - "hint": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "limit": { - "minimum": 1, - "type": "integer" - }, - "message": { - "maxLength": 160, - "minLength": 1, - "type": "string" - }, - "path": { - "maxLength": 32, - "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$", - "type": "string" - }, - "received": { - "additionalProperties": false, - "properties": { - "characters": { - "minimum": 0, - "type": "integer" - }, - "item_count": { - "minimum": 0, - "type": "integer" - }, - "type": { - "enum": [ - "missing", - "null", - "boolean", - "integer", - "number", - "string", - "array", - "object", - "other" - ] - }, - "utf8_bytes": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "required": [ - "path", - "code", - "message", - "hint" - ], - "type": "object" - }, - "maxItems": 50, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "error", - "issues" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_unavailable" - }, - "message": { - "maxLength": 240, - "type": "string" - }, - "next_action": { - "maxLength": 240, - "type": "string" - }, - "reason": { - "enum": [ - "recipe_validation_failed", - "recipe_step_policy_restricted", - "recipe_fee_configuration_invalid", - "invalid_credit_evidence", - "admission_inconsistent", - "configuration_unavailable" - ] - } - }, - "required": [ - "error", - "reason", - "message", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "pricing_unavailable" - }, - "message": { - "maxLength": 240, - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "action": { - "const": "choose_another_recipe" - }, - "reason": { - "maxLength": 240, - "type": "string" - }, - "tool": { - "const": "search_recipes" - } - }, - "required": [ - "tool", - "action", - "reason" - ], - "type": "object" - } - }, - "required": [ - "error", - "message", - "next_action" - ], - "type": "object" - } -]New value: +[ + { + "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" + }, + "ceiling_explanation": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "current_effective_rates_and_runtime_bounds" + }, + "details_limited": { + "type": "boolean" + }, + "meaning": { + "maxLength": 500, + "type": "string" + }, + "provider_floors": { + "items": { + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "required": [ + "meaning", + "basis", + "provider_floors", + "details_limited" + ], + "type": "object" + }, + "estimate_basis": { + "const": "conservative_input_aware" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "execution_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "fee_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "historical_comparison": { + "enum": [ + "lower", + "same", + "higher", + "unknown" + ] + }, + "historical_credit_band": { + "enum": [ + "unknown", + "free", + "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" + }, + "marketplace_fee_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "outcome": { + "const": "estimated" + }, + "pricing_warning": { + "maxLength": 240, + "type": [ + "string", + "null" + ] + }, + "sufficient": { + "type": "boolean" + } + }, + "required": [ + "outcome", + "execution_credits", + "marketplace_fee_credits", + "estimated_credits", + "available_credits", + "sufficient", + "estimate_basis", + "input_token_floor", + "historical_credit_band", + "historical_comparison", + "pricing_warning" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "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": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "const": "queued" + } + }, + "required": [ + "outcome", + "run_id", + "status", + "estimated_credits" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "replayed" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "done", + "failed", + "cancelled", + "blocked" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "recipe_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "account_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "invalid_inputs" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "idempotency_conflict" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "idempotency_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_limit" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "rate_limited" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "error", + "retry_after_seconds" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "available_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "error": { + "const": "insufficient_credits" + }, + "required_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + } + }, + "required": [ + "error", + "required_credits", + "available_credits" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "invalid_inputs" + }, + "issues": { + "items": { + "additionalProperties": false, + "properties": { + "code": { + "enum": [ + "required", + "blank", + "invalid_type", + "unknown_handle", + "too_many_inputs", + "max_characters", + "max_value_utf8_bytes", + "max_total_utf8_bytes" + ] + }, + "hint": { + "maxLength": 200, + "minLength": 1, + "type": "string" + }, + "limit": { + "minimum": 1, + "type": "integer" + }, + "message": { + "maxLength": 160, + "minLength": 1, + "type": "string" + }, + "path": { + "maxLength": 32, + "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$", + "type": "string" + }, + "received": { + "additionalProperties": false, + "properties": { + "characters": { + "minimum": 0, + "type": "integer" + }, + "item_count": { + "minimum": 0, + "type": "integer" + }, + "type": { + "enum": [ + "missing", + "null", + "boolean", + "integer", + "number", + "string", + "array", + "object", + "other" + ] + }, + "utf8_bytes": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "path", + "code", + "message", + "hint" + ], + "type": "object" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "error", + "issues" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_unavailable" + }, + "message": { + "maxLength": 240, + "type": "string" + }, + "next_action": { + "maxLength": 240, + "type": "string" + }, + "reason": { + "enum": [ + "recipe_validation_failed", + "recipe_step_policy_restricted", + "recipe_fee_configuration_invalid", + "invalid_credit_evidence", + "admission_inconsistent", + "configuration_unavailable" + ] + } + }, + "required": [ + "error", + "reason", + "message", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "pricing_unavailable" + }, + "message": { + "maxLength": 240, + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "action": { + "const": "choose_another_recipe" + }, + "reason": { + "maxLength": 240, + "type": "string" + }, + "tool": { + "const": "search_recipes" + } + }, + "required": [ + "tool", + "action", + "reason" + ], + "type": "object" + } + }, + "required": [ + "error", + "message", + "next_action" + ], + "type": "object" + } +]
- Changed
search_recipes1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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 top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", - "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" - ] - }, - "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" - ], - "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 top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", - "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" - ] - }, - "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" - ], - "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" - } -]New value: +[ + { + "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" + } +]
4 tool updates
- Changed
get_results3 fields changed- added
Input schema / properties / detailAdded value: +{ + "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" + ] +} - added
Input schema / properties / limit / descriptionAdded value: +"Steps per page for view=steps: default 10, at most 20." - changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "results" - }, - "outputs": { - "items": { - "additionalProperties": false, - "properties": { - "label": { - "maxLength": 100, - "type": "string" - }, - "value": {} - }, - "required": [ - "label", - "value" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - } - }, - "required": [ - "outcome", - "run_id", - "outputs" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "not_ready" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "blocked" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "no_results" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "failed", - "cancelled" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "result_too_large" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - } - }, - "required": [ - "outcome", - "run_id" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "next_cursor": { - "oneOf": [ - { - "maxLength": 8, - "pattern": "^o:(?:0|[1-9][0-9]*)$", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "outcome": { - "const": "steps" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "done", - "failed", - "cancelled", - "blocked" - ] - }, - "steps": { - "items": { - "additionalProperties": false, - "properties": { - "depends_on": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 1000, - "type": "array" - }, - "diagnostics": { - "additionalProperties": false, - "properties": { - "duration_ms": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - }, - "input_tokens": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - }, - "output_tokens": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "duration_ms", - "input_tokens", - "output_tokens" - ], - "type": "object" - }, - "input_source": { - "enum": [ - "rendered", - "configured", - "unavailable" - ] - }, - "kind": { - "maxLength": 32, - "type": "string" - }, - "parameters": { - "type": "object" - }, - "redaction_reasons": { - "items": { - "enum": [ - "sensitive_input", - "opaque_recipe" - ] - }, - "maxItems": 2, - "type": "array", - "uniqueItems": true - }, - "rendered_input": { - "oneOf": [ - { - "maxLength": 1048576, - "type": "string" - }, - { - "type": "null" - } - ] - }, - "result": { - "type": "object" - }, - "status": { - "maxLength": 32, - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - }, - "title": { - "maxLength": 500, - "type": "string" - } - }, - "required": [ - "step_id", - "title", - "kind", - "status", - "depends_on", - "parameters", - "rendered_input", - "input_source", - "result", - "redaction_reasons" - ], - "type": "object" - }, - "maxItems": 20, - "type": "array" - }, - "trace_visibility": { - "enum": [ - "full", - "opaque" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status", - "trace_visibility", - "steps", - "next_cursor" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "step" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "done", - "failed", - "cancelled", - "blocked" - ] - }, - "step": { - "additionalProperties": false, - "properties": { - "depends_on": { - "items": { - "maxLength": 128, - "type": "string" - }, - "maxItems": 1000, - "type": "array" - }, - "diagnostics": { - "additionalProperties": false, - "properties": { - "duration_ms": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - }, - "input_tokens": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - }, - "output_tokens": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "duration_ms", - "input_tokens", - "output_tokens" - ], - "type": "object" - }, - "input_source": { - "enum": [ - "rendered", - "configured", - "unavailable" - ] - }, - "kind": { - "maxLength": 32, - "type": "string" - }, - "parameters": { - "type": "object" - }, - "redaction_reasons": { - "items": { - "enum": [ - "sensitive_input", - "opaque_recipe" - ] - }, - "maxItems": 2, - "type": "array", - "uniqueItems": true - }, - "rendered_input": { - "oneOf": [ - { - "maxLength": 1048576, - "type": "string" - }, - { - "type": "null" - } - ] - }, - "result": { - "type": "object" - }, - "status": { - "maxLength": 32, - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - }, - "title": { - "maxLength": 500, - "type": "string" - } - }, - "required": [ - "step_id", - "title", - "kind", - "status", - "depends_on", - "parameters", - "rendered_input", - "input_source", - "result", - "redaction_reasons" - ], - "type": "object" - }, - "trace_visibility": { - "enum": [ - "full", - "opaque" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status", - "trace_visibility", - "step" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "next_cursor": { - "oneOf": [ - { - "maxLength": 8, - "pattern": "^o:(?:0|[1-9][0-9]*)$", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "outcome": { - "const": "step_too_large" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "outcome", - "run_id", - "step_id", - "next_cursor" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "chunk_ref": { - "maxLength": 2048, - "minLength": 1, - "type": "string" - }, - "next_cursor": { - "oneOf": [ - { - "maxLength": 8, - "pattern": "^o:(?:0|[1-9][0-9]*)$", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "outcome": { - "const": "step_too_large" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - } - }, - "required": [ - "outcome", - "run_id", - "step_id", - "next_cursor", - "chunk_ref" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "chunk": { - "maxLength": 1048576, - "type": "string" - }, - "chunk_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "encoding": { - "const": "json" - }, - "next_chunk_ref": { - "oneOf": [ - { - "maxLength": 2048, - "minLength": 1, - "type": "string" - }, - { - "type": "null" - } - ] - }, - "offset": { - "minimum": 0, - "type": "integer" - }, - "outcome": { - "const": "step_chunk" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "step_id": { - "maxLength": 128, - "type": "string" - }, - "total_utf8_bytes": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "outcome", - "run_id", - "step_id", - "encoding", - "offset", - "chunk", - "chunk_utf8_bytes", - "total_utf8_bytes", - "next_chunk_ref" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_not_found" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_params" - }, - "field": { - "maxLength": 64, - "type": "string" - }, - "hint": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "error", - "field", - "hint" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "step_not_found" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "result_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "results" + }, + "outputs": { + "items": { + "additionalProperties": false, + "properties": { + "label": { + "maxLength": 100, + "type": "string" + }, + "value": {} + }, + "required": [ + "label", + "value" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + } + }, + "required": [ + "outcome", + "run_id", + "outputs" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "not_ready" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "blocked" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "no_results" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "failed", + "cancelled" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "result_too_large" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + } + }, + "required": [ + "outcome", + "run_id" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "next_cursor": { + "oneOf": [ + { + "maxLength": 8, + "pattern": "^o:(?:0|[1-9][0-9]*)$", + "type": "string" + }, + { + "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, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "done", + "failed", + "cancelled", + "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": { + "duration_ms": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + }, + "input_tokens": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + }, + "output_tokens": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "duration_ms", + "input_tokens", + "output_tokens" + ], + "type": "object" + }, + "input_source": { + "enum": [ + "rendered", + "configured", + "unavailable" + ] + }, + "kind": { + "maxLength": 32, + "type": "string" + }, + "parameters": { + "type": "object" + }, + "redaction_reasons": { + "items": { + "enum": [ + "sensitive_input", + "opaque_recipe" + ] + }, + "maxItems": 2, + "type": "array", + "uniqueItems": true + }, + "rendered_input": { + "oneOf": [ + { + "maxLength": 1048576, + "type": "string" + }, + { + "type": "null" + } + ] + }, + "result": { + "type": "object" + }, + "status": { + "maxLength": 32, + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + }, + "title": { + "maxLength": 500, + "type": "string" + } + }, + "required": [ + "step_id", + "title", + "kind", + "status", + "depends_on", + "parameters", + "rendered_input", + "input_source", + "result", + "redaction_reasons" + ], + "type": "object" + } + ] + }, + "maxItems": 20, + "type": "array" + }, + "trace_visibility": { + "enum": [ + "full", + "opaque" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status", + "trace_visibility", + "steps", + "next_cursor" + ], + "type": "object" + }, + { + "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, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "done", + "failed", + "cancelled", + "blocked" + ] + }, + "step": { + "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": { + "duration_ms": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + }, + "input_tokens": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + }, + "output_tokens": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "duration_ms", + "input_tokens", + "output_tokens" + ], + "type": "object" + }, + "input_source": { + "enum": [ + "rendered", + "configured", + "unavailable" + ] + }, + "kind": { + "maxLength": 32, + "type": "string" + }, + "parameters": { + "type": "object" + }, + "redaction_reasons": { + "items": { + "enum": [ + "sensitive_input", + "opaque_recipe" + ] + }, + "maxItems": 2, + "type": "array", + "uniqueItems": true + }, + "rendered_input": { + "oneOf": [ + { + "maxLength": 1048576, + "type": "string" + }, + { + "type": "null" + } + ] + }, + "result": { + "type": "object" + }, + "status": { + "maxLength": 32, + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + }, + "title": { + "maxLength": 500, + "type": "string" + } + }, + "required": [ + "step_id", + "title", + "kind", + "status", + "depends_on", + "parameters", + "rendered_input", + "input_source", + "result", + "redaction_reasons" + ], + "type": "object" + }, + "trace_visibility": { + "enum": [ + "full", + "opaque" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status", + "trace_visibility", + "step" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "next_cursor": { + "oneOf": [ + { + "maxLength": 8, + "pattern": "^o:(?:0|[1-9][0-9]*)$", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "outcome": { + "const": "step_too_large" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "outcome", + "run_id", + "step_id", + "next_cursor" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "chunk_ref": { + "maxLength": 2048, + "minLength": 1, + "type": "string" + }, + "next_cursor": { + "oneOf": [ + { + "maxLength": 8, + "pattern": "^o:(?:0|[1-9][0-9]*)$", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "outcome": { + "const": "step_too_large" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + } + }, + "required": [ + "outcome", + "run_id", + "step_id", + "next_cursor", + "chunk_ref" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "chunk": { + "maxLength": 1048576, + "type": "string" + }, + "chunk_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "encoding": { + "const": "json" + }, + "next_chunk_ref": { + "oneOf": [ + { + "maxLength": 2048, + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ] + }, + "offset": { + "minimum": 0, + "type": "integer" + }, + "outcome": { + "const": "step_chunk" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "step_id": { + "maxLength": 128, + "type": "string" + }, + "total_utf8_bytes": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "outcome", + "run_id", + "step_id", + "encoding", + "offset", + "chunk", + "chunk_utf8_bytes", + "total_utf8_bytes", + "next_chunk_ref" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_not_found" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "invalid_params" + }, + "field": { + "maxLength": 64, + "type": "string" + }, + "hint": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "error", + "field", + "hint" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "step_not_found" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "result_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
get_run1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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" - } -]New value: +[ + { + "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": { + "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" + } +]
- Changed
run_recipe1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "available_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "ceiling_explanation": { - "additionalProperties": false, - "properties": { - "basis": { - "const": "current_effective_rates_and_runtime_bounds" - }, - "details_limited": { - "type": "boolean" - }, - "meaning": { - "maxLength": 500, - "type": "string" - }, - "provider_floors": { - "items": { - "type": "object" - }, - "maxItems": 20, - "type": "array" - } - }, - "required": [ - "meaning", - "basis", - "provider_floors", - "details_limited" - ], - "type": "object" - }, - "estimate_basis": { - "const": "conservative_input_aware" - }, - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "execution_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "historical_comparison": { - "enum": [ - "lower", - "same", - "higher", - "unknown" - ] - }, - "historical_credit_band": { - "enum": [ - "unknown", - "free", - "0_to_10", - "10_to_100", - "over_100" - ] - }, - "input_token_floor": { - "minimum": 1, - "type": "integer" - }, - "marketplace_fee_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "outcome": { - "const": "estimated" - }, - "pricing_warning": { - "maxLength": 240, - "type": [ - "string", - "null" - ] - }, - "sufficient": { - "type": "boolean" - } - }, - "required": [ - "outcome", - "execution_credits", - "marketplace_fee_credits", - "estimated_credits", - "available_credits", - "sufficient", - "estimate_basis", - "input_token_floor", - "historical_credit_band", - "historical_comparison", - "pricing_warning" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "estimated_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "outcome": { - "const": "started" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "const": "queued" - } - }, - "required": [ - "outcome", - "run_id", - "status", - "estimated_credits" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "outcome": { - "const": "replayed" - }, - "run_id": { - "maxLength": 26, - "minLength": 26, - "pattern": "^[0-9A-Za-z]{26}$", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "done", - "failed", - "cancelled", - "blocked" - ] - } - }, - "required": [ - "outcome", - "run_id", - "status" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "recipe_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "account_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_inputs" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "idempotency_conflict" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "idempotency_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_limit" - } - }, - "required": [ - "error" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "rate_limited" - }, - "retry_after_seconds": { - "maximum": 86400, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "error", - "retry_after_seconds" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "available_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - }, - "error": { - "const": "insufficient_credits" - }, - "required_credits": { - "maxLength": 64, - "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", - "type": "string" - } - }, - "required": [ - "error", - "required_credits", - "available_credits" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "invalid_inputs" - }, - "issues": { - "items": { - "additionalProperties": false, - "properties": { - "code": { - "enum": [ - "required", - "blank", - "invalid_type", - "unknown_handle", - "too_many_inputs", - "max_characters", - "max_value_utf8_bytes", - "max_total_utf8_bytes" - ] - }, - "hint": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "limit": { - "minimum": 1, - "type": "integer" - }, - "message": { - "maxLength": 160, - "minLength": 1, - "type": "string" - }, - "path": { - "maxLength": 32, - "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$", - "type": "string" - }, - "received": { - "additionalProperties": false, - "properties": { - "characters": { - "minimum": 0, - "type": "integer" - }, - "item_count": { - "minimum": 0, - "type": "integer" - }, - "type": { - "enum": [ - "missing", - "null", - "boolean", - "integer", - "number", - "string", - "array", - "object", - "other" - ] - }, - "utf8_bytes": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "required": [ - "path", - "code", - "message", - "hint" - ], - "type": "object" - }, - "maxItems": 50, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "error", - "issues" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "run_unavailable" - }, - "message": { - "maxLength": 240, - "type": "string" - }, - "next_action": { - "maxLength": 240, - "type": "string" - }, - "reason": { - "enum": [ - "recipe_validation_failed", - "recipe_step_policy_restricted", - "recipe_fee_configuration_invalid", - "invalid_credit_evidence", - "admission_inconsistent", - "configuration_unavailable" - ] - } - }, - "required": [ - "error", - "reason", - "message", - "next_action" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "pricing_unavailable" - }, - "message": { - "maxLength": 240, - "type": "string" - }, - "next_action": { - "additionalProperties": false, - "properties": { - "action": { - "const": "choose_another_recipe" - }, - "reason": { - "maxLength": 240, - "type": "string" - }, - "tool": { - "const": "search_recipes" - } - }, - "required": [ - "tool", - "action", - "reason" - ], - "type": "object" - } - }, - "required": [ - "error", - "message", - "next_action" - ], - "type": "object" - } -]New value: +[ + { + "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" + }, + "ceiling_explanation": { + "additionalProperties": false, + "properties": { + "basis": { + "const": "current_effective_rates_and_runtime_bounds" + }, + "details_limited": { + "type": "boolean" + }, + "meaning": { + "maxLength": 500, + "type": "string" + }, + "provider_floors": { + "items": { + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "required": [ + "meaning", + "basis", + "provider_floors", + "details_limited" + ], + "type": "object" + }, + "estimate_basis": { + "const": "conservative_input_aware" + }, + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "execution_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "fee_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "historical_comparison": { + "enum": [ + "lower", + "same", + "higher", + "unknown" + ] + }, + "historical_credit_band": { + "enum": [ + "unknown", + "free", + "0_to_10", + "10_to_100", + "over_100" + ] + }, + "history": { + "additionalProperties": false, + "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", + "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" + ] + }, + "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" + ], + "type": "object" + }, + "input_token_floor": { + "minimum": 1, + "type": "integer" + }, + "marketplace_fee_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "outcome": { + "const": "estimated" + }, + "pricing_warning": { + "maxLength": 240, + "type": [ + "string", + "null" + ] + }, + "sufficient": { + "type": "boolean" + } + }, + "required": [ + "outcome", + "execution_credits", + "marketplace_fee_credits", + "estimated_credits", + "available_credits", + "sufficient", + "estimate_basis", + "input_token_floor", + "historical_credit_band", + "historical_comparison", + "pricing_warning" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "estimated_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "history": { + "additionalProperties": false, + "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", + "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" + ] + }, + "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" + ], + "type": "object" + }, + "outcome": { + "const": "started" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "const": "queued" + } + }, + "required": [ + "outcome", + "run_id", + "status", + "estimated_credits" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "outcome": { + "const": "replayed" + }, + "run_id": { + "maxLength": 26, + "minLength": 26, + "pattern": "^[0-9A-Za-z]{26}$", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "done", + "failed", + "cancelled", + "blocked" + ] + } + }, + "required": [ + "outcome", + "run_id", + "status" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "recipe_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "account_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "invalid_inputs" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "idempotency_conflict" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "idempotency_unavailable" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_limit" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "rate_limited" + }, + "retry_after_seconds": { + "maximum": 86400, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "error", + "retry_after_seconds" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "available_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + }, + "error": { + "const": "insufficient_credits" + }, + "required_credits": { + "maxLength": 64, + "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$", + "type": "string" + } + }, + "required": [ + "error", + "required_credits", + "available_credits" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "invalid_inputs" + }, + "issues": { + "items": { + "additionalProperties": false, + "properties": { + "code": { + "enum": [ + "required", + "blank", + "invalid_type", + "unknown_handle", + "too_many_inputs", + "max_characters", + "max_value_utf8_bytes", + "max_total_utf8_bytes" + ] + }, + "hint": { + "maxLength": 200, + "minLength": 1, + "type": "string" + }, + "limit": { + "minimum": 1, + "type": "integer" + }, + "message": { + "maxLength": 160, + "minLength": 1, + "type": "string" + }, + "path": { + "maxLength": 32, + "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$", + "type": "string" + }, + "received": { + "additionalProperties": false, + "properties": { + "characters": { + "minimum": 0, + "type": "integer" + }, + "item_count": { + "minimum": 0, + "type": "integer" + }, + "type": { + "enum": [ + "missing", + "null", + "boolean", + "integer", + "number", + "string", + "array", + "object", + "other" + ] + }, + "utf8_bytes": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "path", + "code", + "message", + "hint" + ], + "type": "object" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "error", + "issues" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "run_unavailable" + }, + "message": { + "maxLength": 240, + "type": "string" + }, + "next_action": { + "maxLength": 240, + "type": "string" + }, + "reason": { + "enum": [ + "recipe_validation_failed", + "recipe_step_policy_restricted", + "recipe_fee_configuration_invalid", + "invalid_credit_evidence", + "admission_inconsistent", + "configuration_unavailable" + ] + } + }, + "required": [ + "error", + "reason", + "message", + "next_action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "const": "pricing_unavailable" + }, + "message": { + "maxLength": 240, + "type": "string" + }, + "next_action": { + "additionalProperties": false, + "properties": { + "action": { + "const": "choose_another_recipe" + }, + "reason": { + "maxLength": 240, + "type": "string" + }, + "tool": { + "const": "search_recipes" + } + }, + "required": [ + "tool", + "action", + "reason" + ], + "type": "object" + } + }, + "required": [ + "error", + "message", + "next_action" + ], + "type": "object" + } +]
- Changed
search_recipes1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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" - } -]New value: +[ + { + "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 top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", + "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" + ] + }, + "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" + ], + "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 top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.", + "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" + ] + }, + "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" + ], + "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" + } +]
1 tool update
- Changed
get_recipe_preview1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "properties": { - "disclosure": { - "enum": [ - "view_authorized", - "public_summary_only" - ] - }, - "items": { - "items": { - "additionalProperties": false, - "properties": { - "complete": { - "type": "boolean" - }, - "content": { - "maxLength": 6000, - "type": "string" - }, - "encoding": { - "enum": [ - "text", - "json" - ] - }, - "offset": { - "minimum": 0, - "type": "integer" - }, - "section": { - "type": "string" - }, - "total_characters": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "section", - "encoding", - "content", - "offset", - "total_characters", - "complete" - ], - "type": "object" - }, - "maxItems": 20, - "type": "array" - }, - "metrics": { - "additionalProperties": false, - "properties": { - "average_credits": { - "type": [ - "number", - "null" - ] - }, - "average_duration_seconds": { - "type": [ - "number", - "null" - ] - }, - "basis": { - "const": "successful_runs" - }, - "sample_count": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "basis", - "sample_count", - "average_credits", - "average_duration_seconds" - ], - "type": "object" - }, - "next_cursor": { - "maxLength": 2000, - "type": [ - "string", - "null" - ] - }, - "recipe_ref": { - "maxLength": 32768, - "type": "string" - }, - "revision_sha": { - "type": "string" - }, - "view": { - "const": "details" - } - }, - "required": [ - "view", - "revision_sha", - "disclosure", - "items", - "next_cursor", - "recipe_ref", - "metrics" - ], - "type": "object" - }, - { - "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" - }, - "decision_context": { - "additionalProperties": false, - "description": "Bounded selection hints from the pinned published revision; source text is withheld without view permission.", - "properties": { - "evidence_note": { - "maxLength": 240, - "type": [ - "string", - "null" - ] - }, - "limitations_excerpt": { - "maxLength": 800, - "type": [ - "string", - "null" - ] - }, - "method_excerpt": { - "maxLength": 800, - "type": [ - "string", - "null" - ] - }, - "output_contract_state": { - "description": "Unusable means output nodes exist but no stable executable output binding is available.", - "enum": [ - "declared", - "undeclared", - "unusable" - ] - } - }, - "required": [ - "method_excerpt", - "limitations_excerpt", - "output_contract_state", - "evidence_note" - ], - "type": "object" - }, - "description": { - "maxLength": 4000, - "type": "string" - }, - "description_truncated": { - "type": "boolean" - }, - "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" - }, - "input_limits": { - "additionalProperties": false, - "properties": { - "max_total_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "note": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "max_total_utf8_bytes" - ], - "type": "object" - }, - "inputs": { - "items": { - "additionalProperties": false, - "properties": { - "default_available": { - "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", - "type": "boolean" - }, - "handle": { - "pattern": "^input_[1-9][0-9]*$", - "type": "string" - }, - "label": { - "maxLength": 100, - "type": "string" - }, - "max_characters": { - "minimum": 1, - "type": "integer" - }, - "max_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "must_provide": { - "description": "True only when the input is required and has no default; the caller has to supply it.", - "type": "boolean" - }, - "required": { - "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", - "type": "boolean" - } - }, - "required": [ - "handle", - "label", - "required", - "must_provide", - "default_available", - "max_characters", - "max_utf8_bytes" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "outputs": { - "items": { - "maxLength": 100, - "type": "string" - }, - "maxItems": 50, - "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" - ] - }, - "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", - "pricing", - "visibility", - "inputs", - "outputs", - "recipe_ref", - "input_limits", - "source", - "access", - "state", - "qualification", - "contracts", - "evidence", - "decision_context" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "enum": [ - "recipe_unavailable", - "invalid_cursor" - ] - }, - "hint": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "disclosure": { + "enum": [ + "view_authorized", + "public_summary_only" + ] + }, + "items": { + "items": { + "additionalProperties": false, + "properties": { + "complete": { + "type": "boolean" + }, + "content": { + "maxLength": 6000, + "type": "string" + }, + "encoding": { + "enum": [ + "text", + "json" + ] + }, + "offset": { + "minimum": 0, + "type": "integer" + }, + "section": { + "type": "string" + }, + "total_characters": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "section", + "encoding", + "content", + "offset", + "total_characters", + "complete" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + }, + "metrics": { + "additionalProperties": false, + "properties": { + "average_credits": { + "type": [ + "number", + "null" + ] + }, + "average_duration_seconds": { + "type": [ + "number", + "null" + ] + }, + "basis": { + "const": "successful_runs" + }, + "sample_count": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "basis", + "sample_count", + "average_credits", + "average_duration_seconds" + ], + "type": "object" + }, + "next_cursor": { + "maxLength": 2000, + "type": [ + "string", + "null" + ] + }, + "recipe_ref": { + "maxLength": 32768, + "type": "string" + }, + "revision_sha": { + "type": "string" + }, + "view": { + "const": "details" + } + }, + "required": [ + "view", + "revision_sha", + "disclosure", + "items", + "next_cursor", + "recipe_ref", + "metrics" + ], + "type": "object" + }, + { + "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" + }, + "decision_context": { + "additionalProperties": false, + "description": "Bounded selection hints from the pinned published revision, with explicitly labeled safety-reviewed public copy as a fallback; text is withheld without view permission.", + "properties": { + "evidence_note": { + "maxLength": 240, + "type": [ + "string", + "null" + ] + }, + "limitations_excerpt": { + "maxLength": 800, + "type": [ + "string", + "null" + ] + }, + "method_excerpt": { + "maxLength": 800, + "type": [ + "string", + "null" + ] + }, + "output_contract_state": { + "description": "Unusable means output nodes exist but no stable executable output binding is available.", + "enum": [ + "declared", + "undeclared", + "unusable" + ] + } + }, + "required": [ + "method_excerpt", + "limitations_excerpt", + "output_contract_state", + "evidence_note" + ], + "type": "object" + }, + "description": { + "maxLength": 4000, + "type": "string" + }, + "description_truncated": { + "type": "boolean" + }, + "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" + }, + "input_limits": { + "additionalProperties": false, + "properties": { + "max_total_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "note": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "max_total_utf8_bytes" + ], + "type": "object" + }, + "inputs": { + "items": { + "additionalProperties": false, + "properties": { + "default_available": { + "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", + "type": "boolean" + }, + "handle": { + "pattern": "^input_[1-9][0-9]*$", + "type": "string" + }, + "label": { + "maxLength": 100, + "type": "string" + }, + "max_characters": { + "minimum": 1, + "type": "integer" + }, + "max_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "must_provide": { + "description": "True only when the input is required and has no default; the caller has to supply it.", + "type": "boolean" + }, + "required": { + "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", + "type": "boolean" + } + }, + "required": [ + "handle", + "label", + "required", + "must_provide", + "default_available", + "max_characters", + "max_utf8_bytes" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "outputs": { + "items": { + "maxLength": 100, + "type": "string" + }, + "maxItems": 50, + "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" + ] + }, + "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", + "pricing", + "visibility", + "inputs", + "outputs", + "recipe_ref", + "input_limits", + "source", + "access", + "state", + "qualification", + "contracts", + "evidence", + "decision_context" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "enum": [ + "recipe_unavailable", + "invalid_cursor" + ] + }, + "hint": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
1 tool update
- Changed
get_recipe_preview1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "properties": { - "disclosure": { - "enum": [ - "view_authorized", - "public_summary_only" - ] - }, - "items": { - "items": { - "additionalProperties": false, - "properties": { - "complete": { - "type": "boolean" - }, - "content": { - "maxLength": 6000, - "type": "string" - }, - "encoding": { - "enum": [ - "text", - "json" - ] - }, - "offset": { - "minimum": 0, - "type": "integer" - }, - "section": { - "type": "string" - }, - "total_characters": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "section", - "encoding", - "content", - "offset", - "total_characters", - "complete" - ], - "type": "object" - }, - "maxItems": 20, - "type": "array" - }, - "metrics": { - "additionalProperties": false, - "properties": { - "average_credits": { - "type": [ - "number", - "null" - ] - }, - "average_duration_seconds": { - "type": [ - "number", - "null" - ] - }, - "basis": { - "const": "successful_runs" - }, - "sample_count": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "basis", - "sample_count", - "average_credits", - "average_duration_seconds" - ], - "type": "object" - }, - "next_cursor": { - "maxLength": 2000, - "type": [ - "string", - "null" - ] - }, - "recipe_ref": { - "maxLength": 32768, - "type": "string" - }, - "revision_sha": { - "type": "string" - }, - "view": { - "const": "details" - } - }, - "required": [ - "view", - "revision_sha", - "disclosure", - "items", - "next_cursor", - "recipe_ref", - "metrics" - ], - "type": "object" - }, - { - "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": 4000, - "type": "string" - }, - "description_truncated": { - "type": "boolean" - }, - "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" - }, - "input_limits": { - "additionalProperties": false, - "properties": { - "max_total_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "note": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "max_total_utf8_bytes" - ], - "type": "object" - }, - "inputs": { - "items": { - "additionalProperties": false, - "properties": { - "default_available": { - "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", - "type": "boolean" - }, - "handle": { - "pattern": "^input_[1-9][0-9]*$", - "type": "string" - }, - "label": { - "maxLength": 100, - "type": "string" - }, - "max_characters": { - "minimum": 1, - "type": "integer" - }, - "max_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "must_provide": { - "description": "True only when the input is required and has no default; the caller has to supply it.", - "type": "boolean" - }, - "required": { - "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", - "type": "boolean" - } - }, - "required": [ - "handle", - "label", - "required", - "must_provide", - "default_available", - "max_characters", - "max_utf8_bytes" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "outputs": { - "items": { - "maxLength": 100, - "type": "string" - }, - "maxItems": 50, - "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" - ] - }, - "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", - "pricing", - "visibility", - "inputs", - "outputs", - "recipe_ref", - "input_limits", - "source", - "access", - "state", - "qualification", - "contracts", - "evidence" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "enum": [ - "recipe_unavailable", - "invalid_cursor" - ] - }, - "hint": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "disclosure": { + "enum": [ + "view_authorized", + "public_summary_only" + ] + }, + "items": { + "items": { + "additionalProperties": false, + "properties": { + "complete": { + "type": "boolean" + }, + "content": { + "maxLength": 6000, + "type": "string" + }, + "encoding": { + "enum": [ + "text", + "json" + ] + }, + "offset": { + "minimum": 0, + "type": "integer" + }, + "section": { + "type": "string" + }, + "total_characters": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "section", + "encoding", + "content", + "offset", + "total_characters", + "complete" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + }, + "metrics": { + "additionalProperties": false, + "properties": { + "average_credits": { + "type": [ + "number", + "null" + ] + }, + "average_duration_seconds": { + "type": [ + "number", + "null" + ] + }, + "basis": { + "const": "successful_runs" + }, + "sample_count": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "basis", + "sample_count", + "average_credits", + "average_duration_seconds" + ], + "type": "object" + }, + "next_cursor": { + "maxLength": 2000, + "type": [ + "string", + "null" + ] + }, + "recipe_ref": { + "maxLength": 32768, + "type": "string" + }, + "revision_sha": { + "type": "string" + }, + "view": { + "const": "details" + } + }, + "required": [ + "view", + "revision_sha", + "disclosure", + "items", + "next_cursor", + "recipe_ref", + "metrics" + ], + "type": "object" + }, + { + "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" + }, + "decision_context": { + "additionalProperties": false, + "description": "Bounded selection hints from the pinned published revision; source text is withheld without view permission.", + "properties": { + "evidence_note": { + "maxLength": 240, + "type": [ + "string", + "null" + ] + }, + "limitations_excerpt": { + "maxLength": 800, + "type": [ + "string", + "null" + ] + }, + "method_excerpt": { + "maxLength": 800, + "type": [ + "string", + "null" + ] + }, + "output_contract_state": { + "description": "Unusable means output nodes exist but no stable executable output binding is available.", + "enum": [ + "declared", + "undeclared", + "unusable" + ] + } + }, + "required": [ + "method_excerpt", + "limitations_excerpt", + "output_contract_state", + "evidence_note" + ], + "type": "object" + }, + "description": { + "maxLength": 4000, + "type": "string" + }, + "description_truncated": { + "type": "boolean" + }, + "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" + }, + "input_limits": { + "additionalProperties": false, + "properties": { + "max_total_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "note": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "max_total_utf8_bytes" + ], + "type": "object" + }, + "inputs": { + "items": { + "additionalProperties": false, + "properties": { + "default_available": { + "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", + "type": "boolean" + }, + "handle": { + "pattern": "^input_[1-9][0-9]*$", + "type": "string" + }, + "label": { + "maxLength": 100, + "type": "string" + }, + "max_characters": { + "minimum": 1, + "type": "integer" + }, + "max_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "must_provide": { + "description": "True only when the input is required and has no default; the caller has to supply it.", + "type": "boolean" + }, + "required": { + "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", + "type": "boolean" + } + }, + "required": [ + "handle", + "label", + "required", + "must_provide", + "default_available", + "max_characters", + "max_utf8_bytes" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "outputs": { + "items": { + "maxLength": 100, + "type": "string" + }, + "maxItems": 50, + "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" + ] + }, + "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", + "pricing", + "visibility", + "inputs", + "outputs", + "recipe_ref", + "input_limits", + "source", + "access", + "state", + "qualification", + "contracts", + "evidence", + "decision_context" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "enum": [ + "recipe_unavailable", + "invalid_cursor" + ] + }, + "hint": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
1 tool update
- Changed
search_recipes1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "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; 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; 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" - } -]New value: +[ + { + "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" + } +]
2 tool updates
- Changed
get_recipe_preview1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "disclosure": { - "enum": [ - "view_authorized", - "public_summary_only" - ] - }, - "items": { - "items": { - "additionalProperties": false, - "properties": { - "complete": { - "type": "boolean" - }, - "content": { - "maxLength": 6000, - "type": "string" - }, - "encoding": { - "enum": [ - "text", - "json" - ] - }, - "offset": { - "minimum": 0, - "type": "integer" - }, - "section": { - "type": "string" - }, - "total_characters": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "section", - "encoding", - "content", - "offset", - "total_characters", - "complete" - ], - "type": "object" - }, - "maxItems": 20, - "type": "array" - }, - "metrics": { - "additionalProperties": false, - "properties": { - "average_credits": { - "type": [ - "number", - "null" - ] - }, - "average_duration_seconds": { - "type": [ - "number", - "null" - ] - }, - "basis": { - "const": "successful_runs" - }, - "sample_count": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "basis", - "sample_count", - "average_credits", - "average_duration_seconds" - ], - "type": "object" - }, - "next_cursor": { - "maxLength": 2000, - "type": [ - "string", - "null" - ] - }, - "recipe_ref": { - "maxLength": 32768, - "type": "string" - }, - "revision_sha": { - "type": "string" - }, - "view": { - "const": "details" - } - }, - "required": [ - "view", - "revision_sha", - "disclosure", - "items", - "next_cursor", - "recipe_ref", - "metrics" - ], - "type": "object" - }, - { - "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": { - "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": { - "type": "boolean" - } - }, - "required": [ - "handle", - "label", - "required", - "description" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "outputs_undeclared": { - "type": "boolean" - } - }, - "required": [ - "inputs", - "outputs" - ], - "type": "object" - }, - "description": { - "maxLength": 4000, - "type": "string" - }, - "description_truncated": { - "type": "boolean" - }, - "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" - }, - "input_limits": { - "additionalProperties": false, - "properties": { - "max_total_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "note": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "max_total_utf8_bytes" - ], - "type": "object" - }, - "inputs": { - "items": { - "additionalProperties": false, - "properties": { - "default_available": { - "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", - "type": "boolean" - }, - "handle": { - "pattern": "^input_[1-9][0-9]*$", - "type": "string" - }, - "label": { - "maxLength": 100, - "type": "string" - }, - "max_characters": { - "minimum": 1, - "type": "integer" - }, - "max_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "must_provide": { - "description": "True only when the input is required and has no default; the caller has to supply it.", - "type": "boolean" - }, - "required": { - "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", - "type": "boolean" - } - }, - "required": [ - "handle", - "label", - "required", - "must_provide", - "default_available", - "max_characters", - "max_utf8_bytes" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "outputs": { - "items": { - "maxLength": 100, - "type": "string" - }, - "maxItems": 50, - "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" - ] - }, - "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", - "pricing", - "visibility", - "inputs", - "outputs", - "recipe_ref", - "input_limits", - "source", - "access", - "state", - "qualification", - "contracts", - "evidence" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "enum": [ - "recipe_unavailable", - "invalid_cursor" - ] - }, - "hint": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "properties": { + "disclosure": { + "enum": [ + "view_authorized", + "public_summary_only" + ] + }, + "items": { + "items": { + "additionalProperties": false, + "properties": { + "complete": { + "type": "boolean" + }, + "content": { + "maxLength": 6000, + "type": "string" + }, + "encoding": { + "enum": [ + "text", + "json" + ] + }, + "offset": { + "minimum": 0, + "type": "integer" + }, + "section": { + "type": "string" + }, + "total_characters": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "section", + "encoding", + "content", + "offset", + "total_characters", + "complete" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + }, + "metrics": { + "additionalProperties": false, + "properties": { + "average_credits": { + "type": [ + "number", + "null" + ] + }, + "average_duration_seconds": { + "type": [ + "number", + "null" + ] + }, + "basis": { + "const": "successful_runs" + }, + "sample_count": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "basis", + "sample_count", + "average_credits", + "average_duration_seconds" + ], + "type": "object" + }, + "next_cursor": { + "maxLength": 2000, + "type": [ + "string", + "null" + ] + }, + "recipe_ref": { + "maxLength": 32768, + "type": "string" + }, + "revision_sha": { + "type": "string" + }, + "view": { + "const": "details" + } + }, + "required": [ + "view", + "revision_sha", + "disclosure", + "items", + "next_cursor", + "recipe_ref", + "metrics" + ], + "type": "object" + }, + { + "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": 4000, + "type": "string" + }, + "description_truncated": { + "type": "boolean" + }, + "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" + }, + "input_limits": { + "additionalProperties": false, + "properties": { + "max_total_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "note": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "max_total_utf8_bytes" + ], + "type": "object" + }, + "inputs": { + "items": { + "additionalProperties": false, + "properties": { + "default_available": { + "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", + "type": "boolean" + }, + "handle": { + "pattern": "^input_[1-9][0-9]*$", + "type": "string" + }, + "label": { + "maxLength": 100, + "type": "string" + }, + "max_characters": { + "minimum": 1, + "type": "integer" + }, + "max_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "must_provide": { + "description": "True only when the input is required and has no default; the caller has to supply it.", + "type": "boolean" + }, + "required": { + "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", + "type": "boolean" + } + }, + "required": [ + "handle", + "label", + "required", + "must_provide", + "default_available", + "max_characters", + "max_utf8_bytes" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "outputs": { + "items": { + "maxLength": 100, + "type": "string" + }, + "maxItems": 50, + "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" + ] + }, + "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", + "pricing", + "visibility", + "inputs", + "outputs", + "recipe_ref", + "input_limits", + "source", + "access", + "state", + "qualification", + "contracts", + "evidence" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "enum": [ + "recipe_unavailable", + "invalid_cursor" + ] + }, + "hint": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
search_recipes1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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" - } -]New value: +[ + { + "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; 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; 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" + } +]
2 tool updates
- Changed
get_recipe_preview1 field changed- changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "disclosure": { - "enum": [ - "view_authorized", - "public_summary_only" - ] - }, - "items": { - "items": { - "additionalProperties": false, - "properties": { - "complete": { - "type": "boolean" - }, - "content": { - "maxLength": 6000, - "type": "string" - }, - "encoding": { - "enum": [ - "text", - "json" - ] - }, - "offset": { - "minimum": 0, - "type": "integer" - }, - "section": { - "type": "string" - }, - "total_characters": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "section", - "encoding", - "content", - "offset", - "total_characters", - "complete" - ], - "type": "object" - }, - "maxItems": 20, - "type": "array" - }, - "metrics": { - "additionalProperties": false, - "properties": { - "average_credits": { - "type": [ - "number", - "null" - ] - }, - "average_duration_seconds": { - "type": [ - "number", - "null" - ] - }, - "basis": { - "const": "successful_runs" - }, - "sample_count": { - "minimum": 0, - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "basis", - "sample_count", - "average_credits", - "average_duration_seconds" - ], - "type": "object" - }, - "next_cursor": { - "maxLength": 2000, - "type": [ - "string", - "null" - ] - }, - "revision_sha": { - "type": "string" - }, - "view": { - "const": "details" - } - }, - "required": [ - "view", - "revision_sha", - "disclosure", - "items", - "next_cursor", - "metrics" - ], - "type": "object" - }, - { - "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": { - "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": { - "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" - }, - "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" - }, - "input_limits": { - "additionalProperties": false, - "properties": { - "max_total_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "note": { - "maxLength": 240, - "type": "string" - } - }, - "required": [ - "max_total_utf8_bytes" - ], - "type": "object" - }, - "inputs": { - "items": { - "additionalProperties": false, - "properties": { - "default_available": { - "type": "boolean" - }, - "handle": { - "pattern": "^input_[1-9][0-9]*$", - "type": "string" - }, - "label": { - "maxLength": 100, - "type": "string" - }, - "max_characters": { - "minimum": 1, - "type": "integer" - }, - "max_utf8_bytes": { - "minimum": 1, - "type": "integer" - }, - "must_provide": { - "type": "boolean" - }, - "required": { - "type": "boolean" - } - }, - "required": [ - "handle", - "label", - "required", - "must_provide", - "default_available", - "max_characters", - "max_utf8_bytes" - ], - "type": "object" - }, - "maxItems": 50, - "type": "array" - }, - "outputs": { - "items": { - "maxLength": 100, - "type": "string" - }, - "maxItems": 50, - "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": { - "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" - ] - }, - "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", - "pricing", - "visibility", - "inputs", - "outputs", - "recipe_ref", - "input_limits", - "source", - "access", - "state", - "qualification", - "contracts", - "evidence" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "error": { - "const": "recipe_unavailable" - } - }, - "required": [ - "error" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "properties": { + "disclosure": { + "enum": [ + "view_authorized", + "public_summary_only" + ] + }, + "items": { + "items": { + "additionalProperties": false, + "properties": { + "complete": { + "type": "boolean" + }, + "content": { + "maxLength": 6000, + "type": "string" + }, + "encoding": { + "enum": [ + "text", + "json" + ] + }, + "offset": { + "minimum": 0, + "type": "integer" + }, + "section": { + "type": "string" + }, + "total_characters": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "section", + "encoding", + "content", + "offset", + "total_characters", + "complete" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + }, + "metrics": { + "additionalProperties": false, + "properties": { + "average_credits": { + "type": [ + "number", + "null" + ] + }, + "average_duration_seconds": { + "type": [ + "number", + "null" + ] + }, + "basis": { + "const": "successful_runs" + }, + "sample_count": { + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + "required": [ + "basis", + "sample_count", + "average_credits", + "average_duration_seconds" + ], + "type": "object" + }, + "next_cursor": { + "maxLength": 2000, + "type": [ + "string", + "null" + ] + }, + "recipe_ref": { + "maxLength": 32768, + "type": "string" + }, + "revision_sha": { + "type": "string" + }, + "view": { + "const": "details" + } + }, + "required": [ + "view", + "revision_sha", + "disclosure", + "items", + "next_cursor", + "recipe_ref", + "metrics" + ], + "type": "object" + }, + { + "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": { + "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": { + "type": "boolean" + } + }, + "required": [ + "handle", + "label", + "required", + "description" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "outputs_undeclared": { + "type": "boolean" + } + }, + "required": [ + "inputs", + "outputs" + ], + "type": "object" + }, + "description": { + "maxLength": 4000, + "type": "string" + }, + "description_truncated": { + "type": "boolean" + }, + "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" + }, + "input_limits": { + "additionalProperties": false, + "properties": { + "max_total_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "note": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "max_total_utf8_bytes" + ], + "type": "object" + }, + "inputs": { + "items": { + "additionalProperties": false, + "properties": { + "default_available": { + "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.", + "type": "boolean" + }, + "handle": { + "pattern": "^input_[1-9][0-9]*$", + "type": "string" + }, + "label": { + "maxLength": 100, + "type": "string" + }, + "max_characters": { + "minimum": 1, + "type": "integer" + }, + "max_utf8_bytes": { + "minimum": 1, + "type": "integer" + }, + "must_provide": { + "description": "True only when the input is required and has no default; the caller has to supply it.", + "type": "boolean" + }, + "required": { + "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.", + "type": "boolean" + } + }, + "required": [ + "handle", + "label", + "required", + "must_provide", + "default_available", + "max_characters", + "max_utf8_bytes" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "outputs": { + "items": { + "maxLength": 100, + "type": "string" + }, + "maxItems": 50, + "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" + ] + }, + "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", + "pricing", + "visibility", + "inputs", + "outputs", + "recipe_ref", + "input_limits", + "source", + "access", + "state", + "qualification", + "contracts", + "evidence" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "error": { + "enum": [ + "recipe_unavailable", + "invalid_cursor" + ] + }, + "hint": { + "maxLength": 240, + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } +]
- Changed
search_recipes4 fields changed- added
Input schema / properties / cursorAdded value: +{ + "description": "next_cursor from the previous page of the identical query and filters. Omit for the first page.", + "pattern": "^[0-9]{1,2}$", + "type": "string" +} - changed
Input schema / properties / query / descriptionPrevious value: -"Describe the workflow in natural language (up to 2000 characters). Include a word or number; do not submit a blank query."New value: +"At least 3 non-padding characters, up to 2000. Name the task in a few words; add constraints as required_inputs or required_outputs; follow next_cursor when results are cut." - changed
Input schema / properties / query / minLengthPrevious value: -1New value: +3 - changed
Output schema / oneOfPrevious value: -[ - { - "additionalProperties": false, - "properties": { - "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" - }, - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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" - } -]New value: +[ + { + "additionalProperties": false, + "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": { + "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": { + "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": { + "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": { + "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": { + "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": { + "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": { + "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" + } +]
14 tool updates
- First observed
check_recipe_build - First observed
commit_recipe_build - First observed
discover_stewai - First observed
get_recipe_build - First observed
get_recipe_build_activity - First observed
get_recipe_preview - First observed
get_results - First observed
get_run - First observed
review_recipe_build - First observed
run_recipe - First observed
run_recipe_acceptance - First observed
search_recipes - First observed
start_recipe_build - First observed
update_recipe_build
Related MCP Connectors
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Run AI models, create deployments, and manage predictions via cloud API
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables kicking off deployed CrewAI workflows and inspecting their status and results.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, share, discover, and execute reusable multi-step workflow templates.MIT
- AlicenseBqualityDmaintenanceAllows AI clients to list, inspect, and manage n8n workflows.1149 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables step-level routing of AI workflows by decomposing tasks, selecting the best model per step within constraints, executing steps, and providing full execution traces.1Apache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.