[Feature] Render typed printable output from frozen recipient snapshots #4

Closed
opened 2026-07-31 11:39:42 +02:00 by zemion · 1 comment
Owner

Context

The AdreMa assessment requires reusable label sheets, envelopes, serial letters, tables, and other printable output. Templates owns these render definitions and artifacts; no separate Print module is required.

Architecture: AdreMa Capability Assessment And Distribution-List Roadmap.

Scope

  • Typed template definitions for labels, label sheets, envelopes, serial/form letters, and list layouts.
  • Required input fields, supported output/channel profiles, locale, page/media constraints, and renderer capabilities.
  • Deterministic preview/final rendering from validated, versioned Distribution List or Campaign snapshots and parameter values.
  • Template revision, input hash, renderer version, page/item count, and diagnostics in every result.
  • Persistence through optional Files; bounded download output when Files is absent.
  • Standard template selection, field mapping, preview, and missing-field explanations.
  • Printable output suitable for browser/OS printing or a future connector-backed artifact destination.

Acceptance Criteria

  • A frozen postal snapshot renders deterministic labels and a multi-recipient letter bundle.
  • Missing fields/capabilities block rendering with a readable explanation.
  • Preview and final output pin the same template and input revision.
  • Templates does not import Addresses, Distribution Lists, Campaign, or Files internals.
  • Generated artifacts carry sufficient metadata for Campaign/Audit evidence without retaining plaintext secrets.

Depends on #3. Related: GovOPlaN/govoplan-dist-lists#5/#7 and GovOPlaN/govoplan-campaign#90.

## Context The AdreMa assessment requires reusable label sheets, envelopes, serial letters, tables, and other printable output. Templates owns these render definitions and artifacts; no separate Print module is required. Architecture: [AdreMa Capability Assessment And Distribution-List Roadmap](https://git.add-ideas.de/GovOPlaN/govoplan-dist-lists/src/branch/main/docs/ADREMA_CAPABILITY_ASSESSMENT.md). ## Scope - Typed template definitions for labels, label sheets, envelopes, serial/form letters, and list layouts. - Required input fields, supported output/channel profiles, locale, page/media constraints, and renderer capabilities. - Deterministic preview/final rendering from validated, versioned Distribution List or Campaign snapshots and parameter values. - Template revision, input hash, renderer version, page/item count, and diagnostics in every result. - Persistence through optional Files; bounded download output when Files is absent. - Standard template selection, field mapping, preview, and missing-field explanations. - Printable output suitable for browser/OS printing or a future connector-backed artifact destination. ## Acceptance Criteria - A frozen postal snapshot renders deterministic labels and a multi-recipient letter bundle. - Missing fields/capabilities block rendering with a readable explanation. - Preview and final output pin the same template and input revision. - Templates does not import Addresses, Distribution Lists, Campaign, or Files internals. - Generated artifacts carry sufficient metadata for Campaign/Audit evidence without retaining plaintext secrets. Depends on #3. Related: GovOPlaN/govoplan-dist-lists#5/#7 and GovOPlaN/govoplan-campaign#90.
zemion changed title from [Feature] Render typed letter, envelope, and label templates from recipient snapshots to [Feature] Render typed printable output from frozen recipient snapshots 2026-07-31 14:50:36 +02:00
zemion added the module/auditmodule/campaignmodule/dist-lists labels 2026-07-31 14:51:55 +02:00
Author
Owner

Implemented and pushed in b65b905; optional managed artifact persistence is provided by GovOPlaN/govoplan-files@b993d8e through the Core contract in GovOPlaN/govoplan-core@e4d2d10.

Delivered:

  • printable document, label sheet, envelope, serial/form letter, and list/table output types;
  • page/media and label-grid settings plus deterministic preview/final rendering from pinned revisions and canonical input;
  • bounded render inputs/outputs, field diagnostics, payload/template/output hashes, item/page counts, and idempotent final renders;
  • render evidence and download/history UI;
  • optional Files persistence with a bounded Templates-owned fallback when Files is absent.

Validation: backend rendering/service tests, fresh and idempotent Alembic migration, Files artifact-provider tests, TypeScript, and integrated production WebUI build pass.

Implemented and pushed in `b65b905`; optional managed artifact persistence is provided by GovOPlaN/govoplan-files@`b993d8e` through the Core contract in GovOPlaN/govoplan-core@`e4d2d10`. Delivered: - printable document, label sheet, envelope, serial/form letter, and list/table output types; - page/media and label-grid settings plus deterministic preview/final rendering from pinned revisions and canonical input; - bounded render inputs/outputs, field diagnostics, payload/template/output hashes, item/page counts, and idempotent final renders; - render evidence and download/history UI; - optional Files persistence with a bounded Templates-owned fallback when Files is absent. Validation: backend rendering/service tests, fresh and idempotent Alembic migration, Files artifact-provider tests, TypeScript, and integrated production WebUI build pass.
zemion removed the codex/ready
status
ready
labels 2026-08-02 17:32:14 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-templates#4