[engine]
max_parallel_tasks = 10
workflow_timeout = 3600
approval_gates_enabled = true

[[workflows]]
name = "feature_development"
trigger = "manual"

[[workflows.stages]]
name = "architecture_design"
agents = ["architect"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "implementation"
agents = ["developer", "developer"]
parallel = true
max_parallel = 2
approval_required = false

[[workflows.stages]]
name = "testing"
agents = ["tester"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "code_review"
agents = ["reviewer"]
parallel = false
approval_required = true

[[workflows.stages]]
name = "deployment"
agents = ["devops"]
parallel = false
approval_required = true

[[workflows]]
name = "bugfix"
trigger = "manual"

[[workflows.stages]]
name = "investigation"
agents = ["developer"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "fix_implementation"
agents = ["developer"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "testing"
agents = ["tester"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "deployment"
agents = ["devops"]
parallel = false
approval_required = false

[[workflows]]
name = "documentation_update"
trigger = "manual"

[[workflows.stages]]
name = "content_creation"
agents = ["technical_writer"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "review"
agents = ["reviewer"]
parallel = false
approval_required = true

[[workflows.stages]]
name = "publish"
agents = ["devops"]
parallel = false
approval_required = false

[[workflows]]
name = "security_audit"
trigger = "manual"

[[workflows.stages]]
name = "code_analysis"
agents = ["security_engineer"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "penetration_testing"
agents = ["security_engineer"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "remediation"
agents = ["developer"]
parallel = false
approval_required = false

[[workflows.stages]]
name = "verification"
agents = ["security_engineer"]
parallel = false
approval_required = true
