← Public packages
@kentcdodds/closing-the-agentic-loop
Closing the Agentic Loop: Kent C. Dodds's talk and workshop deck. Default short talk; ?event=aie-2026 is the AIE hour cut with a Podium QR; ?format=full adds labs.
Files
/* kody.codes look: tokens copied from the kody.codes theme. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: block; src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: block; src: url('fonts/bricolage-grotesque-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: block; src: url('fonts/wix-madefor-text-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: block; src: url('fonts/wix-madefor-text-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
/* kody.codes palette, copied from the kody.codes Reveal deck (PSE): raw light + dark colors. */
--color-primary: oklch(0.54 0.18 145);
--color-primary-hover: oklch(0.48 0.17 145);
--color-on-primary: oklch(1 0 0);
--color-primary-text: oklch(0.455 0.17 145);
--color-background: oklch(0.93 0.004 250);
--color-surface: oklch(0.975 0.002 250);
--color-text: oklch(0.22 0.012 260);
--color-text-muted: oklch(0.44 0.014 260);
--color-border: oklch(0.84 0.008 250);
--color-danger: oklch(0.535 0.19 25);
--lantern-glow: oklch(0.88 0.11 85 / 0.4);
--color-primary-dark: oklch(0.72 0.205 145);
--color-on-primary-dark: oklch(0.2 0.05 148);
--color-background-dark: oklch(0.19 0.008 255);
--color-surface-dark: oklch(0.235 0.01 255);
--color-text-dark: oklch(0.945 0.005 250);
--color-text-muted-dark: oklch(0.72 0.01 255);
--color-border-dark: oklch(0.33 0.01 255);
--lantern-glow-dark: oklch(0.8 0.13 80 / 0.55);
--color-danger-dark: oklch(0.75 0.16 25);
--color-primary-hover-dark: oklch(0.78 0.21 145);
--font-display: 'Bricolage Grotesque', system-ui, sans-serif;
--font-body: 'Wix Madefor Text', system-ui, sans-serif;
--font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
}
/* Semantic tokens per theme (same approach as PSE: html[data-theme], set from prefers-color-scheme). */
:root,
html[data-theme='dark'] {
--kody-page: var(--color-background-dark);
--kody-surface: var(--color-surface-dark);
--kody-ink: var(--color-text-dark);
--kody-body: color-mix(in oklch, var(--color-text-dark) 88%, var(--color-text-muted-dark));
--kody-muted: var(--color-text-muted-dark);
--kody-line: var(--color-border-dark);
--kody-eucalyptus: var(--color-primary-dark);
--kody-eucalyptus-hover: var(--color-primary-hover-dark);
--kody-danger: var(--color-danger-dark);
--kody-lantern: var(--lantern-glow-dark);
--kody-progress-track: color-mix(in oklch, var(--color-text-dark) 16%, transparent);
/* Deck-specific accents (not in PSE), tuned for contrast on each theme. */
--surface-2: oklch(0.27 0.012 255);
--amber: oklch(0.82 0.14 80);
--sky: oklch(0.78 0.11 235);
--green-text: var(--color-primary-dark);
color-scheme: dark;
}
html[data-theme='light'] {
--kody-page: var(--color-background);
--kody-surface: var(--color-surface);
--kody-ink: var(--color-text);
--kody-body: color-mix(in oklch, var(--color-text) 88%, var(--color-text-muted));
--kody-muted: var(--color-text-muted);
--kody-line: var(--color-border);
--kody-eucalyptus: var(--color-primary);
--kody-eucalyptus-hover: var(--color-primary-hover);
--kody-danger: var(--color-danger);
--kody-lantern: var(--lantern-glow);
--kody-progress-track: color-mix(in oklch, var(--color-text) 16%, transparent);
--surface-2: oklch(0.905 0.006 250);
--amber: oklch(0.52 0.13 65);
--sky: oklch(0.48 0.13 245);
--green-text: var(--color-primary-text);
color-scheme: light;
}
/* Short aliases used by the slide CSS. */
:root,
html[data-theme] {
--page: var(--kody-page);
--surface: var(--kody-surface);
--ink: var(--kody-ink);
--body: var(--kody-body);
--muted: var(--kody-muted);
--line: var(--kody-line);
--green: var(--green-text);
--danger: var(--kody-danger);
--lantern: var(--kody-lantern);
}
* { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; }
/* Reveal: page background on the viewport (PSE approach); slides are transparent. The canvas is
1920x1080 (scaled to fit), so sizes here are 1.5x PSE's 1280x720 values. */
html,
body,
.reveal,
html.reveal-viewport,
.reveal-viewport {
background:
radial-gradient(ellipse 52% 48% at 88% 8%, var(--kody-lantern), transparent 62%),
radial-gradient(ellipse 34% 28% at 12% 92%, color-mix(in oklch, var(--kody-eucalyptus) 18%, transparent), transparent 70%),
var(--kody-page);
background-color: var(--kody-page);
}
.reveal { color: var(--kody-ink); font-family: var(--font-body); font-size: 48px; }
.reveal .slide-background, .reveal .slide-backgrounds { background: none; background-color: transparent; }
.reveal .slides { text-align: left; }
.reveal[data-transition-speed='slow'] .slides section { transition-duration: 0.686s; }
.reveal .slides section {
background: none; box-sizing: border-box; flex-direction: column; height: 100%;
padding: 64px 96px 88px;
line-height: 1.3;
}
/* Phones in portrait get Reveal's scroll view, which forces display: block on every slide. */
.reveal-viewport.reveal-scroll .reveal .scroll-page section { display: flex !important; }
.reveal .slides section.centered { justify-content: center; align-items: center; text-align: center; }
.reveal-viewport { --r-controls-spacing: 18px; }
.reveal .controls { color: var(--kody-ink); font-size: 11px; }
.reveal .controls .enabled { opacity: 0.82; }
.reveal .controls .enabled.fragmented,
.reveal:not(.rtl) .controls[data-controls-back-arrows='faded'] .navigate-left.enabled { opacity: 0.45; }
.reveal .controls .enabled:hover,
.reveal .controls .enabled.fragmented:hover,
.reveal:not(.rtl) .controls[data-controls-back-arrows='faded'] .navigate-left.enabled:hover { color: var(--kody-eucalyptus); opacity: 1; }
.reveal .progress { background: var(--kody-progress-track); color: var(--kody-eucalyptus); height: 4px; }
.reveal .slide-number { background: transparent; bottom: 22px; right: 132px; color: var(--kody-muted); font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.reveal .slide-number a { color: inherit; text-decoration: none; }
html[data-event] .reveal .slide-number { right: 220px; }
/* Event Podium QR: fixed to the live slide's bottom-right, no motion. Hidden when the current
slide already shows that same QR (the title's .event-podium). Direct-child footer lines
keep a right inset so they don't run under the dock. */
.event-qr { position: fixed; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 152px; text-decoration: none; pointer-events: auto; animation: none !important; }
.event-qr[hidden] { display: none !important; }
.event-qr-card { background: #fff; padding: 6px; border-radius: 10px; border: 2px solid var(--line); line-height: 0; box-sizing: border-box; }
.event-qr-card img { display: block; width: 136px; height: 136px; }
.event-qr-url { font: 600 11px/1.25 var(--font-mono); color: var(--muted); text-align: center; width: 100%; white-space: pre-line; padding: 1px 0; }
html[data-event] .reveal .slides section > p { margin-right: 200px; }
.reveal a { color: var(--kody-eucalyptus); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-transform: none; text-wrap: balance; }
h1 { font-size: 132px; }
h2 { font-size: 100px; margin-bottom: 44px; }
h3 { font-size: 48px; }
p { margin: 0 0 24px; }
p, li { color: var(--body); }
strong { color: var(--ink); font-weight: 700; }
/* Inline code like PSE: eucalyptus mono text, no box. */
code, .mono { color: var(--green); font-family: var(--font-mono); font-size: 0.86em; }
.muted { color: var(--muted); }
.green { color: var(--green); }
.amber { color: var(--amber); }
/* PSE .eyebrow */
.kicker { color: color-mix(in oklch, var(--muted) 55%, var(--ink)); font-family: var(--font-mono); font-size: 26px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 28px; padding: 36px 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.grow { flex: 1; min-height: 0; }
ul.big { margin: 0; padding: 0; list-style: none; }
ul.big > li { position: relative; padding-left: 56px; margin-bottom: 26px; }
ul.big > li::before { content: ''; position: absolute; left: 6px; top: 0.42em; width: 22px; height: 22px; border-radius: 6px; background: var(--green); }
ul.big > li.warn::before { background: var(--amber); }
ul.big > li.stop::before { background: var(--danger); }
.pill { display: inline-block; font-size: 48px; font-weight: 700; padding: 6px 18px; border-radius: 999px; background: var(--surface-2); border: 2px solid var(--line); }
/* PSE .footnote */
.foot { position: absolute; left: 96px; right: 96px; bottom: 34px; font-family: var(--font-mono); font-size: 44px; letter-spacing: 0.02em; color: color-mix(in oklch, var(--muted) 55%, var(--ink)); }
.mark { position: absolute; right: 96px; top: 72px; width: 72px; height: 72px; }
/* Score chips */
.score { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; border: 2px solid currentColor; white-space: nowrap; }
.score.done { color: var(--green); }
.score.partial { color: var(--amber); }
.score.missing { color: var(--danger); }
.score.unknown { color: var(--sky); }
.score.n\/a, .score.na { color: var(--muted); }
/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { background: var(--surface); border: 2px solid var(--line); border-top: 10px solid var(--green); border-radius: 24px; padding: 30px 34px; }
.pillar .num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--green); }
.pillar .t { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.08; margin-top: 6px; }
/* Q&A cue + break */
.huge { font-family: var(--font-display); font-size: 220px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
/* Audience-first slides: a headline plus up to 3 short lines, all text 44px or larger. */
ul.big { font-size: 66px; }
ul.big > li { margin-bottom: 40px; }
.lead { font-size: 66px; color: var(--body); }
.next { font-size: 56px; color: var(--muted); margin-top: 48px; }
.next strong { color: var(--green); }
.statement { font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1.05; letter-spacing: -0.04em; max-width: 1600px; text-wrap: balance; }
.steps { display: flex; flex-direction: column; gap: 34px; margin-top: 10px; }
.steps .s { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 30px; font-size: 66px; color: var(--ink); }
.steps .s .n { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: var(--page); display: grid; place-items: center; font: 800 44px var(--font-display); }
.steps .arrow { padding-left: 26px; font-size: 48px; line-height: 1; color: var(--muted); }
/* Links to the real PR / package / source. Headlines keep their colour with a quiet underline. */
.reveal a.quiet { color: inherit; text-decoration-color: color-mix(in oklch, currentColor 35%, transparent); }
.reveal a.quiet:hover { text-decoration-color: currentColor; }
.qr-link { display: block; text-decoration: none; }
/* Section openers: a big section number, a short name, an optional one-line subtitle. */
.reveal .slides section.section-slide { justify-content: center; }
.section-slide .sec-num { font-family: var(--font-display); font-weight: 800; font-size: 300px; line-height: 0.9; letter-spacing: -0.05em; color: var(--green); }
.section-slide .sec-rule { width: 220px; height: 12px; border-radius: 6px; background: var(--green); margin: 44px 0 40px; }
.section-slide .sec-name { font-family: var(--font-display); font-weight: 800; font-size: 140px; line-height: 1.02; letter-spacing: -0.04em; color: var(--ink); max-width: 1600px; text-wrap: balance; }
.section-slide .sec-sub { font-size: 60px; color: var(--muted); margin-top: 34px; }
/* Timeline: one set of sizes drives the dots and the rail, so the rail runs through every dot
centre, from the first dot to the last (rows are a fixed --row tall). verify checks it. */
.tl { --time-col: 150px; --dot-col: 64px; --col-gap: 24px; --dot: 34px; --rail: 6px; --row: 76px; --row-gap: 18px;
list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: var(--row-gap); }
.tl::before { content: ''; position: absolute; z-index: 0; width: var(--rail); background: var(--line);
left: calc(var(--time-col) + var(--col-gap) + var(--dot-col) / 2 - var(--rail) / 2);
top: calc(var(--row) / 2); bottom: calc(var(--row) / 2); }
.tl > li { display: grid; grid-template-columns: var(--time-col) var(--dot-col) 1fr; align-items: center; column-gap: var(--col-gap); height: var(--row); margin: 0; font-size: 58px; color: var(--ink); white-space: nowrap; }
.tl .time { font-family: var(--font-display); font-weight: 700; color: var(--muted); text-align: right; font-size: 48px; }
.tl .dot { width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--green); justify-self: center; position: relative; z-index: 1; }
.tl .dot.bad { background: var(--danger); }
.tl .dot.warn { background: var(--amber); }
/* Editable timer: an input that looks exactly like the .huge countdown until it's focused. */
.reveal input.timer { display: block; margin: 0 auto; padding: 0 0.12em; border: 0; background: transparent; color: var(--ink);
font: inherit; font-family: var(--font-display); font-size: 220px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
text-align: center; width: 5.4ch; field-sizing: content; min-width: 3ch; border-radius: 28px; cursor: text;
caret-color: var(--green); outline: 6px solid transparent; outline-offset: 0;
transition: outline-color 120ms, background-color 120ms; }
.reveal input.timer:hover { outline-color: color-mix(in oklab, var(--line) 70%, transparent); }
.reveal input.timer:focus, .reveal input.timer:focus-visible { outline-color: var(--green); background: color-mix(in oklab, var(--green) 8%, transparent); }
.reveal input.timer::selection { background: color-mix(in oklab, var(--green) 30%, transparent); }
.reveal input.timer.invalid { outline-color: var(--danger); text-decoration: underline wavy var(--danger) 5px; text-underline-offset: 18px; }
/* Kody mark: outline koala on light, solid koala on dark (same as kody.codes favicon). */
html[data-theme='dark'] .kody-mark-light,
html[data-theme='light'] .kody-mark-dark,
html:not([data-theme]) .kody-mark-light { display: none !important; }
/* Full-day lab slides (data-format="full"): short steps on the left, a lab countdown on the right. */
.lab-wrap { display: grid; grid-template-columns: 1fr 580px; gap: 64px; flex: 1; min-height: 0; align-items: center; }
ol.do { margin: 0; padding: 0; list-style: none; counter-reset: step; }
ol.do > li { counter-increment: step; position: relative; padding-left: 96px; margin-bottom: 40px; font-size: 60px; line-height: 1.2; color: var(--ink); }
ol.do > li::before { content: counter(step); position: absolute; left: 0; top: 0.02em; width: 70px; height: 70px; border-radius: 50%; background: var(--amber); color: var(--page); display: grid; place-items: center; font: 800 44px var(--font-display); }
ol.do code { font-size: 0.9em; }
.clock { background: var(--surface); border: 2px solid var(--line); border-top: 12px solid var(--amber); border-radius: 28px; padding: 36px 16px 40px; text-align: center; }
.clock .lbl { font: 700 48px var(--font-display); color: var(--muted); margin: 0 0 6px; }
.reveal .clock input.timer { font-size: 164px; }
.lab-tag { color: var(--amber); }
/* FAQ slides (after the final slide): the question, Kent's answer in up to three lines, a way back. */
ul.big.faq { font-size: 62px; }
ul.big.faq > li { margin-bottom: 30px; }
.faq-back { margin: auto 0 0; font: 700 46px var(--font-mono); }
.reveal .faq-back a, .reveal .faq-link a { color: var(--green); }
.faq-link { font: 700 52px var(--font-mono); margin-top: 56px; }