A reveal.js slide deck presenting the EPX Events Hub: the
operations lifecycle documented in documentation/docs-epx/docs/support/event.md,
mapped to its implementation across the elca-events, elca-events-backend and
elca-events-common plugins.
nvm use
yarn installyarn start # http://localhost:8000You can also just open index.html in a browser, or serve it without installing anything
(yarn start).
Note: An internet connection is required either way — reveal.js and the DM Sans webfont come from CDNs.
yarn check # prettier:check + lint — run this before pushing
yarn lint # htmlhint on index.html
yarn prettier:write # format *.html, *.css, *.md, *.jsonAll three boxes share one shape: icon + title on one line, headline on one line, bullets. Box 1 had no headline, so it gained "The engineering culture" to match "The software factory" and the third.
Only box 3 ever wrapped, so its wording was shortened rather than the type shrunk —
"Continuous feedback" became "Feedback loop" and "SRE: DevOps on the full loop" became
"SRE: DevOps end to end". Dropping h4 to 0.54em and .pillar-lead to 0.46em
would also have fixed it, but that puts the headline below the 21.8px bullets and flattens
the hierarchy.
Counting lines on these h4s needs care: .epx-intro .card h4 is a flex row with the
icon inside, so a range over its contents returns an extra rect for the icon — one visual
line reads as two. Subtract the icon, or measure the text node.
Box 2 carries a bold ELCA-red "Platform Engineering" stamp (.pillar-stamp) under its
bullets — the name for what that pillar actually is. Bullets run at 0.52em.
The stamp runs at 0.64em (26.9px) — the largest that stays on one line in that
column; 0.68em wraps to "Platform / Engineering". That threshold was found by setting
sizes and counting line boxes. A white-space: nowrap probe reports it fitting at 0.68em
and is simply wrong, so measure the rendered line boxes, not a clone.
The slide sits at 692 of 720px. The row margin, footer margin, card padding and stamp margin have all been tightened already, so anything else added here has to take something out; the first sign of trouble is the footer line clipping.
The lead sits at .epx-intro .roadmap-sub 0.78em (from 0.44em) and breaks after the
comma with an authored <br>, not by wrapping — so it lands on the same two lines at any
width instead of re-breaking per projector. max-width is none for the same reason: the
break is authored, so the cap only existed to force one. Keep it to two lines; a third
pushes the pillar row down.
The three pillars build one by one. Each .pillar-col is a .fragment, and each
.pillar-link connector shares the data-fragment-index of the box it points at (0,
1 1, 2 2), so a connector never appears before its destination. Reveal's fragments
hide with visibility, not display, so the flex row keeps its geometry and nothing
shifts as the boxes land.
Card text runs larger than the deck default — li at 0.44em (from 0.38em) and h4 at
0.62em (from 0.58em). 0.5em / 0.7em was tried first and rejected: it pushed the
slide to 683px and wrapped every bullet two or three lines deep. "Continuous feedback"
still wraps to two lines at this size; that title is simply long for a third of the width.
The two references in .pillar-foot build with the boxes they belong to: the
Twelve-Factor App is a fragment at index 1 (arriving with Industrialization) and the
Google SRE Book at index 2 (with Continuous feedback). Each is its own <span> inside
the one <p>, so they stay on a single line, and because fragments hide with
visibility the second one's space is reserved from the start — the line never reflows
when it lands. Measured: 622px on every beat.
All the slide's accents are ELCA red: the connector arrows (.pl-arrow, was accent blue)
and the reference links (.reveal .epx-intro a). The "after Mike Hohnen · Service Profit
Chain" credit is gone on purpose — do not restore it as a stray card footnote.
The lead is three short statements, not a paragraph (.sd-lead):
Events keep coming. Nobody can keep up.
This is not one big failure.
Every event goes through four steps — and each step has its own problem:
It replaced a five-line block of prose ("the operational lifecycle breaking down stage by
stage", "from raw signal to closed incident") that nobody reads off a projector. The line
breaks are authored with <br> rather than left to wrapping, so each statement lands
whole at any width instead of re-breaking mid-thought.
.sd-lead also replaced an inline style="..." on that <p>.
The closing note — "Each stage below, the challenge first — the solution follows in The
whole picture" — is removed on purpose: it explained the deck's structure to an
audience that does not need it. .bs-note is still used on two other slides, so the class
stays.
Each box is now a title and its SRE-book quote, nothing else — the "e.g. …" examples
were dropped too. The title carries the box and the quote supports it:
.pcol-head 0.74em (31px), .pbox h5 0.74em (31px), .pquote 0.36em (15px).
Slide height 622, ~98px spare.
Column head and box title are the same size now; they are told apart by colour, not scale
(the head takes the step colour, the title the box's ink). Bump .pcol-head if that reads
flat. And the longest title, "Every incident from scratch", wraps to four lines at this
size — that box is the tallest on the slide as a result.
Set the quote size on .reveal .pbox .pquote, not on a .stages-slide rule. Those two
selectors have equal specificity and the .pbox one sits ~900 lines later in
theme-flat.css, so it wins — an override in the stages-slide block silently does nothing.
Two attempts died there: the computed size stayed at exactly 0.285 x 42px = 12px no
matter what the stages rule said.
The eight boxes carry no bullet lists. All 24 bullets moved into
<aside class="notes"> on the slide, so they are still there for the presenter (S opens
the notes window) without being read off the wall. What stays on screen per box is the
title, the chapter, the example and the SRE-book quote — which is why everything could run
larger: .pcol-head 0.62em, .pbox h5 0.5em, .eg 0.36em, .pquote 0.34em.
The three un-washed boxes build one at a time (fragment indices 0-2, in slide
order): Every incident from scratch, No institutional memory, Toil that won't scale.
Those are the problems this deck answers; the four .washed ones are context and are
visible from the start. Slide height 469px on every beat.
There was a fourth, Overload & cascades (Ch 21-22), removed for being too abstract to land in one line. Its speaker-note block went with it — when a box goes, its note goes too, or the notes drift out of step with the slide.
aside.notes must be a child of the <section>. Appended after the closing
</section> it lands in the next slide's stack, reveal never associates it with this
slide, and it silently shows up in the wrong place — it cost a round trip here.
The title asks the slide's question outright; the panels answer it. No .accent span
here — slides 6-11 keep a single step colour for the whole heading (--title-c =
--step-c), so a red highlight word would break the run.
Panel 1 is one SVG (viewBox 0 0 320 150), two stacked blocks. Each block's question sits
on its own line above the row it introduces (.bx-q at y=12 and y=68) rather than
in a left gutter — that gutter is what the grid's DIFFICULTY label now uses (x=4,
y=107, beside the 4-3-2-1 scale, with EFFORT under the 1-2-3-4 scale). Nothing else
moved: the pills, arrows and outcome boxes keep their coordinates, so the two rows stay
aligned on the arrow at x=196 and the outcome box at x=218.
Panel 1 no longer carries a figcaption — panels 2 and 3 lost theirs earlier, so the
numbered "1 · One incident, two questions" step label was the odd one out. The
.bias-panel figcaption rules are now unused but harmless.
The takeaway reuses slide 5's layout verbatim: .stages-grid + .pcol sc-* +
.pcol-head + .pbox (h5 + .pch + .pquote). Same four columns, same step colours,
same chapters — slide 5 poses the problem, this one answers it in the same slot, so the
pair reads as call and response. Change a column name or colour on one, change it on both.
No lead paragraph and no closing throughline: the boxes are the whole slide. The title
carries it: .pbox h5 runs at 0.96em against slide 5's 0.74em, with the body line
under it at .pquote 0.46em (+font-style: normal — these are statements, not
citations; the keyword inside <em> goes bold upright). A pass that cut the titles to
two-word keywords and grew the body instead was reverted: the long titles are what reads
from the back, even at three wrapped lines. Slide height 601px of 720.
.pch is 0.6em here, not slide 5's 0.78em. Against a 0.96em title the wider label
tips the last line into a wrap on a 4px margin, so the same box rendered one or two
lines from run to run. Anything that measures this slide must await document.fonts.ready
first — before the webfont lands the metrics differ enough to flip those wraps too.
Three layout traps, all fixed with rules appended at the end of theme-flat.css so
they beat the earlier equal-specificity .reveal .pbox … ones:
.pcolneedsmin-width: 0. The chapter label isnowrap, so a1frtrack takes its min-content width instead and the fourth column runs off the right edge of the canvas.- The
h5isdisplay: blockhere, not flex. Slide 5's flex row pushes the nowrap label past the box edge at this size;flex-wrap: wrapfixes the spill but parks the label alone on its own line. Inline after the title, it just wraps with the text. .pquotemust be overridden at four class selectors (.reveal .sre-takeaway .pbox .pquote) — a three-class.reveal .sre-takeaway .pquoteties with.reveal .pbox .pquoteand loses on document order. Same trap as slide 5.
Eight boxes, 2 per column. The eighth is Spikes absorbed (Ch 21-22) — the problem that was cut from slide 5 for being too abstract. It earns its place here because the answer is concrete (durable queue, batched drain), and it keeps the columns even.
Slides cut, and one brought back:
-
Removed: Dashboard & hooks (
.dash-slide), Services & persistence, the live-demo slide (.demo-slide), and the whole architecture deep-dive — Built to absorb the storm, The ingestion pipeline, Grouping by reconciliation id and Everything is a CloudEvent. The last four are in git atc827939. -
Restored, then redrawn: What is Backstage? came back as a three-slide stack — the four core pillars, then Everything is a plugin, then Inside the Events plugin.
The recovered layer diagram's CSS had survived the cut untouched —
.bs-arch,.bs-layer.frontend|backend|data,.bs-pills,.bs-pill.core|.ours,.bs-flow-arrow,.bs-sourceincss/theme-204b94-light.css— so reviving it cost no new CSS. If a slide goes, leaving its style block in place is what makes bringing it back cheap.Those bands are now gone entirely. What is Backstage? and Everything is a plugin were merged into one slide — each half had been short of room while both opened the same subject — and the
.bs-archzoom slide that followed was replaced by the belt animation below. The band CSS stays incss/theme-204b94-light.cssper the rule above; only its markup went.
Two consequences worth knowing:
- The live-demo JS is now inert, not broken. Its IIFE opens with
var slide = document.querySelector('.demo-slide'); if (!slide) return;so it no-ops cleanly. The markup is gone; the script and the.demo-slide/demo-bg-lightCSS are still there if the slide comes back. syncBackdrophad to move out of that IIFE. It was sitting after theif (!slide) returnguard, so the moment the demo slide was deleted the guard fired and the whole per-slide backdrop stopped — silently, with no error. It now lives in its own<script>. Do not fold it back in with anything that guards on a specific slide.
img/Picture1.jpg sits behind every slide, set on body.reveal-viewport in
css/theme-flat.css — body is .reveal-viewport in reveal 5, so applying it to the
whole .reveal-viewport, html, body group would stack the veil twice and flatten the
texture.
Picture1.jpg is a neutral near-black, which read as dark grey against a deck that is
dark blue everywhere else. It is not tinted by hand: the picture is blended luminosity
over --epx-bg, so hue and saturation come from the indigo underneath while light and
shade come from the picture. The facets survive and the canvas ends up the same blue as
the panels sitting on it. Swap the picture and the colour still comes out right.
--epx-bg-veil is the one knob, and it takes three values, set per slide by
syncBackdrop() in index.html through a class on <body>:
| slide | body class | veil | effect |
|---|---|---|---|
| 1 title | bg-full |
0.12 |
picture at full bite |
| 3 rain, 6-12 the lifecycle arc | bg-flat |
1 |
flat canvas |
| everything else | – | 0.88 |
picture washed back |
The veil does not set the colour — the luminosity blend does. Layer order is
load-bearing: background-blend-mode: normal, luminosity maps to veil, picture.
Why bg-flat exists, and why it is not a taste call. Two families of slide need a
uniform canvas:
- The rain slide's
.rain-overlaylays a scrim that fades totransparent 78%so the headline stays legible over the falling blocks. That gradient was written against a flat canvas; over a textured one its tail becomes a visible horizontal seam — picture hidden above the line, showing through below it. Fix the canvas, not the scrim: stretching the scrim to full height would dim the lanes it deliberately clears. - The jigsaw slides stroke every piece in
var(--epx-bg)so the cuts read as cuts rather than as drawn borders. Over a texture those strokes stop matching what sits behind them.
Why this is JS and not CSS. The obvious CSS-only route is reveal's own background
layer, which copies each slide's classes onto its .slide-background — so
.slide-background.jg-bag::after looks like it should work. It does not: for slides inside
vertical stacks reveal translates those elements off-viewport (measured at y=640 on a
720-tall viewport while the slide was showing), so the mask painted nothing and those
slides came out unmasked. Do not go back to that approach. The picture lives on
<body>, so the state has to live on <body> too — which is what the pre-existing
syncDemoBg / slidechanged handler already does for the white demo slide.
That white demo slide needs two opt-outs, and any future light slide needs both:
body.demo-bg-light sets background-image: none alongside its white fill, and it is
matched by neither bg-full nor bg-flat — the veil is irrelevant once the picture is
gone.
The title slide's .td-logo sits at height: 25% — a third of the 76% it used to be. Its
offsets went from right: -0.8em; bottom: -0.6em to +0.7em on both: the negatives
existed to bleed a large mark off the corner, and at a third of the size that same
absolute bleed cut away most of the logo instead.
The top line — mark and eyebrow text together — is one colour: the ELCA red everywhere, the step colour on slides 6-11. The mark is never a red chip in front of differently-coloured text.
The title below it is white, and the highlighted word inside it carries the red
(.reveal h2 .accent, was accent blue). A whole headline in red competed with the top
line and left the emphasis nowhere to go; white headline + one red word puts the emphasis
on the word that matters. Five titles have such a word: EPX, fragmented, Backstage,
supports, answered.
Slides 6-11 keep a step-coloured title, not a white one — that predates this change and is deliberate, so the lifecycle arc stays colour-coded.
- The asset is
img/logo.png(72x62 RGBA), used as a CSS mask rather than drawn. The PNG carries its own red, but masking is what lets the mark take--title-c, which is what puts it in the step colour on slides 6-11. Nothing else would: a drawn PNG cannot be recoloured, so per-step tinting would need five separate files. --epx-logo: #e23615is sampled from that file's dominant opaque pixel. It is close to--epx-orange(#f0553f, the Resolve step) but not the same value, so they get separate tokens.--title-cis the single colour source for the mark, the eyebrow text and the in-figure takeaway bullets on slides 8-9 (.jg-bullet, which was a fixed accent blue) — so a slide's chrome and its own takeaway can never drift apart from each other. Theh2no longer reads it. It replaced a separate.diagram-slide .eyebrow, .bias-slide .eyebrow { color: var(--step-c) }rule, which was a second source of truth for the same value. Its default is set on.reveal, not on.reveal .slides section— a section-level default scores (0,2,1) and would outrank the per-slide overrides at (0,2,0), so the step colour would silently never win. It inherits down instead.- The mark sits on the eyebrow, not on the title. That is where the brand template puts
it (the mark leads "CHAPTER ONE", not the headline), and a mark at
h2size reads as a logo slapped on the sentence. - The rain slide opts out of all of it — no mark, accent-blue eyebrow, plain white
headline. Not just because a brand mark on a full-bleed atmospheric slide reads as a
watermark, but because the slide's whole point is that the calm state is cool and the
.is-stormstate turns red. A red headline in the calm state spends the reveal before it happens, so.rain-overlay .eyebrowand.rain-overlay h2are pinned back to--epx-accentand--epx-fg.
img/logo-orange.svg is the full lockup — mark plus the "ELCA Tech Days" wordmark — so
it is not usable as a mask for this: the wordmark comes through as a smudge under the mark.
It is still what the title slide's .td-logo draws at full size.
The build runs about 1.6x slower than it did (the calm phase used to be over before anyone had read the headline) and it stops at each of the three white messages, waiting for the space bar:
| ms | phase | drop every | board |
|---|---|---|---|
| 0 | We keep up | 1500 | ~1 block — resolution wins |
| 5 000 | STOP 1 | – | ~1 |
| 6 500 | Solutions join in | 700 | ~3 — signals start to stay |
| 12 000 | STOP 2 | – | ~3 |
| 15 000 | Falling behind | 340 | ~14 — visibly filling |
| 20 000 | STOP 3 | – | ~14, headline still white |
| 21 000 | Overloaded | 300 → 70 | climbs to ~134 over ~14s |
HOLDS carries the three timestamps; each is released by its own rain-go-cue fragment,
and resumeRain() consumes the next hold whether or not it was reached — cueing early
means "carry on", not "stop again in a moment". Every entry must stay below FLOOD_AT, or
the red fires before its stop.
hold() sets data-rain-hold on the slide with the stop index, so the state is checkable
from outside. Without it there is no way to tell "frozen" from "between drops": a
blocks-stopped-changing heuristic reports false stops during the slow phases, which is
exactly how the first verification of this missed two of the three.
Every headline must fit two lines. .rain-overlay h2 is large and capped at 20em, so
the budget is about 65 characters — 62 fits, 78 and 107 ran to three lines. The three
highlight messages were cut to 65, 65 and 56.
Resolutions fire every KILL_MS (1100) — deliberately slower than phase 2's drop interval
and faster than phase 1's, so the board stays clear while "we keep up" is on screen and
only starts to back up once it stops being true.
The last phase accumulates; it does not spike. flood() used to dump 34 bursts of 4
blocks at 50ms, which read as one sudden incident on shared infrastructure. That is the
wrong claim: the point is that load and complexity grow past the team's clear rate. So
flood() now only sets the state, and the filling comes from tick()'s interval
tightening 300 → 70 over about 7s. Measured climb: 14 → 19 → 31 → 55 → 94 → 133.
The message is "Overloaded / More applications, more complexity — resolution can't keep
up." It appears at four sites — flood(), startStatic() (reduced motion),
fillToStorm() (the early-cue safety net) and unhighlightLinked() (restoring it after
fragment 1). Change one and you have to change all four.
Two things make the hold work:
- Phases are driven off elapsed time inside
tick(), not their ownsetTimeouts. That is what lets the hold freeze the whole sequence:hold()stops rescheduling and recordspausedAt, andresumeRain()adds the held time back ontostartT, so the clock never counted it and every later threshold still lands correctly. rain-go-cueis the FIRST fragment on the slide, ahead of the three post-storm highlight cues.resumeRain()also setsresumedOncewhen it is cued before the hold is reached, so an early press does not leave the animation stopping later anyway.
Keep HOLD_AT below FLOOD_AT or the red fires before the stop.
The Quick demo slide is now a stack, with three static stand-ins below it. If the live plugin misbehaves, press Down and walk the same story off screenshots instead of recovering on stage.
| slide | title | asset |
|---|---|---|
h5 |
Quick demo | dashboard.png (.is-wide) |
h5.v1 |
The queue, triaged | card.png |
h5.v2 |
One event, in full | event_detail{,_desc,_activity}.png |
h5.v3 |
One case, its events | case.png |
All four use the same .shot-slide pattern: eyebrow and title on one line at the top,
capture below it, centred, 12px rounded corners. No caption — the captures carry
themselves and the caption cost 60 slide units of height. To add another, copy one of the
vertical sections and drop a PNG in img/.
The Production / Staging buttons on the demo slide (.env-links) are
position: absolute, top-right, deliberately out of the flow. .demo-shot is
positioned bottom: 0 with its height derived from the measured header below, so anything
added to the flow is either overlapped by the capture or silently invalidates that
measurement. They sit in the header band beside the title, which was empty. Both open in a
new tab (target="_blank") so a click during the talk does not navigate the deck away;
they carry #ic-external-link, which is hand-drawn — the Flaticon set in the sprite has
no link glyph — stroked rather than filled to match #ic-loop;
The two are styled identically — neither is emphasised — and the stand-in screenshots
below are the fallback after both.
The capture is height: 584px — 690 slide units, less a measured 96-unit header, less
a 10-unit gap. Three things about that number:
- It is definite, not a
max-height. Under a cap, a capture smaller than the box sits at natural size and never fills:card.pngis 676px wide natively and rendered at 676. - Width stays
auto, so the aspect is preserved. At 584 tall the widest capture here (dashboard.png, ratio 1.76) comes out 1021 units — inside the ~1203-unit slide — so no width clamp is needed, and the.is-widevariant that used to exist is gone. - Re-measure the header if the title size changes. Putting the eyebrow and title on one line is what freed the room: stacked they cost 152 units, side by side 96. A stacked header plus a 584 capture overlaps by 14px, silently.
Sizes against the previous layout (text in a 24% column, capture beside it):
| capture | now | before |
|---|---|---|
dashboard.png |
965x549 | 866x493 |
card.png |
695x549 | 780x616 |
case.png |
630x549 | 630x616 |
| the three-panel row | 549 tall each | 502-616, narrower |
The wide dashboard and the row gain; the two squarer captures lose about a tenth, because a full-width one-line title claims the top band that used to be a side column. If those two matter more than the title placement, the old side-by-side layout is in git.
F— fullscreenS— speaker notes windowEsc— slide overview?— keyboard shortcuts
Edit index.html directly to update content — it is the source of truth, there is nothing
generated from it.
Note when scripting edits: prettier reflows multi-attribute SVG tags onto one attribute
per line, so a search string spanning several attributes will silently fail to match after
the first format. Match on a single attribute, or regenerate the whole element.
The EPX event-process diagram is integrated in the "The whole picture" section: an overview slide that sums up the sources (the 5 signal categories and their risk families) and the four-step flow as legible native HTML — followed by one zoom slide per lifecycle step (1 Collection · 2 Consolidation · 3 Solving · 4 Reporting).
Each zoom is a pre-exported crop, <img src="img/stepN.svg">, next to a numbered "how it
works" walkthrough:
| Slide | Rendered | Editable source |
|---|---|---|
| 1 Collection | img/step1.svg |
img/step1.excalidraw.svg |
| 2 Consolidation | img/step2.svg |
img/step2.excalidraw.svg |
| 3 Solving | img/step3.svg |
img/step3.excalidraw.svg |
| 4 Reporting | img/step4.svg |
img/step4.excalidraw.svg |
To re-crop a band, open the matching *.excalidraw.svg in Excalidraw,
adjust the frame and re-export over the plain img/stepN.svg. The .excalidraw.svg files
carry the embedded scene data; the plain ones are what the deck actually loads.
-
Why events? — the 4-step operational lifecycle (collect → consolidate → resolve → report)
-
The whole picture — the excalidraw process diagram: an overview, then a Collection zoom and a Reporting zoom. Consolidation and Resolve are now told by the jigsaw slide below instead — four slides were removed for it (the CloudEvents envelope box, the Consolidation zoom, the dispatch-belt animation, and the Resolve zoom). They are in git at
11b46db;git show 11b46db:index.htmlhas them if any need reviving. Removing the belt slide also took ~370 lines of JS and ~14k of CSS with it. The stack closes on the slide about the resolution rating — the effort × difficulty evaluation the SRE fills in when a group is acknowledged, and then on "Nothing left on the table", which closes it:-
"So, how many hours did it take?" — why the rating is two ranks and not an hour count. Two panels, each with a plain-language "how to read it" line above the figure.
-
Panel 1 — one incident, two questions, and it now carries the rating itself (this was a slide of its own until it was folded in here). Asked in hours: three SREs, three different numbers, so what you measured is the answerer. The three are drawn as people with speech bubbles (
#bxWhoused three times,.bx-who) — identical on purpose, because the point is that the spread belongs to the answerers and not to the task, so only the numbers may differ. They sit on the row the bare pills used to occupy, so nothing below them moved. Asked as one cell: the 4×4 picker, with what each corner triggers — routine → nothing, sharp → write the runbook, slog → automate it, deep → open an RCA — so what you measured is the incident. Cells and tints still mirrorresolutionRating.ts; the four corners are identified by colour rather than by labels inside the grid, which at this size would not fit.Panel 1's whole SVG is generated by
scratchpad/mk11.py, which finds the panel by itsviewBoxand rewrites everything between the opening tag and</svg>, keeping the trailing<defs>(the#bxWhoavatar and#bxArrowmarker) intact. Re-run it rather than hand-editing coordinates.Each question sits on its own line above its figure (
.bx-qaty=12andy=68), not in a left label column. Dropping that column is what pays forDIFFICULTYbeside the scale (x=4,y=107) instead of above the grid: the two cannot coexist — a 56u question column + a 52u horizontalDIFFICULTY+ the scale + the legend leaves negative room inside the 192u before the arrow.Both axes are named (
.bx-axt) with their 1-4 scale in large bold digits (.bx-axn);EFFORTsits below its scale. Grid cells are 12x14u atx=72..120,y=80..136. The binding constraint is the legend, which must end before the arrow atx=196: at the current swatchx=127/ textx=138it ends at 193.3, and that only fits because.bx-legdropped to7px. Widen the grid again and the legend runs into the arrow — check it, do not eyeball it.The SVG was height-capped, not width-driven, and that is what kept the drawing small:
.bias-panelswas420px, which gave the svg box 309px and forced a scale of 2.06px per unit while its 798px width allowed 2.49 — so it rendered letterboxed with ~70px of dead space each side. The fix was the panel height, not the geometry:height: 545pxmakes it width-driven at 2.49 and the cells jumped 21px → 30px. That is the ceiling — the slide measures 687px of 720 at 545.The viewBox is
0 0 320 162. Growing it only helps while the drawing stays width-driven (svgHeight / vbHeightmust stay above798/320); past that it shrinks everything again.scratchpad/mk11.pygenerated the original panel and is stale — the grid, axes and questions have been rewritten in place since. Regenerate the grid with a throwaway script that emits the cells from(X0, Y0, CW, CH)rather than editing sixteen<rect>s by hand, but do not re-run mk11.py over this panel.The three answers are 12 h / 8 h / 4 h — exactly the 3x the label claims. They were 12 / 4 / 1, a 12x spread, which contradicted the citation on the same slide; the wide first pill (27u) holds the two-digit value so the geometry is unchanged.
The ×3 is Prechelt (TR 1999-18) and it is measured work time, not an estimate and not self-reported recall — its dependent variable is "work time in minutes" across 61 controlled experiments. So the three hour figures are each true, which is precisely why none of them describes the incident. Do not relabel this as an estimation or perception effect; the label on the slide ("and all three are true") is load-bearing. The "last number they heard" claim is separate and is about judgment: Jørgensen & Sjøberg, IJPM 2004; Løhre & Jørgensen, JSS 2016.
Prechelt partitions by task type, not size: programming SF25 = 7.1, test/debug 3.2, understand 2.9, maintain 2.4, inspections 1.3 — person-variance is largest where the work involves figuring something out and smallest where it is procedural. All of his tasks are experiment-scale, i.e. incident-sized, so the figure transfers to SRE work reasonably. On task size and estimation bias the direction actually flips — short tasks tend to be over-estimated, long real-world projects under-estimated (Halkjelsvik & Jørgensen, Psychological Bulletin 2012, 10.1037/a0025996). That is why no "+30–40% overrun" claim appears on this slide any more: that figure is about whole software projects, not incident-sized tasks.
-
The capacity bars are gone (they were panel 2: what a format asks for against what a person can place — a single scale carries ~10 answers, a point in a square ~24, via Miller, Psych. Review 1956). The whole second step went with them, and so did the Miller citation in
.bias-src.They were tried once more as a compact block inside panel 1, bottom right — and cut again as hard to read: two short bars with numbers, no axis and no baseline, next to a grid that already makes the point. Do not re-add them. If the cognitive-load argument has to appear, it belongs in speaker notes, not on the panel: the grid standing beside the three hour pills already shows 16 answers arriving as two four-step judgements instead of one open number.
-
Panel 3 (now the second and last step) — the same split as athlete monitoring: external load (the work, device-measured) vs internal load (what it cost, self-reported), as a 2×2 mapping — SPORT in one column, EPX in the other (the column said FOOTBALL until the panel title went; the header now carries the reference on its own). The punch line names both halves — "External and internal don't correlate. Use both" — rather than opening with a bare "They". It earns its place because the analogy answers "why not just use the timestamps you already have?" faster than the two panels before it. The load-bearing finding is that internal and external measures do not correlate, and the subjective ones track load with greater sensitivity (Saw, Main & Gastin, BJSM 2016, 56 studies) — so the rating is not a lossy proxy for the clock, it is the other half of the measurement. Session-RPE (Foster et al., JSCR 2001) has our architecture exactly: a short ordinal rating × a duration the system already measured, because nobody asks an athlete how long they trained. Framework: Impellizzeri, Marcora & Coutts, IJSPP 2019.
Two of its four rows are marked. DOSE ≠ RESPONSE carries a red band (
.bx-band-warn) because it is the warning, not a mapping; the last row's "individualise, never rank the players" / "classify, never score the SRE" is red ink (.bx-cell.bx-cell-warn), with the verbs individualise, / classify, kept white in a<tspan class="bx-cell-plain">— the prohibition is the red part. That selector needs both classes:.bx-cellis declared ~50 lines further down, so a single-class.bx-cell-warnloses on document order and the text silently stays dim — it did, first time.The comma belongs inside the tspan. SVG renders the markup newline between
</tspan>and a following, neveras a real space, and prettier puts that newline there every time it reformats — it read "individualise , never".Where the analogy stops: football monitors the athlete — that is what the daily sleep and wellness questions are for. EPX monitors the work. Same instrument, same data type, different unit of analysis: football aggregates per athlete, we aggregate per incident class. That is why there is no wellness row, and why averaging effort per SRE would cross the line panel 1 draws. On-call load management is the legitimate version of that missing row, but it is a different purpose with different consent needs — roadmap, not here.
The zoom. Three columns are too small to read at rest, so the slide opens with panel 1 already focused — there is no zoomed-out step — and has two fragment steps for panels 2 and 3. Each one washes all three panels out and hands one of them the width back (
flex-grow0.32 → 2.36), which magnifies it about 2.3×. It is pure CSS on reveal's own.visibleclass — three<span class="fragment zoom-cue" data-z="N">cues sitting as siblings before.bias-panels, so there is no script and nothing to reset when the slide is re-entered.Two things make it work and both are easy to break:
.bias-panelshas a fixed height and eachsvgiswidth:100%; height:100%. The zooming is then done entirely bypreserveAspectRatio— the viewBox scales into whatever box the panel's current width buys it — so stepping the fragments never reflows the slide and the source strip never moves.- Every wash rule carries a redundant-looking
:nth-child(n). Without it the wash (.bias-panel) is one pseudo-class less specific than the highlight (.bias-panel:nth-child(2)), so an earlier cue's highlight outranks a later cue's wash and every panel stays lit once all three cues are showing. With the specificities matched, document order decides and the last visible cue wins. Do not "tidy" those away.
Keep the three one-line messages roughly the same length — they land on a shared baseline and unequal wrapping breaks it.
-
-
-
Every slide in the lifecycle arc takes its
h2colour from its own phase — blue Collect, purple Consolidate, orange Resolve, yellow Report — through a single rule listing.diagram-slide,.jg-slide,.rs-slideand.bias-slideheadings and settingcolor: var(--step-c); the eyebrow above it follows on.diagram-slideand.bias-slide.--step-ccomes from the.step-*class on the section, so moving a slide to another phase recolours it with no CSS edit. Add new arc slides to that selector list rather than writing a per-slide colour. -
The Collection zoom carries keyword notes, not prose, set large enough to read from the back of a room —
.wide-leadat0.54emand.notes .steps-num.compact liat0.5em. The size is free: the slide's height is set by the diagram (522px), and the notes column only reaches 311px, so type can grow here without pushing the slide past 720px. Both classes are used on that one slide only, so the sizes can be changed there without hunting for other users.
A regex meant to delete four icons matched from the first <svg in the file and removed
everything from the icon sprite down to the middle of slide 11. Recovery, for the record:
- The icon sprite and slides 1-6 and 10 came back from
11b46db- they predate the jigsaw work and were still committed. - The jigsaw sprite was reconstructed from slide 12, which survived: each
clipPathis just that piece's outline in the scene's own 280x200 space, and slide 12 carries all 35 outlines. So#jgSceneplus 35 clipPaths were regenerated exactly. - Slides 7, 8, 9 existed nowhere else and were re-authored against three sources: the
CSS (which names every class,
data-attribute and beat transform they must satisfy), the text recovered from the handout PDF, and the notes below. The piece scatter and heap positions are therefore re-derived, not identical to the originals.
The rule this bought, which has since been re-learned the hard way: when splicing this
file by index, anchor every search inside the region you mean to edit. index('</svg>')
finds the icon sprite at line ~161, not the slide you are working on — and if the resulting
end index lands before the start index, the splice silently duplicates thousands of lines
instead of erroring. Search from the start offset (index('</svg>', start)) and assert that
end > start and that the span is roughly the size you expect. Recovery is usually cheap
when it happens, because the duplicated copy of the intact original is still in the file.
Two things worth keeping:
-
The seven groups are derived, not hard-coded. Border cells sort by shape (corner if two flat sides, else edge); interior cells by majority colour area over
#jgScene.The derivation rasterises the scene per cell, so it needs the roof triangle right, and the first attempt had it upside down:
66,102 140,50 214,102has its base aty=102(width 148) and its apex aty=50(width 0), so the half-width is(y - 50) / 52 * 74and not(102 - y) / 52 * 74. Inverted, it still produced blue 7 / reddish 4 / cream 2 / yellow 1 / brown 1 — the right counts with the wrong membership, which is why it shipped: real roof pieces sat in the blue pile and sky pieces in the reddish one. The check therefore asserts cell membership, not counts:sky {(1,1),(2,1),(4,1),(1,2),(5,2),(1,3),(5,3)} roof {(3,1),(2,2),(3,2),(4,2)} wall {(2,3),(4,3)} sun {(5,1)} door {(3,3)}Change
#jgSceneand these move — assert the new membership, never just the totals. -
The association line survives every beat, and moves with what it connects. All three sets share
.rs-place-lfor styling; the groups only control when each shows:beat group lines 1 .rs-indcap4 horizontal, pile → the form it was placed into 2 .rs-mergel4 diagonal, pile → the merged picture 3 .rs-casel2 diagonal, solved picture → the Case it ended up in Beat 1's are equal length and centred in their gap — the two gaps differ in width, and unequal lines read as meaning something they do not. Beat 2's have to be diagonal because the two halves of a column have converged on one centre, so a horizontal line no longer points at anything. Beat 3's are one per case, to the nearer picture: each case does cover one group from each column, but drawing that honestly is four dashes crossing over the same two objects.
Rule order is load-bearing — the cue-3 rule hiding
.rs-mergelmust come after the cue-2 rule showing it, since both match at equal specificity. -
On beat 3 the conclusion text sits 26u lower than the AI line it replaces, so the case cards and the two pictures get the vertical room instead.
-
The two Case boxes are 230u wide, mirrored about the 1000u centre (
20..250and750..980). 210 was too narrow: the longest member label, "User has been kicked out", runs 174.7u fromx+40and spilled 4.7u past the right border. Both boxes carry the same width so they read as a pair — check the longest label withgetComputedTextLength()before narrowing either, and move the beat-3 connectors with them. -
The
×Ncount captions are white, including the×1ones (.jg-count-one, was warn yellow to flag "a group can be one"). On a row where every other count is white the accent read as a different kind of label, and it collided with the yellow/sun group. The claim a takeaway turns on — "No AI here" on 8, "AI" on 9 — is ELCA red (.jg-keyt-hot, also was warn).There used to be an amber
.rs-linkcurve joining the two piles on each side. It is gone, deliberately — it duplicated the claim the Case boxes make one beat later, and read as a third kind of relationship on a slide that only has two. Do not re-add it. -
The
+/-87pxmerge offset on slide 9 is a contract with the CSS. Each half of a middle column is authored atmerged_y -/+ 87and the beat-2 rule translates it back tomerged_y. Both halves are positioned by the column's combined bounding box, which is what makes them interlock rather than overlap. Change one and you must change both.
Nothing here is committed. The whole jigsaw arc lives only in the working tree - that is why a bad regex cost a day. Commit before the next round of edits.
-
"A queue is a pile of pieces" (
.jg-slide.jg-bag) — the bridge from Collection into Consolidation, and the reason the next slide lands. The durable queue (a stack of bars in the five source colours, with firing/resolved dots) sits beside the same thing as a jigsaw: all 35 pieces tipped out of the bag in one heap, every rotation, overlapping, nothing in order. An=between them says they are the same object — and it says it alone: the slide carries no labels and no captions at all, because two pictures and an equals sign are the whole argument, and the title (in the step colour, via.reveal .jg-bag h2 { color: var(--step-c) }) already names it. No box lid here — the finished picture is held back and paid off at the end of the arc, on "Nothing left on the table"; showing it up front spends the reveal for nothing.It carries no closing paragraph on purpose: the three panels and their captions say everything, and the space goes to the figures instead. The queue bars are all the same length — varying them implied a meaning (size? age?) that was not intended.
The heap is a phyllotaxis scatter (golden-angle spiral) plus per-piece jitter — even enough to fill the space, organic enough to read as a heap rather than a grid, and the jitter is what stops the ellipse showing a clean rim. It is deliberately the same 35 pieces the next slide sorts, so the two slides are one continuous table.
Note the heap is sky-dominated, because the picture is. That is truthful — the biggest region gives the biggest pile, which is why
sky ×7is the largest group next door — but if you ever want a more evenly coloured heap, shrink the sky in#jgSceneand the counts on the next slide will follow automatically. -
"Corners, edges, then colours" (
.jg-slide.jg-sort) — phase 02 Consolidate, in three states. Absorbed what used to be two slides, so the same seven heaps carry the whole step instead of being drawn twice.beat what happens 0 the seven heaps, sorted on one row — corners ×4, edges ×16 by shape; sky ×7, roof ×4, wall ×2, sun ×1, door ×1 by colour. Key message on screen: 35 pieces → 7 groups, no AI here 1 roof, wall and door drop; the shape heaps slide into the left quarter, sky and sun into the right quarter, clearing the middle half 2 the card mapping lands in the cleared centre — one event card per surviving heap, with a leader out to it The sort itself is never touched. The heaps are not re-grouped, merged or assembled; the animation only moves the result aside to make room for the mapping. An earlier version had each heap assemble itself in place on a third beat, and the corners and edges closing into a single border — it was clever and it was wrong, because it answered a question this slide does not ask. Do not re-add it.
Each caption lives inside its heap's
<g>, so one transform carries the pieces and the label together. Beat 1's fourtranslate()values are hand-derived from the row positions to the quarter positions, and they are coupled to the caption height: drop the captions and a top-row caption lands on the bottom-row heap once the quarters are populated. Move a heap or a caption on beat 0 and you must re-derive all four, then check beat 1 — the collision only shows up there, never on beat 0.The divider needs air on both sides, so
edgessits left of its even spacing and the whole colour row is nudged right. It is the widest heap (16 pieces, widest scatter) and will crowd the line again if the spread formula changes.Heaps are named by the attribute they were grouped on. Shape heaps get shape names (
corners,edges); colour heaps get colour names (blue,reddish,cream,yellow,brown) — notsky,roof,wall,sun,door. That matters: a processor sees a hue, it does not know the picture has a roof in it, and naming the heap "roof" quietly claimed the machine understood the image. It also sharpens the no-AI line — the sort runs on an observable property, nothing more.The internal
data-kkeys stay as region names (sky,roof, …) because the generator derives them by sampling the scene's regions, and the CSS transforms key off them. Keys name where the pieces come from; labels name what the machine saw.Cards carry human names, not slugs: owning team (
Team A), criticality (P2), application (Portal), plus timeline and SLA.The two cards of a pair overlap in time, and must keep doing so: they are the two halves of one problem, so hours apart would contradict the Case the next slide builds from them. Left pair
08:02→08:20inside07:58→08:24(the latency straddles the login failures); right pair09:20→11:35inside09:14→11:40(users kicked out while the pods restart).A stack shows at most five back edges at a 5-unit step, whatever the count — the group's size is written nowhere on the card, so the stack is the only thing carrying it and the edges have to be countable. Fifteen of them (for
edges ×16) staircase clean off the card and read as a rendering bug.The key message lives inside the figure, not as an HTML block after it, and that is deliberate: it occupies the same middle band the cards use on beat 2, so the message fills the centre on beat 0, clears on beat 1, and the mapping lands in the space it vacated. From outside the
<svg>it could not reach that band — and reveal's own.reveal ul { display: inline-block }defeatsmargin: autocentring, so an HTML list sat hard against the left edge below the figure. Lines are hand-wrapped; keep each under roughly 55 characters atfont-size: 20pxor it runs past the centre.The heap counts are computed, not typed: the generator samples each interior cell centre against the scene's regions, so
sun ×1cannot drift from the drawing. If you reshape the picture, keep at least one region covering exactly one cell, and re-derive7 groups, which also appears on the payoff slide. -
"Two groups, one problem" (
.rs-slide) — phase 03 Resolve, in three states.Its beat 0 is a pixel-exact continuation of the previous slide's beat 2, so the four heaps do not move across the slide change. Three things make that hold, and all three must hold together:
data-transition="none-in slide-out"on the section — no animation on the way in.- Identical viewBox width (both
0 0 1000 366). Width sets the unit scale; a different width silently rescales everything. - The heaps are authored at the previous slide's post-transform coordinates —
(125,74) (125,248) (875,74) (875,248), captions at162/336. Those are the row positions plus the beat-1translate()values, so if you touch either on slide 8 you must re-derive these four here.
The heap scatter reproduces exactly because the offsets depend only on the piece index, not on the origin — generating a heap at the translated position gives the same arrangement as generating it at the row position and translating it.
Verify with
getBoundingClientRect()on the heap groups either side of the change; the four boxes must be identical, not merely close.beat what happens 0 the four heaps, carried over unmoved — corners ×4,edges ×16left;blue ×7,yellow ×1right1 four columns: each heap solved on its own in the column beside it, linked across 2 the two middle columns close vertically — each pair of halves travels to y=161and interlocks into one picture:the frame, andsky + sun3 the heaps give way to the Case each of them ended up in, left and right Beat 2 is a real merge, not a cross-fade, and it works because of one detail: every placed half is positioned by its column's combined bounding box, not by its own. The four corner pieces therefore sit at the corners of the whole frame rather than centred in their slot, so when the halves meet they drop into the ring's gaps; the sun piece lands in the sky the same way. Position a half by its own bbox and the two overlap in the middle instead of interlocking — the animation still plays, but the picture is wrong.
solved()takesreffor exactly this.The travel is
±87px, half the74→248gap. If either row moves, both transforms and they=161merge captions need re-deriving.The heaps stay visible through beats 1 and 2. That is the point of them: a pile, its solved form, and then the merge, all on screen together, so each step reads as a change of state rather than a new object. Three earlier versions got this wrong — one moved the heaps into the middle (nothing left to compare against), one solved the two pairs straight away (the merge happened before the slide had argued for it), and one merged into the centre while hiding the heaps (which broke the four-column reading).
Each solved set sits on the same side and row as its own heap — corners top-left, edges bottom-left, blue top-right, yellow bottom-right. That is not cosmetic: it is what makes all four heap-to-solved links run straight across without crossing. Swap any two and the links tangle. The links are deliberately quiet (
.rs-place-l, dim dashed) so they do not compete with the amber.rs-linkthat carries the Case claim.In-figure type is sized for a room, not a laptop —
.jg-count18px,.jg-small17px in viewBox units. It was 14/12.5 and unreadable projected.The merge is the argument, and it happens in one step: four independent assemblies become two. Nothing about the pieces changes — only the claim that two groups are one problem. That claim is what the Case records.
Each Case sits on the side its own heaps came from — the frame's case on the left where
cornersandedgeswere, the sky case on the right whereblueandyellowwere. So the quarters are reused across the whole arc: a heap, then the Case that heap ended up in. Putting both cases on one side loses that, and was the first version.A Case is drawn as one object with its two members hanging off a tree, not as two cards with a line between them: a Case contains two event groups, and a link would say something weaker. The tree is drawn (
.jg-tree, one<path>) rather than typed with├/└box-drawing glyphs — those never line up with the text baseline at any font size.The closing bullets are keyword-led on purpose (
Rule —,Judgement —,AI proposes the merge); full sentences there compete with the figure for attention and nobody reads them mid-explanation.The takeaway appears on the last beat only. It is the conclusion, and on screen from the start it just competes with the figure. It lives inside the svg, in the band the heaps vacate at beat 3, and borrows slide 8's own
.jg-keyt/.jg-bullet— so both slides state their point at exactly the same size (20px in a 1000-unit viewBox) without a second set of rules to keep in sync. That placement is also why it costs no slide height: outside the svg it pushed the slide past 720.Three bullets, and they never share the screen. The AI line lands on the merge beat (cue 2), because that is the moment it describes — the pieces have just been placed — and it clears when the cases arrive (cue 3), where the Case and SRE lines take over. It has done its job by then, and clearing it is what frees the band.
Both blocks are authored in the same vertical band (
~276–332) for that reason: the text always appears in one place rather than jumping between beats. The cue-3ai → opacity: 0rule must stay after the cue-2ai → opacity: 1rule — same specificity, so document order is the only thing deciding it.At the merge beat the heaps are still on screen, so the AI line has to clear the
edgesheap. Its bullet indent isx=262(matching slide 8's) for that reason — do not pull it left. Note thatgetBBox()is useless for checking this: a piece is a<use>of the whole scene under a clip, so its box reports the entire 280×200 picture and every heap looks about twice its visible width. Check overlap on a screenshot.The "group by rule" bullet went: phase 02 already made that point, and repeating it here delayed the one thing this slide is for.
- As the picture comes together, two events that looked independent are related — two event groups become one Case.
- AI extracts everything the group knows and proposes investigation tracks — placing the pieces.
- The SRE matches the groups, and supervises the whole.
The last two are one bullet apart on purpose: they are the division of labour the whole analogy has been building to. Within a group is extraction and proposal, and delegable; across groups is judgement, and stays with the SRE. Keeping AI and the SRE on separate bullets is what makes that a contrast rather than a sentence.
The parenthetical "placing the pieces" is set italic (
.jg-keyt-i) so the analogy stays subordinate to the claim it illustrates — the audience needs the claim, not the metaphor, at that moment.That second bullet is the division of labour the whole analogy has been building to: within a group is mechanical and delegable, across groups is judgement and stays with the SRE.
-
The source strip is per-beat: three
<p class="bias-src" data-s="N">, one visible at a time, switched by the same.zoom-cuefragments that drive the zoom, at0.3em(up from0.25em). Only one is ever in flow, so the strip is always one line and the slide never reflows as you step. Order matters — cue 3's rules must follow cue 2's, since both target[data-s='2']at equal specificity.Going to one reference per beat dropped four citations from the screen. They still back claims that are made, so keep them here: Jørgensen & Sjøberg, IJPM 2004 and Løhre & Jørgensen, JSS 2016 (the "last number they heard" anchoring effect — no longer drawn on panel 1); Hake & Garner 1951 and Klemmer & Frick 1953 (the origins of the 10 and the 24 that Miller 1956 reports); Impellizzeri, Marcora & Coutts, IJSPP 2019 (the internal/external load framework panel 3's whole 2x2 is built on). Panel 3's visible line is Saw, Main & Gastin because its claim is the punch line, the non-correlation. If a reviewer challenges the framing rather than the numbers, cite Impellizzeri.
The arithmetic column: the numbers are right-aligned at x=700 (.jg-num-l carries
text-anchor: end) and the widest, "35", starts at 648.3 — so the column's centre is
674, which is where the ↓ arrows sit. They were at 706, i.e. entirely clear of the
numbers' right edge, which is what made them look detached. If a number ever gets wider,
the column's left edge moves and the arrows need re-centring with it.
The "sorted by rule · solved by hand" footnote is removed on purpose.
-
"Nothing left on the table" (
.jg-done, last in the stack, after the rating slide) — the payoff of the jigsaw arc and the bookend of the section that carries the same name. All 35 pieces placed, showing the picture for the first time, with the arc beside it in three numbers: 35 pieces off the queue → 7 groups, by rule → 1 picture, and sorted by rule · solved by hand.Keep the cut lines drawn. Remove them and it stops being a puzzle and becomes a drawing, which throws away the only thing the slide is for.
-
Backstage — two slides. First What is Backstage?: the framework introduced, then an inline SVG schema (
viewBox="0 0 1000 354",.bsx-*classes at the end ofcss/theme-flat.css) drawing the Backstage frame with two labelled zones — the strip of core services every plugin gets for free, and a row of four plugin slots.Three load-bearing details. The fifth slot is empty and dashed: that is the argument of the slide, that the extension point exists before anything fills it, which is what makes "we built a plugin" an unremarkable act rather than a feat. Do not fill it in. The zones are named, not merely spaced — core services and plugins are different kinds of thing and the drawing has to say so; that is what
.bsx-zone-lab,.bsx-divand.bsx-bandare for. And nothing may sit pastx=860belowy≈300: reveal parks its nav arrows and slide counter in the bottom-right, and anything there lands underneath them.The slide is tuned to fit 720px with almost nothing to spare — the
viewBoxheight and.bsx-stage's0.12emtop margin were both trimmed to get the.bs-notesource line above the fold. Adding a row means taking one out..bsx-zoom-l(a dashed frustum that used to point at a following zoom slide) was removed along with that slide. Unlike the.bs-archbands it was not worth keeping: it described a relationship between two specific slides rather than a reusable visual. -
The Events plugin, end to end (
elca-events · overview) — the pipeline, running: a self-driving conveyor belt. The intake mints a parcel perPOST /events/queue, sealed parcels ride the queue, and three processors each claim their own source — folding two parcels that share a correlation key into oneevent_group, or enriching a single one with context and a priority. Then the background AI agent reads what a processor produced and writes a comment back. No fragments; it loops onslidechanged/readyand every parcel and outcome is transient, so an unattended loop never accumulates.It is the LAST slide of the section, not the third. It used to sit between the domain model and the contract; it was moved so it plays as the section's recap, after the Event AI agent slide has introduced the agent that zone 4 shows running. The
mdl-slide's speaker note used to end "the belt slide next shows the blue link actually running" and was reworded to point at the contract slide instead — if you move this slide again, that note is the forward reference to check.This is a port of the slide deleted at
11b46db— markupindex.html:698-763, CSScss/theme-flat.css:1588-1943, JSindex.html:2611-2981at that commit. Retargeted: the three lanes went frombitbucket/ocp/jiratoalertmanager/github/jira(the real processors and their correlation-key dimensions), and the intake node is new — the original had parcels slide in from off-stage left, which left the enqueue step implied rather than shown.Five things not to "tidy away":
- The technique is
setTimeout+ per-leg CSS transitions ontransform. Not a rAF loop, not positional keyframes. The only two@keyframes(beltRoll,intakeFire,lampFire) are decorative. This gets compositor-accelerated motion with no per-frame JS; do not "modernise" it into an animation loop. pos()walksoffsetParentup to the stage. It must not becomegetBoundingClientRect— reveal appliestransform: scale()to.slides, which distorts client rects but not layout offsets.- The initial placement sets
transition: none, forces a reflow, then restores it. Without that, the CSS transition animates the placement itself fromtranslate(0,0). That was invisible in the original because parcels were born off-stage left and clipped by.belt-stage'soverflow: hidden; moving the birth point to the on-stage intake exposed it as parcels drifting in diagonally from the top-left. The doublerequestAnimationFramebefore the travel leg is separate and also required — drop it and parcels teleport. BOXW/BOXH(118/66) must match.belt-box's width/height, and.belt-slotmust stay taller (84px) so a folded pair fits.SCRIPT.lengthmust stay a multiple of 3. Rotating the sources is what guarantees no processor is asked to work on two demonstrations at once, including across the wrap. ThefreeAtguard intick()silently drops a beat rather than overlapping, so breaking the rotation degrades quietly instead of visibly.
--step-ccomes from a dedicated one-line rule,.reveal .belt-slide { --step-c: var(--epx-accent) }, not from astep-*class. The block references it at nine sites and never defines it; the original carriedstep-consolidate, which would steal the Consolidate purple that slides 6-11 own. For the same reason.belt-slideis deliberately absent from the--title-c: var(--step-c)selector lists, so itsh2stays white, and the01 Collect → 04 Reportstepper was dropped from the ported markup..belt-slideis in theFLATregex (index.html,syncBackdrop): the belt paints invar(--epx-panel-edge)and usesvar(--epx-bg)as the gap ring on.is-p2, which over the textured backdrop would show the texture instead of matching the canvas.Both processor jobs stay in the code, so the lamps have two states, but with three
SCRIPTentries each unit demonstrates only one of them per cycle. Only the grouping was asked for;enrichcame along because it was already written and deleting it would have been more work than keeping it.Pacing is the whole design of this slide, and it is easy to wreck. The tunables are
TRAVEL 3700/DIVERT 700/PAIR 1800/LINGER 2800/SPAWN 10900.SPAWNis deliberately longer than one complete demonstration takes (PAIR + TRAVEL + DIVERT + fold + LINGER + removal≈ 10.8s), which is what keeps exactly one demonstration on screen — measured at 1-2 parcels, against 5-6 before. The first version usedSPAWN 2300with sixSCRIPTentries and nobody could follow it: two or three parcels in flight, two units working at once, and a 70s cycle. If you shortenSPAWN, shortenTRAVELandLINGERby the same amount or the overlap returns.TRAVELis tied to the belt's GEOMETRY, not just to taste. The parcel run isdispatchX - birthX, so it moves when the belt's length changes and when anything to its left changes width. Hold the speed withpxPerSec = (dispatchX - birthX) / TRAVEL * 1000≈ 59, and remember a longerTRAVELpushes the demonstration length up soSPAWNmust follow. The four zones sit at:zone slide px set by producers 0-168 .belt-producerswidthintake 192-406 .belt-intakeleftbelt 424-756 .belt-trackleft/right: 40.94%processors 820-1280 .belt-laneswidth: 35.94%ai agent 192-780 .belt-aileft/width: 548pxThe agent row is the only one that is not a horizontal stage — it sits below the first three (y 366-496) rather than after them.
A 64px gap between belt and processors is deliberate — the divert leg needs somewhere visible to cross.
Every hand-off between zones is drawn, so the reading order is shown rather than inferred:
.belt-pconn(producers → intake),.belt-gap[data-gap='queue'](intake → belt),.belt-gap[data-gap='proc'](belt → processors) and.belt-aiconn(processors → agent). The.belt-gappair sits on the belt line (241 = the track's 199 plus half its 96) and below the parcels, which carryz-index: 4and ride over them.The queue chevron is a head with no shaft on purpose:
.belt-intakeends at 406 and its outlet nub juts to 412, the belt starts at 424, so there are 12px there and nothing longer fits. Do not "fix" it by widening the gap — everything left of the belt pushesbirthXright and shortens the run, whichTRAVELis tied to.Everything here is sized for a projector, and the belt paid for it. The stage is 500px tall with the belt line at its centre (250); parcels are 134x75, the slot 96, and the type is up across the board. On a fixed 1280px stage the belt is the only compressible zone — it is a runway, everything else carries text — so each round of enlarging has shortened the run: 350 → 276 → 241 → 221px, with
TRAVEL5900 → 4700 → 4100 → 3700 to hold ~59px/s throughout. Budget for that before growing anything again: the run is now ~1.6 parcel-widths and has little left to give.A side effect worth knowing: the steady-state seeding loop in
start()runsMath.ceil(TRAVEL / SPAWN) - 1times, which is now zero, so the belt opens empty and fills from the firstPOST. That is better for comprehension than the original's pre-loaded belt, but it means the slide is briefly bare on entry — do not "fix" it by re-seeding.dispatchXis measured from the end of the belt (pos(track).x + track.offsetWidth), not from the lanes as it was originally. With the wide gap between belt and processors, measuring from the lanes parked the parcel in mid-air past the belt's end; now it rides to the belt's end and the divert leg carries it across the gap.The producers (
.belt-producers) are GitHub / Azure / YouTrack, stacked and centred on the belt line the same way the intake is, joined to it by a collector glyph (.belt-pconn: three stubs into a spine, then one arrow). At 26px of width a converging fan would have been too steep to read; the glyph says "many senders, one endpoint" at any size.They map onto the processor lanes, and each lane carries its producer's mark so the pairing is visible rather than asserted: GitHub →
githubDeploy, Azure →alertmanager, YouTrack →default. The third lane's head staysdefaulton purpose — YouTrack has no bespoke processor, so it falls through to the fallback. Itsdata-srckey was renamedjira→youtrackto match.send()lights the sending producer on the same beat as the intake, via thePRODmap (alertmanager → azure,github → github,youtrack → youtrack). That is what makes the column part of the animation rather than a static caption: you see which system emitted the parcel now riding the belt.The three marks live in the icon sprite as
#ic-github/#ic-azure/#ic-youtrack. Unlike#ic-backstagethey paint incurrentColor, so they inherit their chip's colour and brighten with its.firestate — do not hardcode fills on them. Both decorativefill="none"background rects and GitHub's<clipPath>were dropped on the way in: the clip covered the full viewBox (a no-op) and its id would have leaked into the shared sprite namespace.Zone 4, the background AI agent (
.belt-ai), is deliberately not a fourth lane. Two reasons, and neither is cosmetic: it is not on the synchronous request path — the processors answer thePOST, the agent runs on its own clock afterwards — and the belt has no width left to give (the run is down to 221px; a fourth column would forceTRAVELto move with it). So it lives in the strip that was empty: everything on the left half is centred on the belt line and bottoms out at.belt-pconn's 330, and.belt-lanesstarts at x 820, which leaves x 192-780 / y 366-496 free. Nothing above it moved and no belt constant was re-tuned.It is dashed-bordered and unlit at rest, and goes solid + ringed only while
.working. That is the same distinction the domain-model slide draws with its two edge styles: this zone is not something aPOSTwaits on.Three things it reuses rather than reimplements:
- The panel carries a
.belt-extraof its own, which is the only thingchip()andclearLater()look for — so both helpers drive it with no new code and it wipes on the sameLINGERbeat as the lane that fed it. - The thinking dots are the contract slide's
.cx-dotsmarkup and its@keyframes cxWork, verbatim. Only the trigger differs: there it runs whenever the slide is present, here only while the agent is working. #ic-robotwas already in the sprite (the Roadmap's AI card carries it too).
aiThink(item, wait)is the whole addition to the script — called from the tail of bothgroup()andenrich(), every timeout goes through the sharedtimersarray, andstop()clears the panel alongside the lanes. EachSCRIPTentry gained anaifield (the comment the agent writes);SCRIPT.lengthis still 3, so the multiple-of-3 rotation rule is untouched. Underprefers-reduced-motionthe panel empties itself before appending, because that branch ofstart()calls bothgroup()andenrich()and would otherwise stack two agents' output in one box.Step labels sit BESIDE the element they name (
.belt-step, absolutely positioned inside the stage), not in a row across the top. Each shares its zone's left edge —left: 0/424px/820px, matching.belt-producers/.belt-track/.belt-lanes— so moving a zone means moving its label too.Their
topvalues differ on purpose (136 / 166 / 2). The producers, intake and belt are centred on the belt line while the processors column runs the stage's full height, so no single shared row can be adjacent to all of them; a row across the top was adjacent to none..belt-lanesis insettop: 36pxpurely to leave room for label 3, which costs each lane row ~12px that the 138px proc boxes absorb.Three explanatory paragraphs used to sit under the diagram and cost ~70px of height the schema needed more; the numbers plus a noun are enough of a key, and the detail is narrated. That trade is what paid for the 400 → 500px stage.
The two code snippets that used to be magnifier panels on this slide now live on the Everything is a CloudEvent slide instead;
.belt-zoom,.belt-magand.belt-slide prewent with them, so this slide is again purely the animation.Two things learned there still apply to any code block in this deck. Highlighting runs once at init across every
pre codein the DOM — visibility does not matter, but a block injected by script afterwards is never colourised, so snippets must be static markup. And keep<pre>bodies flush left:<pre>preserves whitespace, so indenting them to match the surrounding HTML indents the rendered code, and prettier leaves the flush-left form alone. alone.Outcome chips stack as a column (
.belt-extra,flex-direction: column), not a wrapping row. The producers column cost that cell ~110px of width, and wrapping put the third tag on a second row that spilled out of the lane. Three tags plus the SLA bar is four rows, ~76px in a 125px lane row, so they fit.One trap when checking that: these chips animate in from
translateY(6px)over 0.3s, and sampling mid-flight reads as ~11px of overflow that is not really there. Let the entrance settle (~550ms) before asserting, and comparescrollHeighttoclientHeight. A tag was briefly deleted here chasing exactly that phantom.The intake is vertically centred on the belt, and the way it gets there matters:
topis the belt's centre line (.belt-track'stop: 168px+ its 90px offset height / 2 =213px) andtranslateY(-50%)does the rest, so the box stays centred whatever its content height becomes.pos()in the script walksoffsetTop, which ignores transforms — harmless here only becausemeasure()reads the outlet's x and never its y. If you ever need its y, do not usepos().The outlet (
.belt-imouth) is a nub on the intake's right edge at the belt's centre line, andbirthXis measured from it, so a parcel is minted emerging from the outlet rather than materialising in the gap. It used to be a thin bar across the bottom of the box, with parcels born atx: 17— inside the box.One accepted POST fires three cues on a single 1.2s beat: the unit rings (
intakeRing), a green200rises above the box and fades (intakeAck— the async point the legend makes), and the outlet lights (intakeMouth). The parcel itself fades 0 → 1 as it is minted. Before this, the only cue was a thin bar flashing at the bottom of the box, easy to miss entirely.That fade needed a real fix:
.belt-boxtransitionstransformthenopacity, andstyle.transitionDurationis a shorthand over both. Setting it to a baredurstretched the mint fade across the whole 4.8s belt run. Both call sites now pass two values (dur + 'ms, 380ms'). If you add a third transitioned property to.belt-box, add a third duration.A note on verifying any of this: the stage is
aria-hidden="true", so none of it appears in an accessibility snapshot, and screenshots of paused Web Animations come back without the animated values applied — a frozen.firebeat photographs as if nothing fired. Assert ongetComputedStyle/getBoundingClientRect, or set the end state inline, rather than trusting a screenshot.The
.belt-leadparagraph below the stage is gone, replaced by.belt-legend— one column per stage, each column's left edge sitting exactly on its zone's left edge (17.5%=.belt-track's left,56%=.belt-lanes' left). The columns sum to exactly 100% withgap: 0and per-columnpadding-right: a gridgappushes every column right of the box it describes and overflows the last one off the slide. Change the zone widths in the CSS above and these three must change with them. - The technique is
-
What is the contract? (slide
5/2, inside the Backstage stack) — the contract the whole pipeline rests on: the envelope spec astable.clean(three required fields, the rest defaulted), then three unheaded bullets making the case for the standard over a bespoke shape — consistency, already emitted by AWS / Azure / Oracle Cloud, and SDKs across nine languages — beside the annotated In/Out snippets. The gap above those bullets is an inlinemargin-topon the<ul>; it used to come from a heading that was dropped, so removing the list would take the spacing with it.This slide is near-pure reuse.
.contract-slide(9 rules),.contract-gridandtable.clean(7 rules) were all still in the stylesheets with zero markup referencing them, left behind when an earlier version of this slide was cut; the content came back fromgit show c827939:index.html4135-4256. This is the leave-the-style-block convention paying for itself — reviving it cost onepre codeoverride and nothing else.A 1px rule separates the two columns:
.contract-grid::before, not aborderon either child. With two equal columns the grid gap's centre is exactlyleft: 50%, and because the grid isalign-items: startits own height is the taller column's — so the rule spans the longer side without anything being measured. Aborder-righton the left child would stop short at that column's own (shorter) height.The right column is a vertical flow, not two labelled snippets:
POST /events/queue→ the CloudEvent →EventProcessor→ what it returns. The twoh3headings it replaced are what paid for the larger code font; the nodes label the flow themselves. Classes arecx-*(.cx-flow,.cx-node,.cx-arrow,.cx-dots).The processor's three cycling dots are the only moving thing on the slide, and the animation is gated on
.contract-slide.present— the same guard.belt-rollersuses, so it does not run on slides nobody is looking at. It is in theprefers-reduced-motionblock too, where the dots hold still and lit.The snippets started life as magnifier panels on the belt slide.
Watch the
<pre>indentation when this slide moves. It picked up two extra spaces of indent when it was nested into the Backstage stack, and<pre>preserves whitespace, so the rendered code came out indented with a mismatched closing brace. Bodies stay flush left regardless of how deep the surrounding markup is.Both are tagged
language-typescript, notlanguage-json, on purpose: JSON has no comments and the annotations are the point. A commented object literal is valid TS, so the tag is honest and monokai colours the comments..contract-slide pre codehandles the three inherited defaults: reveal's ownpre { width: 90%; margin: auto }, the imported light theme'spre code { font-size: 0.62em !important }— size this by measurement, the em chain is root 42px xpre0.55 xcodeX — and monokai's#272822background, which the flat theme lets through because it leavespreout of its panel-fill list. Only the block background is overridden; the token colours stay monokai's. -
Event AI agent (
.harness-slide— the class kept its old name) — deliberately light on text: a screenshot of the Mastra UI mid-run (img/mastra-ui.png, in a.shot-frame) carries the evidence, and three keyword bullets carry the idea — runs in the background, on Mastra (a TypeScript AI-agent framework), built as a Mastra workflow so its runs stay predictable.It was titled "An Event Agent harness" with four sentence-long bullets (durable, visible, steerable, plus the Mastra lead). Both went: "harness" is not a word this audience reaches for, and the bullets are keywords now — which is also what paid for the type going 0.4em → 0.6em, since three short lines need far less of the column than four wrapped ones.
A
.src-linkunder the bullets points at mastra.ai. It is the same shared class the contract slide uses for cloudevents.io — 0.5em, accent, external-link icon — and it is sized that way on purpose: these are the "go read more" pointers and the back of the room has to be able to read them. Note.reveal .contract-slide pcarries a:not(.src-link), without which that slide's own paragraph sizing wins on specificity and the two links come out different sizes.The screenshot is a crop, and it had to be.
img/mastra-ui.pngis 1150x1065 — near square — and at 3/4 of the slide's width it would have needed ~820px of height when there are only ~490 below the title. So it was height-bound at 41% of the slide width no matter how wide the column got.img/mastra-ui-wide.pngis a top-anchored crop to 1150x620 (1.85:1), keeping the Mastra header,event-group-analysis,Successand the first rows of the trace timeline; at that ratio the column width binds again and the image reaches 64%. The original is untouched inimg/.sipsonly crops centred, which would have cut the header off, so the crop was done with a stdlib PNG decode (unfilter scanlines, keep the top N, re-emit with filter 0) — no PIL in this repo.The left column is a fixed 300px, not an
fr. The image's intrinsic width makes the right track's min-content huge, so with twofrtracks the bullets collapsed to ~118px..shot-framewas another unused block left in the stylesheets by a deleted slide. Two things it needs here:width: max-contenton the figure, or the image floats in a band of panel colour across the column; and a font-size on.shot-bar, whose dots are sized inemand come out ~25px at the slide's own font size. -
Roadmap — new personas & views: a dev-team view for project-level issues, a customer dashboard, plus a case board, rich statistics & an RCA generator The RAG & AI Agent card is the roadmap's AI entry: deepen the agent's integration with self-improvement, human-in-the-loop feedback, and a RAG over existing events.
There used to be a whole slide behind that card —
.ai-slide"AI that supports the SRE", a five-node RAG flow (new event → retrieve → gather context → suggest → SRE decides) over three cards. It was deleted: section 6 now ends with the Event AI agent slide and the belt slide's zone 4 shows that agent actually running, so it was saying the same thing a third time. Its lead — "only as good as our data; the AI doesn't invent answers, it stands on the clean, deduplicated, enriched event history the architecture consolidates" — is the one argument that went with it and is made nowhere else.Its CSS was left in both stylesheets on purpose (
.rag-flow/.rag-node/.rag-arrow/.ai-cards, plus the now-unreferenced#ic-searchand#ic-sirensprite symbols). Incss/theme-flat.css.rag-nodesits inside shared multi-selector lists alongside live selectors, so stripping it means surgery on rules other slides depend on — and this repo has already had a deleted slide restored as "near-pure reuse" because its CSS was still there. Recover the markup withgit showif it is ever wanted back.