diff options
Diffstat (limited to 'internal/event')
| -rw-r--r-- | internal/event/event.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/event/event.go b/internal/event/event.go index 55ed227..78188bd 100644 --- a/internal/event/event.go +++ b/internal/event/event.go @@ -54,6 +54,17 @@ const ( // attaches to the story's ID. Mirrors KindEpicProposed's "one event per // proposal call" convention. KindRoleConfigProposed Kind = "role_config_proposed" + + // KindVerdictReported records a single AgentChannel.ReportVerdict call: + // an evaluating agent (e.g. an arbitration-role task) reporting a + // structured approve/reject decision instead of leaving it to be + // inferred from free-text summary parsing. Attached to the *calling + // task's own* ID, payload {approved, reasoning} — + // internal/scheduler.StoryOrchestrator's finalizeArbitration reads the + // arbitration task's own event stream for this once the task completes, + // to decide REVIEW_READY vs NEEDS_FIX. Mirrors KindRoleConfigProposed's + // "one event per call, attached to the calling task" convention. + KindVerdictReported Kind = "verdict_reported" ) // Actor identifies the originator of an event. |
