create-test-scenario
Create a test scenario linked to a user story and allocate a real TS-. Response includes content: canonical stub markdown already containing id: TS- and story: US-. BLOCKING workflow: call this FIRST → Write the returned content to the repo plans/scenarios path (edit body as needed but keep id: and story:) → call update-test-scenario with the full markdown. Never write scenario markdown that omits id. update-test-scenario rejects missing id/story with a clear error. platformFilePath must be under plans/scenarios/ and end with .md. userStoryOrdinalId is the numeric part of the parent US- id. Optional agentTraceability records Activity inline (no separate report-agent-action for this create).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| gitSha | No | ||
| userId | No | ||
| actorType | No | ||
| agentModel | No | ||
| branchName | No | ||
| cliVersion | No | ||
| policyFile | No | ||
| workflowId | No | ||
| skillVersion | No | ||
| policyVersion | No | ||
| platformFilePath | Yes | ||
| agentTraceability | No | ||
| userStoryOrdinalId | Yes | ||
| workflowExecutionId | No |