# Agent guide: closing-the-agentic-loop A Kody package app that serves one self-contained slide deck. It makes no external requests: no CDNs, remote fonts, or analytics. It declares no credentials, secrets, jobs, or other capabilities; keep it that way so it can stay internet-visible. ## Layout - The deck is [Reveal.js](https://revealjs.com/) 5.2.1, pinned in `package.json` (`devDependencies`, exact version). Don't add a custom slide engine, and don't load Reveal from a CDN. - `app/router.ts`: the app entry (default export `{ fetch }`). It serves `index.html` for every path, plus `/favicon.ico` and `/health` (JSON). - `app/assets.generated.ts` and `dist/index.html`: generated by `npm run build`. Never edit them by hand. Rebuild and commit both after any change under `src/` or `data/`. - `scripts/build.mjs` composes `src/deck.html` with every `src/slides/*.html` (file-name order), renders `data/rungs.json` into `{{RUNGS}}` (names) and `{{RUNGS_NOTES}}` (wording + scores), `data/factory.json` into `{{FACTORY}}` and `{{FACTORY_NOTES}}` (queries), and inlines everything: `vendor:` references are read from `node_modules` (Reveal's CSS, JS and notes plugin), other names from `src/c/`, and every `c/...` file becomes a data URI. It fails if the markup or CSS still points anywhere else. - `src/slides/*.html`: each starts with `
`. The id is the Reveal hash (`#/`), so keep ids stable. Add `class="centered"` to centre the content. Slide CSS lives in a `