Commit Graph
116 Commits
Author SHA1 Message Date
QiuSW 4a1b4af29d fix: trust manually confirmed SYB specs (#188) 2026-09-01 16:04:35 +08:00
QiuSW 776db137be fix: require saved spec match before purchase (#188) 2026-09-01 15:32:26 +08:00
QiuSW 5446ebeaae fix: tighten batch AI matching eligibility (#188) 2026-09-01 14:49:00 +08:00
QiuSW 3ef0f72ff9 feat: batch AI match SYB purchase specs (#188) 2026-09-01 12:13:33 +08:00
QiuSW 3aab1f013d feat(goauto): 完善替代采集与颜色图片详情 (#184 #185) 2026-09-01 09:55:27 +08:00
QiuSW c07c3451f1 fix(admin): decouple SYB collection eligibility (#183) 2026-09-01 09:02:24 +08:00
QiuSW 7be57bfe6b feat(agent): allow configured HTTP transport (#181) 2026-09-01 00:12:43 +08:00
QiuSW 9cdb6bb962 feat(purchase): allow absolute price ceiling (#180) 2026-08-31 21:27:50 +08:00
QiuSW 13d291a763 fix(android): accept purchase price guard (#176) 2026-08-31 17:38:10 +08:00
QiuSW 4343ab5c94 fix(purchase): configure spec probe aliases and show targets (#174) 2026-08-31 17:11:52 +08:00
QiuSWandClaude Sonnet 5 17c9b7c3b1 fix(goauto): grant purchaser role access to AI spec suggestion APIs (#172)
The two new suggest-colors/suggest-sizes endpoints were missing from
the purchaser permission matrix, so any non-super-admin account got
"没有该接口访问权限" from AuthCheckRole even after the server was
rebuilt. Add both to AdminAPIs alongside the existing mapping-edit and
preview-auto-size entries so ReconcilePurchaserPermissions seeds the
sys_api/casbin rows on next startup.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VkjpksKeizaRpYXfgD74Lf
2026-08-31 16:30:30 +08:00
QiuSW f30be4462f fix(collection): recognize combination spec heading (#173) 2026-08-31 16:22:54 +08:00
QiuSWandClaude Sonnet 5 21b38c4444 feat(goauto): suggest color/size specs via AI, human-confirmed save (#172)
Add batch AI suggestion for Shopee color/size spec mapping: a
specContextVersion snapshot guards both the new suggest endpoints and
must be echoed back, short id binding keeps the model from ever
returning a value outside the server-supplied PDD candidates, and
suggestions only prefill the draft above AutoConfirmMinConfidence -
low-confidence answers show the reason but stay unapplied. Every
AI-sourced mapping is still written as pending by the existing
SetMapping rule and needs an explicit operator confirm, same as
before for manual edits.

Server: server/app/goauto/aimatching/suggest.go (batch provider call),
server/app/goauto/shopeeproduct/{context_version,ai_suggest}.go (spec
context version + suggest-colors/suggest-sizes), wired into
handler.go/router.go/service.go.
Web: shopee-products AI 匹配 button on both tabs, low-confidence rows
left for manual pick, pending AI mappings get an explicit 确认 action.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VkjpksKeizaRpYXfgD74Lf
2026-08-31 16:18:42 +08:00
QiuSW 60f01f7447 fix(goauto): preserve empty missing arrays (#170) 2026-08-31 15:17:44 +08:00
QiuSW 78f5895a09 feat(web): prefill recent PDD products in picker (#168) 2026-08-31 15:15:12 +08:00
QiuSW ff0cf99be3 fix(goauto): preserve unknown order evidence (#167) 2026-08-31 14:28:59 +08:00
QiuSW d90bf66cc2 fix(auth): reload purchaser policies after reconcile (#161) 2026-08-31 14:23:12 +08:00
QiuSW 09d9d2227a feat(goauto): continue orders from PDD product detail (#161) 2026-08-31 11:36:31 +08:00
QiuSW 866aea102f fix(goauto): preserve exact spec failure evidence (#164) 2026-08-31 11:16:45 +08:00
QiuSW 67f3a74956 fix(goauto): safely normalize specification values (#160) 2026-08-31 09:40:17 +08:00
QiuSW 5d85625905 test(goauto): seed current purchase rule in SYB fixtures (#127) 2026-08-29 21:58:23 +08:00
QiuSW f0f5f5bd14 feat(goauto): manage authenticated agent releases (#143) 2026-08-29 21:34:32 +08:00
QiuSW 56443c995b feat(goauto): parameterize purchase price guard (#146) 2026-08-29 21:24:55 +08:00
QiuSW 148ba96521 feat(goauto): add managed purchase rules (#127) 2026-08-29 21:20:55 +08:00
QiuSW 7afe5ae9ce fix(#145): stabilize SYB daily pagination 2026-08-29 18:08:42 +08:00
QiuSW 8afbdbc8ff fix(server): converge purchase retry startup (#159) 2026-08-29 17:30:45 +08:00
QiuSW 16948a9e94 feat(#157): retry purchase tasks in place 2026-08-29 16:52:23 +08:00
QiuSW 7c18159d70 fix(#156): reconcile purchaser permissions at startup 2026-08-29 16:30:23 +08:00
QiuSW cc326ebc6c feat(#155): reuse failed collection tasks by attempt 2026-08-29 16:05:37 +08:00
QiuSW afa29f1d86 fix(#149): add purchase match work item migration 2026-08-29 14:06:00 +08:00
QiuSW 11c407d582 feat(#148): match purchase specs asynchronously 2026-08-29 11:51:32 +08:00
QiuSW c9e9539de0 fix(#147): move purchase matching outside transaction 2026-08-29 11:09:48 +08:00
QiuSW f84ea5df3b feat(#142): group GoAuto admin navigation 2026-08-29 09:44:06 +08:00
QiuSW fc8798479b fix(menus): keep sort values in MySQL range (#141) 2026-08-29 08:47:07 +08:00
QiuSW a6cc1c6d5d fix(migrations): support MySQL 8.4 checks (#140) 2026-08-29 08:47:06 +08:00
QiuSW 9d23b44811 fix(upload): preserve multipart boundaries (#139) 2026-08-29 00:01:37 +08:00
QiuSW 6f611a04ef feat(goauto): collect cropped color images (#133) 2026-08-28 23:31:23 +08:00
QiuSW 5feb4e8571 feat(web): enforce server-driven GoAuto menus (#138) 2026-08-28 22:16:51 +08:00
QiuSW 72f54f76ac feat(goauto): add configurable module menus (#137) 2026-08-28 21:21:40 +08:00
QiuSW 679f4691a4 feat(goauto): add stock purchase task type (#135) 2026-08-28 20:53:51 +08:00
QiuSW 0f522d5339 feat(#132): continue purchase after replacement 2026-08-28 18:32:17 +08:00
QiuSW 33d4bb17ad feat(#130): collect replacement products from Agent 2026-08-28 18:20:24 +08:00
QiuSW 92385c4a8d feat(#131): activate product replacements safely 2026-08-28 17:56:17 +08:00
QiuSW 696e0bca52 feat(#129): add PDD product replacement model 2026-08-28 17:33:15 +08:00
QiuSW 7b5574506a fix(#125): reject duplicate migration versions 2026-08-28 10:41:04 +08:00
QiuSW 5c6655f706 feat(#119 #120 #121): implement SYB inner-code workflow 2026-08-28 10:24:15 +08:00
QiuSW e117fd222d feat(#115): move PDD recognition aliases into rules 2026-08-27 18:19:33 +08:00
QiuSW 3619435a97 refactor(#116): separate read-only aliases from actions 2026-08-27 18:02:32 +08:00
QiuSW bc9c637522 fix(#113): restore hidden PDD spec headings 2026-08-27 17:29:24 +08:00
QiuSW daf7406ec9 fix: expand all whitelisted PDD share links (#109) 2026-08-27 15:32:40 +08:00