feat: ScenarioBundle JSON Schema (request + response v1)#26
Closed
George-iam wants to merge 2 commits intomainfrom
Closed
feat: ScenarioBundle JSON Schema (request + response v1)#26George-iam wants to merge 2 commits intomainfrom
George-iam wants to merge 2 commits intomainfrom
Conversation
Adds two new public-API schemas: - api.scenarios.bundle.request.v1.json: full ScenarioBundle definition covering agents, humans, workflow steps (with retry, human_task, reminders, escalation, deadlines) and intent submission settings. - api.scenarios.bundle.response.v1.json: response from POST /v1/scenarios/bundle including intent_id, status, pending_with, resolved agents, and workflow_compile_id. These schemas are the canonical contract for the durable scenario execution feature described in DURABLE_WORKFLOW_PLAN.md. Made-with: Cursor
…ios/apply endpoint Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
api.scenarios.bundle.request.v1.json: fullScenarioBundleschema covering agents, humans, workflow steps (retry, human_task, reminders, escalation, per-step deadlines) and intent submission settings (deadline_at, reminders, escalate_to, max_delivery_attempts)api.scenarios.bundle.response.v1.json: response fromPOST /v1/scenarios/bundlewithintent_id,status,pending_with, resolvedagents, andworkflow_compile_idPart of the Durable Workflow & Scenario Execution Plan, Group 5-A.
Test plan
scenario_idpattern allows dot-separated lowercase identifiersWorkflowStepSpecrequired fields:step_id,tool_idIntentSpecrequired field:typeMade with Cursor