mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 10:59:19 +08:00
f067801c72aff159d8e242cf356a5985681b3d7e
19
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
599de06444 |
feat(catalog): 增加过期草稿轮换、非可安装条目跳过与静态位图预算分档规则 (#430)
## 概述 / Summary 在**不放松任何安全/供应链审核红线**的前提下,为每日 `Upstream Health` 工作流落地 3 条减少无效 Draft 堆积的安全规则: 1. **规则 A — 过期自动草稿自动轮换 & 放宽重审预算(`propose_upstream_updates.py`)**: - 已有 PR 重审预算从 `args.limit`(5)提升至 `max(args.limit * 4, 25)`,避免 15+ 个打开的 Draft PR 互相饿死。 - 当已有自动生成的 Draft PR(经 `_is_automated_draft_only` 确认无人工提交或额外文件)落后于上游新提交,且**新提交按最新 `main` 规则已通过全部审核**时,自动关闭旧草稿(留注释说明)并直接为新 SHA 创建正式 Ready PR(解决 `#396`、`#398` 这类卡在旧 SHA 草稿上的问题)。 2. **规则 B — 非 `installable` 条目不白建必然失败的 Draft PR(`propose_upstream_updates.py`)**: - `catalog-metadata.v1.json` 中 `governance.availability` 明确非 `installable`(例如 `listing-only`)的条目,直接在覆盖报告记为 `governance-blocked`,不再创建注定失败的 Draft PR 噪音(覆盖 `#402`/`#403`/`#410`/`#411`/`#423` 同类场景)。 3. **规则 C — 静态位图单文件预算分档(`audit_skill_update.py`)**: - 非可执行静态位图(`mode=100644` 的 `.png`/`.jpg`/`.jpeg`/`.webp`)单文件预算放宽至 `5 MiB`(`MAX_STATIC_IMAGE_BYTES`),减少演示截图误伤; - 脚本、代码、`.svg`(可能含脚本)、文档与二进制仍严格维持 `1 MiB` 上限,且超预算报错明确输出具体文件路径与字节数。 ## 变更 / Changes - `scripts/catalog/propose_upstream_updates.py`:新增 `_non_installable_availability`、`rotate_stale_automated_draft_pr`、扩大 `recheck_budget` - `scripts/catalog/audit_skill_update.py`:新增 `MAX_STATIC_IMAGE_BYTES` / `STATIC_IMAGE_EXTENSIONS` 分档预算与精确路径报错 - `docs/verified-update-automation.md`:同步更新规则说明 - `scripts/catalog/test_propose_upstream_updates.py` & `scripts/catalog/test_audit_skill_update.py`:新增 3 项单测覆盖规则 A/B/C ## 验证 / Validation - `uv run --offline --quiet scripts/catalog/test_propose_upstream_updates.py` - `uv run --offline --quiet scripts/catalog/test_audit_skill_update.py` - `uv run --offline --quiet scripts/catalog/validate_catalog_metadata.py --require-complete` - `uv run --offline --quiet scripts/i18n/validate-i18n.py` - `uv run --offline --quiet scripts/i18n/translate.py --check` - `git diff --check` |
||
|
|
2d96fc9c41 |
feat(catalog): 已有自动草稿 PR 按最新 main 重审通过后自动转 Ready (#419)
## 概述 / Summary 增强每日 `Upstream Health` 工作流中的 `propose_upstream_updates.py`:当已有自动生成的 **Draft PR** 按最新 `main` 规则与 `special-review.v1.json` 重新审核通过时,自动同步 `main`、运行全部仓库校验、刷新机器审计回执并解除 Draft(`gh pr ready`)。 ### 安全边界(绝不误伤人工 PR) 1. **仅处理自动草稿**:必须同时满足 `isDraft == true`、目标分支与当前 `updates/<id>-<head[:12]>` 完全一致,且 PR 上所有提交与改动文件均来自自动提案器(或普通 `Merge branch 'main'`)。若检测到任何人工提交或额外文件,立即跳过保留原样。 2. **绝不 rebase / force-push**:使用普通 `git merge --no-edit <main_sha>` 同步主干;遇到合并冲突直接保持 Draft。 3. **强制重跑全部仓库校验**:推送与 `gh pr ready` 前强制执行 `validate_catalog_metadata.py --require-complete`、`validate-i18n.py`、`translate.py --check`(及合集的 `gen-collection-children.py --check`),任意校验失败立即中止并保留 Draft;清理过期的 `docs/update-reviews/<id>-*.json` 阻断记录。 ## 变更 / Changes - `scripts/catalog/propose_upstream_updates.py`:新增 `_is_automated_draft_only` 与 `promote_verified_draft_pr`,并在已有 PR 重审通过分支挂钩 - `scripts/catalog/test_propose_upstream_updates.py`:新增 3 项单测覆盖自动转 Ready、人工修改保护与校验失败拦截 - `docs/verified-update-automation.md`:同步更新自动草稿重审转 Ready 的行为说明 ## 验证 / Validation - `uv run --offline --quiet scripts/catalog/test_propose_upstream_updates.py` - `uv run --offline --quiet scripts/catalog/validate_catalog_metadata.py --require-complete` - `uv run --offline --quiet scripts/i18n/validate-i18n.py` - `uv run --offline --quiet scripts/i18n/translate.py --check` - `git diff --check` |
||
|
|
82102c30ea |
feat(catalog): 更新 follow-builders 至 91cccf122b7d 并写入可审计纯数据许可例外 (#401)
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> # 概述 / Summary 在当前已含 #400 的 `main`(`e5f31b4c3787a4ee14617bf18143c9b28cf95df4`)上,将可安装条目 `follow-builders` 从 `669f7f4b5320ac69ac2360fa8278b314834ed34c` 更新到草稿 #396 已提出的同一上游 pin `91cccf122b7d2420d9268b69534e39cf42558289`。 本 PR 是对失败草稿 [#396](https://github.com/desirecore/market/pull/396) 的正式替代,不是把 #396 标为 Ready。#396 应保持草稿。本更新不合并、不改变安装范围、不编写 LICENSE、不把第三方信源内容重新授权。 This is a normal (non-draft) replacement for failed draft #396, based on current main after #400. It does not mark #396 Ready, does not change the install scope, and does not invent a LICENSE file. 来源/许可/结构化元数据审核不执行上游代码,不是软件安全认证或真实运行验收。 Automated source/license/metadata verification does not execute upstream code and is not a security certification or runtime acceptance. # 专项复核 / Special review #396 的实际阻断是 `pin-bound-license-exception`(README.md 一行 MIT 声明不是完整版权及许可通知;旧 pin 人工例外不得因字节未变而扩展到新 pin)以及 `installed-project-notice`。新旧 pin 的 README.md SHA-256 均为 `ed622ec7b1c36417b3b5d684cb995611ce55c2f1987d8a7a6815c314f4447db7`。 #400 新增的 `acceptedDataOnlyLicenseException` 正是为这类「无独立 LICENSE、仅刷新 JSON 信源」的条目准备的。本次已核实: - 安装范围内全部变更严格落在 `feed-blogs.json`、`feed-podcasts.json`、`feed-x.json`、`state-feed.json`; - README.md / SKILL.md / 脚本 / `scripts/package.json` 及其余 18 个文件逐字节未变; - 四个 JSON 文件在新旧 pin 均可解析为对象,且顶层字段集合完全一致; - 已在 `special-review.v1.json` 写入绑定该证据哈希与精确白名单的 `acceptedDataOnlyLicenseException`(`requireValidJson: true`),并在 `docs/follow-builders-snapshot-review-20261129.md` 记录复核。 随后在当前 main 的官方 `audit_snapshots` 上复跑,**实际通过**。`inspect_snapshots` 将 `pin-bound-license-exception` 与 `installed-project-notice` 记为 info,无 blocked / manual_review / not_checked。机器回执 `skills/follow-builders/upstream-audit.v1.json` 由 `automated:source-license-metadata-v1` 在 `2026-11-29T14:31:28Z` 生成,`reviewedRef=91cccf122b7d2420d9268b69534e39cf42558289`,`contentManifestSha256=0a06ba8d4c2e0ecfc684918ac53d9541404af5d85f312a3f3639eb5b68394539`,`fileCount=22`。目录中的长篇中英文说明已改为指向该新 pin;entry 短简介未改,因为上游 SKILL.md 未变。 #400 added `acceptedDataOnlyLicenseException` for data-only JSON feed refreshes that keep an incomplete one-line MIT declaration. The conditions were verified on this exact pin, the official `audit_snapshots` entrypoint passed, and diagnostics were info-only. The machine receipt is not impersonated by this human review. Catalog long descriptions now name the new pin; entry shortDesc is unchanged because upstream SKILL.md is unchanged. # 变更文件 / Files - `skills/follow-builders/entry.json` - `skills/follow-builders/catalog-metadata.v1.json` - `skills/follow-builders/special-review.v1.json` - `skills/follow-builders/upstream-audit.v1.json` - `docs/follow-builders-snapshot-review-20261129.md` # 验证 / Validation - Official `audit_snapshots` + `inspect_snapshots` on current main against both upstream pins: passed at `2026-11-29T14:31:28Z` - `uv run scripts/catalog/validate_catalog_metadata.py --require-complete` - `uv run scripts/i18n/validate-i18n.py` - `uv run scripts/i18n/translate.py --check` 后三项已在当前 main 的分离工作副本上对准备树运行,全部退出码 0。`validate_catalog_metadata.py --require-complete` 为 0 error(s), 104 warning(s);警告均来自既有 builtin/其他条目,与 follow-builders 无关。详见 AUDIT-EVIDENCE.md。 The same three validators were run on a detached worktree of current main with the prepared files applied; all exited 0. Catalog validation: 0 errors, 104 pre-existing warnings unrelated to follow-builders. <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-ab47e698-5edf-591c-b939-31d5bd984397?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-ab47e698-5edf-591c-b939-31d5bd984397&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div> Co-authored-by: mashagua <mashagua@users.noreply.github.com> |
||
|
|
e5f31b4c37 |
feat(catalog): 增加带完整审核门控的客户端通知与纯数据延续规则 (#400)
## 概述 / Summary
在**保留完整自动化审核门控**的前提下,为两类高频重复产生 Draft 的场景增加「可审计延续(Audited
Carry-Forward)」规则,减少无风险波动导致的重复草稿:
1.
**客户端根通知附带的可审计延续(`acceptedClientAttachedNotices.allowCarryForwardWhenUnchanged:
true`)**
- 适用于已验证客户端自动附带根 `LICENSE` 的条目(如
`last30days`、`addy-agent-skills`、`mattpocock-skills`)。
- **必须同时满足全部审核门控才会放行**:
1. 必须绑定已发布的正式客户端版本标签 `clientReleaseTag`(如 `v10.0.214`)及已核验的
`clientCommit` / `clientTree`;
2. 新快照的根 `LICENSE` 字节必须与 `noticeSha256` 逐字节一致,且 MIT 声明须完整通过 `mit_grant`;
3. 安装范围 `scopes` 集合完全未变;
4. 每个安装范围目录顶层在新快照中**未出现**同名 `LICENSE` / `NOTICE` / `COPYING` 冲突文件;
5. 依赖清单、frontmatter、文件预算、嵌套许可及合并前人工无扩张审核等所有其他门控全部照常执行。
2. **纯数据更新的许可例外可审计延续(`acceptedDataOnlyLicenseException`)**
- 适用于无独立 `LICENSE` 但每日自动刷新数据文件的条目(如 `follow-builders` 的 4 个 JSON feed
文件)。
- **必须同时满足全部审核门控才会放行**:
1. 必须显式声明 `evidencePath`、`evidenceSha256` 和精确的
`allowedDataPaths`(禁止通配符,禁止列入
`LICENSE`/`NOTICE`/`COPYING`/依赖清单/`SKILL.md`);
2. `evidencePath` 在旧/新快照间逐字节一致且匹配 `evidenceSha256`;
3. 旧/新快照安装范围内的**全部变更文件**必须严格落在 `allowedDataPaths`
内,任何脚本、`SKILL.md`、配置或新增文件变化立即阻断;
4. 默认开启 `requireValidJson: true`,要求每个变更数据文件在旧/新快照均能解析为合法 JSON
对象且**顶层字段集合完全一致**。
## 变更 / Changes
- `schemas/special-review.v1.schema.json`:向后兼容地新增
`allowCarryForwardWhenUnchanged` 与 `acceptedDataOnlyLicenseException`
- `scripts/catalog/audit_skill_update.py`:在
`accept_client_attached_notices` 增加带碰撞检测与 `clientReleaseTag`
强制校验的延续逻辑;新增 `accept_data_only_license_exception` 并在 `audit_snapshots`
挂钩
- `scripts/catalog/update_diagnostics.py`:接入
`accept_data_only_license_exception`,核验通过时将
`pin-bound-license-exception` 与安装内 `installed-project-notice` 记为
`info`,任何违规直接记为 `blocked`
- `docs/verified-update-automation.md`:补充两条可审计延续规则及其审核边界说明
- `scripts/catalog/test_audit_skill_update.py`:新增 2 组单测覆盖合法延续、缺
`clientReleaseTag` 拦截、顶层冲突通知拦截、JSON 字段结构变化拦截及越界代码变更拦截
## 验证 / Validation
- `uv run --quiet scripts/catalog/test_audit_skill_update.py`
- `uv run --quiet scripts/catalog/test_update_diagnostics.py`
- `uv run --quiet scripts/catalog/test_validate_catalog_metadata.py`
- `uv run --quiet scripts/catalog/validate_catalog_metadata.py
--require-complete`
- `uv run --quiet scripts/i18n/validate-i18n.py`
- `uv run --quiet scripts/i18n/translate.py --check`
- `git diff --check`
|
||
|
|
9fa7f88ef1 |
feat(catalog): 落地正式版根通知、精确提交例外与行为安全复审门控 (#388)
将正式版根通知、精确提交许可例外与行为安全复审门控写入策略文档、Schema 与审计脚本。 |
||
|
|
d1123e67b5 |
chore(market): 更新 last30days 上游快照 (#360)
将 last30days 固定到 7c2e1c2b099b13abd4397910168c4f53e638bb21,并保留绑定该精确 pin 的根通知回执与行为复审文档。 |
||
|
|
2dd32f45a7 |
chore(market): 更新 follow-builders 上游快照 (#368)
## 修复已完成;精确目标提交已获人工许可例外并完成本地验证 固定来源:`65452b9258f31ed2893734c86481216d2e4105ff` → `669f7f4b5320ac69ac2360fa8278b314834ed34c`。保持原 Git 指针、整库安装范围和全部资源。 | 检查项 | 真实证据 | 处理结果 | | --- | --- | --- | | 新 pin 与旧 pin 专用例外绑定 | 精确差异只有 1 个提交、4 个 JSON 数据文件(`feed-blogs.json`、`feed-podcasts.json`、`feed-x.json`、`state-feed.json`),均可解析且顶层字段集合不变 | 已逐项复核,更新 `catalog-metadata.v1.json` 中英文说明绑定新完整 SHA `669f7f4b5320ac69ac2360fa8278b314834ed34c`;不自动沿用到未来版本 | | 许可与实际携带 | `README.md` 字节未变,SHA256 `ed622ec7b1c36417b3b5d684cb995611ce55c2f1987d8a7a6815c314f4447db7`,仍是一行 MIT 且位于整库安装范围内 | `mashagua` 明确接受新 pin 的同一目录专用例外;`special-review.v1.json` 与 `docs/follow-builders-snapshot-review-20261128.md` 保存人工结论 | | 行为/依赖/授权 | `SKILL.md`、全部脚本、工作流、配置、`scripts/package.json` 和 lock 均未变 | 保留 Node.js/npm、Telegram/Resend 凭据、费用与发送/定时授权,以及第三方信源权利条款 | | 机器回执边界 | 保留 `upstream-audit.v1.json` 机器归属 `automated:source-license-metadata-v1`,仅同步 `specialReview.reviewedAt` 为 `2026-11-28` | 人工复审不冒充机器核验 | | 本地验证 | `validate_catalog_metadata.py --require-complete`、`validate-i18n.py`、`translate.py --check`、`test_validate_catalog_metadata.py` (62 tests)、`test_audit_skill_update.py` (45 tests)、`git diff --check` 全部通过 | 正常 `merge upstream/main` 同步最新主干,无 rebase/force-push | 详细精确文件哈希与复审边界见 [`docs/follow-builders-snapshot-review-20261128.md`](https://github.com/desirecore/market/blob/08932d4/docs/follow-builders-snapshot-review-20261128.md)。 Automated source/license/metadata verification is not security certification or runtime acceptance. The exact-pin exception does not relicense third-party feed content or authorize external delivery. No auto-merge. --------- Co-authored-by: yi-ge <yi-ge@users.noreply.github.com> Co-authored-by: mashagua <993498039@qq.com> |
||
|
|
6d4d2247a9 |
chore(market): 更新 mattpocock-skills 上游快照 (#361)
mattpocock-skills 上游快照:5863806dd4e15c63174bee4e7515a4256792ecfa → d65391149dbb5fe76478e76fa8d5122b2aa5a70e。 官方 audit_snapshots 已通过对该新 pin 的审核,并签发绑定该 pin 与 39 条安装路径的新回执;reviewedRef 已同步。旧回执未延伸到新 pin。这不是许可例外。 合入前精确 head 为 c99fa1a8ddb26b4e89d4e591e4fa848853992d00(已用正常 merge 把当前 main / #374 squash 合进本分支,树与同步前一致)。该 head 上 required checks validate 与 translate 均已 success。 |
||
|
|
44ab34fe54 |
完善市场更新自动化:精确准入审核、安装通知门禁与双语问题闭环 (#354)
## 实际功能与范围 在原 PR 上继续完善,不新开机制 PR。使用 main 的可信代码与策略重新发现上游、读取精确旧新 pin、重建真实差异并绑定最终 SHA;不执行 PR 或上游代码,不把 listing-only 自动提升为 installable。 已正常 merge 最新 main,包含 #356、#357 以及其他 worker 完成的 #359;没有 rebase、force-push,也没有修改 #358–360 工作分支。本 PR **不合并、不部署自身**。 ## 修改前后对照 | 修改点 | 修改前 | 修改后 / 实际效果 | |---|---|---| | Git 固定来源更新 | 主线发现更新后提出快照 PR,无法统一覆盖本轮发现的准入缺口 | 沿用精确 pin 的真实 delta 核验;新增门禁同样用于提案与可信自动合并重审。每轮最多审核 5 个新 Git 候选,另可只读复核 5 个已有 PR,不改其内容、不重复开 PR | | ZIP / Web 新版本发现 | 主线主要检查链接可访问性,不发现新版 | 只通过显式登记的 ClawHub / GitHub release asset / GitHub file 适配器发现与固定来源,不猜版本、不把新哈希当作审核通过。目前实际登记高德 ClawHub;其他来源须另配可信跟踪;嵌套 ZIP 安装目录尚未适配 | | 市场本地技能 | 不自动同步第三方上游 | AI News Radar 使用上游精确映射与文件清单,保留市场包装和本地补丁;上下游同时修改或映射范围不一致即暂停,不覆盖本地补丁。目前只登记此本地包 | | 主许可通知是否随安装交付 | 能核对根及嵌套许可变化,却不能证明根主通知随 source.path / 所选 child.path 交付 | 分别检查每个所选目录;vendor/LICENSE 或 SKILL 中单行 MIT 不能替代主项目完整版权、授权和免责通知。README/SKILL 内完整等效文本可通过,不强制 standalone LICENSE;未证明交付时阻断或转人工,不擅改安装方式 | | NOTICE 的实际交付 | 根 NOTICE 存在或哈希已审可能被误当作安装交付 | 声明的 NOTICE 未证明随目录交付会阻断;未声明根 NOTICE 的适用性保守转人工。非标准/嵌套等效通知需人工复核,不把扫描未命中说成没有合法许可 | | 精确 pin 人工例外 | README 文本没变时可能将旧许可例外扩展到新 pin | 单行 MIT 的旧 pin 例外不能自动继承;新 pin 必须另有真实人工授权。#359 的新 pin 例外是另一 worker 独立补审后合入 main 的决定,不是本机制自动扩大旧授权 | | 版本、双语与派生目录 | 结构化字段通过不代表说明文字、两种语言和派生目录一致 | 使用明确版本源提示旧版本文案;根插件版本不强加给所选子目录,不把任意数字当版本。检查 entry/catalog 子项语言镜像,描述变化转人工;历史英文回退单独标记,不伪称已翻译 | | 安装内容、权限、依赖和行为差异 | 依赖哈希接受或简短专项说明容易被误读为完整行为审核 | 直接比较完整 Git 对象和安装路径,报告新增/删除/权限差异,不依赖截断的 GitHub compare。授权、凭据、配置、网络相关命名实现的变化保守转人工;明确这只是复核提示,不是已证实漏洞。开发依赖不冒充所选技能运行依赖 | | 失败原因及真实回执 | 首个异常后缺少精确路径和未检查阶段;后续校验失败可能覆盖旧回执或仍显示已审 | 逐项输出技能/路径、精确旧新 pin、门槛、原因、修法与实际状态,区分历史遗留、本次引入、人工待审、实际失败和失败后未完成;保留真实旧回执,独立保存失败命令/输出,不生成假成功回执。物化 ZIP/local 的临时 Git ID 不当作真实来源 pin | | 当前候选 PR 与 main 重放分层 | 对 main 旧元数据重放的失败,可能被误说成当前已修订 PR 仍未修;旧回执错误与许可根因混在一起 | 只读当前 PR 精确 head 的 entry、sidecar、旧回执与实时 checks;不 checkout、不执行候选。每行标注 main 重放或当前候选 head。reviewedRef / receipt ref / receipt scope 三类未签新回执的派生错误与主通知交付根因分开;读取失败明确未检查,不停止其他独立候选,也不当作通过 | | unhealthy report / issue 展示 | 健康 issue 在审核前生成、单语、每日时间戳驱动更新,并用评论关闭 | 健康结果 + Git 审核 + ZIP/Web/local 结果在审核后汇总为中英双语;复用原 upstream-health issue,稳定托管区、无变化不编辑、不发评论,完整确认解决才关闭,新问题重开同一 issue。首次迁移保留 #213 现有手动双语内容为历史快照,托管区外人工内容保留;完整 JSON/日志保存在 audit-results 工件 | | 自动合并的信任与最终 SHA 门禁 | 不能靠“有标签/有回执”证明可合并;原先还错误要求所有语言任务必须存在 | 只接受可信 main 重审得到的完整预期差异,检查当前 main 与最终 SHA;validate、translate、Copilot wait 为具名基线,实际存在的最新 CodeQL/Analyze、statuses、workflow runs 也必须完成且成功,适用检查缺失/失败/进行中均不放行。PR 自带 JSON 或任意标签不能授权 | | 纯版本例外与真人审核 | 所有字节变化要求第二真人过宽,但也不能用版本号掩盖行为变化 | 保留可独立证明的 SKILL.md 顶层 semver-only 例外:其余字节、文件集和权限均相同才与完全相同 payload 一样无需额外行为批准;其他实质变化仍需最终 SHA 的有权限真人维护者审核,真人审核不能豁免独立机器门禁 | | hold、冲突、凭据及发布身份 | 不能把配置不足或冲突伪装成更新成功 | hold / 双边修改 / 范围变化 / 未确认许可均暂停。实际发布与合并身份验证为 mashagua;MARKET_MAINTAINER_TOKEN 未配置时只审核,不冒用机器人发 PR。保留分支保护与预期 SHA squash,无 admin 绕过;每轮最多合并一项,本轮不执行合并 | ## 本轮真实案例与限制 - **#358 / Addy**:固定 `8c99fa36d90068c82d547f7c12a9d67a3e95f4ee` → `e997ac5b9a74eab332d5e9793bb38a38c8cfdd74`。包括 `skills/api-and-interface-design` 在内,根主 MIT 通知未被证明随所选子目录交付;是旧版本已有的缺口。0.6.18 双语文案已由 #358 独立修复,不能把 main 的旧文案误称为该 PR 仍未修复。 - **#359 / Follow Builders**:旧 pin `22c2e72e1a4bb0fc0f3e19f992fc55615b48989e` 的例外不自动覆盖 `65452b9258f31ed2893734c86481216d2e4105ff`。新 pin 的人工例外、22 文件真实回执及四个 JSON 数据变更由另一 worker 补审,现已合并 main;本 PR 已正常同步,未碰其分支。 - **#360 / Last30Days**:`331025e662756ca51e86dfddcf59969f6dba25a0` → `7c2e1c2b099b13abd4397910168c4f53e638bb21`,范围 `skills/last30days`。主通知在目录外,bird-search vendor 许可不能替代;真实差异包含授权/配置/网络实现,依赖专项接受不代表完整行为复审。没有删除资源、缩范围或改变交付方式。 - **#361 / Matt Pocock**:上游仍为 `5863806dd4e15c63174bee4e7515a4256792ecfa` → `d65391149dbb5fe76478e76fa8d5122b2aa5a70e`;当前候选 head `4cd8c6a4a31ef4512a871d15a355dd8dcf670cb0` 已补39成员、78条双语并处理34条历史英文回退。本轮实际只读复审确认:当前候选成员缺项0、英文回退0,但39/39安装目录仍未证明携带完整主 MIT 通知。独立 PR 复核记录为39目录109文件均无完整必要通知,旧38也已有缺口;因此保持 Draft,不伪造新回执。 - 对 main 旧登记重放的原失败仍是登记38/解析39;物理 SKILL 39→39、无新增/删除/移动,software-factory 仅因 YAML 修好重新可发现,chief-of-staff 描述另变,yaml 是根开发依赖。**这是历史 main 基线,不是说当前候选没补成员/翻译。** - 当前候选 validate 真实失败;reviewedRef 不对应目标、旧 receipt.source.ref 不对应目标、旧 receipt.scope38 不覆盖39,是**未签新回执的三项派生错误**,不是三项新许可变更。translate、CodeQL、三个 Analyze 成功;Draft 的 Copilot wait 为 skipped,不称实质审核批准。先解决通知根因并真实复审,不能只改 ref/scope 凑绿灯。 - 证据:[当前PR实际复核说明](https://github.com/desirecore/market/blob/4cd8c6a4a31ef4512a871d15a355dd8dcf670cb0/docs/reviews/mattpocock-skills-pr361-d65391149dbb.md) · [JSON记录](https://github.com/desirecore/market/blob/4cd8c6a4a31ef4512a871d15a355dd8dcf670cb0/docs/reviews/mattpocock-skills-pr361-d65391149dbb.json)。 自动通知证明采用有界、保守的直接目录文本匹配;不声称覆盖一切合法非标准许可写法,也不代替真实安装回读或全部行为审查。客户端携带父级通知的实现需要另行授权,并让实际产物、摘要、锁记录、升级和回滚一致;本 PR 不跨仓修改客户端。 实现说明:[docs/upstream-audit-reporting.md](https://github.com/desirecore/market/blob/2bf76eade1644ff4b928c873cbb5d9139a322973/docs/upstream-audit-reporting.md)。现有报告:[issue #213](https://github.com/desirecore/market/issues/213);当前手动双语不等于持久模板已部署,主线旧任务仍可能覆盖,须本 PR 经审核合入 main 后才生效。 ## 最终 SHA 验证 最终 head:`2bf76eade1644ff4b928c873cbb5d9139a322973`。功能提交:`574f9c904da19eb4ce5c970c45b798bc6d3d3f72`、`e0d7ef0d936872f08d8fb6bd20166d98ddf46952` 与 `2bf76eade1644ff4b928c873cbb5d9139a322973`;正常 merge main 提交为 `950ae45cc985f8510a13eb9487896e1d516a8613`。新提交 author/committer 均为 `mashagua <993498039@qq.com>`。 - 完整 `pytest scripts`:**306 passed、397 subtests passed**;仅一条环境 pytest 插件弃用警告。 - `validate_catalog_metadata.py --require-complete`、`validate-i18n.py`、`translate.py --check`、`git diff --check`:全部 exit 0。目录原有治理/英文回退警告未冒称已修。 - 同一最终 SHA 的远程 **validate、translate、CodeQL、Analyze (actions/python/javascript-typescript) 均 success**。 - `wait-for-copilot-review` 最新读取仍 **in_progress**,尚无 review 或行内评论;不冒称已完成 Copilot 审核。 不合并 #354,不部署;不修改 AI News Radar 的五条既有告警,不修改任何技能资源、结构、子项选择或安装方式。 |
||
|
|
4cd459fe67 |
chore(market): update reviewed Follow Builders snapshot (#359)
Update the immutable Follow Builders source pin after exact-target review. Only four JSON feed/state data files change upstream; instructions, scripts, dependency manifests and README remain byte-identical. Explicitly accept the existing Market-specific README MIT exception for this exact pin, preserve third-party rights and delivery authorization boundaries, correct bilingual metadata and regenerate the machine-attributed audit. Normal main synchronization preserves PR356/357. Catalog, i18n, freshness and 187 pytest tests with 234 subtests passed locally; all seven final-head checks passed. This is not runtime or external-delivery acceptance. |
||
|
|
f3d5f29503 |
fix(market): 纠正大包可用性、默认预算与许可通知边界 (#357)
## 实际修正 复审 #350/#353/#354/#356 后,纠正 #353 已合目录文案中的边界误导;不改上游交付,不擅自把七项提升为可安装,并反查 #350 同类问题。 - GIF/stickman 区分整库、所选路径、超 1 MiB 文件合计:GIF 整库 883.07 MiB;stickman 整库 911.06 MiB、所选路径 552.59 MiB。原 676/812 MiB 是大文件小计,不是整个包。 - 明确市场 1 MiB/50 MiB/2000 是自动审核预算,不是上游技能能否使用的判定。budgetExemptPaths 不放宽总量。客户端固定 SHA Git 缓存 200/256 MiB 是默认值,内部 limits 可覆盖、不同取源路径有区别,不冒称不可配置绝对限制;不改任何阈值。 - 补齐 stickman 根 MIT LICENSE 不在所选路径内的实际通知携带问题;SAG/pixelfx/94+79+9 合集区分“市场可引用许可明确的上游”与“安装副本需要保留通知”,不暗示原仓库不可用或许可未知。 - 审计注释明确根 LICENSE/NOTICE pathspec 仅是审核证据,不等于客户端附带文件。新增固定源码行链接及离线复制结果说明。 ## 反查 #350 后追加纠正 - Agent Reach 的 agent_reach/skill(9 文件)、marketingskills 的 50 个子项、wecom-cli 的 15 个子项均缺根 MIT 通知。PPTX 的模板许可证属于第三方,不能替代 root LICENSE;已读取两个合集全部 65 个 SKILL.md。拟将三项市场安装暂停为 listing-only,保留原固定 source/合集点选/资源/已知许可及历史许可审核,不伪造安装通过。 - Karpathy 原 README 只有 MIT,而实际路径内原 SKILL.md 同样有 license: MIT;沿用已接受的一行声明边界,将 evidencePath 改到安装内真实文件,保持可安装,不一刀切降级。 - 网易三个子项各自含 LICENSE.txt,不降级;Follow Builders 整库包含 README 声明,交由现有 #356 校正文案;AI News Radar 显式授权本地包不撤回。 ## 不变边界 原 #353 七项的 source/ref/path、合集 94/79/9 与双语子项、已知许可、availability 和准入回执均不变。无上游文件、本地包装、资源删除、自创 fetch、安装器或客户端仓库改动。AI News Radar 是用户明确要求的本地包,不撤回;#356 已处理 Follow Builders 文案,不重复修复。#354 的自动化纠偏追加到其原分支,不在此 PR 重复。 ## 验证 - 完整 pytest:200 passed / 397 subtests passed;仅一条环境插件弃用警告。 - catalog --require-complete、validate-i18n、translate --check、git diff --check 通过。 - 逐项比较七项 source、children、governance、provenance 与 main 完全一致。 - 未执行上游脚本或外部服务,不宣称运行时/安装全部通过。 最终 head:7f4448219f36053abe6e4e1b2faab3fdc382d85d。 仅提交待审,不合并。 远程最终 SHA 检查已完成:validate、translate、wait-for-copilot-review 全部 success。此 JSON/文档差异未调度 CodeQL/Analyze,不把未适用任务伪报为通过。最终改动后已完整重跑 pytest:200 passed / 397 subtests passed。 |
||
|
|
7189d91395 |
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 被拒。 |
||
|
|
4a4fbea7fd |
fix: 同步上游健康巡检 #213 两轮已审查的市场引用 (#227)
## Summary This PR remediates the #213 upstream-health findings in two reviewed rounds. Each installed-scope diff was reviewed: the source path or the declared child paths, together with the root LICENSE/NOTICE/COPYING files. Each entry was then repinned or put on a reviewed hold. Per-entry decisions and compare links are in `docs/upstream-health-213-remediation.md`, which covers the first review and then the "Follow-up review (2026-10-27)" section. - **Round 1 (2026-10-19):** 28 reported entries. - **Round 2 (2026-10-27, squash-merged from #228):** the upstream changes that landed after round 1. #222 is now on `main`, and this branch has been updated with `main`. ## Changes - **Repins.** Round 1 repinned 24 pointers. Round 2 repinned 16, some of them again: - Round 1: agent-reach, anatomy, archify, blog-chart, blog-repurpose, brainstorming, dingtalk-cli, follow-builders, humanizer, humanlayer-skills, impeccable, larksuite-cli, last30days, mattpocock-skills, planning-with-files(-zh), redbookskills, reverse-engineer-anything, systematic-debugging, taste-skill, translate-book, video-use, wechatpay-skills, wecom-cli. - Round 2: archify, banana, brainstorming, dingtalk-cli, follow-builders, frontend-slides, himalaya, impeccable, larksuite-cli, last30days, mattpocock-skills, planning-with-files(-zh), redbookskills, reverse-engineer-anything, taste-skill. - For each repin, `entry.json` and the catalog sidecar stay in sync: refs, compliance, review timestamps, observed versions, license evidence and compatibility requirements. - **Three new collection children** with reviewed zh-CN/en-US summaries: - `rpi` (humanlayer-skills): explicit invocation only. A real summary replaces the upstream text, which only said to invoke it by name. - `chief-of-staff` (mattpocock-skills): from upstream's in-progress folder, manual invocation only. - `wecomcli-pptx` (wecom-cli): needs the separately installed wecom-cli. - **License.** - archify: upstream relicensed from MIT to Apache-2.0. The earlier MIT grants remain upstream in LICENSE-MIT and NOTICE. - humanlayer-skills: MIT license evidence and review dates recorded. - **External-dependency disclosures**, following the repository policy: - brainstorming: visual-companion logo telemetry. - planning-with-files: automatic hooks and their Python 3 requirement. - archify: an opt-in global-rules edit. - taste-skill: public image APIs and CDN resources. - wechatpay-skills: knowledge-base sync. - banana: Python 3.11+, Gemini billing and data retention. - himalaya: the separate CLI and mail credentials, and sending without built-in confirmation. - frontend-slides: the Playwright/Chromium download. - impeccable: the optional OpenAI image fallback and SHA-256-pinned downloads. - last30days: Bright Data and the other optional providers. - reverse-engineer-anything: tooling and the authorization gates. - Updated summaries for the dingtalk-cli and mattpocock-skills children. - Unsupported domain and tool counts are removed from the dingtalk-cli summary. - **Reviewed holds** (`upstream-health-hold.json`): - `geo-optimizer`: upstream moved the workflow outside the installed subtree, so the new layout would install broken. - `nuwa-skill`: SKILL.md recommends the author's other projects whenever a request goes beyond the skill's scope. - `agent-reach`: 1.6.0 defaults to an anti-detection browser that copies site cookies from a connected Chrome. - `wecom-cli`: new wecomcli-sheet content is adapted without attribution from the source-available xlsx skill in anthropics/skills, while the repository declares MIT. - `marketingskills`: a referral promotion and paid "Verified Partner" placements in agent-facing content. This hold went stale again on 2026-10-28; see below. - **Manifest** goes to 1.5.18; #226 took 1.5.17 on `main`, and inventory counts follow `main`. watch is left alone because #221 already pins it on `main`. ## Review decisions worth a second look - **archify proactive mode.** It edits the agent's global rules file only after explicit user consent, and the edit is reversible. Disclosed rather than held. - **wechatpay-skills knowledge-base sync.** The sync can overwrite installed files from the official CDN. This behavior predates this PR; disclosed rather than held. - **agent-reach and wecom-cli holds.** Both are judgment calls. The review notes list what a later bump would need to disclose. - **reverse-engineer-anything version.** Its upstream `metadata.version` revision is recorded as an opaque version. ## Validation Run on 2026-10-28 on this branch after merging `main` (`7a3ea30`, which includes #226): - Unit tests: 122 pass. By suite: i18n 19, catalog-metadata 51, collection generator 10, upstream health 42. - Validators: `validate_catalog_metadata.py --require-complete`, `validate-i18n.py` and `translate.py --check` pass with 0 errors. Warnings go from 105 on `main` to 103, and none are new. - Collections: `gen-collection-children.py --check` reproduces all ten pinned collections, including aws-agent-toolkit from #226. - `git diff --check` is clean. - Sensitive-token scan: passed for both rounds (run privately by the maintainer). The `main` merge and the manifest bump add only generic text. Each round was also checked online against its reviewed heads; see the remediation record. Third-party programs and live account services were not executed. ## Not clean as of 2026-10-28 The online check on this branch covered 113 entries, and nothing is broken. One transient TLS failure passed when rechecked individually. Five `held` findings cover four holds: geo-optimizer counts twice, nuwa-skill, agent-reach and wecom-cli once each. Still actionable: - **marketingskills:** upstream moved again (`0cd9b3a`), so its hold is `stale-hold`. The two undeclared children are still reported as `new-skill`. - **reverse-engineer-anything:** `outdated` against a newer head (`40b9c03`). - **agent/video-director:** `outdated` against a newer head (`4652b1d`). It was added on `main` by #225. - **aws-agent-toolkit:** `outdated` against a newer head (`655a323`). It was added on `main` by #226. These newer heads are not reviewed here. #213 stays open for the next round. Refs #213. |
||
|
|
26a3a4a82a |
fix: 修复上游健康巡检并同步已审查的市场引用 (#207)
Upstream health checks could select a different branch ending in `main`, index internal skills or lowercase reference documents, treat a valid pinned path as broken after an upstream move, and close the tracking issue while unpinned or unknown entries remained. Resolve exact refs and tracked filenames, compare the installed snapshot, and drive issue decisions from structured results. Refresh 26 reviewed pointers, pin DingTalk and Matt Pocock collections, remove the deleted merge-conflict skill, and add the six new public children with reviewed translations. Synchronize sidecars, observed release facts, license evidence and external dependency disclosures. Identical-tree Agent pins and their versions remain unchanged. The per-entry review is recorded in `docs/upstream-health-189-remediation.md`. Validation: 99 unit tests pass; all nine pinned collections reproduce; catalog/i18n and translation-freshness checks pass; online health checks all 41 external entries with zero broken, actionable or unknown results. Existing catalog warnings decrease from 123 to 105 with no new warning groups. Python/workflow shell syntax and whitespace checks pass. Closes #189. |
||
|
|
204cd96835 |
docs: 更新 Control 应用市场入口与服务技能边界 (#181)
## 变更 / Changes 新增 Control 1.4.0 中英文市场安装指南及 README 应用入口,指向真正的应用数据源 desirecore/registry;同步 registering-services / using-services 到 1.0.4,明确 native-app 的对外 MCP 不可注册为内部服务。 Add bilingual marketplace documentation and update both service skills without duplicating an App as an MCP service. Fixed native application listing and lifecycle live in Registry; open-source implementation lives in desirecore-agent/desirecore-cdp-mcp. ## 兼容 / Compatibility Requires native-app-aware desktop (catalog minimum 10.0.169) and app-install-manager >=1.4.0. Catalog publication does not upgrade the desktop or Agent. ## 验证 / Verification - i18n/catalog validation: 0 errors, 129 existing governance/freshness warnings retained. - scoped translation hash check: both skills up to date; no model API invoked by checks. - git diff --check passed; unrelated market entries preserved. |
||
|
|
f8d6ddeaf3 |
feat(market): 为外部技能补充图标 (#50)
## Summary / 摘要 Add inline SVG icons to all 20 external pointer skills, so their cards no longer fall back to an empty icon. The market catalog version is bumped from `1.2.8` to `1.2.9`. 为全部 20 个外部 pointer skill 补齐内联 SVG 图标,市场卡片不再显示为空;市场版本由 `1.2.8` 升至 `1.2.9`。 ## Compatibility / 兼容性 Depends on desirecore/desirecore#1177, which permits the `icon` field in strict pointer-entry validation and forwards it through the offline list/detail responses. That PR must merge first. ## Skill → icon screenshot / Skill 与图标截图 The preview labels every card with its display name and id.  Covered skills: `agent-reach`, `ai-news-radar`, `amap-jsapi-skill`, `dingtalk-api`, `flyai-skill`, `follow-builders`, `ian-xiaohei-illustrations`, `karpathy-guidelines`, `khazix-skills`, `larksuite-cli`, `last30days`, `luckin-my-coffee`, `mattpocock-skills`, `minimax-image-gen`, `minimax-tts`, `mt-paotui-for-client`, `netease-skills`, `taste-skill`, `wechatpay-skills`, and `wecom-cli`. ## Validation / 验证 - `uv run scripts/i18n/validate-i18n.py` - `uv run scripts/i18n/translate.py --check` - Parsed all 20 `entry.json` icons as SVG XML - `git diff --check` - Rendered the committed preview asset locally |
||
|
|
0b9aa38699 |
fix(skills): 禁止自动注入完整技能内容 (#49)
## Summary - 将 dashscope-image-gen、image-to-image、markdown、tech-diagram、xiaomi-tts 改为仅按需加载,并递增 patch 版本 - 在 Market validator 与 JSON Schema 中禁止 `disable-model-invocation: false` - 将回归测试接入 `i18n Validate`,同步中英文技能编写规范 ## Root cause and impact 这 5 个技能在首次引入时即声明 `disable-model-invocation: false`,导致完整技能正文进入普通请求的 system prompt。修改后市场技能只能声明 `true` 或省略该字段,完整内容仅在显式调用 Skill 工具后加载。 ## Validation - `uv run --quiet scripts/i18n/test_validate_i18n.py` - `uv run --quiet scripts/i18n/validate-i18n.py` - `uv run --quiet scripts/i18n/translate.py --check` - `python3 -m json.tool scripts/i18n/schema/skill-frontmatter.schema.json` - `actionlint .github/workflows/i18n-validate.yml` - `git diff --check` |
||
|
|
1b002e5778 |
强化市场校验与索引元数据
合并市场索引、分类、i18n 校验、skill-creator 工具和已修改 skill 版本号更新。 |
||
|
|
8bdda4afb1 |
feat: skills i18n 改造(schemaVersion 1.1,零向后兼容) (#1)
* feat: skills i18n 改造 — schemaVersion 1.1,零向后兼容
把 21 个 skills + 1 个 agent + manifest/categories 全量迁移到 schemaVersion 1.1
的 i18n 结构,配套 CI AI 翻译流水线(GitHub Models)与本地工具链。
## 关键变更
### 数据结构(破坏性,schemaVersion 1.0 → 1.1)
- SKILL.md: 顶层 name 改为 ASCII slug(== 目录名,符合 agentskills.io 规范);
中文显示名/short_desc/description 全部迁入 metadata.i18n.<locale>
- agents/<id>/agent.json: shortDesc/fullDesc/tags/persona.{role,traits} 迁入
i18n.<locale>;changelog[].changes 改为 { <locale>: string[] } 对象
- categories.json: 每个分类的 label/description 迁入 i18n.<locale>,顶层只剩
color/icon
- manifest.json: 加 supportedLocales / defaultLocale;顶层 description 迁入
i18n.<locale>
### Body 文件结构
- 根 SKILL.md = frontmatter + default_locale (en-US) body
- SKILL.<locale>.md = 各 locale 的 markdown body(首行 <!-- locale: xx --> 自校验)
### 工具链(scripts/i18n/)
- glossary.json: zh→en 术语表 + do_not_translate 白名单
- schema/skill-frontmatter.schema.json: i18n frontmatter JSON Schema
- validate-i18n.py: 8 条校验规则(name 合规 / locale 完整性 / hash 一致性等)
- translate.py: GitHub Models / Anthropic 双 backend,sha256 增量翻译
- migrate.py: 一次性迁移脚本(旧格式 → i18n 结构)
### CI(.github/workflows/)
- i18n-validate.yml: PR 触发跑 validate + translate --check
- i18n-translate.yml: PR 触发用 GitHub Models(默认 openai/gpt-5-mini)翻译缺失
locale,自动追加 commit;可切到 ANTHROPIC_API_KEY 走 Claude
### 文档
- docs/I18N.md: 作者贡献指南(schema 说明 / 提交流程 / 常见问题)
- README.md: 加多语言段落
## 验证
- uv run scripts/i18n/validate-i18n.py: OK,49 文件 0 错误
- uv run scripts/i18n/translate.py --check: 0 stale locale
- 21 skills 标题数 zh-CN == en-US 严格对齐(最大 66=66)
- skills-ref 规范校验:全部通过(顶层 name ASCII slug + description 单字段)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(i18n): 修复 PR #1 review 反馈的 6 项问题
- schema: translated_by 正则放宽为 ^(human|ai:[A-Za-z0-9._:/-]+)$,接受
'ai:github:openai/gpt-5-mini' 这类 backend:model 形式(CI 翻译输出格式)
- README + docs/I18N.md: 修正"CI 用 Claude API"误导描述,正确说明默认是
GitHub Models(openai/gpt-5-mini)+ GITHUB_TOKEN,可选切到 Anthropic
- skills/minimax-tts/SKILL.md & SKILL.zh-CN.md: 删除多余的 ``` 闭合,避免
Markdown 后续渲染错乱
- skills/docx/SKILL.md: 翻译时丢失的 • Unicode escape 示例已恢复,
与 zh-CN 版本对齐
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|