feat(F-172): completed feature
This commit is contained in:
3
work/artifacts/F-172/architect.md
Normal file
3
work/artifacts/F-172/architect.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# F-172
|
||||
|
||||
Use one cookie contract, mdv_session, across login/me/logout.
|
||||
3
work/artifacts/F-172/documenter.md
Normal file
3
work/artifacts/F-172/documenter.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# F-172
|
||||
|
||||
Mi cuenta preserves the storefront login session.
|
||||
3
work/artifacts/F-172/implementer.md
Normal file
3
work/artifacts/F-172/implementer.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# F-172
|
||||
|
||||
Auth me/logout now use backend `mdv_session` cookie. Runtime login 200, me returns authenticated user, account 200, logout clears cookie. Frontend build passes.
|
||||
1
work/artifacts/F-172/leader-close.json
Normal file
1
work/artifacts/F-172/leader-close.json
Normal file
@@ -0,0 +1 @@
|
||||
{"feature_id":"F-172","agent":"leader","stage":"close","verdict":"APPROVED","checks":[{"item":"all gates/runtime/verify","ok":true}],"issues":[]}
|
||||
1
work/artifacts/F-172/qa.json
Normal file
1
work/artifacts/F-172/qa.json
Normal file
@@ -0,0 +1 @@
|
||||
{"feature_id":"F-172","agent":"qa","stage":"qa_gate","verdict":"APPROVED","checks":[{"item":"login/me/account/logout runtime","ok":true},{"item":"build","ok":true}],"issues":[]}
|
||||
1
work/artifacts/F-172/reviewer.json
Normal file
1
work/artifacts/F-172/reviewer.json
Normal file
@@ -0,0 +1 @@
|
||||
{"feature_id":"F-172","agent":"reviewer","stage":"review_gate","verdict":"APPROVED","checks":[{"item":"single cookie contract","ok":true},{"item":"runtime account flow","ok":true}],"issues":[]}
|
||||
1
work/artifacts/F-172/security.json
Normal file
1
work/artifacts/F-172/security.json
Normal file
@@ -0,0 +1 @@
|
||||
{"feature_id":"F-172","agent":"security","stage":"security_gate","verdict":"APPROVED","checks":[{"item":"HttpOnly session remains server-side","ok":true},{"item":"logout path matches","ok":true}],"issues":[]}
|
||||
@@ -1,3 +1,3 @@
|
||||
# F-173 — Checkout load failure
|
||||
# F-172 — My Account session loop
|
||||
|
||||
Checkout conditionally returned before its final useMemo, violating React hook ordering when auth/cart loading state changed. Keep every hook unconditional.
|
||||
Storefront login receives `mdv_session`, while /api/auth/me and logout incorrectly use `session_token`. Align proxy routes to the backend cookie so hydration/navigation preserves the authenticated user.
|
||||
|
||||
@@ -1,64 +1,64 @@
|
||||
{
|
||||
"feature_id": "F-173",
|
||||
"feature_id": "F-172",
|
||||
"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:14:54Z",
|
||||
"updated_at": "2026-08-22T17:16:08Z",
|
||||
"timeline": [
|
||||
{
|
||||
"ts": "2026-08-22T17:14:12Z",
|
||||
"ts": "2026-08-22T17:15:07Z",
|
||||
"agent": "leader",
|
||||
"stage": "intake",
|
||||
"state": "running",
|
||||
"message": "Fix checkout hook-order crash"
|
||||
"message": "Align storefront auth session cookie"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:12Z",
|
||||
"ts": "2026-08-22T17:15:07Z",
|
||||
"agent": "architect",
|
||||
"stage": "design",
|
||||
"state": "running",
|
||||
"message": "design"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:12Z",
|
||||
"ts": "2026-08-22T17:15:07Z",
|
||||
"agent": "implementer",
|
||||
"stage": "build",
|
||||
"state": "running",
|
||||
"message": "Make checkout hooks unconditional"
|
||||
"message": "Fix storefront session cookie"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:53Z",
|
||||
"ts": "2026-08-22T17:16:07Z",
|
||||
"agent": "reviewer",
|
||||
"stage": "review_gate",
|
||||
"state": "running",
|
||||
"message": "review"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:53Z",
|
||||
"ts": "2026-08-22T17:16:07Z",
|
||||
"agent": "security",
|
||||
"stage": "security_gate",
|
||||
"state": "running",
|
||||
"message": "security"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:54Z",
|
||||
"ts": "2026-08-22T17:16:07Z",
|
||||
"agent": "qa",
|
||||
"stage": "qa_gate",
|
||||
"state": "running",
|
||||
"message": "qa"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:54Z",
|
||||
"ts": "2026-08-22T17:16:08Z",
|
||||
"agent": "documenter",
|
||||
"stage": "document",
|
||||
"state": "running",
|
||||
"message": "document"
|
||||
},
|
||||
{
|
||||
"ts": "2026-08-22T17:14:54Z",
|
||||
"ts": "2026-08-22T17:16:08Z",
|
||||
"agent": "leader",
|
||||
"stage": "close",
|
||||
"state": "running",
|
||||
|
||||
Reference in New Issue
Block a user