feat(F-180): completed feature

This commit is contained in:
chattie
2026-08-22 19:07:28 +02:00
parent 95f1a9a973
commit ca611467ff
11 changed files with 48 additions and 31 deletions

View File

@@ -0,0 +1,3 @@
# F-180
Locale-tolerant decimal input converted to cents at UI boundary.

View File

@@ -0,0 +1,3 @@
# F-180
Importes fijos se introducen en euros: 3,50 o 3.50.

View File

@@ -0,0 +1,3 @@
# F-180
Fixed discounts now accept decimal euros with comma or point and convert to cents; example 3,50 → 350 cents. Mode switches clear value. POS build/typecheck pass.

View File

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

View File

@@ -0,0 +1 @@
{"feature_id":"F-180","agent":"qa","stage":"qa_gate","verdict":"APPROVED","checks":[{"item":"3,50 and 3.50 map to 350","ok":true},{"item":"build/typecheck","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-180","agent":"reviewer","stage":"review_gate","verdict":"APPROVED","checks":[{"item":"locale decimal conversion","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-180","agent":"security","stage":"security_gate","verdict":"APPROVED","checks":[{"item":"discount bounds retained","ok":true}],"issues":[]}

View File

@@ -1,3 +1,3 @@
# F-178 — Exact EAN and Enter
# F-180Decimal euro discounts
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.
Fixed discount input is a human EUR amount. Accept decimal comma or point and convert exactly once to integer cents. Percentage mode remains percentage.

View File

@@ -1,64 +1,64 @@
{
"feature_id": "F-178",
"feature_id": "F-180",
"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:06:13Z",
"updated_at": "2026-08-22T17:07:28Z",
"timeline": [
{
"ts": "2026-08-22T17:05:24Z",
"ts": "2026-08-22T17:06:25Z",
"agent": "leader",
"stage": "intake",
"state": "running",
"message": "Make exact EAN unique and Enter add one"
"message": "Accept decimal euro fixed discounts"
},
{
"ts": "2026-08-22T17:05:24Z",
"ts": "2026-08-22T17:06:25Z",
"agent": "architect",
"stage": "design",
"state": "running",
"message": "Design exact-first scanner interaction"
"message": "design"
},
{
"ts": "2026-08-22T17:05:24Z",
"ts": "2026-08-22T17:06:25Z",
"agent": "implementer",
"stage": "build",
"state": "running",
"message": "Implement exact EAN and Enter"
"message": "Implement decimal EUR discounts"
},
{
"ts": "2026-08-22T17:06:13Z",
"ts": "2026-08-22T17:07:28Z",
"agent": "reviewer",
"stage": "review_gate",
"state": "running",
"message": "review"
},
{
"ts": "2026-08-22T17:06:13Z",
"ts": "2026-08-22T17:07:28Z",
"agent": "security",
"stage": "security_gate",
"state": "running",
"message": "security"
},
{
"ts": "2026-08-22T17:06:13Z",
"ts": "2026-08-22T17:07:28Z",
"agent": "qa",
"stage": "qa_gate",
"state": "running",
"message": "qa"
},
{
"ts": "2026-08-22T17:06:13Z",
"ts": "2026-08-22T17:07:28Z",
"agent": "documenter",
"stage": "document",
"state": "running",
"message": "document"
},
{
"ts": "2026-08-22T17:06:13Z",
"ts": "2026-08-22T17:07:28Z",
"agent": "leader",
"stage": "close",
"state": "running",