feat(studio): let people see each event stream as a tower in 3D #200
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.45) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 439 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.364
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #200"
general
weight: 0.35
yordis
This view reuses the 3D renderer from #199, so this PR carries the #199 commit until #199 merges. Review only the last commit.
Summary
The Board puts each stream in a lane, but a reader cannot see a stream's history as one stack, or which commands write to it and which read models read from it. The new Stream towers tab makes each stream lane a tower. Its events stack as floors from the bottom up, in storyboard and slice order. Floors line up across towers, so one height is one Board column. The view is read only.
What changes
?view=towers, labelled "Stream towers". It shows when some swimlane holds an event and the board is not a saved snapshot.src/lib/towers.tsreads the Board's layout. Commands that append to a stream sit on its left. Read models that project from it sit on its right, linked from their events. Automations stand in front of the stream their command appends to. Events without a swimlane get a tower marked "No swimlane", as on the Board.hasStreamEvents) lives inmodel.ts, so the towers code stays out of the Board's chunk.How to test
1. In
tsworkspace/webapps/studio, runpnpm lint,pnpm typecheck,pnpm testandpnpm build.2. Apply the Acme storefront example and open the "Stream towers" tab. There are three towers: Cart, Order and Fulfillment.
3. Select "Order status". All three occurrences light up, with the links from their source events.
4. Open the customer data deletion example. It draws one tower.
Known limits
<!-- codesmith:footer -->
---
<a href="https://app.blacksmith.sh/TrogonStack/codesmith/atlas/pr/200?autoLogin=true&ref=codesmith_pr_footer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img alt="View with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"></picture></a> <a href="https://backend.blacksmith.sh/track/enable-autofix?expires=1795051938&installation_model_id=437969&pr_number=200&ref=codesmith_pr_footer&repository=TrogonStack%2Fatlas&return_to=https%3A%2F%2Fgithub.com%2FTrogonStack%2Fatlas%2Fpull%2F200&signature=c0123491b82cbd8c6157a125a02bdf54b61806220896deeb0527450b32bd28e7"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img alt="Autofix with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup>
<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->