Repository navigation
fix: 修复会话同步、商品发布限流与搜索字段契约 - #36
Merged
Merged
Conversation
This was referenced Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动描述
修复真实闲鱼操作中的最新会话遗漏、多图发布自耗限流预算、搜索字段错位与推荐混入命中,并统一 CLI/MCP 的失败和部分结果契约。
动机 / 关联 issue
真实用户路径暴露的问题来自三个边界:
商品详情读取 itemDO/sellerDO,保留价格和状态码 0;类目分数匹配分类卡的复合身份;发布采用 selected 地址 DTO。MCP 输出 schema 描述统一包装对象。CLI/MCP 参数、skills、架构文档和 Unreleased 说明同步更新。
改动类型
验证
验收提交:0f690d25776f473357261ebd6aa689b7e1ade219。真实业务验证执行于 2026-10-09;下列仓库检查于 2026-10-10 重跑。
pytest全绿:238 passedruff check src tests无告警npm test:3 passed;npm run pack:check通过python scripts/check_sensitive_identifiers.py、git diff --check通过真实入口与脱敏结果摘要(实时商品数量可能变化):
真实 MCP stdio 复用两张上传收据发布、回读、下架成功,媒体预算未增加。试验商品均已下架;上传图片保留在 CDN,未操作既有商品。
异常与消融验证:
未验证及发布边界:
合规