mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 23:19:28 +08:00
fix(catalog): 校验技能指针的客户端契约,撤回 REA 的单段版本 / validate skill pointers against the client contract (#239)
客户端按 `marketSkillEntrySchema` 校验 `entry.json`,`latestVersion` 只接受 `x.y` 或 `x.y.z`, 不通过的条目在索引时被跳过。#227 写入的上游修订号 `50` 让所有客户端都看不到 reverse-engineer-anything,而 manifest 仍计入它。 - reverse-engineer-anything 恢复为 `release: unknown` 且不声明 `latestVersion`;固定提交与合规审查不变。 - video-use 去掉指针无法声明的 `skillType`,此前客户端一直拒绝这份 sidecar。 - 校验器用导出的客户端 Schema 校验技能指针,并按客户端判据双向比较 sidecar 事实。 Clients skip any `entry.json` whose `latestVersion` is not `x.y` or `x.y.z`, so the upstream revision `50` from #227 hid reverse-engineer-anything from every client. This restores the shape reviewed in #212, drops a `skillType` from video-use that made clients reject its sidecar, and makes the validator enforce the client contract for skill pointers and compare sidecar facts both ways. 验证 / Validation: `validate_catalog_metadata.py --require-complete` 0 errors;真实 MarketSync 与校验器在 43 类变异下判定一致;索引 145 技能、9 Agent、2 团队,0 个 sidecar 被拒。
This commit is contained in:
10 files changed
+592
-81
No files matched your search
@@ -130,3 +130,7 @@ Still open after this round:
|
||||
- For the next review: at the current wecom-cli pin, `wecomcli-pptx/references/templates/anti-ai-slop.md` names the source-available pptx skill in anthropics/skills as one source of a reworded checklist.
|
||||
|
||||
Third-party programs and live account services were not executed.
|
||||
|
||||
## Later correction (2026-10-31)
|
||||
|
||||
`skill/reverse-engineer-anything` recorded upstream revision `50` in `latestVersion` and `release.version`. The client pointer contract admits only numeric `x.y` or `x.y.z`, so clients dropped the listing from their index, and the catalog validator did not check skill pointers against that contract. The repin and its review stand. The listing now declares no version (`release: unknown`), and the validator checks skill pointers against the [exported client schema](../schemas/market-skill-entry.client.schema.json).
|
||||
Reference in new issue
Block a user