Skip to content

fix(ui): count symlink-mode targets in the Skills list - #928

Merged
runkids merged 2 commits into
mainfrom
runkids/skills-list-symlink-targets
Nov 16, 2026
Merged

runkids merged 2 commits into
mainfrom
runkids/skills-list-symlink-targets

Conversation

@runkids

@runkids runkids commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

Closes #926
Closes #925

What was wrong

The sync matrix reports a target as na in two cases: it is in symlink mode (the item is live there) or skills are switched off for it (nothing syncs). #927 taught the skill detail page the difference. The Skills list still read only synced entries:

  • The Targets column, the tree pane and the target filter left a symlink-mode target out, so the list and the detail page disagreed.
  • The Agents page reported a symlink-mode agent target as not supporting agents.
  • A skill whose targets all had skills off was labelled "No agent targets".

Separately (#925), the option that clears a skill's own targets: field was labelled "All". Next to a single target icon it read as "synced to every target".

Change

  • The list applies receivesSkill, the rule the detail page and Sync page use. The per-item logic is a plain function, targetReach.
  • A skill whose targets all have skills off reads "Skills off" (existing targets.skillsOff key). Nothing reaches "No agent targets" any more, so that key is removed from every locale.
  • "All" becomes "No limit" in all 11 locales, pairing with the existing "Limited" tag.

Checks

  • npx vitest run in ui/ (devcontainer): 112 files, 959 tests passed, including new input/output tests for syncedByTarget and targetReach.
  • tsc -b: no errors. eslint .: 0 errors (53 existing react-refresh warnings, none in the changed files).
  • Not run: make check, a browser screenshot.

Not covered

  • The toast after setting targets still says "now available in All" (resources.targets.all). "available in No limit" does not read, so that sentence needs its own rewording.
  • An agent on a setup where no target takes agents still shows "Enabled", as before.

Checklist

A symlink-mode target links the whole source folder, so every skill is
live there. The skill detail page and the Sync page count it, but the
Skills list read only `synced` matrix entries: the Targets column, the
tree pane and the target filter left such a target out, and the Agents
page reported a symlink-mode agent target as not supporting agents.

A skill whose targets all had skills switched off was labelled "No
agent targets", wording meant for agents. It now reads "Skills off".
Nothing else reaches that label any more, so the key is removed.

The list now applies receivesSkill, the same rule as the other pages.

Closes #926
The option clears a skill's own `targets:` field. Labelled "All", it
read as "synced to every target", so a skill showing "All" next to a
single target icon looked like a bug (#925). "No limit" says what the
field does and pairs with the existing "Limited" tag.

Closes #925
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T15:43:34.314374Z f84ef67 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 9ac2861 into main Nov 16, 2026
9 checks passed
@runkids
runkids deleted the runkids/skills-list-symlink-targets branch November 16, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skills list ignores symlink-mode targets Ambiguous universal target option in the UI

1 participant