feat(desktop): hc-406 v0.18 skill 全集重分级 + China seed 统装 - #50
Merged
Merged
Conversation
v0.18 全集实扫 173(skills/ 72 bundled + optional-skills/ 101 opt-in)。seed 只管 72 个 bundled(自动拷进 ~/.hermes/skills/ 且 ACTIVE);101 个 optional 安装时不拷贝、 按需 install,默认已 off,不进 seed(shopify/siyuan「默认开」= 二者是 optional、不被 抑制;notion bundled「灰度」= 留 seed OFF 按需开)。 分级(72 bundled,依据 SKILL.md 实证 + DESKTOP-CHINA-SKILL-MATRIX 原则,? 未决=0): - SEED_DISABLED_SKILLS 49→50:+huggingface-hub/maps/plan(新 bundled,C/dev-niche), −kanban-orchestrator/kanban-worker(死 orphan,已非 bundled)。 - 22 个新 bundled A/B 明确保持 ON:computer-use、apple*、powerpoint、obsidian、 ocr-and-documents、baoyu-infographic、yuanbao 等。 改动(全在 fork): - apex-managed.cjs:SEED_DISABLED_SKILLS 按 D/C/DEV-B 重分组;新增 add-only 并集 愈合器 ensureSkillsDisabledYaml(存量机 v0.17→v0.18 升级路径:老 config 漏掉新关项 靠 union 补齐,不移除、不重加用户已开项);公共行手术抽成 ensureListBlockYaml (plugins 语义 byte 不变)。TODO(hc408/hc414 seed) 占位,不硬编搜索/抽取键值。 - backend-env.cjs:buildDesktopBackendEnv 注入 HF_ENDPOINT=https://hf-mirror.com (add-only,不覆盖父 env override),解 STT 首用拉 ~150MB faster-whisper 模型国内裸网 必挂;两处 backend spawn 均 {...process.env, ...backend.env},注入真吃到。 - main.cjs:guardConfigYamlProductBlocks 的 skills 补块改用 union 愈合器(升级路径)。 - cli-config.yaml.example:skills.disabled 同步新 50 名单(byte-for-list 一致)。 - 测试:apex-managed(count 49→50 + 新/删/A-B 保 ON + ensureSkillsDisabledYaml 全场景)、 backend-env(HF 注入 + 不覆盖 + 空值兜底)。73 pass。 存量机重 seed:rm ~/.apexnodes/config.yaml 重启即吃新名单;不删也会被 guard union 补上 3 个新关项。随下一个桌面发版批次生效,勿单独 bump pin。 全 72 逐 skill 权威表见 hermes-cloud docs/DESKTOP-CHINA-SKILL-MATRIX.md(独立 cloud PR)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
karlligamesvc-spec
force-pushed
the
feat/hc406-v018-reclassify
branch
from
July 5, 2026 09:36
8757dca to
fdc2f0c
Compare
karlligamesvc-spec
added a commit
that referenced
this pull request
Jul 5, 2026
pin 自动跟 fork main HEAD(write-build-stamp git rev-parse): - 网关插件腿 #49 / v0.18 技能重分级 #50 / 装配线 fork 腿 #53 - 三平台自媒体 playbook:公众号 #51 / 小红书 #54 / 抖音 #55 0.16.1→0.16.2 = 首次真机验壳自更新(electron-updater feed 已就位)。 Co-authored-by: Karl <karl@KarldeMacBook-Pro.local> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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.
目标(hc-406, S6/P1)
把桌面 China skill 分级从 v0.17(73 skill / 49 关)扩到 v0.18 全集,并把 China seed 统装进桌面 seed。只开发,不合并、不出包、不 bump pin(发版批次统一)。
实扫全集
fork worktree 实扫:173 =
skills/72 bundled +optional-skills/101 opt-in(任务书 162=66+96 数字对不上,以实扫为准)。关键架构事实:
~/.hermes/skills/且 ACTIVE,除非进skills.disabled→ seed 只管这 72。hermes skills install按需装(optional-skills/DESCRIPTION.md)→ 默认 off,永不进 seed。三项已拍决策据此落地:shopify/siyuan「默认开」= 二者是 optional(不被抑制,install 即用);notion是 bundled、「灰度」= 留 seed OFF 按需开。name:(缺省回退目录名),大小写敏感(agent/skill_utils.py:643)。分级结果(72 bundled,? 未决 = 0)
有效 22 ON / 50 OFF。 全 72 逐 skill 权威表见 cloud 文档 PR(karlligamesvc-spec/hermes-cloud#480,
docs/DESKTOP-CHINA-SKILL-MATRIX.md)。v0.18 delta vs v0.17
huggingface-hub(C)、maps(C)、plan(DEV-B)。kanban-orchestrator、kanban-worker。改动
apex-managed.cjs:SEED_DISABLED_SKILLS49→50 按 D/C/DEV-B 重分组;新增 add-only 并集愈合器ensureSkillsDisabledYaml(存量机 v0.17→v0.18 升级路径:老 config 漏新关项靠 union 补齐,不移除、不重加用户已开项);公共行手术抽成ensureListBlockYaml(plugins 语义 byte 不变)。backend-env.cjs:buildDesktopBackendEnv注入HF_ENDPOINT=https://hf-mirror.com(add-only,不覆盖父 env override)。解 STT 首用拉 ~150MB faster-whisper 模型国内裸网必挂(tools/transcription_tools.py::_transcribe_local→ huggingface_hub 读HF_ENDPOINT);两处 backend spawn 均{...process.env, ...backend.env},注入真吃到;顺带覆盖 marker-pdf OCR /hfCLI Hub 下载。因此ocr-and-documents判 A 而非 C。main.cjs:guardConfigYamlProductBlocks的 skills 补块从「仅缺失时 append」改为 union 愈合器(= 升级路径)。cli-config.yaml.example:skills.disabled同步新 50 名单(与 seed byte-for-list 一致)。apex-managed.test.cjs(count 49→50 + 新/删/A-B 保 ON 断言 +ensureSkillsDisabledYaml全场景),backend-env.test.cjs(HF 注入 + 不覆盖 override + 空值兜底)。CI Build desktop app + Check TypeScript(apps/desktop) 均 pass。WORK-NOTES-hc406.md:随 PR。hc408/hc414 seed 键值(已读 S2/S3 WORK-NOTES,精确记入注释,暂不 emit)
S2/S3 的 WORK-NOTES 已在其分支落地(未并 cloud main),键值已精确抄进
apex-managed.cjs注释,但未 emit 进 seed —— 两前提未满足,提前 seed 会让桌面搜/抽调到不存在的端点而 break:feat/hc408-relay-search未并 main)→/api/v1/search/searxng/search尚未上 prod。键:web.search_backend=searxng+SEARXNG_URL=https://api.apex-nodes.com/api/v1/search/searxng(末尾不带/search)。web.extract_backend=firecrawl+FIRECRAWL_API_URL=<待定>。重 seed / 看门狗
seedDefaultModelConfig(config.yaml 缺失才写)吃新 50 名单。rm ~/.apexnodes/config.yaml重启重 seed;不删也会被guardConfigYamlProductBlocks(boot + fs.watch)union 补上 3 个新关项。plugins seed(feat(desktop): 0.16.1 批次——引擎胶囊/状态栏删减/plugins 种子/壳自更新 + 版本号 #48)ensurePluginsEnabledYaml语义完全不变,基于9790955aa未冲掉。给 PM
rm ~/.apexnodes/config.yaml重启;②不删也会被 guard union 补关项(A/B 新技能已默认 ON,无需动作)。🤖 Generated with Claude Code