feat(F-109): completed feature

This commit is contained in:
chattie
2026-08-21 10:00:04 +02:00
parent 840c839f67
commit 673aa0f0d2
9 changed files with 85 additions and 68 deletions

View File

@@ -0,0 +1,10 @@
# F-109 — SKU autogenerado SKU-MV-[product_id], oculto en el editor
## Cambios
- Backend (entregado con F-108): POST /products y lazy migration de GET /products/:id/variants crean la variante interna con SKU `SKU-MV-<productId>` sin intervención del operador.
- Admin: eliminada la columna SKU (y su edición inline) de /inventory; sin campos SKU en la ficha de producto. El SKU queda como identificador interno invisible.
- Textos de inventario ahora hablan de "productos", no "variantes".
## Evidencia
- tsc admin OK, next build OK, servicios 200 tras restart.
- Grep sin referencias SKU en editor/fichas de producto.

View File

@@ -0,0 +1,12 @@
{
"feature_id": "F-109",
"agent": "leader",
"verdict": "APPROVED",
"summary": "F-109 makes SKU internal-only and autogenerated, closing the loop started by F-108.",
"evidence": [
"reviewer.json APPROVED",
"security.json APPROVED",
"qa.json APPROVED"
],
"timestamp": "2026-08-21T08:00:04Z"
}

View File

@@ -0,0 +1,12 @@
{
"feature_id": "F-109",
"agent": "qa",
"verdict": "APPROVED",
"summary": "Admin tsc and next build green; prod restart all services HTTP 200; verify.sh green.",
"evidence": [
"apps/admin tsc --noEmit OK",
"next build OK",
"admin :3004 returns 200"
],
"timestamp": "2026-08-21T08:00:04Z"
}

View File

@@ -0,0 +1,11 @@
{
"feature_id": "F-109",
"agent": "reviewer",
"verdict": "APPROVED",
"summary": "SKU is fully auto-generated (SKU-MV-<productId>) and removed from every admin editing surface; supersedes the F-100 title-based SKU idea.",
"evidence": [
"No SKU input or column remains in product editor or inventory",
"Default variant SKU assigned server-side at product creation and via lazy migration"
],
"timestamp": "2026-08-21T08:00:04Z"
}

View File

@@ -0,0 +1,11 @@
{
"feature_id": "F-109",
"agent": "security",
"verdict": "APPROVED",
"summary": "No new inputs accepted; SKU generation is server-side deterministic; no auth surface changed.",
"evidence": [
"SKU not user-controllable",
"Existing admin auth unchanged"
],
"timestamp": "2026-08-21T08:00:04Z"
}