feat(F-178): completed feature

This commit is contained in:
chattie
2026-08-22 19:06:13 +02:00
parent 8c8c71d645
commit 95f1a9a973
11 changed files with 72 additions and 21 deletions

View File

@@ -0,0 +1,3 @@
# F-178
Exact EAN endpoint precedes fuzzy search; Enter resolves and adds one unit.

View File

@@ -0,0 +1,3 @@
# F-178
Scan or type a full EAN and press Enter to add one unit.

View File

@@ -0,0 +1,3 @@
# F-178
Numeric EAN uses exact endpoint first, yielding one result. Enter resolves exact EAN and adds one unit; for text search it adds when exactly one result exists. Missing EAN shows explicit error. POS build and typecheck pass.

View File

@@ -0,0 +1 @@
{"feature_id":"F-178","agent":"leader","stage":"close","verdict":"APPROVED","checks":[{"item":"all gates/build/verify","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-178","agent":"qa","stage":"qa_gate","verdict":"APPROVED","checks":[{"item":"unique EAN result","ok":true},{"item":"Enter behavior","ok":true},{"item":"POS build/typecheck","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-178","agent":"reviewer","stage":"review_gate","verdict":"APPROVED","checks":[{"item":"exact-first lookup","ok":true},{"item":"Enter prevents reload and adds","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-178","agent":"security","stage":"security_gate","verdict":"APPROVED","checks":[{"item":"existing authenticated API only","ok":true}],"issues":[]}

View File

@@ -1,3 +1,3 @@
# F-179Fix POS sale Internal Server Error
# F-178Exact EAN and Enter
Cause: POS writes payment status `COMPLETED`, but database accepts lowercase lifecycle values such as `succeeded`. Repair payment persistence, idempotent replay, and POS order source/session/store/customer snapshots so completed sales are valid and reportable.
Resolve exact numeric EAN through the unique endpoint before broad search. Enter adds one unit when the exact lookup or current result is unique, without submitting/reloading the page.

View File

@@ -1,64 +1,64 @@
{
"feature_id": "F-179",
"feature_id": "F-178",
"stage": "close",
"agent": "leader",
"action": "close",
"state": "running",
"next_agent": "leader",
"waiting_for": "Seleccionar una feature pending y actualizar este estado",
"updated_at": "2026-08-22T17:05:11Z",
"updated_at": "2026-08-22T17:06:13Z",
"timeline": [
{
"ts": "2026-08-22T17:02:10Z",
"ts": "2026-08-22T17:05:24Z",
"agent": "leader",
"stage": "intake",
"state": "running",
"message": "Reproduce and diagnose POS sale 500"
"message": "Make exact EAN unique and Enter add one"
},
{
"ts": "2026-08-22T17:03:45Z",
"ts": "2026-08-22T17:05:24Z",
"agent": "architect",
"stage": "design",
"state": "running",
"message": "Align POS sale transaction with current payment and order schema"
"message": "Design exact-first scanner interaction"
},
{
"ts": "2026-08-22T17:03:45Z",
"ts": "2026-08-22T17:05:24Z",
"agent": "implementer",
"stage": "build",
"state": "running",
"message": "Repair POS sale transaction"
"message": "Implement exact EAN and Enter"
},
{
"ts": "2026-08-22T17:05:11Z",
"ts": "2026-08-22T17:06:13Z",
"agent": "reviewer",
"stage": "review_gate",
"state": "running",
"message": "review"
},
{
"ts": "2026-08-22T17:05:11Z",
"ts": "2026-08-22T17:06:13Z",
"agent": "security",
"stage": "security_gate",
"state": "running",
"message": "security"
},
{
"ts": "2026-08-22T17:05:11Z",
"ts": "2026-08-22T17:06:13Z",
"agent": "qa",
"stage": "qa_gate",
"state": "running",
"message": "qa"
},
{
"ts": "2026-08-22T17:05:11Z",
"ts": "2026-08-22T17:06:13Z",
"agent": "documenter",
"stage": "document",
"state": "running",
"message": "document"
},
{
"ts": "2026-08-22T17:05:11Z",
"ts": "2026-08-22T17:06:13Z",
"agent": "leader",
"stage": "close",
"state": "running",