Executable workflow
Approval Chain Audit
Checks ordered stages and terminal approval.
Successful run result
{
"input": {
"synthetic": true,
"events": [
{
"stage": "brief",
"decision": "approved"
},
{
"stage": "creative",
"decision": "approved"
},
{
"stage": "offline",
"decision": "approved"
},
{
"stage": "master",
"decision": "approved"
}
]
},
"result": {
"pass": true,
"issues": [],
"metrics": {
"events": 4
}
}
}Rejected run result
{
"input": {
"synthetic": true,
"events": [
{
"stage": "brief",
"decision": "approved"
},
{
"stage": "master",
"decision": "changes_requested"
}
]
},
"result": {
"pass": false,
"issues": [
"unapproved:creative",
"unapproved:offline",
"unapproved:master"
],
"metrics": {
"events": 2
}
}
}