Skip to content

fix(skills): separate origin from curator ownership#71110

Open
jckm14 wants to merge 1 commit into
NousResearch:mainfrom
jckm14:fix/70712-skill-provenance
Open

fix(skills): separate origin from curator ownership#71110
jckm14 wants to merge 1 commit into
NousResearch:mainfrom
jckm14:fix/70712-skill-provenance

Conversation

@jckm14

@jckm14 jckm14 commented Jul 25, 2026

Copy link
Copy Markdown

Summary

  • add an explicit skill origin field so human-facing provenance is independent of curator eligibility
  • record background_review only for skills created by the background self-improvement fork; ambiguous and legacy local records fall back conservatively to local
  • preserve the legacy provenance ownership field so older Desktop clients keep local skills editable
  • render localized Local/Learned/Hub labels from origin, including a safe fallback when a new Desktop connects to an older backend
  • cover foreground creation, background-review creation, API serialization, and Desktop labels/editability

Test plan

  • HERMES_TEST_FILE_RETRIES=0 scripts/run_tests.sh tests/tools/test_skill_usage.py tests/tools/test_skill_manager_tool.py tests/hermes_cli/test_web_server.py -q (668 passed)
  • cd apps/desktop && npm run test:ui -- src/app/skills/index.test.tsx (5 passed)
  • cd apps/desktop && npm run typecheck
  • cd apps/desktop && npx eslint src/app/skills/index.tsx src/app/skills/index.test.tsx src/types/hermes.ts src/i18n/types.ts src/i18n/en.ts src/i18n/ja.ts src/i18n/zh.ts src/i18n/zh-hant.ts
  • cd apps/desktop && npx prettier --check src/app/skills/index.tsx src/app/skills/index.test.tsx src/types/hermes.ts src/i18n/types.ts src/i18n/en.ts src/i18n/ja.ts src/i18n/zh.ts src/i18n/zh-hant.ts
  • .venv/bin/ruff check tools/skill_usage.py tools/skill_manager_tool.py hermes_cli/web_server.py tests/tools/test_skill_usage.py tests/tools/test_skill_manager_tool.py tests/hermes_cli/test_web_server.py
  • git diff --check

Fixes #70712

Signed-off-by: Chris <jckm14@gmail.com>
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/desktop Electron desktop app (apps/desktop/*) comp/cli CLI entry point, hermes_cli/, setup wizard tool/skills Skills system (list, view, manage) area/i18n Localization, locales, translations labels Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/i18n Localization, locales, translations comp/cli CLI entry point, hermes_cli/, setup wizard comp/desktop Electron desktop app (apps/desktop/*) P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(desktop): local skills are mislabeled as learned regardless of origin

2 participants