create_analysis_design
Create a new analysis design document as a YAML file with in_review status, capturing hypothesis, methodology, and metrics for structured review workflows.
Instructions
Create a new analysis design document.
Creates a YAML file in .insight/designs/ with 'in_review' status. theme_id must match [A-Z][A-Z0-9]* pattern (e.g., 'FP', 'TX', 'DEFAULT').
methodology: Analysis method dict with required 'method' key. Example: {"method": "OLS", "package": "statsmodels", "reason": "..."} WARNING: Should rarely be None — methodology is a core design field.
Returns: dict with id, title, status, message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart | No | ||
| title | Yes | ||
| metrics | No | ||
| theme_id | No | DEFAULT | |
| parent_id | No | ||
| explanatory | No | ||
| methodology | No | ||
| next_action | No | ||
| analysis_intent | No | confirmatory | |
| hypothesis_statement | Yes | ||
| referenced_knowledge | No | ||
| hypothesis_background | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||