Skip to content

Factory Studio — events

Generated from the architecture model

This page is rendered from model/**/*.yaml by tools/docs_model during mkdocs build. Edit the YAML, not this page; hand-written design lives on the linked service, platform and plane pages.

Topics follow context.area.vN.event-name (ADR-0012 port, ADR-0014 envelope). The context segment is the producing bounded context's slug.

Event Producer Topic Scope Consumers
StudioSessionStarted StudioBff studio.sessions.v1.studio-session-started integration 2
SavedViewChanged StudioBff studio.views.v1.saved-view-changed integration 1
NotificationCreated StudioNotificationService studio.notifications.v1.notification-created integration 1

StudioSessionStarted

A Studio session started (audit of scope and locale).

Producer StudioBff (BC-29 Experience Composition)
Scope / version integration / v1
Topic studio.sessions.v1.studio-session-started
Aggregate StudioSession
Consumers AuditService, DashboardService
Field Type Required Description
sessionId guid yes
tenantId string yes
userId string yes
locale enum:Locale yes

SavedViewChanged

A saved view was created, changed or deleted.

Producer StudioBff (BC-29 Experience Composition)
Scope / version integration / v1
Topic studio.views.v1.saved-view-changed
Aggregate SavedView
Consumers StudioRealtimeGateway
Field Type Required Description
viewId guid yes
tenantId string yes
screenId string yes
sharedWith string yes

NotificationCreated

A notification exists for a user (the realtime gateway pushes it).

Producer StudioNotificationService (BC-29 Experience Composition)
Scope / version integration / v1
Topic studio.notifications.v1.notification-created
Aggregate Notification
Consumers StudioRealtimeGateway
Field Type Required Description
notificationId guid yes
tenantId string yes
userId string yes
kind enum:NotificationKind yes
importance string yes

Commands

Command Service Handled by Result events Summary
SetStudioScope StudioBff StudioSession
SaveView StudioBff SavedView SavedViewChanged
MarkNotificationRead StudioNotificationService Notification
SetNotificationPreferences StudioNotificationService NotificationPreference

Consumed from other services

Consumer Event Producer Handler Purpose
StudioNotificationService AlertFired AlertRuleService NotifyOperators Alerts reach operators in scope.
StudioNotificationService ReleaseReady ReleaseService NotifyProject A release is ready to promote.
StudioNotificationService PromotionCompleted EnvironmentPromotionService NotifyProject A promotion completed.
StudioNotificationService RolloutPlanned FleetRolloutService NotifyOperators A rollout awaits approval or started.
StudioNotificationService RolloutHalted FleetRolloutService NotifyOperators A rollout halted.
StudioNotificationService IncidentOpened FleetIncidentService NotifyOnCall An incident opened.
StudioNotificationService LearningProposalRaised FeedbackService NotifyMaintainers A proposal awaits a maintainer.
StudioNotificationService ReconciliationProposed RuntimeEnvironmentService NotifyOperators A reconciliation awaits an Operator.
StudioNotificationService ExportCompleted RetentionResidencyService NotifyRequester An export is ready.
StudioRealtimeGateway RunProjectionUpdated DashboardService PushRun Run list and timeline updates.
StudioRealtimeGateway NotificationCreated StudioNotificationService PushNotification New notifications.
StudioRealtimeGateway SavedViewChanged StudioBff PushViews Shared views refresh.
StudioRealtimeGateway AlertFired AlertRuleService PushAlert Live alerts for operators.
StudioRealtimeGateway AlertResolved AlertRuleService PushAlert Alert resolution.