select-experiment
Select the winning experiment cluster or cherry-pick stories after reviewing multi-cluster user-story output, then store the choice for PDD generation.
Instructions
Select the winning experiment cluster (or cherry-pick stories) after reviewing multi-cluster output from the user-stories robot.
When UserStoriesRobot generates multiple experiment clusters (because experimentClusterCount > 1 in phase2Context), the PM reviews the competing solution hypotheses and selects the best approach.
Three selection modes:
WHOLE CLUSTER: Pass a single 'clusterId' to accept one cluster entirely.
CHERRY-PICK: Pass an array of 'storyIds' from any cluster to build a hybrid.
CLEAR: Pass neither to remove any previous selection.
The selection is stored in context/experiment-selection.json and read by 'generate-pdd' when assembling the final PDD.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productSlug": "<productSlug>"
},
"name": "select-experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storyIds | No | Cherry-picked story IDs from any cluster, e.g. ['US-A-001', 'US-B-003']. Mutually exclusive with clusterId. | |
| clusterId | No | The winning cluster ID, e.g. 'cluster-A'. Mutually exclusive with storyIds. | |
| rationale | No | PM's rationale for this selection — stored for traceability | |
| productSlug | Yes | Product slug |