feat(F-060): completed feature

This commit is contained in:
chattie
2026-08-19 16:49:16 +02:00
parent 72ba84456c
commit 5e2e935f76
8 changed files with 201 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
{
"feature_id": "F-060",
"agent": "reviewer",
"verdict": "APPROVED",
"summary": "Batch script now mirrors the upload route and dynamic handler. MAX_HEIGHT_RATIO=1.4 is defined once and applied to every size. FORCE flag is opt-in and isolated to the cache-skip branch. Output identical for normal runs (skip existing), regenerates everything when FORCE=1.",
"evidence": [
"git diff project/scripts/generate-thumbnails.mjs — MAX_HEIGHT_RATIO constant, fit:'inside' resize, FORCE flag read at startup",
"FORCE=1 ./scripts/generate-thumbnails.sh — 42 new thumbnails (7 × 2 × 3)",
"withoutEnlargement preserved for tiny (1x1) sources — they stay 1x1, no upscale artifacts",
"Monolith restart confirms static handler serves the regenerated files (HTTP 200 on all three apps)",
"./scripts/verify.sh — exit 0"
],
"timestamp": "2026-08-19T14:55:00Z"
}