diff options
Diffstat (limited to 'internal/event')
| -rw-r--r-- | internal/event/event.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/event/event.go b/internal/event/event.go index 2573fde..202df63 100644 --- a/internal/event/event.go +++ b/internal/event/event.go @@ -23,6 +23,12 @@ const ( KindCostReport Kind = "cost_report" KindExecutionStarted Kind = "execution_started" KindExecutionEnded Kind = "execution_ended" + // KindEscalated records a scheduler decision on a role-typed task's + // escalation ladder (internal/scheduler): either bumping it to the next + // tier, or declining to (budget denied or ladder exhausted, payload + // includes "final": true — the task stays FAILED for human attention). + // Payload shape: from_rung, to_rung, from_provider, to_provider, final. + KindEscalated Kind = "escalated" ) // Actor identifies the originator of an event. |
