{
"id": "sign_off",
"name": "Formal Sign-Off",
"description": "Formal approval with audit trail. Includes signer identity, timestamp (auto-captured by form), and explicit acknowledgment. For compliance, financial, or legal decisions that need a record.",
"pattern": "sign_off",
"fields": [
{
"name": "signer_name",
"label": "Full name",
"type": "text",
"required": true,
"placeholder": "Enter your full name for the record"
},
{
"name": "role",
"label": "Your role / title",
"type": "text",
"required": true,
"placeholder": "e.g., Engineering Manager"
},
{
"name": "acknowledgment",
"label": "I have reviewed the details and approve",
"type": "select",
"required": true,
"options": ["I approve", "I do not approve"]
},
{
"name": "conditions",
"label": "Conditions or caveats (if any)",
"type": "textarea",
"required": false,
"placeholder": "Any conditions attached to your approval..."
}
],
"metadata": {
"agent_context": "Include what is being signed off on. The form's submitted_at timestamp serves as the approval timestamp.",
"webhook_handler": "Record signer_name + role + submitted_at as audit trail. Store acknowledgment value. If 'I do not approve' → halt workflow and notify stakeholders."
},
"example_payload": {
"signer_name": "Alice Johnson",
"role": "VP of Engineering",
"acknowledgment": "I approve",
"conditions": "Budget approved for Q3 only, subject to quarterly review."
}
}