feat(F-066): completed feature

This commit is contained in:
chattie
2026-08-19 17:22:39 +02:00
parent e60e22ca30
commit 9f1858f6d7
10 changed files with 256 additions and 30 deletions

View File

@@ -0,0 +1,13 @@
{
"feature_id": "F-066",
"agent": "security",
"verdict": "APPROVED",
"summary": "No security boundary change. The PATCH endpoint was already gated by admin role; we just stopped it from 500-ing. The image container change is a CSS-only fix. Adding fields to serializeProduct expands the response shape but does not introduce a new write surface.",
"evidence": [
"PATCH /api/products/:id still requires admin role (unchanged)",
"JSON.stringify on attributes is the same encoding the JSONB parser expected; no new code path",
"serializeProduct expansion: read-only — the write path is unchanged",
"No new env vars, no new dependencies"
],
"timestamp": "2026-08-19T15:25:00Z"
}