feat(F-098): completed feature
This commit is contained in:
@@ -4370,6 +4370,38 @@
|
||||
"close": true
|
||||
},
|
||||
"completed_at": "2026-08-20T20:33:06Z"
|
||||
},
|
||||
{
|
||||
"id": "F-098",
|
||||
"type": "bug",
|
||||
"title": "Fix AI settings save foreign-key failure",
|
||||
"problem": "Saving admin settings uses a backoffice user id in store_settings.updated_by, but that column references identity_users, causing HTTP 500 for AI configuration saves.",
|
||||
"goal": "Save AI settings successfully while preserving updated_by when the authenticated id is a valid identity user.",
|
||||
"scope_in": [
|
||||
"backend store settings update"
|
||||
],
|
||||
"scope_out": [
|
||||
"No schema redesign",
|
||||
"no secret exposure"
|
||||
],
|
||||
"priority": "high",
|
||||
"risk": "low",
|
||||
"description": "Problem: Saving admin settings uses a backoffice user id in store_settings.updated_by, but that column references identity_users, causing HTTP 500 for AI configuration saves.. Goal: Save AI settings successfully while preserving updated_by when the authenticated id is a valid identity user.. Scope IN: backend store settings update. Scope OUT: No schema redesign, no secret exposure. Type: bug. Priority: high. Risk: low.",
|
||||
"acceptance": [
|
||||
"AI settings PATCH succeeds for backoffice admins",
|
||||
"Settings GET returns saved AI provider/model values",
|
||||
"Invalid settings still return clear validation errors",
|
||||
"Typecheck, tests, and verify pass"
|
||||
],
|
||||
"status": "done",
|
||||
"created_at": "2026-08-20",
|
||||
"gates": {
|
||||
"reviewer": true,
|
||||
"security": true,
|
||||
"qa": true,
|
||||
"close": true
|
||||
},
|
||||
"completed_at": "2026-08-20T20:39:06Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user