chore(memory): R4.10 contract FILE SCOPE declares itself, memory files and redactions; criteria 9-12 added, none removed; local paths redacted in older contracts

This commit is contained in:
bchanot committed 2026-10-21 16:30:20 +02:00
1 parent 634c744ecf
commit cd0630b0a7
9 files changed
+35 -22

No files matched your search

@@ -22,7 +22,7 @@ Create `packages/pdf` (`@faunosteo/pdf`): the browser-free PDF engine that expor
9. Raster (`tests/raster.test.ts`, T10, resvg): a real `Rasterizer` built on `@resvg/resvg-js` (`fitTo width`) renders the demo report's main and head highlighted views: PNG width = 1200, height = requested ±1, pixels within ±24 of `#b85a3f` present, non-white ratio in [0.01, 0.9]; a rasterizer that throws yields a PDF whose page has no image and one `view_raster_failed` warning.
10. Size (T7): demo envelope attachment stored bytes (the EmbeddedFile stream `contents.length` found through `enumerateIndirectObjects`) < 250,000; the test prints stored and raw sizes for `nologos` and `logos` brandings.
11. Everything green: `corepack pnpm typecheck && corepack pnpm lint && corepack pnpm test:run` in packages/pdf, and `corepack pnpm -r typecheck` at the root; `apps/app/src` untouched.
CHECK: git -C /home/bchanot/Documents/faunosteo status --short apps/app/src | wc -l
CHECK: git -C $HOME/Documents/faunosteo status --short apps/app/src | wc -l
EXPECT: 0
## FILE SCOPE