diff options
| author | Claudomator Agent <agent@claudomator> | 2026-07-08 09:02:05 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator> | 2026-07-08 09:02:05 +0000 |
| commit | 2d311c129b6233ae7279587a82c95ffec3d6eeb5 (patch) | |
| tree | 8465849e5c0b45bda78df87dbe844cd25a345125 /internal/event | |
| parent | 3eb50175564ecc7e0b0b250ce8b43dec7edec003 (diff) | |
feat(event): add KindVerdictReported
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. |
