mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 09:39:21 +08:00
为上游暂未声明开源许可证的纯源链接(`source-pointer-only`)条目增加绑定固定快照的显式临时豁免机制,并将
`skills/lumarescue` 与 `skills/mt-paotui-for-client` 恢复为
`installable`,同时在中英文简介中明确向用户提示许可证状态。
### 改动说明
1. **`schemas/catalog-metadata.v1.schema.json`**:
- 在 `governance` 下新增可选字段 `temporaryUnknownLicenseException`(必填
`reviewedRef`、`reviewedAt`、`reviewedBy`、`reason`、`upstreamEndorsed`)。
2. **`scripts/catalog/validate_catalog_metadata.py`**:
- 默认仍严格拦截无已知许可证的 `installable` 外部 pointer 条目(不降低原有门禁)。
- 仅当同时满足以下条件时放行并输出可见告警 `temporary-unknown-license`:
- 显式填写 `governance.temporaryUnknownLicenseException`;
- `governance.redistribution ==
"source-pointer-only"`(仅限直接源链接,不用于再分发/内嵌包);
- `reviewedRef` 精确匹配不可变 `provenance.content.ref` / `sha256`;
- `reviewedAt` 匹配 `timestamps.reviewedAt`。
- 一旦上游补充许可证(`license.state == "known"`),残留的
`temporaryUnknownLicenseException` 会直接报错提醒移除。
3. **`scripts/catalog/test_validate_catalog_metadata.py`**:
- 新增有效豁免 + 告警测试,以及 pin 不一致、日期不一致、非 `source-pointer-only`、已存在已知许可时残留豁免等 4
类拦截单测。
4. **`skills/lumarescue` & `skills/mt-paotui-for-client`**:
- 将 `availability` 改为 `installable`,绑定当前固定 commit 的
`temporaryUnknownLicenseException`;
- 在 `entry.json` 与 `catalog-metadata.v1.json`
的中英文简介中同步标注:「暂未声明开源许可证,仅作源链接安装,请自行确认使用条款。」
### 本地验证
- `uv run --offline --quiet
scripts/catalog/test_validate_catalog_metadata.py` — 64 passed
- `uv run --offline --quiet
scripts/catalog/test_propose_upstream_updates.py` — 19 passed
- `uv run --offline --quiet scripts/catalog/test_audit_skill_update.py`
— 50 passed
- `uv run --offline --quiet scripts/catalog/validate_catalog_metadata.py
--require-complete` — 0 errors(两项均正确输出 `temporary-unknown-license` 告警)
- `uv run --offline --quiet scripts/i18n/validate-i18n.py` &
`translate.py --check` & `git diff --check` — passed
38 lines
1.8 KiB
JSON
38 lines
1.8 KiB
JSON
{
|
|
"id": "lumarescue",
|
|
"name": "LumaRescue",
|
|
"category": "creative",
|
|
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" stroke=\"#2563EB\" stroke-width=\"1.7\"/><circle cx=\"9\" cy=\"10\" r=\"2\" stroke=\"#2563EB\" stroke-width=\"1.7\"/><path d=\"m6 18 5-4 3 2.5L18 12l3 3\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
|
|
"tags": [
|
|
"photo",
|
|
"restoration",
|
|
"enhancement",
|
|
"creative"
|
|
],
|
|
"i18n": {
|
|
"zh-CN": {
|
|
"name": "LumaRescue 废片拯救",
|
|
"shortDesc": "AI 废片拯救技能:在保留主体身份与事实内容的前提下,通过光影重塑、大师级构图、照片修复与审美增强把普通照片修成惊艳成片,适配 Codex/豆包桌面版。注:暂未声明开源许可证,仅作源链接安装,请自行确认使用条款。"
|
|
},
|
|
"en-US": {
|
|
"name": "LumaRescue",
|
|
"shortDesc": "AI bad-photo rescue skill — reshapes light, applies master-level composition, restores damage and enhances aesthetics while preserving subject identity and factual content, for Codex/Doubao desktop. Note: No open-source license declared upstream yet; installed via source pointer only—please verify usage terms yourself."
|
|
}
|
|
},
|
|
"maintainer": {
|
|
"name": "justlovemaki",
|
|
"verified": false,
|
|
"account": "justlovemaki",
|
|
"url": "https://github.com/justlovemaki/LumaRescue"
|
|
},
|
|
"stewardship": "pointer",
|
|
"license": "not-declared",
|
|
"redistribution": "source-pointer-only",
|
|
"source": {
|
|
"kind": "git",
|
|
"repoUrl": "https://github.com/justlovemaki/LumaRescue.git",
|
|
"repoBranch": "main",
|
|
"ref": "14cd76cea24e825e079fa2dfa5c5322002d6dc4e"
|
|
}
|
|
}
|