story-kit: merge 262_story_bot_error_notifications_for_story_failures
This commit is contained in:
@@ -50,6 +50,14 @@ pub enum WatcherEvent {
|
||||
/// Triggers a pipeline state refresh so the frontend can update agent
|
||||
/// assignments without waiting for a filesystem event.
|
||||
AgentStateChanged,
|
||||
/// A story encountered a failure (e.g. merge failure).
|
||||
/// Triggers an error notification to configured Matrix rooms.
|
||||
MergeFailure {
|
||||
/// Work item ID (e.g. `"42_story_my_feature"`).
|
||||
story_id: String,
|
||||
/// Human-readable description of the failure.
|
||||
reason: String,
|
||||
},
|
||||
}
|
||||
|
||||
/// Return `true` if `path` is the root-level `.story_kit/project.toml`, i.e.
|
||||
|
||||
Reference in New Issue
Block a user