feat(market): 准入 10 项技能,补齐 AI 日报与高德完整安装包 (#350)

- 准入 10 项 installable 技能:agent-reach、dingtalk-api、follow-builders、humanizer-zh、karpathy-guidelines、marketingskills、netease-skills、wecom-cli(原 pin 不变),以及完整 MIT 本地版 ai-news-radar(LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319)和 ClawHub 1.1.1 完整 ZIP 的 amap-jsapi-skill(sha256 9468743ee18dbe1704e8a98f47f6628d6a4e6acec30a05f0b8f59a07603d011f)。
- 瑞幸、MiniMax 图片/语音、LumaRescue、美团跑腿、Ian 小黑、女娲 继续 listing-only。
- 高德许可按 SKILL.md 的 MIT 声明保守记录,skill-card/ClawHub 写 MIT-0 的差异已在 ADMISSION.md 披露。
- validate、translate 通过;CodeQL 对上游原样 update_news.py 的 5 条告警经 mashagua 确认忽略。
This commit is contained in:
mashagua authored and GitHub committed 2026-11-24 17:11:50 +08:00
1 parent 8006ad8518
commit 91563b4695
62 files changed
+23030 -98

No files matched your search

+113
View File
@@ -0,0 +1,113 @@
> Upstream reference from LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319. Relative Markdown links target that immutable upstream snapshot. This reference is not a claim that upstream deployment workflows, development tests or private integrations are installed.
# AI News Radar Roadmap
## Parked — 三口味 persona 网页 UI(2026-07-15 归档)
v0.8–v0.9 期间网页端曾上线「今日 TOP3 · 三口味锐评」置顶板块与精选卡片的单条锐评行,因样式不满意在 v0.9 发布前暂时下线,待重新设计后回归。
- 开关:`assets/app.js` 的 `PERSONA_UI_ENABLED`(现为 `false`,置回 `true` 即恢复板块与锐评行,渲染代码完整保留)。
- 不受影响:数据管线(`scripts/persona_score.py` 每轮照常生成 `data/daily-brief.json` 的 persona 字段与 `data/top3-personas.json`)、Skill 端日报的三口味点评。
- 回归前要解决的:三列并排面板与卡片视觉融合度、锐评行与推荐理由的层级关系、口味名称/分数的展示样式。
## v0.3.0 — Source Overlap Check
Goal: before adding a new public default source, evaluate whether its recent items are mostly duplicates of the existing source set.
Status: implemented as a maintainer-facing intake tool.
### What ships
- `scripts/evaluate_source_overlap.py`
- Fetches a candidate RSS/Atom source.
- Compares recent candidate items against `data/archive.json` or another baseline JSON.
- Reports hard duplicates, possible duplicates, unique items, top overlapping sources, and a recommendation.
- `tests/test_source_overlap.py`
- Covers URL exact matches, title similarity, duplicate-rate statistics, threshold recommendations, and the small-sample guard.
### Default decision thresholds
- `< 35%` duplicate rate: `accept_default`
- `35%–65%` duplicate rate: `watchlist`
- `>= 65%` duplicate rate: `skip_duplicate`
- `< 5` recent candidate items: always `watchlist`, because the sample is too small for automatic rejection.
### Example
```bash
python scripts/evaluate_source_overlap.py \
--source-url https://aihot.virxact.com/feed.xml \
--source-name "AI HOT" \
--site-id aihot_candidate \
--baseline data/archive.json \
--lookback-days 7 \
--output /tmp/aihot-overlap.json
```
The tool is advisory only. It does not change `update_news.py`, does not remove any items, and does not publish the report to GitHub Pages by default.
## v0.4.0 — Explainable AI Relevance Scoring
Goal: move beyond a black-box boolean topic filter and make every AI relevance decision inspectable, testable, and tunable.
Status: implemented as the default topic-filtering layer.
### What ships
- `scripts/ai_relevance.py`
- Scores each normalized record with `score_ai_relevance(record)`.
- Emits `is_ai_related`, `score`, `label`, `reason`, `signals`, and `noise`.
- Keeps `is_ai_related_record(record)` as a backward-compatible boolean wrapper.
- `scripts/update_news.py`
- Uses the new scorer before writing the 24h Signal payload.
- Adds AI relevance fields to kept records so downstream UI and audits can explain why an item passed.
- Publishes the filter metadata as `topic_filter=ai_relevance_scoring_v0_4` and `ai_relevance_threshold=0.65`.
- `scripts/audit_ai_relevance.py`
- Generates a Markdown audit report from `latest-24h.json` and `latest-24h-all.json`.
- Summarizes raw keep rate, label distribution, source keep rate, top kept samples, high-score dropped samples, and review-band candidates.
- `tests/test_ai_relevance.py`
- Covers strong AI signals, broad AI terms with tech context, trusted AI-source priors, noise suppression, structured output fields, and boolean compatibility.
### Default decision thresholds
- `score >= 0.65`: keep in the AI Signal view.
- `0.45 <= score < 0.65`: review band for future manual or LLM second-pass review.
- `< 0.45`: keep only in all-mode/archive data.
### Audit example
```bash
python scripts/update_news.py \
--output-dir /tmp/ai-news-radar-v0.4-preview \
--window-hours 24 \
--rss-opml feeds/follow.opml
python scripts/audit_ai_relevance.py \
--data-dir /tmp/ai-news-radar-v0.4-preview \
--output reports/ai-relevance-audit/v0.4.0-YYYY-MM-DD.md
```
### Non-goals for v0.4.0
- No LLM classifier in the default GitHub Actions path.
- No full-body semantic reading; the default scorer remains title/source/url based.
- No automatic source deletion based on keep rate.
- No public page layout redesign.
## v0.5.0 — Story Merge / Event Cluster
Goal: move beyond per-item filtering and represent the same event as one story with multiple source references.
### Planned direction
- Keep the current filter-first behavior as the safe default.
- Add a story clustering layer after source normalization and before page payload generation.
- Preserve one primary title plus secondary source references, instead of randomly choosing one duplicated item.
- Show repeated coverage as a trust signal: "多个来源报道了这件事".
### Non-goals for v0.5.0
- No LLM semantic clustering in the first pass.
- No cross-language deep semantic matching unless the rule-based event merge proves insufficient.
- No automatic deletion of sources based only on overlap score.
- No change to the public page layout unless the story data model is stable.