Matter binder export — compile a matter into a single PDF

Pick a collection or production. Kodori merges every PDF into one binder with a cover page, table of contents with Bates ranges, and the docs themselves in alphabetical order.

Updated 2026-05-01

/matter-binder is the production-ready PDF compilation surface. Replaces the "drag every PDF into Acrobat and run Combine" pre-production workflow.

**The flow:**

1. Open /matter-binder. Pick a source: - **Collection** (matter, custom folder, "Production Set 1") — merges every doc currently pinned in the collection at its current version. - **Production** — merges the EXACT bytes that were captured when the production was recorded. Even if a doc's current version has changed since the production, the binder delivers the produced version. 2. Optionally type a matter name (e.g. "Smith v. Acme — 24-cv-1234") for the cover page label. 3. Click **Build + download binder**. 4. Kodori merges the docs in alphabetical-display-name order with: - Cover page (matter name + source name + doc count + Bates range + generated date) - Table of contents page(s) listing each doc with Bates BEG / END / page count - Each doc's full PDF appended in order 5. The browser downloads as `<matter-slug>-<date>.pdf`.

**Caps + costs.** 500 docs / 200MB output cap. A 50-doc / 500-page binder typically builds in ~30 seconds. Permission-trimmed; non-PDFs skip silently.

**Pairs with:**

- /privilege-log v2 — the privilege log is a SEPARATE Markdown table that ships with the production; the binder is the produced bytes themselves. - /bates-stamp — stamp Bates first, then build the binder so the TOC's BEG/END and the produced pages match exactly. - /productions — record the production after stamping; build the binder from the production source for the immutable delivery package.

**Coming next:** PDF bookmarks per doc (currently the TOC is text-only with page-number references); produce-with-share-link wiring (build the binder + auto-generate a public share URL + email it to the recipient in one workflow); custom cover-page branding (firm letterhead, logo).