feat(F-093): completed feature

This commit is contained in:
chattie
2026-08-20 21:57:43 +02:00
parent 387e9b2943
commit c56037492d
11 changed files with 168 additions and 52 deletions

View File

@@ -0,0 +1,14 @@
# F-093 — Implementer evidence
## Change
- Admin catalog `listAll` now matches `q` against product name or any related variant EAN using an `EXISTS` query.
- Inventory search placeholder now says `Buscar por EAN o nombre...`.
## Validation
- Root `npm run typecheck` → exit 0
- Root `npm test -- --run` → 133 passed, 56 skipped
- Admin `npx tsc --noEmit` → exit 0
- Admin ESLint on inventory page → exit 0
- Search remains case-insensitive for names and supports partial EAN values.

View File

@@ -0,0 +1,14 @@
{
"feature_id": "F-093",
"agent": "leader",
"verdict": "APPROVED",
"summary": "F-093 adds inventory search by product name or variant EAN and passes all gates.",
"evidence": [
"reviewer.json verdict=APPROVED",
"security.json verdict=APPROVED",
"qa.json verdict=APPROVED",
"scripts/verify.sh exit 0",
"Root tests: 133 passed, 56 skipped"
],
"timestamp": "2026-08-20T19:57:40Z"
}

View File

@@ -0,0 +1,14 @@
{
"feature_id": "F-093",
"agent": "qa",
"verdict": "APPROVED",
"summary": "Inventory EAN/name search changes pass typechecks, tests, lint, and harness verification.",
"evidence": [
"Root npm run typecheck exit 0",
"Root tests: 133 passed, 56 skipped",
"Admin npx tsc --noEmit exit 0",
"Admin inventory page ESLint exit 0",
"scripts/verify.sh exit 0"
],
"timestamp": "2026-08-20T19:57:30Z"
}

View File

@@ -0,0 +1,13 @@
{
"feature_id": "F-093",
"agent": "reviewer",
"verdict": "APPROVED",
"summary": "Inventory search now finds products by name or related variant EAN without adding SKU matching or changing the API shape.",
"evidence": [
"Count and item queries use product name ILIKE or related variant EAN ILIKE",
"EXISTS avoids duplicate products when multiple variants are present",
"Inventory placeholder matches the supported search fields",
"Typechecks pass"
],
"timestamp": "2026-08-20T19:57:10Z"
}

View File

@@ -0,0 +1,13 @@
{
"feature_id": "F-093",
"agent": "security",
"verdict": "APPROVED",
"summary": "EAN search uses the existing parameterized query value and does not expose new data or alter authorization.",
"evidence": [
"Search value remains passed as PostgreSQL parameter $1",
"No SQL string interpolation was added",
"Admin authentication and product visibility are unchanged",
"No schema, dependency, or secret changes"
],
"timestamp": "2026-08-20T19:57:20Z"
}