feat(F-122): completed feature
This commit is contained in:
15
work/artifacts/F-122/implementer.md
Normal file
15
work/artifacts/F-122/implementer.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# F-122 — Quitar warning de variantes heredadas
|
||||
|
||||
## Cambios
|
||||
- `apps/admin/src/features/products/components/sections/PriceStockSection.tsx`:
|
||||
- Eliminado `extraVariants` state.
|
||||
- Eliminado el `setExtraVariants(...)` del useEffect de carga.
|
||||
- Eliminado el bloque JSX `{extraVariants > 0 && (<p>⚠️ Este producto tiene X variante(s) heredada(s)…</p>)}`.
|
||||
|
||||
## Evidencia
|
||||
- `npx tsc --noEmit` (apps/admin) OK.
|
||||
- `grep` confirma que no quedan referencias a `extraVariants` o al texto "heredada".
|
||||
|
||||
## Notas
|
||||
- El modelo actual tiene una sola variante por producto. El warning era ruido heredado de cuando el modelo tenía varias.
|
||||
- Si en el futuro se reintroducen variantes múltiples, el producto editorial se ajusta por separado.
|
||||
13
work/artifacts/F-122/leader-close.json
Normal file
13
work/artifacts/F-122/leader-close.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"feature_id": "F-122",
|
||||
"agent": "leader",
|
||||
"verdict": "APPROVED",
|
||||
"summary": "F-122 removes the legacy variant warning from the price/stock section.",
|
||||
"evidence": [
|
||||
"reviewer.json APPROVED",
|
||||
"security.json APPROVED",
|
||||
"qa.json APPROVED",
|
||||
"admin tsc clean"
|
||||
],
|
||||
"timestamp": "2026-08-21T15:40:00Z"
|
||||
}
|
||||
16
work/artifacts/F-122/qa.json
Normal file
16
work/artifacts/F-122/qa.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"feature_id": "F-122",
|
||||
"agent": "qa",
|
||||
"stage": "qa_gate",
|
||||
"verdict": "APPROVED",
|
||||
"reviewed_at": "2026-08-21",
|
||||
"summary": "Acceptance criteria traced to evidence.",
|
||||
"acceptance_traceability": [
|
||||
{ "criterion": "PriceStockSection no longer shows the legacy warning", "evidence": "JSX block removed", "ok": true },
|
||||
{ "criterion": "extraVariants state removed", "evidence": "grep returns 0 hits", "ok": true },
|
||||
{ "criterion": "Editor still loads the single variant correctly", "evidence": "items?.[0] logic unchanged; admin tsc clean", "ok": true },
|
||||
{ "criterion": "Typecheck, tests, verify pass", "evidence": "admin tsc OK; verify.sh OK", "ok": true }
|
||||
],
|
||||
"checks": [],
|
||||
"issues": []
|
||||
}
|
||||
14
work/artifacts/F-122/reviewer.json
Normal file
14
work/artifacts/F-122/reviewer.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"feature_id": "F-122",
|
||||
"agent": "reviewer",
|
||||
"stage": "review_gate",
|
||||
"verdict": "APPROVED",
|
||||
"reviewed_at": "2026-08-21",
|
||||
"summary": "Legacy variant warning removed; admin UI is cleaner for single-variant products.",
|
||||
"checks": [
|
||||
{ "item": "extraVariants state removed", "ok": true },
|
||||
{ "item": "JSX warning block removed", "ok": true },
|
||||
{ "item": "Admin tsc --noEmit clean", "ok": true }
|
||||
],
|
||||
"issues": []
|
||||
}
|
||||
12
work/artifacts/F-122/security.json
Normal file
12
work/artifacts/F-122/security.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"feature_id": "F-122",
|
||||
"agent": "security",
|
||||
"stage": "security_gate",
|
||||
"verdict": "APPROVED",
|
||||
"reviewed_at": "2026-08-21",
|
||||
"summary": "UI-only removal; no security impact.",
|
||||
"checks": [
|
||||
{ "item": "Removed code is dead UI; no data leak", "ok": true }
|
||||
],
|
||||
"issues": []
|
||||
}
|
||||
Reference in New Issue
Block a user