# Changelog

## v0.1.0 (2026-12-02)

**The first release: Macaw's LiveView runtime, on macaw 0.6 and the family's packages** (dco-tek/macaw/macaw#335, #478). Surfaces and pages mounted in a LiveView, each cell's render proven in a process of its own, contained cells, live data through the page's graph, state across processes, the client's announcer, focus and shortcuts, and the same-origin assets and proxy; a page renders complete without a socket.

- The family's packages from Hex (#142, dco-tek/macaw/macaw#478 step 9): macaw `~> 0.6.0`, macaw_base `~> 0.1.1`, macaw_layers `~> 0.6.0`, macaw_component `~> 0.13.0` and macaw_data `~> 0.21.1`, where they were pinned by git; CI fetches nothing with the job's token. The README describes the package for Hex.
- **Breaking: macaw_live is on macaw_base and the new macaw_layers** (#141, #140, dco-tek/macaw/macaw#478 step 3). What every Macaw package shares moved out of macaw_layers into macaw_base, so every fault this project's public functions answer is typed `Macaw.Base.Fault.t()` where it was Macaw.Layers.Fault.t(): `Macaw.Live.mount/3` and its siblings, `Macaw.Live.Supervisor.start_link/1`, `Macaw.Live.Client`, `Macaw.Live.Navigation`, `Macaw.Live.Shortcuts`, `Macaw.Live.Hooks.module/1`, `Macaw.Live.Stream.Frame`, `Macaw.Live.Visit.Budget` and the memory stores among them; the faults themselves are unchanged. The runtime checks an optional callback with `Macaw.Base.Callback.exported?/3` and digests a key with `Macaw.Base.Encoding.digest/1`, where it used Macaw.Layers.Callback.exported?/3 and Macaw.Layers.Document.digest/1, with the same bytes. Base words only the general reasons, so each `!` twin's message passes `Macaw.Layers.Words.words/1` as `words:` and reads exactly as before. macaw_live now names macaw_base (3da126d) and macaw_layers (4fe244f) directly, with macaw at 8f4e57c, macaw_data at 6cd29cb and macaw_component at 4e55777, all by git until the family's release; they all ask for the same sources, so nothing overrides. A guard keeps the old names out of lib/ and test/ (spec/00 §3).
- **The source managers and the clock are macaw_data's** (#138, #137, dco-tek/macaw/macaw#478 decision 6a, dco-tek/macaw/macaw_data#461). Breaking for a host that named them: `Macaw.Live.Manager`, its `Budget`, `Finished` and `Tables`, and `Macaw.Live.Clock` with `.System` and `.Manual` are gone; their places are `Macaw.Data.Manager` and `Macaw.Data.Clock` (a test's `clock:` is `{Macaw.Data.Clock.Manual, pid}`). `Macaw.Live.Supervisor` starts macaw_data's `Macaw.Data.Manager.Supervisor` as its child `<live>.Managers` (`child(live, :managers)`), passing it the host's `notify:` transport, each source's topic on it, `Macaw.Live.Derived.Source.told?/1`, `detectors:` and `memory:`; its `Tables` child is the managers' supervisor's now, and `child(live, :tables)` names it. A change notice is `{:macaw_data, :changed, name, what}` and a manager's message to its readers `{:macaw_data, :source, key, statuses}`. macaw_live keeps the overlay read (`Macaw.Live.Manager.Reader.read/4`) and the page's read (`Macaw.Live.Manager.Read`). macaw_data is pinned by git at 6d45fc3 until its 0.21.0, with macaw at d017d5f and macaw_component at c5b5695 (spec/00, spec/01 §1, §4, §7, spec/03 §2, §7, spec/04).
- **lib/ ships no test code.** The manual clock left with the clock, so `ci/rules_allowlist.exs` is empty and `ci/waits.exs` checks `test/` alone.

- **macaw_data `~> 0.19.0` from Hex** (#136, #135). macaw_live takes macaw_data 0.19.0 from Hex, the source manager release (dco-tek/macaw/macaw_data#436), where it was pinned by git with `override: true`, with macaw (467d0cb, dco-tek/macaw/macaw#472) and macaw_component (f495698, dco-tek/macaw/macaw_component#98) at the commits that ask the same, so nothing overrides.
- **The source manager process bridges nothing macaw_data's manager now owns** (#134, #131, dco-tek/macaw/macaw_data#412, #413, #434). macaw_data is pinned at 46cc388: a pushing source's gap or resolution change is closed by the snapshot read its value plans (`snapshot: true`), which the process runs as any read, so a gap costs one fetch where the process's own snapshot beside it made two; and a reader's `capped` and `reduced_by: :source` are stated by `Macaw.Data.Source.Manager.read/3` from the slot ranges its index keeps, so the process captures nothing of an answer and a window draws `capped` exactly where a slot it reads was. The process publishes only the params its reads ask, defaults filled, which `read/3` doesn't state (spec/03 §2, §4, §8; macaw_data spec/01 §6.4.3, §6.4.4).
- **The weekly stress job runs on an image without `ps`, and every branch pipeline runs its self-test** (#133, #132, dco-tek/macaw/macaw_data#420). `ci/stress.exs`, re-vendored from the family reference, tells a run's pid from `/proc/PID`, else `ps`, else reports that it can't, never crashing; the `stress-self-test` job runs `elixir ci/stress.exs --self-test` on the stress job's image in every branch pipeline.
- The package skeleton: the Mix project depending on macaw and Phoenix LiveView, the family's CI gates vendored with their manifest, `ci/json_edge.exs` with an empty allowlist, the dependency, generic-runtime, not-carried-over and pure-Elixir guards, surfex, and the extla model harness (macaw_live#7).
- The supervisor, the clock, the page and mounting: `Macaw.Live.Supervisor` with its children under the host's name and its options as faults, `Macaw.Live.Clock` with `.System` and `.Manual`, `%Macaw.Live.Page{}` in the socket's private data and `%Macaw.Live.Mounted{}` in its assigns, and `Macaw.Live.mount/3` and `mount!/3` answering every fault at once in the stated order (macaw_live#8).
- Rendering and proof: `Macaw.Live.surface/1` with its `mw-live-<surface>` wrapper, one `Macaw.Live.CellComponent` per cell taking sequence-numbered updates with change tracking passed through, and `Macaw.Live.Proof.pure/4` proving each cell's render in a bounded process before the page renders it; the first render equals `Macaw.Surface.render/3` byte for byte, less the listed additions (macaw_live#9).
- The event path and the host's calls: `"mw-event"` routed by `Macaw.State.instance/1`, read at the page's now, applied, persisted (`Url` by `push_patch`, `Session` handed to the host), and only the affected cells proved and updated, slots whose requests moved fetched in a turn off the page's process; `Macaw.Live.state/2`, `apply/3`, `put_sources/3`, `unmount/2` and `info/1`; the `Macaw.Live.Bench` harness and `mix macaw_live.bench`. spec/00, /01 and /08 are traced, their hint slugs that equaled a section's anchor now ending in `-rule` (macaw_live#10).
- The contained cell, its order and batches: `Macaw.Live.Cell`, a temporary process under `<live>.Cells` per contained cell of a connected mount, its heap limit set first, monitoring its page, driving the value through the contract's transitions in `render/3`'s order with equal inputs not applied, and proving its render after each batch; the page sends it batches with one in flight and the latest of each input waiting, sequences from 1 per start, and takes `{:value, assigns}`, `{:same, assigns}` and `:unchanged`; a contained cell is drawn `loading` until its first answer and `crashed` when it dies; `Macaw.Live.Proof.contained/4` builds and proves a contained value before the socket connects; the extla model of the batch protocol, checked by `mix live.verify` and the suite. macaw_live now depends on macaw_component `~> 0.12.0` and macaw_data `~> 0.18.0` from Hex and macaw by git at `cbafa55`, and renders an affected cell through `Macaw.Surface.cell/4` at that cell's cost (macaw_live#11).
- Crash, heap and liveness: a contained cell that dies is read from its `:DOWN` with its reason as a value (`{:raised, module}`, `:killed`, `:hung`, `{:exit, reason}`), drawn `crashed` at once and started again alone from `init` with its latest inputs after `Macaw.Live.Cell.Backoff`'s delay (100 ms doubling to 10 s, back to 100 ms after 30 s alive) on the page's clock, with no cap and its restarts counted in `info/1`; `Macaw.Live.Cell.limit/3` derives its heap limit from its slots' budgets (1,000,000 words and 4,096 a row, capped by `max_heap:`), a raised limit set at once and a lowered one at the next start; a batch past `cell_timeout:` is killed and recorded `:hung` (macaw_live#12).
- Ticks and server work: a contained value with `tick_interval/1` and `tick/2` answers each batch with its interval, and the page arms its next tick on its clock, never under 16 ms, a due tick riding the next batch as `tick: ms` with at most one waiting; the easing clock (`clock/2`) is given each batch's ms before its inputs; a hook's requests ride a batch after its size and before its tick, their answers pushed as `"mw:answer"` (the wire's reader lands with macaw_live#4); a transition's server work runs in its cell, off the page's process (macaw_live#13).
- The reference grid and the runtime's bounds: `Macaw.Live.Test.Grid` (2,500 keyed items on 50 × 50, each drawn as a binary segment of its own, its legend a part of the value of its own) and `Macaw.Live.Test.Counting` in the suite's support; spec/07 §1's interaction and data moves pinned at 5,000,000 reductions summed over the page and the cell, 250,000 the runtime's own and 8 KB of diff, and 1,250,000 for 480 items; §4's keyed entries; §5's crossings (a 50,000-row delivery under 4,000 words, a turn's answer independent of its rows, the grid's value under 100,000 words whatever its segments' bytes); the bench scenarios of §1, §4 and §5, which `mix macaw_live.bench` runs as the suite's one `:bench` test in the test environment. spec/02 and spec/07 are traced, their hint slugs that equaled a section's anchor now ending in `-rule`, and the selection a cell is handed is read with `Macaw.State.selection/2` (macaw_live#14).
- Readers, monitors and turns: `Macaw.Live.Data` builds each connected surface's readers from `Macaw.Surface.readers/2` into one `Macaw.Data.Monitor` per source the page reads, each reader named `"<instance>/<slot>"`, a state reader delivered from the state and an invalid one drawn `invalid` and asking nothing; a moved request is `Monitor.ask/2`, an added or replaced reader `put_reader/3`, a gone one `remove_reader/2`; a monitor is ticked only when due (a move, a push, a poll every `tick:`, a retry, a sliding window) at the page's monotonic ms and the pulse's now; `Macaw.Live.Turn` runs each tick in a process of its own under `<live>.Tasks`, the page answering events meanwhile, the edits made during it kept and replayed in order onto the monitor it answers, a tick asked meanwhile run once after, a turn past `timeout:` killed with its readers kept, a crashing one leaving the page, and the page's end stopping it; the connected mount waits up to `first_wait:` for its first turns; the extla model of the turn's replay; spec/03's hint slugs that equaled a section's anchor now end in `-rule` (macaw_live#15).
- Pulses and push: `Macaw.Live.Pulse`, the page's pulse as a value, its data marks (a push, a poll or retry due, a sliding window's tick) debounced by `debounce:` into one pulse and an event's run at once; its stages in rank order, each reader asked and each cell rendered at most once per pulse, a cell whose slots were asked rendering once its monitors' turns answer, with its settings and its data together, and an equal delivery, an unchanged derived answer and equal proved assigns each stopping propagation; a push handed to its source's monitor or kept for the turn it runs in, drained once per pulse, a gap fetched once while readers keep their last delivery, and a push of no held subscription dropped; a surface's `derived:` engine (`Macaw.Data.Derived.Engine`) shown its sources' deliveries and run in a turn once none of them is ticking, a failing source keeping its last output and drawing its readers stale; the reference grid's source pushes, so a data move is an increment drained in a turn, its reductions counted with the page's and the cell's (macaw_live#16).
- Pooling, notification, drawn states, first renders and budgets: readers of one source in any surface of a page pool in its monitor, one fetch at the largest budget and each reduced to its own, a reader whose request moves alone leaving its pool and an emptied pool unsubscribed; `Macaw.Live.notify/2` announces a source's change by the host's name, every page reading it refetching its pools once for a burst within the debounce; the `Macaw.Live.Notify` behavior with `Macaw.Live.Notify.Local` (the supervisor's duplicate-key `<live>.Topics`, the default) and `Macaw.Live.Notify.PubSub` (every node of the host's `Phoenix.PubSub`), topics prefixed by the supervisor's name, a page subscribed at mount and unsubscribed at unmount; drawn states through `Macaw.Surface.drawn/2` as `fetch/2` draws them, the last delivery kept while `loading`, `down` or `stale`, a drawn-state change alone sending only its cell; the connected mount waits up to `first_wait:`, the socketless one `timeout:`; the page's measured-size call (the wire's, macaw_live#4) recomputes a cell's budgets at its measured size, clamped to the ceiling, a wider one asked of its monitor, a narrower one reduced from what it holds, a contained cell's heap limit raised at once (macaw_live#17).
- Per-event cost gates: on counting surfaces of 10, 40 and 400 cells, an event renders and proves exactly the cell it affects and the diff holds that one component, a cell with a fetched slot rendering once its fetch answers; a pulse re-delivering equal tables proves, batches and sends nothing, and an idle page ticks no monitor; the runtime's own work per event (about 4,100 reductions) is the same on 10 and 400 cells, under spec/07 §6's 60,000 and 1.1 ratio, now that an event is read for its routed cell alone; the bench reports spec/07 §2 and §6 (macaw_live#18).
- Shared binaries and a large value's crossing: one delivery pooled for one or eight readers of a page is one set of binaries in the page and every cell, each cell's words the same for every reader count and growing with the rows by its chunks' references alone; the page grows by one table's chunk references per reader, the monitor's copy flattened by its turn's answer (dco-tek/macaw/macaw_data#323); a 50,000-item grid value crosses 1,221,322 words and 3,993 reductions of its cell's send, pinned at 1,350,000 and 6,000 in spec/07 §5, a measurement over the 2,500-item share with no projection added; the bench's boundary scenario reports both (macaw_live#21).
- The live module, the hooks module and the bus: `priv/static/macaw_live/live.js`, one ES module importing only macaw_component's client module, calling `bus()` and `findAnnouncer()` at load and appending the runtime's `mw-live` announcing element, exporting `hooks` (`MacawSurface`), `dom` and the frozen `names`; `Macaw.Live.Hooks.module/1` and `module!/1` generate the hooks module from a registry, one default-export import per hook by its digest URL in name order, faulting on duplicate and reserved names; `priv` ships with the package and `:crypto` is a listed application; spec/05 is traced, its hint slugs now ending in `-rule`; the browser stays untested until the example app's CI, so the tests read the JavaScript as text (macaw_live#22).
- The announcer and focus: `Macaw.Live.announce/3` builds a request with `Macaw.Component.Announcement.new/2` against the instance's declarations and pushes it as `"mw:announce"`, or answers the faults with nothing pushed, the runtime's own `mw-live` element declaring `page` and `error`; `Macaw.Live.focus/2` pushes `"mw:focus"`; `Macaw.Live.Client` holds both; the live module dispatches a server announcement on the instance's element through the client module's queue, restores focus by id after a patch only when it fell to the body (`dom`'s `onPatchStart` and `onPatchEnd`), and on a live navigation focuses the new `<h1>`, unless focus is inside a persistent region, and announces the title (macaw_live#23).
- The page-shortcut registry: `Macaw.Live.Shortcuts.build/1` lists every mounted cell's declared shortcuts as `"<instance>.<action>"` with the runtime's `mw-live.help` on `?`, two on one key across the page refusing the mount with `{:duplicate_shortcut, key, ids}`; `active/2`, `off/2` and `change/4` apply the viewer's `shortcuts` preference to single-character entries, refusing a remap onto a key in use; `<Macaw.Live.shortcuts macaw={@macaw} />` renders the dialog as data attributes with forms sending `"mw-shortcut"`, no JSON; `%Macaw.Live.Mounted{}` carries its listing; the live module dispatches a matched key as `macaw:shortcut` on the instance's element, never from an editable field or under a modifier other than Shift, and opens the dialog on `?` (macaw_live#24).
- The runtime's wire events and what the client never does: `MacawSurface` measures every `.mw-cell` of its surface with one `ResizeObserver`, pushing sizes that moved a pixel once they held 150 ms, with the root font size, as `"mw-size"`, and takes a component hook's `macaw:size` for its instance in place of its own measurement; `Macaw.Live.Client.sizes/2`, `request/2` and `shortcut/1` read `"mw-size"`, `"mw-request"` and `"mw-shortcut"` as untrusted input, dropping what they can't read; a measured size sets the cell's context `size`, `measured: true`, its reported `ratio` (the context carries one in macaw_component 0.12) and `root_font_size`, recomputes its budgets and is a pure cell's re-render or a contained cell's `size/2`; a request reaches the contained cell and its answer is pushed as `"mw:answer"`; a shortcut change updates the viewer's preference and the dialog; a request's payload is held to the event wire's 8 KiB, counted without writing JSON; spec/07 §7's pointer, idle-page and mid-turn bounds are asserted and the bench reports an idle surface (macaw_live#25).
- Generated stylesheets: `Macaw.Live.Assets.Store`, a behavior over an argument, with `.Memory` (an ETS table `<live>.Assets` the supervisor owns, 4,096 entries, the oldest dropped), its argument kept in the supervisor's registry meta; `Macaw.Live.Assets.put_stylesheet/2` and `stylesheet/2`; every mount registers its surface's layout sheet, its theme's (`Macaw.Layers.Theme.Sheet.rule/1`) and each cell's component sheet (a module's `stylesheet/0`, as macaw's built-ins ship theirs) and declared generated sheets before its first render; `Macaw.Live.Assets.Plug` serves `GET /assets/<hex>.css` as immutable `text/css`, `404` for every other name or shape below `/assets`; `<Macaw.Live.stylesheets macaw={@macaw} />` links the drawn-state sheet, the layouts', the themes' and the cells' once each in order, from `%Macaw.Live.Mounted{}`'s `sheets`; spec/06's hint slugs now end in `-rule` (macaw_live#26).
- Static files: `Macaw.Live.Assets.url/2` (`/macaw/static/<app>/<path>?v=<hex>`, the file's digest) and `index/1`, every enabled component's declared `hooks:` and `assets:` read once and digested; `Macaw.Live.Assets.Plug` builds its index at start and serves each file with its extension's type, `nosniff` and an immutable cache, `404` for anything below `/macaw/static` not in the index (an undeclared file, a disabled package's, a traversal), and serves the live module, the generated hooks module, macaw_component's client module and drawn-state sheet at their fixed URLs with `no-cache`; `Macaw.Live.Hooks` takes its hook URLs from `url/2` (macaw_live#27).
- The asset proxy: `Macaw.Live.Proxy.config/1` and `config!/1` (closed by default; exact, lower-cased `https` origins each with the host's own `headers:`; `at:`, `max_bytes:`, `timeout:` and `fetcher:`; every fault at once); every route a mounted cell declares registered before its render under its component, name and digest (`Macaw.Live.Assets.put_route/3`, `route/4`), so two placements of one route name never collide and a request only looks one up; `Macaw.Live.Proxy.Plug` answering `<at>/<component>/<route>/<digest>?<values>` by `Proxy.request/4`'s steps (`405`, `404`, `400`, `403`, each a value), the template filled with each value percent-encoded whole, the upstream request built fresh (`user-agent: macaw-live-proxy` and the origin's headers, nothing of the viewer's), and `Proxy.answer/4` (a declared type within the cap is `200` with `nosniff`, `default-src 'none'; sandbox` and the upstream's freshness, `Proxy.freshness/1`; anything else, redirects among them, `502` with no body; no upstream header passed); the `Macaw.Live.Proxy.Fetcher` behavior and `.Httpc`, the default (macaw_live#28).
- The proxy's cache and default fetcher, and the strict policy: `Macaw.Live.Proxy.Cache`, a behavior over an argument, with `.Memory` (`<live>.ProxyCache`, the supervisor's seventh child, 10,000 entries and 256 MiB, least recently used dropped); the proxy answers a fresh entry of the filled URL without a fetch, its `max-age` the seconds left on its `clock:` (a new `Proxy.config/1` option, the system clock by default), and stores only what the upstream marks fresh (`s-maxage`, `max-age`, `Expires` less `Date`), never `no-store`, `private` or `no-cache`; `Macaw.Live.Proxy.Fetcher.Httpc` is tested against a local TLS server (peer and hostname verified, no redirect followed, the cap and timeout kept, no cookie kept); the strict policy is held by every built-in component, the reference grid and the asset fixtures, whose markup carries no style attribute or element or inline script and names only paths the runtime's plugs answer; spec/01 §1 lists the cache's process among the supervisor's children; spec/06 is traced (macaw_live#29).
- The edge protocol and cross-page pools: `Macaw.Live.Edge`, an owner's sequence publishing only the names that changed, and `Macaw.Live.Edge.Mirror` applying the next publication, ignoring a repeat, rejoining whole on a gap or the owner's `:DOWN`, and landing state values through `Macaw.State.put/2` with refused ones dropped and kept; a restarted owner's sequence starts past its predecessor's (now in spec/04 §1); calls to an owner answer `{:error, {:down, reason}}` or `{:error, :timeout}`, never an exit; the extla model of the protocol, checked by `mix live.verify` and the suite. `Macaw.Live.Pool` fetches a viewer-independent request once, with the anonymous viewer, at the largest budget of every page joined, keyed by source name, source digest and request digest without viewer, budget and reducer (a sliding window by its span), registered through `owners:` (now in the registry's meta) under `<live>.Owners`, broadcasting each changed delivery once on its topic for each page to reduce to its readers, caught up by `current/1`, lingering 5,000 ms, and rejoined after a crash. macaw's pin moves to its main (`3273777`), and an event is read from the whole validated surface by its event index (macaw#354). spec/04's hint slugs now end in `-rule` and spec/04 is traced (macaw_live#30).
- The `:shared` owner: `Macaw.Live.Shared`, one per surface instance keyed by its name, the env's `shared_key:` and the validated surface's digest, started under `<live>.Owners` through `owners:` by the first connected page and found by the rest; a viewer puts its values into its state before its first render (a render before the socket connects reads a running owner's values and starts nothing), applies each event to its own scopes and sends it to the owner, which applies events in arrival order with `scopes: [:shared]` and publishes what changed, so no viewer applies a `:shared` write itself; a publication lands through `Macaw.State.put/2` as a rank-0 mark of a pulse run at once, a gap or the owner's `:DOWN` rejoined whole; refused events reported in the owner's `info/1`, values a mirror dropped in the page's (`dropped`, now in spec/01 §6); the owner lingers 60,000 ms after its last viewer and a crashed one is restarted at its initial values and rejoined (macaw_live#31).
- The binary stream: `Macaw.Live.Stream`, one Phoenix channel per page beside its LiveView (a host declares `channel "mw:*", Macaw.Live.Stream` in its socket), joined by `MacawSurface` with the endpoint-signed token each connected wrapper renders (`data-mw-channel`, `data-mw-channel-token`), refusing a forged token, another topic or an ended page and ending with its page; the seam a contained value hands its drawing through, an optional `segments/1` answering `{token, [{key, token, iodata}]}` read by `Macaw.Live.Stream.segments/2` in the cell's process; the page carries each changed segment as a binary frame (`Macaw.Live.Stream.Frame`: instance, token, key, sequence and length, then the raw bytes) once its channel is joined and the cell has drawn, else as base64 in its markup entry, the cell's stream element rendered by `Macaw.Live.CellComponent` as a keyed comprehension of keys and tokens; the first drawing after a mount or restart, every drawing with no channel and a lost channel stay base64; a lost frame is asked for again by key as `"mw-request"` under the runtime's own `"mw:segments"`, re-sent as a frame or rendered base64 in place; the live module receives frames from an `ArrayBuffer`, hands a drawing to its component's hook as `macaw:stream` only once complete, drops a superseded token and asks after 250 ms; the suite's reference canvas is the reference streaming component, and spec/07 §9 pins a 2,500-item move's wire bytes at 70–80% of base64 (measured 76%) and the stream's carry under a tenth of the encode it saves; spec/05 §9 and /07 §9 are new, /00 §5 lists `segments/1` (macaw_live#35).
- Only the socketless and live renders carry a contained value's stream element (spec/05 §9.1): a neutral or print render is static, so it carries neither the element nor a drawing token, as macaw_component 02 §3 requires; the reference canvas renders its own stream in `:socketless` alone (macaw_live#45).
- The scopes past `:shared` (spec/04 §5): `Macaw.Live.Visit`, one per transport registered as `{:visit, transport_pid}` and ending with it, holds a visit's `:session` state across live navigation, applies a page's forwarded event with `scopes: [:session]` (a page forwards an event whose cell's actions set a `:session` name, whatever its local copy holds, so a write is never lost to a stale copy and a surface-only event never crosses processes), publishes to every joined page directly and writes each change through `session_persistence:`; the page applies `Macaw.Live.Scopes.held(:page)` (`:surface`, `:page`, `:region`, `:viewer`), restores and writes `:viewer` state through `viewer_persistence:`, names `page:` and `viewer_id:` as the state's instances, and, holding `:page` state, registers as `{:page, transport_pid}` and owns its `:page` edge, which a region joins with `Macaw.Live.Scopes.join/5` and writes through `forward/4`; two surfaces of a page declaring one `:page` or `:viewer` name hold one value; `persistence:` no longer carries `:session` or `:viewer` state, and spec/01 §2's env table lists the new keys. Measured 2026-11-18 and pinned: a surface-only event costs the page 4,300 reductions and the visit none; a session write 1,360 at the page, 3,650 for its landing and 750 at the visit. macaw is pinned at `7f3c9c4` (macaw#365). A persistent region's own process and its `:region` edge wait on macaw's templates (macaw_live#33) (macaw_live#32).
- Persistent regions, exports across processes and no cycles (spec/04 §2, §3, §6, §7): `Macaw.Live.mount_page/3` validates a page whole with `Macaw.Page.validate/3`, so a cycle, one through a persistent region among them, is refused at mount naming it, registers the page by its transport and mounts the surfaces of its other regions in its own process; `Macaw.Live.Region`, a sticky LiveView rendered by `Macaw.Live.Region.live_render/2`, registers as `{:region, transport_pid, name}`, asks the page it finds by transport for its content, holds its own `%Macaw.Live.Page{}` and its `:region` state, joins the page's `:page` edge and forwards its `:page` writes, and on a live navigation keeps its cells, their processes and values, follows `Macaw.Region.kept/2` with `Macaw.State.follow/3` and joins the next page, a refill unmounting what left and starting what returns from its kept state; only exports cross processes, each holder owning one edge of the exports another holder's mirrors read, carried by messages and landed with `Macaw.State.put/2`, an export read in its own process put into its mirror directly, and an event that moves no export sending nothing; `Macaw.Live.mount/3` takes a validated surface; macaw pinned at cb9e794 for its pages, templates, exports and page DAG (macaw#366-#368) (macaw_live#33).
- The default fetcher's transport (spec/06 §1.6): `Macaw.Live.Proxy.Fetcher.Httpc` performs its I/O through `transport:` in its argument, a `Macaw.Live.Proxy.Fetcher.Httpc.Transport` (`request/4` and `cancel/2`, OTP's `:httpc` by default as `.Inets`), so its test drives the peer verification options, no redirect, the exact headers, no cookie, the byte cap and the timeout over a recording transport with no socket opened; the real TLS check is the opt-in `:tls` test (macaw_live#49).
- Pages, containers and navigation (spec/01 §8, §9): `Macaw.Live.mount_page/3` mounts every surface of its regions, panes among them, in page order (`Macaw.Page.surfaces/1`), and a persistent region mounts its content's panes the same way; a pane its container doesn't show (`Macaw.Container.shown/3`) is mounted closed, its state held, its edges joined, its exports published and its derived sources run, with no cell, reader, component or process, and a pulse rendering a container first opens each pane it now shows (built as a mount builds a surface) and closes each it no longer shows, keeping its state; `Macaw.Live.CellComponent` renders a container with each shown pane in place of the marker its markup is handed, one component per pane cell, and `info/1` reports each surface's `shown` and `navigation`. `Macaw.Live.Navigation`, the behavior a `navigate` step goes to after its event's renders, with `Macaw.Live.Navigation.Message` sending `{:macaw_live, :navigate, target, params}` by default, a persistent region's steps sent on to its page, a behavior's or `Macaw.Page.steps/2`'s faults leaving the page and reported, and `follow/3` answering a step's URL and whether it is live (the target's plan equal to the page's, macaw#130) or a full load. Measured 2026-11-18 and pinned, each counted on its own path: opening a pane of three cells, one contained, costs the runtime 15,100 reductions; a live navigation 4,240 from the pick to the step sent, and `follow/3` to another page 31,500, that page validated for its plan. macaw is pinned at `ece289d` (macaw#369) (macaw_live#34).
- Session forwarding through the core's answer (spec/04 §5): the page decides which of an event's writes to forward, `:session` to the visit and a region's `:page` to the page, with `Macaw.State.writes/2`, never reading `Macaw.State`'s `cells` field; `selection` and `window` need no check of their own, since both are `:surface`'s and a surface can't declare either. macaw is pinned at `cf21efc` (macaw#397). Measured 2026-11-18 on the handler's path (`Work.gate`): a session write costs the page 1,210 reductions, 1,225 before (macaw_live#59).
- Each page validated once (spec/01 §9): `Macaw.Live.validate_pages/1` validates the host's pages at boot or load, each against the others as its targets, answering every page's faults at once by name; `mount_page/3`'s `pages:` takes its answer, refusing anything else as `{[:pages, name], {:type, :validated_page}}`; `Macaw.Live.Navigation.follow/3` reads the target's validated plan and checks only its params, never validating the target. Measured 2026-11-18 with `Work.gate`: `follow/3` cost 31,470 reductions, 31,200 of them the target's validation (its four surfaces 22,250, its template stack 3,700, its graph, exports and fills the rest), and now costs 260 for a target of one surface or of forty, pinned at 600 (macaw_live#60).
- The socketless first render fills mirrors (spec/01 §8): before the socket connects, `mount_page/3` builds each surface's state as its mount does, with what persistence restores at mount, runs the page's pulse once over them with `Macaw.Page.Pulse.new/3` (a persistent region's surfaces at their initial values), and builds each surface from the state it answers, so every mirror holds its export's value for bots, visitors with no script and the first paint; the connected mount is unchanged. Measured 2026-11-18 with `Work.gate`: the pulse costs 610 reductions over the fixture page's four surfaces (macaw_live#61).
- A `:page` write's fan-out by the page DAG's index: `Macaw.Live.Scopes.put/3` and the page's own spread find the surfaces sharing a `:page` state through macaw's `Macaw.Page.Graph.sharing/2` (macaw#416, #426) in place of a walk of every surface, the page's `:page` owner taking the graph (`Scopes.new/3`'s `graph:`) and `Scopes.sharers/3` reading it; a surface `mount/3` mounts outside the page's DAG is held aside and put every write. A `:page` write on a page of 5 surfaces and of 50 costs the handler 9,821 reductions both, where the walk cost 10,413 and 26,591. macaw's pin moves cf21efc → dc2edc1 (its second performance review, with the pulse learning what ran from the engine, macaw#433), macaw_component to the git commit macaw pins and macaw_data to 7a43597, past macaw's, whose identity index is built lazily off the heap (macaw_data#373), so a turn's copy of a 50,000-row monitor is 8,243 words against 2,558 at 500; neither of its two shape changes (`Macaw.Surface.legal/2`'s `MapSet`, a validated cell's `stack`) is read here,, macaw_live never calls `Macaw.Page.Pulse.apply/4`, so no write fans out twice, and since macaw#400 every surface holds the viewer's preferences at `:session` without a viewer, so each connected surface joins its visit; and every render, the cell component's and a contained cell's proof, carries the seventh assign `prepared` (macaw#431) (macaw_live#62).
- The markup proved is the markup placed (spec/01 §3.2, §3.3): `Macaw.Live.Proof.render/3` is a proof's work, answering what it rendered (`t:Macaw.Live.Proof.placed/0`): a safe value written out to one binary, or a HEEx render's `%Phoenix.LiveView.Rendered{}` as it is, its change tracking kept. A pure proof answers that and never the assigns, the page keeps it on the cell (`placed`), and `Macaw.Live.CellComponent` places it instead of calling the component's render again, so a changed pure cell renders once; a socketless contained proof's markup is placed too, and a connected contained cell's component still renders its process's proved value with change tracking. `pure/4` answers `{:ok, placed}` and `contained/4` `{:ok, value, placed}`. Measured on the 1,000-row table's live change (the render profiling harness over macaw 62c70ad, Phoenix's own `Diff.render/4`, median reductions): 1,322,121 before (the proof 430,415, the component's second render and diff 431,404, Jason's encode 460,302) and about 915,000 after (the proof 454,563, writing the markup to one binary its extra 24,000; placing and diffing it 171; the encode unchanged), 31% less, the wire the same 450,172 bytes; the proof's answer copies 11 words, not the assigns' 3,739. A keyed HEEx table of 1,000 rows with one row changed costs as before (the proof about 270,000, LiveView's tracked evaluation of the changed entry 46,368, 72 bytes): evaluating it in the proof into a tree of values instead was measured and refused, its proof 16% dearer and the tree about 420,000 words copied into the page and again through the update (macaw_live#67).
- The wire encoded with OTP's `:json` (spec/07 §10): Elixir's `JSON` has the three functions Phoenix asks of `:phoenix, :json_library`, so it needs no adapter, and `config :phoenix, :json_library, JSON` is the recommended setting for every host, documented in `Macaw.Live`; the test host sets it, `Macaw.Live.info/1` reports `json_library` (`Phoenix.json_library/0`) so a host on Jason sees it, and the harness's new encode scenario (the `big_table` fixture, a sort re-rendering 1,000 rows) reports the diff's encode under the configured library and under Jason. Measured in the harness: Jason 378,438 reductions before, `JSON` 98,183 after (26%), for the same 368,307 bytes, decoding equal; in the render profiling on the 450,292-byte diff, 460,559 against 104,093. Jason is a dev and test dependency, for the comparison (macaw_live#68).
- The render memo (spec/01 §3.4): `Macaw.Live.Renders`, a behavior over an argument chosen by the supervisor's new `renders:` option, its default `Macaw.Live.Renders.Memory` an ETS table under `<live>.Renders` holding at most 10,000 renders and 256 MiB of markup, the oldest dropped, a read sending nothing. Before proving a pure cell whose assigns moved, the page looks up its key, `Macaw.Live.Renders.key/4`: the component's module and kind, its assigns with each delivery's table replaced by its chunks' `{id, version}` and runs (a version is the chunk's content digest), and the viewer for a cell reading a source that isn't viewer-independent; a hit is placed unproved, and a proved safe render is put. A table with a chunk of no version leaves its cell unkeyed. Keyed on the chunks' existing ids and versions; macaw_data#377's `write_seq` and macaw#108's routing versions come later through their releases. Measured on the 1,000-row table (render profiling harness over macaw 62c70ad): the key costs 60 reductions, a hit 20 and a put 27, against a proof of 454,563, so 100 viewers rendering one change at one instant spend 462,570 reductions on proofs and the memo where they spent 45,456,300 (1%). `now` is in the key, so viewers whose pages pulse at different instants each still prove (macaw_live#70). Row memoization for keyed-row tables waits for macaw#434, and shared encoded fragments for a LiveView serializer path (#65) (macaw_live#69).
- Source managers (spec/03 §2, dco-tek/macaw/macaw#108): `Macaw.Live.Manager`, one process per source per host (per viewer for a source that isn't `viewer_independent`), keyed by the source's name, its entry's digest, what every read asks (`params`, `as_of`) and the viewer, runs macaw_data's `Macaw.Data.Source.Manager` value and replaces the page's `Macaw.Data.Monitor`s and the per-request `Macaw.Live.Pool` (removed, with `Page.Pools`). Started under `<live>.Owners` on first subscription and registered in the supervisor's own `Registry` with its ETS table (managers are per node), it describes and subscribes its source and makes each read its readers' windows lack in a turn under `<live>.Tasks` bounded by `timeout:`, a failed one retried after `tick:` doubled up to 30 s; drains a burst of pushes once, polls a source that doesn't push every `tick:` (its open chunk and later), applies a change notice of its name, and lingers 5 s after its last reader. It publishes each change in its table (chunks under `{id, write_seq}`, then the index, held slots, status and served facts as one object, then the superseded versions deleted) and tells each page only the readers a change concerns; `Macaw.Live.Manager.Reader` reads a window from the table alone, never calling the manager, and the supervisor's new ninth child, `<live>.Tables`, is every table's heir, so no reader reads a deleted table. Pages subscribe their readers' windows (`Macaw.Live.Data`) and read and finish them in read turns off the page's process (Page.Reads); a reader whose order, budget or reducer moves reads nothing from its source. `Macaw.Live.Reader` implements macaw's `Macaw.Surface.Reader` (macaw#443) over the managers, and the socketless render reads through it, so its connected mount finds the managers warm. Bridges until macaw_data carries them: a source's served cap, own reduction and params (macaw_data#412), and a snapshot fetched for a pushing source's gap (macaw_data#413). Behavior changes: a budget never refetches; a runtime-reduced window draws `capped`; the connected mount after a socketless render is live at once; a page arms no timer but its slide. Measured 2026-11-19 in spec/07 §11's scenario (a 1,000,000-row polled series, 10 pages, 3 overlapping sliding windows) against origin/main's pools: adapter calls 3 → 1 a poll, rows read 16,203 → 2–4, the shared processes' reductions 91,447–123,678 → 37,063–41,664, the pages' 113,488–119,715 → 196,224–210,719, the node's 6.3–6.6 M → 19.7–30.4 M (thirty readers finishing their windows where three pools did, #76's to share), a page's memory 231,192 → 230,856 bytes. The macaw pin moves to d969343 (`Macaw.Surface.Reader`; its live table drawing a row range, macaw#440, so the 1,000-row sort fixture's cell is sized for 32 px rows) and macaw_data's to c12464c (macaw_live#74).
- Pages hold no chunks (spec/03 §2.2, dco-tek/macaw/macaw#108 "Readers hold no chunks"): a source's rows are held once, in its manager's table. A page's read turn answers each reader's read, `Macaw.Live.Manager.Read` (the manager and request it was read with, its clamp, the status, the slot's drawn state and its chunk signature: ids, content versions and runs, size, sort and served facts), and drops the delivery with the turn; the page's `reads` and every cell's entry hold reads, so change detection and the render memo (keyed by a read's signature) compare reads, never rows. A pure cell's proof resolves its reads from the tables in its own process, a window moved since its read rendered as published now and never memoized, one no longer held drawn `loading`; a contained cell's process resolves its batch's reads before folding them and collects its heap after, and a restarted one reads its managers' current versions. A derived engine's readers keep their deliveries until derived sources are managed. `Macaw.Live`'s docs give hosts LiveView's `hibernate_after`. Measured 2026-11-19 in spec/07 §11's scenario against #74: a page's referenced binary bytes 52,726–52,747 → 4,739–4,762 (none a chunk), its process memory 230,856–230,968 → 143,184–230,968 bytes; the node's reductions a poll 16.8–29.1 M → 34.6–46.2 M, every proof reading its window again (#76's to share), the pages' 190,172–198,992 → 172,130–185,095. In spec/07 §5's boundary scenario a page holds 31,563 and 32,421 words at one reader (500 and 50,000 rows) where it held 31,819 and 37,159, and 36,302 and 38,084 at eight where it held 37,132 and 48,898; no page or cell references the window's 1,625,000 bytes (macaw_live#75).
- Dependencies past their advisories: phoenix 1.8.16 → 1.8.17 (EEF-CVE-2026-128361, EEF-CVE-2026-129344) and phoenix_live_view 1.2.13 → 1.2.15 (EEF-CVE-2026-126334), which the `audit` job refused on every pipeline; macaw_live uses no `live_session` `on_mount` hook, so the LiveView one bears on hosts only (macaw_live#86).
- Identical asks finished once (spec/03 §2.3, dco-tek/macaw/macaw#108 "Reader workers"): `Macaw.Live.Manager.Finished` keeps a finished window in its manager's table under its ask (the request as finishing reads it) and its inputs (the `{id, write_seq}` of every published chunk it reads, with the served facts). The first asker, a read turn, a proof or a contained cell, claims it with `insert_new`, finishes it in its own process and answers every asker waiting; the others read the entry, so a proof resolves the window its read turn finished instead of finishing it again. The manager deletes the entries whose inputs a publication superseded; its table is `:public` for the finished entries, and `info/1` reports `finished` (asks finished, the reductions they took). Measured in spec/07 §11's scenario (a poll; before #74: pools; after #75: managers with every reader finishing): node reductions **6.3–6.6 M (pools) / 33.5–48.4 M (#75) → 1.87–2.38 M**, finishes **30 reads and 30 resolves → 3–4** (1.56–2.05 M reductions), pages' reductions 172,919–191,931 → 171,203–189,775 (113,488–119,715 with pools), the managers' 34,417–37,589 → 35,779–39,295; adapter calls 1 and rows 2–6 a poll (3 and 16,203 with pools) and a page's referenced binaries 4,710–4,769 bytes (53 KB with pools), unchanged (macaw_live#76).
- Change notices routed by what they name, and detectors beside managers (spec/03 §7, §7.1, dco-tek/macaw/macaw#108): `Macaw.Live.notify/3` takes a change notice's `what` (`{:range, from, to}`, `{:identities, ids}` or `:all`, the default), validated by `Change.new/2`, and each manager of the name applies it as `Source.Manager.notify/2`, reading exactly what it names once a burst; the topic's message is `{:macaw_live, :changed, name, what}`. The supervisor's `detectors:` option names a source's `Macaw.Data.Source.Detector` (`{module, opts}` or `{module, opts, every: ms}`), made once the source is described and run in the manager's turns over its held slots every `every:`; a source a detector watches is never polled. Measured in spec/07 §11's scenario, which has no detector: node reductions a poll 1.86–2.35 M, finishes 3–4, unchanged (macaw_live#77).
- The visit's event budget (spec/01 §5.1, macaw#446 need 7): `Macaw.Live.Visit.Budget`, a token bucket in integer milli-events kept in the page's `%Macaw.Live.Page{}` and read on the page's clock (`Macaw.Live.Clock.monotonic_ms/1`), spent once per client event the runtime acts on (`"mw-event"`, `"mw-request"`, `"mw-size"`, `"mw-shortcut"`) before it is read; the host sets it with the new `event_budget:` env key, `[per_second: 20, burst: 40]` unless given or `:unlimited`, judged with mount's other keys; past it an event is dropped, never a crash, its fault `{[:event], {:over_budget, %{per_second:, burst:}}}` counted and reported in `Macaw.Live.info/1`'s new `budget`, and `%Macaw.Live.Mounted{}`'s new `limited` turns true until an event is admitted again. Measured 2026-11-19 and pinned: a dropped event costs the handler 40 reductions whatever was dropped before it, an admitted one 35 more than under `:unlimited` (macaw_live#81).
- A host memory budget for its managers (spec/03 §2.4, dco-tek/macaw/macaw#108 "Memory"): the supervisor's `memory:` option; each manager puts its chunks' bytes in the budget table (`Macaw.Live.Manager.Budget`) after a publication and, with the host over budget, evicts down to its share (the budget in proportion to what it holds) with `Source.Manager.evict/2`, never a covered or open chunk, then collects its heap in a message of its own; the one that finds the host over tells the others. `Manager.info/2` reports its budget and share; `Macaw.Live.Manager.memory/1` the host's budget, each manager's bytes, the BEAM's binary memory and the ten processes holding the most of it. Measured in spec/07 §11's scenario, which sets no budget: unchanged, 1.92–2.38 M node reductions a poll (macaw_live#79).
- Live writes to a `values_from` state are checked against the data (spec/01 §5.2): before it applies an event, the page reads the current legal values of the `values_from` states the event's actions write (`Macaw.State.writes/2`) with `Macaw.Surface.legal/3` and those `names:` (macaw#456), reading no field of macaw's validated surface, one lookup per affected source and none for a state the event doesn't write, a written state `legal/3` answered no entry for kept among its surface's `plain` names and never asked again (an internal event in the region cost test 2,282 → 1,990 reductions, its bound 2,500 → 2,200), and applies with `legal:`, so a value the data holds is applied and one it doesn't is refused `{:not_allowed, value}`, where every such write was refused `{:unchecked, :values_from}` (macaw#399). The values travel with the event to the owners of the scopes the page doesn't hold: `Macaw.Live.Shared.apply/3`, `Macaw.Live.Visit.apply/4`, `Macaw.Live.Scopes.forward/5` and `apply/4`, each taking `legal`. macaw's pin moves d969343 → 1cc6d83, macaw's main with `legal/3` (macaw#458), which also brings the declared view controls (macaw#460), phoenix 1.8.17 (macaw#461), the root guard (macaw#447), the page document shown whole (macaw#454), the reset action (macaw#455), the viewer's theme (macaw#457) and the data flow as nodes and edges (macaw#459) (macaw_live#82).
- Declared view controls offer the data's values live (spec/01 §5.3, macaw#452): a control cell (`macaw.sort`, `macaw.filter`, `macaw.theme_switch`) offering a `values_from` state is handed its current legal values as `Macaw.Surface.cell/4`'s `legal:`, read with `Macaw.Surface.legal/3` and `names:` the rendered controls offer (the validated surface's `offered` among each control's `choices`), where every such control drew `loading`. Once a turn: the pulse hands the event's write check's values on to its render, which reads only the offered names they lack, one lookup for all its controls; a mount, a delivery and an edge read once for theirs. A delivery of a source an offered state reads renders its controls again with their values read anew. A surface whose controls offer no `values_from` state looks nothing up: its reads for controls cost 13 and 6 reductions, pinned at 20. macaw's pin moves 1cc6d83 → 0488859 (macaw#464, !204), where a control is a reader of the states it chooses, so a filter's event renders it at its new current in the same turn, handed what the write check read, and each live form carries a stable id (macaw_live#90, for #89).
- The viewer's theme relinked live (spec/06 §2.4, macaw#446 need 3, macaw#450): a change of the `theme` preference, at the pulse it runs whatever wrote it, registers `Macaw.Surface.theme/2`'s sheet in the asset store and replaces the surface's theme path in `@macaw`'s `sheets` in place, and puts its chrome (`Macaw.Surface.chrome/2`) at its `mw-theme-<name>` class in `@macaw`'s `surfaces`, so the theme takes effect with no reload, where the mount's sheet stayed linked until a reload. A mount links the theme its state already applies. Unset, nothing is assigned and the markup is byte-identical; a name the registry doesn't hold links macaw's fallback, the default sheet and no class, and `Macaw.Live.info/1` reports its fault in each surface's new `theme`, as it does a refused relink. A pane follows too: the edge carrying the theme puts every surface's state before any pulse, so the container's update brings each shown pane's chrome at its class (macaw_live#92, for #83).
- Derived sources are managed sources (spec/03 §3.1, dco-tek/macaw/macaw#108): `Macaw.Live.Derived` runs a surface's derived sources once per host, keyed by the engine's definitions and its inputs' manager keys, its inputs subscribed whole to their managers and read from their tables, its pulse debounced and run in its own turns, its outputs published in its table and announced on their names' topics only when they move. Each output is, in the surface's sources, a `Macaw.Live.Derived.Source` naming the process and path, so one manager per output serves every page; its manager is never polled, reads it when told, and is down with the last good output (drawn `stale`) while the derived source fails. Pages hold no engine, inputs or outputs: `Macaw.Live.Turn`, the page's engine readers and the derived exception of the hold rule are gone. Measured in spec/07 §12's new scenario (10 pages, a 500-row input, a change): derived runs 20 → 2, node reductions 3.39–3.50 M → 0.99–1.06 M, the pages' 291,232–319,478 → 96,722–99,254, a page's referenced binaries 40 KB → 3 KB; spec/07 §11 unchanged (1.87–2.39 M node reductions a poll) (macaw_live#78).
- A keyed render placed by key (spec/01 §3.2, §3.3, macaw_live#71, #96): `Macaw.Live.Keyed` names the shape a component may answer (`head`, `gap_before`, `rows` as `{key, version, markup}`, `gap_after`, `tail`), which macaw's built-in table answers (macaw#434, #440), known by its shape and never by its module; its proof writes each part and each row's markup to a binary of its own, `Macaw.Live.CellComponent` places the parts as assigns of their own and the rows as a keyed comprehension binding only the key and the markup, and the render memo holds it as it holds a safe render. Measured 2026-11-23 on one changed row of the 1,000-row table (`big_table` with 1,000 rows, one row's time moved; the harness's render, the page's diff and the encode under `JSON`): placed whole 490,836 reductions (render 394,344, diff 4,246, encode 92,246) and 362,298 bytes; placed keyed 441,887–447,566 (render 390,714, diff 50,857–56,536, encode 316) and 418 bytes, one row. A sort of the table now sends 10,831 bytes and no row (368,307 before), and a range move its gaps and the rows entering. The table's render is most of a change's work either way. spec/07 §13 bounds it (1 KB, the diff and encode at most 75% of the whole's); §10's encode bound is now measured on a change of every row, since a sort sends no row: 177,838 reductions under `JSON` against Jason's 442,174 for 382,076 bytes (40%, bounded at 50%; a string a row saves less than one string for the table). macaw's pin (`0488859`) already holds macaw#434, #439 and #440.
- Held rows (spec/01 §3.4, spec/07 §13, #102, #103, macaw#465): a pure cell's proof hands a keyed render the rows already held as macaw_component's `held` assign, so macaw's table takes them undrawn. The page keeps the rows it placed beside the cell (`held`, `Macaw.Live.Keyed.kept/2`: unchanged when every row was held, new rows added, restarted past four times the rows placed), and when the cell's deliveries moved the proof merges in the memo's rows under its last scope and viewer (`Macaw.Live.Renders.held/3`, the optional memo callback `rows/3`; `Renders.Memory` indexes its rows by the digest of scope and viewer). Neither enters the cell's assigns or its memo key. On macaw at macaw#466's merge and macaw_component at macaw_component#94's. Measured 2026-11-23 on the 1,000-row table (packed, as the managers read it; the table's own render drawing every row 276,572 reductions, the proof 288,525, where #98's 366,682 and 390,745 were measured over rows packed at each render): a sort back to an order drawn 56,857 (the render 31,961), a 20-row scroll of a 500-row live range 62,562 against 164,101, and the misses, by chunk-grained versions: a sort to a new order 299,545 and a one-row change 299,534 against 288,527 with the page's kept rows, plus reading the memo (about 7 reductions a row it holds under the scope, 20,594 for 3,000); a second page proving the change takes the first's rows from the memo, 62,827. Keeping the map costs the page 3,700 to 13,800 reductions a proof.
- The row memo (spec/01 §3.4, macaw_live#65 item 2, #98):
 a keyed render's rows are held in the render memo one by one, each by its key, its content version (its chunk's version, place and mark, macaw#439) and the render's scope, with the viewer for a source that isn't viewer-independent (`Macaw.Live.Renders.row_key/4`); a pure cell's proof writes a keyed render through it (`Renders.written/3`, `Proof.render/4`'s `rows:`), taking each held row as the binary held and writing and holding only the others, so pages whose cell keys differ write a row once between them and share its binary. Tested: one changed row (alone in its chunk) on 10 pages writes one row; ten pages at ten instants write the table's rows once; a viewer's rows are never another's. A version is chunk-grained and a manager lays a snapshot in one chunk, so through the managers a one-row change writes its chunk's rows again, once between pages. Measured 2026-11-23 on the 1,000-row table: a proof 390,745 reductions, 379,779 with every row held; the table's own drawing, 366,682, is the rest, which macaw#465 proposes to spare. Item 3 (shared encoded fragments) waits on a phoenix_live_view change.
- A live table's scroll hook (spec/05 §10, macaw_live#72, #99): `MacawSurface` sizes each of a live table's gaps (`tbody.mw-gap[data-mw-gap]`, macaw#440) through the CSSOM to its rows at the first drawn row's height (2rem without one), on mount and in every patch's frame, so the scrollbar spans every row and a moved range keeps the rows on screen; reads every scroll, captured and passive, once a frame and once 100 ms after it settles; and, when the visible rows leave the inner half of the rows drawn, pushes the table's declared `range` event, `{first}`, on `"mw-event"` once for each first. The server needs nothing new; with keyed placement a range move sends its gaps and the rows entering. `Macaw.Live`'s docs note that a host persisting the table's state in the URL carries the scroll position. The browser stays untested until the example app's CI; the tests read the live module as text and drive the event it pushes.
- A visitor's row changes, live (spec/01 §5.4, spec/03 §2.5, macaw#446 needs 4 and 5, macaw#462): `"mw-submit"` is routed to `Macaw.State.submit/4` and spent from the event budget, a refused row rendering its form's cell alone with each fault at its field, a taken one forwarded by the event path; the host's `overlays:` is a mount key given to `Macaw.State.new/2`; each overlay is `:session` state the visit holds (`Macaw.Live.Scopes.held/2`, `land/2`), applied there for an `add`, a `remove` and a `reset: :all`, published to the page, surviving live navigation, ending with the visit, and written through `session_persistence:` when held `:session`; a managed reader of a changed source reads its window through the overlay, packed (`Macaw.Live.Manager.Reader.read/4`, the read carrying it), asked as many more rows as were removed and finished again, a moved overlay re-reading exactly its source's readers among the affected cells; the overlay's work over a 100,000-row read is gated under a twentieth of decoding its identity column (measured 27,978 reductions against 1,000,335). macaw is pinned at `3e6df83` (macaw!205) (macaw_live#95).
- A source manager's linger counts from its last reader's leaving (spec/03 §2, #88, #105): it is armed once, and a later leave that empties nothing, such as a reader unsubscribed twice, keeps it, where it re-armed the linger 5 s later. The suite waits on messages with no clock of its own: `assert_receive` gives way to the test support's `await/1`, a test lingers managers out once their linger is armed, and `ci/waits.exs` refuses `assert_receive` under test/.
