commit 231e152ea2832ed4263cb4df939116715dea903e
parent 42133c0e274f5826bc4ceae690c2b3d1ddf94e04
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 18 Oct 2026 02:50:00 -0400
plans: release 33 M3c as shipped — montage polish (repeats apart, even loudness, tile labels)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 62 insertions(+), 0 deletions(-)
diff --git a/plans/release-33/montage-polish.md b/plans/release-33/montage-polish.md
@@ -0,0 +1,62 @@
+# Release 33 lane M3c — montage polish (as shipped)
+
+After the build-to-wall audition (2026-10-18), three fixes to a montage, on `main` `2be6f0b7`:
+
+1. **The wall keeps a stream's repeats apart.** In the auditioned take, five pairs of tiles from one video sat side by
+ side (v6ss2d5, v70yc82, v7arhpy — the crumbl pair — v7fucc4, v7gh5pq), and so did one day's Rumble/YouTube mirror pair
+ (s59/s60).
+ - **`wall.spread: "stream"`**: `wallCells` is a deterministic descent over swaps of two tiles' cells, scored as 100
+ per touching pair (row or column) plus each tile's grid distance from its own cell. The groups keep their
+ membership and date order; only cells move. A clip's stream (`clipStream`) is its `montage.stream`, else its day,
+ else its video.
+ - **`wall.distinct`** (one tile per stream; a tail takes the latest of each stream) works with spread or tail but is
+ **refused with `exclusive`**. Trading a repeat for an earlier clip would put the later clip back in the run before
+ the wall, so it would no longer be chronological. Build-to-wall uses `spread: "stream"` without it.
+2. **Even loudness** (`render.montage.loudness {target −16, mode "clip"}`). Each clip's cut and each wall tile is
+ measured once (ebur128, integrated) and given one gain to the target. The gain is held to ±20 dB, with none under
+ −60 LUFS. Then a −1 dBFS lookahead limiter (`level=0`, `latency=1`). The crowd beat is limited as before. Every style
+ now carries it.
+3. **Tile labels** (`wall.label "year" | "number" | "both"`). `year: true` means "year" and draws the same drawtext as
+ before. Wall-only clips get their `number` from `montage.n` (else their place among the clips) in `planMontage`.
+ Build-to-wall uses "both" ("#52 · 2025").
+
+## Files
+
+`umtool/report-to-video/montage.mjs`, `montage-styles.mjs`, `build-video.mjs` (`measureLoudness`, `montageLevel`, the
+segment gain, the wall's cells / labels / levels and its record), `montage.test.mjs`, `README.md`,
+`umtool/docs/report-video.md`, `editor/CHANGELOG.md`, `plans/FACTS.md`.
+
+| Commit | What |
+| --- | --- |
+| `307634e7` | wall.spread "stream", wall.distinct, render.montage.loudness, wall.label; every style levels; tests |
+| `3c6933b4` | README, docs/report-video.md, FACTS, CHANGELOG |
+| (this commit) | this record |
+
+## Gates
+
+- tsc clean before each commit.
+- test:scripts: 1125 (1121 pass, 4 skipped) at `main` `2be6f0b7` → **1136 (1132 pass, 0 fail, 4 skipped)**. The montage
+ files ran 61/61, with real renders of:
+ - four clips 26 dB apart, each brought within 1 LU of the target;
+ - a tail wall with three streams' repeats: none touch, every tile measured, a tile within 1.5 LU, verifyBuild clean.
+- **Byte-identical:** main's own style patches (wall-finale, accelerate, build-to-wall: no new keys) rendered by main's
+ and by the branch's build-video give identical md5s.
+
+## Smoke
+
+A fresh copy of the project (73 clips) with build-to-wall, rendered whole: `$T/r33m3-smoke3/build-to-wall.mp4`,
+116.9 s, 49 chapters, verify-build ok, 405 s (with loudness passes). No chrome frame directories were made.
+
+**Loudness, integrated, per run clip (48 clips):**
+
+| | range | p10–p90 | std |
+|---|---|---|---|
+| The raw cuts | −38.6 … −11.9 LUFS = 26.7 LU | 10.6 LU | 4.8 |
+| The auditioned take's segments | 28.2 LU | 10.6 LU | 5.0 |
+| Leveled | −20.1 … −16.0 = 4.1 LU | 0.5 LU | 0.6 |
+
+The one outlier is s38: −38.6 LUFS raw, at the +20 dB cap. Wall tiles went from a 39.3 LU range (take) to 17.8; that
+remainder is s70 (raw −53.7 LUFS, near silent, capped). Without s70 the tiles are within 0.5 LU.
+
+The wall's cells moved 8 tiles; no same-stream pair touches. `wall-final.png` (the final wall, "#n · year" labels) and
+`wall-groups.jpg` are beside the mp4.