Skip to content

Commit 911feab

Browse files
committed
chore(spec): declare the escalateTo shape refusal in the dropped-refinements ledger, regenerate docs
Claude-Session: https://claude.ai/code/session_01RqGZT3pZz4qUuw2Z5TMGSy Co-authored-by: Claude <noreply@anthropic.com>
1 parent f45b524 commit 911feab

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎content/docs/references/automation/approval.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const result = ApprovalDecision.parse(data);
4141
| **enabled** | `boolean` | optional (default: `true`) | SLA escalation switch. Defaults to true: an escalation block carrying timeoutHours is live unless this is explicitly false — the feature-level switch is whether the escalation block exists at all |
4242
| **timeoutHours** | `number` | ✅ | Calendar (wall-clock) hours before escalation triggers — nights, weekends and holidays count. The platform ships no business-hours calendar: a request opened at 17:00 on a Friday with timeoutHours 4 escalates at 21:00 that same Friday |
4343
| **action** | `Enum<'reassign' \| 'auto_approve' \| 'auto_reject' \| 'notify'>` | optional (default: `"notify"`) | Action on escalation timeout |
44-
| **escalateTo** | `string` | optional | User id or position machine name to escalate to |
44+
| **escalateTo** | `string` | optional | User id, email, position machine name or 'position:`<name>`' to escalate to. A 'team:', 'department:', 'org_membership_level:' or 'role:' address is refused: no approver acts under one |
4545
| **notifySubmitter** | `boolean` | optional (default: `true`) | Notify the original submitter on escalation |
4646

4747

@@ -117,7 +117,7 @@ const result = ApprovalDecision.parse(data);
117117
| **enabled** | `boolean` | optional (default: `true`) | SLA escalation switch. Defaults to true: an escalation block carrying timeoutHours is live unless this is explicitly false — the feature-level switch is whether the escalation block exists at all |
118118
| **timeoutHours** | `number` | ✅ | Calendar (wall-clock) hours before escalation triggers — nights, weekends and holidays count. The platform ships no business-hours calendar: a request opened at 17:00 on a Friday with timeoutHours 4 escalates at 21:00 that same Friday |
119119
| **action** | `Enum<'reassign' \| 'auto_approve' \| 'auto_reject' \| 'notify'>` | optional (default: `"notify"`) | Action on escalation timeout |
120-
| **escalateTo** | `string` | optional | User id or position machine name to escalate to |
120+
| **escalateTo** | `string` | optional | User id, email, position machine name or 'position:`<name>`' to escalate to. A 'team:', 'department:', 'org_membership_level:' or 'role:' address is refused: no approver acts under one |
121121
| **notifySubmitter** | `boolean` | optional (default: `true`) | Notify the original submitter on escalation |
122122

123123

‎packages/spec/dropped-refinements.baseline.json‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,15 @@
528528
"data.nodes.element.in.waitEventConfig"
529529
]
530530
},
531+
"automation/ApprovalEscalation": {
532+
"sites": [
533+
"escalateTo"
534+
]
535+
},
531536
"automation/ApprovalNodeConfig": {
532537
"sites": [
533-
""
538+
"",
539+
"escalation.escalateTo"
534540
]
535541
},
536542
"automation/AssignmentConfig": {

0 commit comments

Comments
 (0)