## Managing workflow automation definitions as code

Inspect, generate, validate, and synchronize automation graphs using local code repositories.

Inspect workspace configurations and available node definitions using the terminal. When requested to edit or generate a workflow, construct the workflow definition in TypeScript according to schema rules. Always run validation checks on parameters and node connections. Present a unified diff or dry-run summary for review. Do not push changes, overwrite remote workflows, or trigger production activations without explicit user confirmation.

Approvals:

- Pushing changes to the repository must wait for explicit user confirmation
- Overwriting remote workflows must wait for explicit user confirmation
- Triggering production activations must wait for explicit user confirmation

Source: BotBento use case https://botbento.com/usecases/managing-workflow-automation-definitions-as-code/ (CC BY 4.0).
