Implementation checkpoint: 2f38033 (base incorporates main 29b6dea) adds the reviewed internal rendering foundation. The final scope of this branch is the workflow design plus bounded typed rendering, not the integrated Fichas/UI/signing milestone.
New internal/contract package: strict versioned template parsing, structural merge fields, typed text/date/integer-minor-unit money, literal substitution, preserved multiline values, stable bindings independent of labels, fresh resolved trees and PDF bytes with SHA-256. Unknown/contradictory structure or formatting, missing required values, glyph substitutions and layout overflow refuse with no partial artifact. ISO formatting only in v1. No live editor schema, HTTP route, storage, credential or signing capability is added.
Independent GPT-6 design review identified cumulative indentation overflow. Independent code review additionally identified quadratic shaping of unbroken runs. Both addressed: exporter overflow report; word/text/expanded-node limits; 100-page PDFBounded cap returning no truncated PDF. Final independent GPT-6 review approved the isolated foundation subject to remaining CI gates and independently ran the contract/export tests successfully.
Validation completed: focused contract/export tests; race-enabled contract tests; real PDF text extraction via Poppler; visual page inspection; overlay mutation disabling field substitution failed the intended contract-term assertion without touching the working tree. Longest permitted word in a 12pt column and single oversized glyph refusal are tested.
Full local gate passed Rust, bundle/wire checks and all Go packages except the release-binary test's macOS Unix-socket temporary-path limit. That test passed after setting a short TMPDIR. A subsequent full gate encountered an unchanged save-queue timer assertion (which passed in the first run); another full run with short TMPDIR is underway. Remote CI must pass for this exact head before any merge. No deployment has occurred.
Remaining product work: authoring/persistence and native compatibility, authenticated Fichas source transport and provenance, then the independently issued agreement boundary and native signing. Those are not represented as complete by this foundation.