fix: deterministic pdf render and restore pnpm pin

- Revert packageManager from pnpm@11.16.0 back to pnpm@10.34.5
  (restore the plan's pinned version; the PATH pnpm is unaffected).
- Inject a deterministic PDFKit document /ID derived from
  SHA-256(snapshot.documentId) so the same snapshot always produces
  byte-identical output, making the stored SHA-256 a verifiable
  integrity fingerprint.
- Add covering test: render same fixture twice, assert bytes.equals()
  and sha256 equality.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude committed 2026-08-10 18:04:18 +02:00
1 parent 89d76e2711
commit a384c4c35e
3 files changed
+32 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"private": true,
"type": "module",
"packageManager": "pnpm@11.16.0",
"packageManager": "pnpm@10.34.5",
"engines": {
"node": ">=24 <25"
},