| index fe19780..f716142 100644 |
| --- a/AGENTS.md |
| +++ b/AGENTS.md |
| @@ -119,8 +119,9 @@ seeded on first sign-in — and comes back out as a PDF. |
| `thumbs.go`): every slide measured into a paint list with the same |
| embedded Liberation faces the browser sets it in, written as an SVG, |
| and served as `{surface}/slides/{id}.svg` from all four capabilities. |
| - The editor strip, the presenter's next-slide and the remote are that |
| - picture. |
| + The editor strip and the remote are that picture. The presenter |
| + window is not: it draws live slides (see the last section); only |
| + sessions begun before positions keep the pictures. |
| - **PDF export** (`export.go`, `exports.go`, `pdfcore/`, `core/pdf/`): |
| `POST /d/{sqid}/export` starts a rastrillo job, the status page polls |
| itself (and works with scripts off), and the file comes back from |
| @@ -721,9 +722,11 @@ Docs' AGENTS.md fonts section for the reasoning behind each rule. |
| `data-slides-fonts="pending"`, which `slides.css` answers by hiding |
| every slide, with a 6 s fail-safe), and the gate |
| (`fixtures/fonts-gate.mjs`, a module). The server never renders the |
| - hold. The presenter view and the remote show slides as SVG pictures |
| - and notes in the chrome's face, so they carry no gate and fetch no |
| - font. |
| + hold. The presenter window (`presenter_window.go`) draws live slides |
| + at 1920×1080, scaled, so it takes the gate like the viewer. The |
| + remote, and the presenter view of a session begun before positions, |
| + still show SVG pictures and notes in the chrome's face, so they carry |
| + no gate and fetch no font. |
| - **The gate**: waits for the needed families until 2.5 s from |
| navigation start, commits any family still missing to its system |
| fallback for the visit (it never joins `document.fonts`, so it cannot |
| @@ -854,8 +857,11 @@ Docs' AGENTS.md fonts section for the reasoning behind each rule. |
| - **Slides change in place.** A page load hides its slide until the |
| gate has confirmed the faces — an empty stage between two slides. So |
| the viewer and `?present=1` (`fixtures/viewer-nav.mjs`, in the gate |
| - bundle) and the projector (`static/present.js`: a watcher's links, |
| - the presenter's buttons) fetch the next page, make its families |
| + bundle) and the projector (`static/present.js`: a watcher's links; follow, |
| + remote and sessions begun before positions only. The presenter window |
| + and the slide windows of a positional session are driven by the |
| + `presenter` bundle instead: `presenter-entry.mjs` with `talk-*.mjs` |
| + and `presenter-*.mjs`) fetch the next page, make its families |
| ready, decode its pictures and then swap it in one task, moving the |
| address with `pushState`; Back and Forward do the same. The current |
| slide stays until the next is complete, never a blank. The links and |
| @@ -1067,3 +1073,26 @@ makes unnecessary. Nothing was lost. Nothing about the arrangement would |
| have said so if it had been, and by then the same feature existed twice, |
| once on each side of a rename, because the two sessions had branched |
| from different starting points. |
| + |
| +## Steps, the talk and the presenter's position |
| + |
| +- **The document** says what arrives and what is in the talk: a block's |
| + `step` (a number; 1.5 sits between 1 and 2; none means there when the |
| + slide is) and, on a list, `items: each`; a slide's `talk` (`full` |
| + shows only in the full version, `parked` is left out of the talk); the |
| + deck meta's `arrive`. Core, fixtures and Go move together, with shared |
| + vectors. In `deck`: `presses.go` (`Presses`, `ArrivalOf`, `NoteParts`) |
| + and `talk.go` (`TalkOrder`, `Position`, `Advance`, `SettleNear`, |
| + `ForReaders`); the JS twins are `fixtures/presses.mjs` and `moves.mjs`. |
| +- **Readers.** `ForReaders()` is called at each reader boundary, so a |
| + parked slide reaches no share, follow or presenting reader. `/d/` and |
| + the API stay complete. |
| +- **Presenting** keeps an absolute position on `Presentation` (`SlideID`, |
| + `Step`, `Mode`, `Seq`, `Positional`, `TimerAt`). A press carries an id, |
| + and each window a link id, each with a rising counter |
| + (`presentation_presses`, `presentation_links`), so a repeated or stale |
| + press is answered, never applied twice. `POST /p/{session}/pair` pairs |
| + a phone; `GET /p/{session}/talk` reads the talk's order. |
| +- **The editor** has the Appears row and the box-menu rows, press |
| + numerals, a play-through control, the strip's count, dashed outline |
| + and slim bar, the talk toggles, and Deck settings' "How things arrive". |