Skip to content

pdf: render retained record versions with pinned Typst and shipped fonts #222

Open

Description

@fieldmouseworks-workers

Child of #44. Finish only this task in one fresh session and one PR. The parent's original authorization boundaries still apply; this child grants no additional authority. Do not read earlier sessions' transcripts.

Refs #44, owner-approved decision 2. One PR after disposition scope and portable-boundary contracts are settled. Add one owning PDF rendering service with pinned Typst and shipped redistribution-friendly fonts and templates, integrated with the existing single-executable release packaging. An ADR defines supported stored envelope schemas, layout and comparison tolerances, renderer/template identity, and upgrade expectations. Render retained daily, weekly, and phase record versions solely from their stored envelopes and presentation snapshots; no mutable agency/program/user lookup may rewrite historical presentation. Preserve canonical bytes and hashes verbatim. Structured exports remain authoritative. Reject unsupported or disposed content with typed outcomes. This PR owns rendering and its packaging, not packet-format changes or the operator download UI. Use invented fixtures only; no new signing infrastructure, production deployment, or cross-upgrade byte-exactness claim.

Verification: Golden render fixtures cover supported record classes and schemas, superseded versions, Unicode, pagination, long narratives, and missing/unsupported input. Repeated renders satisfy explicitly documented comparisons; a deliberately altered template fails the comparison. Mutating reference data leaves historical output unchanged. Verify rendering from the packaged executable without system fonts or an installed Typst command. Run full current contribution gates.

If this is too big, publish any progress, split it with proj split FILE (a JSON array of title/body/check tasks), then end the session. Wait for the PR to land before declaring this task done.

Activity

  1. added
    later
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    later

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions