commit 14a01df2cc083d4203b56d709cc77d5aadd181fd
parent 68355e3962257e1c63674b8d0eca392dfe590b5d
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 17 Oct 2026 17:29:51 -0400
plans: release 33 M1 — after main's merges: one mergePatch, the montage smoke, gates
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/plans/FACTS.md b/plans/FACTS.md
@@ -10399,7 +10399,8 @@ parsed to 0 cues, indexing the video textless) is CLOSED by `200a3105` (transcri
`patch`, `window` (`"full"` | `{at, dur}`), `quick`, `entries {ids, basis: "schedule"|"estimate"}`, `baseHash`
(sha256 of the project's manifest TEXT the take was made from). `changes[]`: `style: <label>` then one line per leaf
the patches change (`changeLines`; a leaf whose value is unchanged has none). No change at all = kind `reference`.
-- **The patch** is RFC 7386 (`mergePatch`: objects merge, `null` removes, arrays/scalars replace): the style's
+- **The patch** is RFC 7386 (`mergePatch`, M3's from `montage-styles.mjs`, re-exported by takeMaker.mjs; the
+ package exports `umtool-report-to-video/montage-styles`: objects merge, `null` removes, arrays/scalars replace): the style's
(`MONTAGE_STYLES[name].patch` from `report-to-video/montage-styles.mjs`, loaded at run time by an assembled
`pathToFileURL` + `webpackIgnore`; `E2E_UMTOOL_MONTAGE_STYLES` overrides the file; a missing module = no styles,
`error: null`), then the take's own.
diff --git a/plans/release-33/takes.md b/plans/release-33/takes.md
@@ -9,8 +9,8 @@ take** puts one in the project's place. Nothing here calls a model.
1. **The take maker** (`umtool/lib/report/takeMaker.mjs`). `makeTake(projectDir, spec)` reads the project's
manifest, applies a montage style's patch (lane M3's `report-to-video/montage-styles.mjs`, loaded at run time;
- none installed = no styles), then the take's own patch. Both are RFC 7386 merge patches (`mergePatch`, our own
- implementation: arrays replace). It writes `takes/<id>/video.manifest.json` (the whole patched manifest) and
+ none installed = no styles), then the take's own patch. Both are RFC 7386 merge patches (`mergePatch`: lane M3's, from
+ `montage-styles.mjs`, which `report-to-video/package.json` now exports; arrays replace). It writes `takes/<id>/video.manifest.json` (the whole patched manifest) and
`changes[]` (`style: <label>`, then one plain line per changed leaf, e.g. `render.crf: 34 (was 30)`), then renders.
take.json is written only once the preview exists. It carries `builtAt`, `seconds` (ffprobe), `style`, `patch`,
`window`, `quick`, `entries` and `baseHash`. An empty change is kind `reference`; otherwise `different`, or the
@@ -75,6 +75,10 @@ umtool: `lib/report/{takeMaker,takeRender,takeCli}.mjs` (new), `lib/report/takeM
## Decisions / rulings followed
+- One merge patch: the take maker imports M3's `mergePatch` (the module exported as
+ `umtool-report-to-video/montage-styles`) and re-exports it, rather than a second implementation. The styles
+ themselves are still loaded at run time, so `E2E_UMTOOL_MONTAGE_STYLES` can stand in for them.
+
- The window is a sub-cut, not `--chrome-preview`/`--preview`. Those need every segment already built in the take's
`out/`; linking the project's segments would show the old cut for any patch that re-cuts a clip; and `--preview` is
the rail's.
@@ -89,21 +93,24 @@ umtool: `lib/report/{takeMaker,takeRender,takeCli}.mjs` (new), `lib/report/takeM
## Gates (all through the shared lock)
- tsc (all packages) clean before every commit.
-- test:scripts 1073 (1069 pass, 4 skipped, 0 fail). Baseline 1056 (1052 pass, 4 skipped) on `643434f7`, so +17:
+- test:scripts 1073 (1069 pass, 4 skipped, 0 fail) before main's merges; 1113 (1109 pass, 4 skipped) after them. Baseline 1056 (1052 pass, 4 skipped) on `643434f7`, so +17:
takeMaker 15, takes 2.
- umtool `test` 45/45 (no take tests in it).
-- e2e umtool `takes.spec.ts` 7/7 (17.9 s; +2 tests, one assertion more in test 1).
+- e2e umtool `takes.spec.ts` 7/7 (17.9 s; again 7/7 in 16.6 s after main's merges; +2 tests, one assertion more in test 1).
- e2e umtool `bench-shell.spec.ts` + `visual-audit.spec.ts` 71/71 (1.4 min).
- Smoke on a COPY of the montage project's manifest under `$T/r33m1-smoke/` (the real corpus read-only), with `--quick`:
- window 0/20 s gives 7 clips and a 26.1 s 1080p preview in 14 s.
- The first run failed by design, naming all 7 clips: the manifest's `render.fetchPad: 3` asks for wider windows than
the editor fetched. It passed with `--set render.fetchPad=0`.
+ - After main's merge (M3 on main, the project at `fetchPad: 0`), on a fresh copy:
+ - `flash-count` over 0/20 s: kind `different`, 17.95 s, 7 clips, tightened to the phrase.
+ - `as-built`: `reference`, 26.12 s.
+ - Both takes together took 19 s.
## Found and left
-- **The montage project's manifest:** `render.fetchPad: 3` makes every `--skip-fetch` build of it (a take, or the Build tab with
- skip-fetch) refuse. The editor's windows are the clip extents exactly. Set `render.fetchPad: 0` in the project
- first, or fetch wider.
+- **The montage project's manifest:** at `render.fetchPad: 3`, every `--skip-fetch` build of it refused, because the
+ editor's windows are the clip extents exactly. The orchestrator set it to 0 (2026-10-17).
- **Window takes and position-counted montage features:** M3's `planMontage` numbers by position. A window take's
counter starts at #1 and its ramp runs over the window. For `accelerate` and `wall-finale` audition the full cut,
or have the counter read `montage.n`.