preview_configuration
Preview configuration changes before applying them. Generate a diff and mutation targets to review and validate modifications without affecting the current setup.
Instructions
Generate a configuration preview (diff and mutation targets) before applying any changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Canonical ExecutionConfig object conforming to execution-config.schema.json | |
| host_id | No | Host identifier (optional, auto-detected from adapter if omitted) | |
| workspace | No | Workspace directory path (defaults to current working directory) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Human-readable configuration diff | |
| target | Yes | Target configuration file path | |
| expires_at | Yes | ISO expiration timestamp | |
| preview_id | Yes | Unique preview identifier | |
| preview_hash | Yes | SHA-256 hash of proposed changes | |
| baseline_hash | No | Hash of baseline content | |
| mutation_targets | Yes | List of target paths to mutate |