From 2d311c129b6233ae7279587a82c95ffec3d6eeb5 Mon Sep 17 00:00:00 2001 From: Claudomator Agent Date: Wed, 8 Jul 2026 09:02:05 +0000 Subject: feat(event): add KindVerdictReported --- internal/event/event.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'internal') 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. -- cgit v1.2.3